Get a bulk payout
One bulk payout with every payout's outcome: QUEUED, REJECTED (not sent), PENDING, SUCCEEDED or FAILED.
PartnerBasicAuthorizationBasic <token>HTTP Basic auth: your AppId as the username and your AppKey as the password. Sandbox and Live have separate credentials.
batchId*stringThe bulk payout's id.
uuidOK
- response
A bulk payout.
id?stringThe bulk payout's id.
uuidreference?stringYour reference for the batch.
environment?stringSandbox or Live.
status?stringPROCESSING while payouts are still being sent, COMPLETED once every one was sent or rejected. Each payout then settles like a withdrawal.
source?stringApi or Dashboard: where it was created.
itemCount?integerHow many payouts.
int32totalAmount?numberSum of all payouts.
doublecurrency?stringCurrency code, XAF.
createdDate?stringWhen it was created (UTC).
date-timecompletedAt?|When every payout had been sent or rejected; null while processing.
date-timecounts?How many payouts are in each state.
duplicate?booleantrue when this reference already existed: this is that batch, nothing new was created.
items?array<>Every payout, in row order (only when fetching one batch).
curl -X GET 'https://gateway.staging.wallet2cash.com/api/v1/payouts/497f6eca-6276-4993-bfeb-53cbbbba6f08'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "reference": "string", "environment": "string", "status": "string", "source": "string", "itemCount": 0, "totalAmount": 0.1, "currency": "string", "createdDate": "2019-08-24T14:15:22Z", "completedAt": "2019-08-24T14:15:22Z", "counts": { "queued": 0, "rejected": 0, "pending": 0, "succeeded": 0, "failed": 0 }, "duplicate": true, "items": [ { "rowNumber": 0, "partnerOrderId": "string", "msisdn": "string", "amount": 0.1, "expectedName": "string", "registeredName": "string", "status": "string", "rejectionCode": "string", "rejectionMessage": "string", "transactionId": "75906707-8c31-479c-b354-aa805c4cefbc", "failureCode": "string" } ]}Create a bulk payout
Sends up to 500 MoMo withdrawals from your balance. The whole batch is checked first and refused with every problem listed by row (numbers, amounts, your limits, order ids, the total against your balance). Accepted payouts are then sent one by one; a payout with a name is only sent if MTN's registered name matches. Each payout is an ordinary withdrawal with its own webhook. Must be signed.
List the Sandbox test numbers
Every magic MSISDN the Sandbox understands, what outcome it produces and for which services. Sandbox never contacts the real network.
