List Refunds By Merchant
GET
/collection-middleware/list/refunds
The List Refunds By Merchant endpoint retrieves a list of refunds associated with a merchant's account. A partner would call this endpoint to retrieve refund information for a specific merchant. The endpoint returns a list of refunds, including their reference, status, amount, and associated payer details.
Query parameters
-
page
-
size
Request body (optional)
This endpoint accepts a body with no declared schema.
Response 200
-
successIndicates whether the request was successful
-
dataArray of refund objects
-
refundReferenceUnique reference for the refund
-
referenceTransactionIdReference to the original transaction
-
statusCurrent status of the refund
-
refundAmountAmount refunded to the payer
-
feeReversedAmountAmount of fees reversed
-
currencyCodeCurrency code of the refund
-
payerAccountNumberAccount number of the payer
-
payerBankCodeBank code of the payer
-
payerNameName of the payer
-
settlementRouteRoute used for settlement
-
feePolicyPolicy applied to the refund
-
providerReferenceReference from the payment provider
-
providerResponseResponse from the payment provider
-
reasonReason for the refund
-
failureReasonReason for the refund failure
-
initiatedAtDate and time the refund was initiated
-
completedAt
-
-
error
-
codeThe error code returned by the bank
-
messageThe error message returned by the bank
-