v1
latestOpenAPI 3.0.02026-07-2431146358.7 KBRefund
Retrieve Refund
Merchant can retrieve refund details either by using mercid and merc_refund_ref_no, or the mercid and refundid.
post/payments/ve1_2/refunds/get
Headers
BD-Traceidstring required
Example:20201203182838
BD-TraceID is a unique identifier passed by the merchant to ensure request idempotency. Requests with identical BD-TraceID within a 24 hour window would fail.
BD-Timestampstring required
Example:20201203182838
Request timestamp to identify date and time of origin of request. Example, a value of BD-Timestamp 20210113180403 identifies the request to have originated on 13th January 2021 at 06:04:03 PM.
Content-Typestring required
Example:application/json
Request Content-Type to take the values application/jose
Acceptstring required
Example:application/jose
Accept Response Content-Type to take the values application/jose
Request body
Example request
{
"mercid": "BDMERCID",
"refundid": "X45604776418751",
"merc_refund_ref_no": "REFTS14RTEST001"
}Response
OK
Example response
{
"refundid": "X45604776418751",
"transactionid": "U4560001099939",
"orderid": "TEST0000009005",
"mercid": "BDMERCID",
"transaction_date": "2023-03-14T15:14:39+05:30",
"txn_amount": "2400.00",
"refund_amount": "1100.00",
"merc_refund_ref_no": "REFTS14RTEST001"
}