The webhook is generated after successful reversal of funds has been done in merchant payouts account.
Callback will be triggered for the following cases -
- Fresh Reversal (Merchant's callback will be triggered only when refund for this case will be successful as Beneficiary Bank rejected the original transaction)
- Credit Adjustment (Merchant's callback will be triggered only when refund for this case will be successful due to beneficiary bank gave real-time success on original transaction but later on, reversed the transaction to remitter bank because it didn't credit the beneficiary account)
- Wrong Credit (Merchant's callback will be triggered only when refund for this case will be successful)
- Penalty Credit (Merchant's callback will be triggered in case of both success and failure of Penalty Credit Order to wallet)
The sample response is mentioned below.
{
"status": "FAILURE",
"statusCode": "DE_685",
"statusMessage": "Fresh reversal",
"result": {
"mid": "bisler43214343241",
"orderId": "Nef001",
"paytmOrderId": "3213412321312312333",
"amount": "21.0",
"commissionAmount": "1.21",
"tax": "0.22",
"rrn": "016100034853",
"beneficiaryName": "abcdfef",
"reversalReason": "FRESH_REVERSAL"
}
}
Note: "reversalReason" will be null if callback is not for Auto Reversal
The parameters are briefly described below.