Cancel a payout not yet sent
Cancels a payout that is `pending_approval` or `in_cooldown`; the money goes back to your wallet.
Cancels a payout that is pending_approval or in_cooldown; the money goes back to your wallet.
Authorization
apiKey AuthorizationBearer <token>
A Swichi Gateway payments key.
In: header
Path Parameters
id*string
Response Body
application/json
application/json
curl -X POST "https://example.com/payouts/string/cancel"{ "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"}