MobileWalletPartner Gateway Docs
API referencePayouts

Get a bulk payout

One bulk payout with every payout's outcome: QUEUED, REJECTED (not sent), PENDING, SUCCEEDED or FAILED.

GET
/api/v1/payouts/{batchId}

Authorization

PartnerBasic
headerAuthorizationBasic <token>

HTTP Basic auth: your AppId as the username and your AppKey as the password. Sandbox and Live have separate credentials.

Path Parameters

batchId*string

The bulk payout's id.

Formatuuid

Response Body

OK

  1. response

A bulk payout.

id?string

The bulk payout's id.

Formatuuid
reference?string

Your reference for the batch.

environment?string

Sandbox or Live.

status?string

PROCESSING while payouts are still being sent, COMPLETED once every one was sent or rejected. Each payout then settles like a withdrawal.

source?string

Api or Dashboard: where it was created.

itemCount?integer

How many payouts.

Formatint32
totalAmount?number

Sum of all payouts.

Formatdouble
currency?string

Currency code, XAF.

createdDate?string

When it was created (UTC).

Formatdate-time
completedAt?|

When every payout had been sent or rejected; null while processing.

Formatdate-time
counts?

How many payouts are in each state.

duplicate?boolean

true 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).

Example Request
curl -X GET 'https://gateway.staging.wallet2cash.com/api/v1/payouts/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "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"    }  ]}