The Get All Refunds for a Transaction ID API (getAllRefundsFromTxnIds) command is used to retrieve the status of all the refund requests fired for a particular Transaction ID. The output of this API provides the request ID, and the PG used the status of a refund request and the creation of refund date information.
|The status of the response can be any of the following:
- 1: Success
- 2: Failure
|The description of the response whether the card details were stored successfully or not.
|Refunds fetched successfully.
|The details are sent by PayU in JSON format for the successful response. For more information, refer to Additional Info for General APIs.
For sample response, refer to Additional Info for General APIs.
Use the following sample values while trying out the API: