Fetch Reversals for a Transfer
GET
/v1/transfers/:id/reversals
Click 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
*
string
Unique identifier of the transfer.
Response Parameters
id
string
The unique identifier of the reversal.
entity
string
The name of the entity. Here, it is reversal
.
transfer_id
string
The unique identifier of the transfer that was reversed.
amount
integer
The amount that was reversed, in paise.
currency
string
ISO currency code. We support route reversals only in INR.
initiator_id
string
The unique identifier of the merchant (MID).
created_at
integer
Timestamp 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/reversals
Click to copy
Use this endpoint to retrieve a list of reversals made for a transfer.
Is this page helpful?
Path Parameters
id
*
string
Unique identifier of the transfer.
Response Parameters
id
string
The unique identifier of the reversal.
entity
string
The name of the entity. Here, it is reversal
.
transfer_id
string
The unique identifier of the transfer that was reversed.
amount
integer
The amount that was reversed, in paise.
currency
string
ISO currency code. We support route reversals only in INR.
initiator_id
string
The unique identifier of the merchant (MID).
created_at
integer
Timestamp 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}