Fetch Reversals for a Transfer
GET/v1/transfers/:id/reversalsClick to copy
Use this endpoint to retrieve a list of reversals made for a transfer.
Is this page helpful?
1curl -X GET https://api.razorpay.com/v1/transfers/trf_Lt048W7cgLdo1u/reversals \2-u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
Success
Failure
1{2"entity":"collection",3"count":1,4"items":[5{6"id":"rvrsl_Lt09xvyzskI7KZ",7"entity":"reversal",8"transfer_id":"trf_Lt048W7cgLdo1u",9"amount":50000,10"fee":0,11"tax":0,12"currency":"INR",13"notes":[1415],16"initiator_id":"Ghri4beeOuMTAb",17"customer_refund_id":null,18"utr":null,19"created_at":168482248920}21]22}
Path Parameters
id *
stringUnique identifier of the transfer.
Response Parameters
idstringThe unique identifier of the reversal.
entitystring The name of the entity. Here, it is reversal.
transfer_idstringThe unique identifier of the transfer that was reversed.
amountintegerThe amount that was reversed, in paise.
currencystringISO currency code. We support route reversals only in INR.
initiator_idstringThe unique identifier of the merchant (MID).
created_atintegerTimestamp in Unix. This indicates the time at which the reversal was created.
Errors
The API key/secret provided is invalid.
Error Status: 4xx
This error occurs when there is a mismatch between the API credentials passed in the API call and the API credentials generated on the Dashboard.
Solution
Fetch Reversals for a Transfer
GET/v1/transfers/:id/reversalsClick to copy
Use this endpoint to retrieve a list of reversals made for a transfer.
Is this page helpful?
Path Parameters
id *
stringUnique identifier of the transfer.
Response Parameters
idstringThe unique identifier of the reversal.
entitystring The name of the entity. Here, it is reversal.
transfer_idstringThe unique identifier of the transfer that was reversed.
amountintegerThe amount that was reversed, in paise.
currencystringISO currency code. We support route reversals only in INR.
initiator_idstringThe unique identifier of the merchant (MID).
created_atintegerTimestamp in Unix. This indicates the time at which the reversal was created.
Errors
The API key/secret provided is invalid.
Error Status: 4xx
This error occurs when there is a mismatch between the API credentials passed in the API call and the API credentials generated on the Dashboard.
Solution
1curl -X GET https://api.razorpay.com/v1/transfers/trf_Lt048W7cgLdo1u/reversals \2-u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
Success
Failure
1{2"entity":"collection",3"count":1,4"items":[5{6"id":"rvrsl_Lt09xvyzskI7KZ",7"entity":"reversal",8"transfer_id":"trf_Lt048W7cgLdo1u",9"amount":50000,10"fee":0,11"tax":0,12"currency":"INR",13"notes":[1415],16"initiator_id":"Ghri4beeOuMTAb",17"customer_refund_id":null,18"utr":null,19"created_at":168482248920}21]22}