Merchant Refund 360
This api can be used to trigger a refund against a successful merchant transaction. There are two types of refunds supported - ONLINE and OFFLINE.
Refund360 will be used for initiating a new refund or getting the status of an existing refund. If the "refundRequestId" is present with the PSP, then the latest status of the existing refund will be returned. If not present, then a new refund will be triggered.
ONLINE refunds get credited to remitter account instantly, whereas OFFLINE refunds take around 2-3 working days.
This is an idempotent api.
For a Refund on a mandate execution related transactions, the Header value should be same as of originalMandateMerchantRequestId sent in request body.
For a Refund on other transactions, the Header value should be same as of originalMerchantRequestId sent in request body
merchantRequestId of the original transaction against which refund is being initiated.
Merchant generated unique id for the refund.
Constraints: Max 35 characters alphanumeric, can also contain hyphen(-), dot(.) & underscore(_)
Type of refund being initiated.
Constraints: OFFLINE, ONLINE
The amount to be refunded
Constraints:String with mandatory two decimals
Merchant refund vpa that is to be used for online refund.
Constraint: mandatory for refundType = ONLINE
Remarks or reason for the refund.
Constraints: The transaction note must be alphanumeric, with a minimum length of 1 character and a maximum length of 50 characters.
Timestamp of the original transaction. Passing this parameter will help PSP to optimize the refund request to reduce the latency of this api.
Formate: YYYY-MM-DDTHH:MM:SS+05:30
Current Epoch Unix timestamp string. Has to be of 13 digit in Milliseconds.
Example: 1496918882000.
Merchant Defined Parameters
Example: "{\"udf1\":\"value1\",\"udf2\":\"value2\",…}"
Note: Few special characters are not allowed. Regex for the characters which are not allowed : ^[^/#-()*!%~`]+$
Split Settlement details of merchant and partners for this transactions
The type of split for this transaction. Can be AMOUNT, PERCENTAGE, DEFAULT, LATER.
Split share for merchant pool account.
List of partners for which the split needs to be divided with the value.
The LSP id provided by the bank.
Split share for LSP account. Decimal Value
In case of dynamic Vpa resolution, pass this field.
PSP status of the API.
Values: SUCCESS | FAILURE.
PSP response code for the API.
Values: Refer Codes Guide in Resource Section.
PSP response message for the API.
Values: Refer Codes Guide in Resource Section.
Unique id for the merchant channel.
Values:As passed in request headers.
Response status returned by gateway for the refund.
Values:String (SUCCESS, PENDING, DEEMED, FAILURE).
Unique id for the merchant.
Values:As passed in request headers.
Reference id returned by the gateway for the refund.
Response message for code returned by gateway for the refund.
merchant request id of original transaction.
Mandatory for x-api-version > 0.
Response code returned by gateway for the refund.
UPI request id returned by gateway for the transaction.
Values:Same as originalUpiRequestId passed in request.
The amount to be refunded.
Values:As passed in the request body.
Merchant generated unique id for the refund.
Values:As passed in the request body.
The total amount for which original transaction was performed.
Values:String with mandatory two decimals.
Timestamp of when refund request was initiated.
Formate: String (YYYY-MM-DDTHH:MM:SS+05:30).
Type of refund being initiated.
Values:As passed in the request body.
Split Settlement details of merchant and partners for this transactions.
List of partners for which the split needs to be divided with the value.
The LSP id provided by the bank.
Split share for LSP account. Decimal Value.
The type of split for this transaction. Can be AMOUNT, PERCENTAGE, DEFAULT, LATER.
Split share for merchant pool account.
RiskScore shared by NPCI or Bank
UpiRequestId for the refund
Example:- Values: As passed in the request body in refundUpiRequestId.
Merchant Defined Parameters
Example: "{\"udf1\":\"value1\",\"udf2\":\"value2\",…}"

