Get a refund

GET
/refunds/{id}

Authorization

apiKey
AuthorizationBearer <token>

A Swichi Gateway payments key.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

curl -X GET "https://example.com/refunds/string"
{  "id": "string",  "object": "refund",  "livemode": true,  "collection": "string",  "amount": 0,  "currency": "TZS",  "status": "pending",  "payout": "string",  "created_at": "2019-08-24T14:15:22Z"}