List Refunds
Changed onThis endpoint allows you to list your refunds
Request
- The document declares no server URL.
- Authnone declared. Required headers: MerchantId, ApiKey, Environment
Query parameters
Start of the period, in UTC, inclusive. Follows the Datetime ISO. Applied together with toDate.
End of the period, in UTC, exclusive. Follows the Datetime ISO. Applied together with fromDate.
Date the list is ordered on (the dashboard list also filters from/to on it). Defaults to createdAt.
Only the refunds in this status.
Only the refunds processed through this gateway.
Only the refund with this id.
The page number in the returned data. The default value is 1. Do use with 'perPage' query parameter to paginate properly.
The maximum number of results that will be return. The default value is 10. Do use with 'page' query parameter to paginate properly.
Headers
Your merchant ID. This information is available in our dashboard. If you don't have access to it, please reach the Support team.
Your api key. To create a key, please get into our dashboard. If you don't have access to it, please reach the Support team.
Allow you to choose between the sandbox mode to perform some tests or the live mode for real world transactions.
Response
Example response
{
"data": [
{
"id": 1,
"transactionId": "tr_z1urYtVFgEebtcj8fxp4v",
"status": "successful",
"amount": 1000,
"currency": "XOF"
}
],
"totalItems": 42,
"currentPage": 1,
"countPerPage": 10
}Changes
- info
endpoint added
- info