cURL
curl --request GET \ --url https://api.toffeepay.com/v1/refunds \ --header 'Authorization: Bearer <token>'
[ { "id": "<string>", "payment_id": "<string>", "status": "pending", "created_at": "2023-11-07T05:31:56Z", "reason": "<string>", "succeeded_at": "2023-11-07T05:31:56Z", "failed_at": "2023-11-07T05:31:56Z", "cancelled_at": "2023-11-07T05:31:56Z", "error": { "code": "<string>", "message": "<string>" } } ]
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
pending
succeeded
failed
cancelled
x <= 100
x >= 0
Success
Error handling
Show child attributes