List payouts
Authorization
apiKey AuthorizationBearer <token>
A Swichi Gateway payments key.
In: header
Query Parameters
limit?integer
Range
1 <= value <= 100Default
20starting_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
Length
length <= 100created_from?string
Only objects made on or after this day (YYYY-MM-DD, East Africa Time).
Format
datecreated_to?string
Only objects made on or before this day (YYYY-MM-DD, East Africa Time).
Format
dateResponse 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" } ]}Get a refund GET
Previous Page
Pay out POST
Holds the amount and the fee on your wallet and sends it to mobile money or a bank. It answers `pending`, or `pending_approval` above your approval threshold (Finance approves it), or `in_cooldown` while it waits (a new merchant's payouts wait until the next day; a first large payout to a new destination waits too). Until it is sent it can be cancelled. Needs the `payouts` scope.