List payouts

GET
/payouts

Authorization

apiKey
AuthorizationBearer <token>

A Swichi Gateway payments key.

In: header

Query Parameters

limit?integer
Range1 <= value <= 100
Default20
starting_after?string

The id of the last object of the previous page.

status?string

Value in

  • "pending"
  • "pending_approval"
  • "in_cooldown"
  • "succeeded"
  • "failed"
  • "cancelled"
  • "reversed"
reference?string
Lengthlength <= 100
created_from?string

Only objects made on or after this day (YYYY-MM-DD, East Africa Time).

Formatdate
created_to?string

Only objects made on or before this day (YYYY-MM-DD, East Africa Time).

Formatdate

Response Body

application/json

application/json

curl -X GET "https://example.com/payouts"
{  "object": "list",  "has_more": true,  "data": [    {      "id": "string",      "object": "payout",      "livemode": true,      "amount": 0,      "fee": 0,      "currency": "TZS",      "status": "pending",      "destination": {        "type": "mobile_money",        "hint": "string",        "name": "string"      },      "reference": "string",      "description": "string",      "metadata": {        "property1": "string",        "property2": "string"      },      "failure": {        "code": "string",        "message": "string"      },      "release_at": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z"    }  ]}