Pay Ecocash Production Bulk
POST
/init/authenticate/merchant/bulkWalletRequest
Header Params
Content-Type
string
required
Example:
application/json
Body Params application/json
object {0}
Example
{
"merchantId": "{{merchantId}}",
"merchantApiKey": "{{merchantApiKey}}",
"merchantKey": "{{merchantKey}}",
"walletName": "Ecocash",
"amount": "1.00",
"paymentCurrency": "USD",
"paymentDescription": "{{payerDescription}}",
"payerName": "{{payerName}}",
"payerReference": "{{payerReference}}",
"payerAccountId": {{accountId}},
"payerMobile": "{{263000000000}}",
"profileId": {{profileId}},
"dynamicPaidList": [
{
"dynamicMerchantId": "{{Approved Merchant ID}}",
"dynamicPayoutPercentage": {{Percentage 1-100 i.e 50}}
},
{
"dynamicMerchantId": "{{Approved Merchant ID}}",
"dynamicPayoutPercentage": {{Percentage 1-100 i.e 50}}
}
]
}
Request samples
Responses
InititatePaymentEcocash(200)
InititatePaymentEcocash
HTTP Code: 200
Content Type : Rawtext/plain
ExampleInititatePaymentEcocash
{
"auth": {
"token": "eyJhbGciOiJIUzUxMiJ9.eyJVc2VySWQiOjcsInJvbGVzIjpbIlVTRVIiXSwic3ViIjoidWRlYW5tYmFub0BnbWFpbC5jb20iLCJpYXQiOjE3MjAwOTQyOTYsImV4cCI6MTcyMDExMjI5Nn0.e7fZx1AfsMHzBa7cupP_ssbXV6-2Dx3JSLdeft0n8JtroYAFCzCbsLAx2mymK8-iBswCmKMX123HV8XBVatG7w",
"user": {
"id": 7,
"email": "udeanmbano@gmail.com",
"role": "USER",
"token": "eyJhbGciOiJIUzUxMiJ9.eyJVc2VySWQiOjcsInJvbGVzIjpbIlVTRVIiXSwic3ViIjoidWRlYW5tYmFub0BnbWFpbC5jb20iLCJpYXQiOjE3MjAwOTQyOTYsImV4cCI6MTcyMDExMjI5Nn0.e7fZx1AfsMHzBa7cupP_ssbXV6-2Dx3JSLdeft0n8JtroYAFCzCbsLAx2mymK8-iBswCmKMX123HV8XBVatG7w"
},
"errorResponse": {
"errorMessage": null,
"statusCode": 0
}
},
"paymentInitiationResponse": {
"status": "Processing",
"paymentTokenExpiry": "",
"paymentTokenDescription": "The payment is being processed enter pin on next prompt!",
"paymentToken": "",
"paymentId": "981af738-f459-4629-a72e-8388e0acdb5e",
"paymentRedirectUrl": ""
}
}
Last modified: 6 days ago