List Refunds
GET {{baseUrl}}/v1/refunds?ending_before=<string>&limit=<string>&starting_after=<string>
Retrieve a list of all refunds.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
ending_before | string | The ID of the refund created after the last refund you want to retrieve. String starting with refund_. | |
limit | string | The maximum number of refunds to return. Range, 1-100. Default is 10. | |
starting_after | string | The ID of the refund created before the first refund you want to retrieve. String starting with refund_. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"data":[{"amount":"\u003cnumber\u003e","created_at":"\u003cnumber\u003e","currency":"MWK","ewallets":[{"amount":"\u003cnumber\u003e","ewallet":"\u003cstring\u003e"},{"amount":"\u003cnumber\u003e","ewallet":"\u003cstring\u003e"}],"failure_reason":"\u003cstring\u003e","fixed_side":"\u003cstring\u003e","fx_rate":"\u003cstring\u003e","id":"\u003cstring\u003e","merchant_debited_amount":"\u003cstring\u003e","merchant_debited_currency":"\u003cstring\u003e","merchant_reference_id":"\u003cstring\u003e","metadata":{},"payment":"\u003cstring\u003e","payment_created_at":"\u003cnumber\u003e","payment_method_type":"\u003cstring\u003e","proportional_refund":"\u003cboolean\u003e","reason":"\u003cstring\u003e","receipt_number":"\u003cnumber\u003e","status":"\u003cstring\u003e","updated_at":"\u003cnumber\u003e"},{"amount":"\u003cnumber\u003e","created_at":"\u003cnumber\u003e","currency":"GGP","ewallets":[{"amount":"\u003cnumber\u003e","ewallet":"\u003cstring\u003e"},{"amount":"\u003cnumber\u003e","ewallet":"\u003cstring\u003e"}],"failure_reason":"\u003cstring\u003e","fixed_side":"\u003cstring\u003e","fx_rate":"\u003cstring\u003e","id":"\u003cstring\u003e","merchant_debited_amount":"\u003cstring\u003e","merchant_debited_currency":"\u003cstring\u003e","merchant_reference_id":"\u003cstring\u003e","metadata":{},"payment":"\u003cstring\u003e","payment_created_at":"\u003cnumber\u003e","payment_method_type":"\u003cstring\u003e","proportional_refund":"\u003cboolean\u003e","reason":"\u003cstring\u003e","receipt_number":"\u003cnumber\u003e","status":"\u003cstring\u003e","updated_at":"\u003cnumber\u003e"}],"status":{"error_code":"\u003cstring\u003e","message":"\u003cstring\u003e","operation_id":"\u003cstring\u003e","response_code":"\u003cstring\u003e","status":"\u003cstring\u003e"}}