Decide a sandbox payout
Test keys only. Settles a sent sandbox payout as if the network had answered.
Test keys only. Settles a sent sandbox payout as if the network had answered.
Authorization
apiKey AuthorizationBearer <token>
A Swichi Gateway payments key.
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/sandbox/payouts/string/simulate" \ -H "Content-Type: application/json" \ -d '{ "outcome": "succeeded" }'{ "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"}