List all refunds

Returns a list of all refunds you’ve previously created. The refund list are sorted, with the most recent refunds appearing first. For convenience, the 10 most recent refunds are always available by default on the charge object.

ARGUMENTS Page - the starting page for fetching disputes. Starting at 1 Size - the size of rows returned.

RETURNS Returns an array of JSON Object

REQUEST:
GET
https://staging.seerbitapigateway.com/merchants/api/v1/user/{user_id}/refunds?page=1&size=10

get

Request
Response
Request
Body Parameters
Amount
required
string
The amount being disputed
dispute_ref
required
string
Unique identifier for the Dispute
transaction_ref
required
string
The reference for the transaction you are disputing
Category
required
string
Category is the category for dispute
message
required
string
The message or reason for dispute
Response
200: OK
RESPONSE
[
{
"dispute_ref": "3727847ddb1a4213b9a35730b3fc74e4",
"transaction_ref": "3727847ddb1a4213b9a35730b3fc74e4",
“Amount”:10,
“Category”:FULL
“message”: “Refund processed”
},
{
"dispute_ref": "3727847ddb1a4213b9a35730b3fc74e4",
"transaction_ref": "3727847ddb1a4213b9a35730b3fc74e4",
“Amount”:1,
“Category”:PARTIAL
“message”: “Refund processed”
}
]