Reverse Payment
Merchants can use reverse API to void local card payment transaction.
Reversal Process for Local Card Payments:
- Initiating Reversal:
- The merchant system triggers the reversal process by invoking an API with the
paymentId
as the parameter - This request is then forwarded to OTT Pay, which in turn communicates with the Payment Gateway
- The merchant system triggers the reversal process by invoking an API with the
- Payment Gateway Response:
- If the payment transaction is in the
authorized state
, the payment gateway proceeds to reverse the payment - However, if the transaction is already in the
success state
, the request is declined, and an appropriate error message is returned
- If the payment transaction is in the
- Transaction Status Update:
- Upon successful reversal, the original payment transaction status will be updated to
orderclosed
- Merchant receives the transaction status in the response as successful or failure
- Upon successful reversal, the original payment transaction status will be updated to