Complete a Payment [v3]
POST/api/v3/payment
Complete a payment that has already been initiated by submitting an OTP or authorization token. Currently used for certain Pay Later providers where you want to offer a native OTP input experience on your checkout page. The payment_flow value comes from the Initiate Payment response's next actions array.
Quick Reference
- Required:
transaction_id,payment_flow("otp" or "auto_debit") - Conditional:
otporencrypted_otp(OTP flow only) - Returns: Payment completion status
- Data Security: Supports RSA-encrypted OTP via
encrypted_otp
Request
Responses
- 200
- 4XX
- 5XX
When the payment completion request is successful, the response will be as below
When the payment completion request is not successful, the response will be as below
When there is a problem on the server, the response will be as below