The Refund API is used to return funds to the customer after a successful purchase or capture transaction.
API Key for Authorization. Format: 'Basic YOUR_API_KEY_HERE'
API Key specific to x-api-key.
The request payload to refund a transaction.
The original transaction ID of the authorized transaction.
36"9dfd39ec-eb4a-4f8b-a526-17abf140a717"
The amount to be refunded. This should not exceed the amount captured or purchased. Amount limit depends on the bank.
1000
The merchant ID (DASMID).
10"< Merchant ID >"
The reference of the refund transaction (optional).
128"Refund amount captured/purchased"
Transaction refunded successfully
True on successful transaction, false on failure.
true
The status code of the transaction.
201
True if live transaction, false if test transaction.
false
The transaction type (e.g., REFUND).
"REFUND"
A JSON object containing the response from the gateway.
A JSON object containing the details of the merchant.
A JSON object containing the payment details of the transaction.
A JSON object containing details of the transaction.