After the Mandate is successful, Merchant will receive a mandate_token from Juspay that should be stored against a customer at their end. From the subsequent charge transactions, Merchant is supposed to pass a combination of customer_id and mandate_token to do a charge without a 2nd factor. This API will create order and will charge it based on the mandate_token passed by the merchant.

FieldTypeDescription
order_idStringOrderID for which the payment is being started.
txn_idStringTransaction Id for the payment
statusStringStatus of the transaction. See appendix.
payment.authentication.methodStringHTTP Method for authentication. Can be one of GET or POST
payment.authentication.urlStringURL to which the user has to be taken to for completing the authentication
payment.authentication.paramsParams ObjectPresent only when the method is POST. Parameter map that has to be sent along with the URL for authentication.

In case of Credit Cards, the charge is real time, so status can be CHARGED or AUTHORISATION_FAILED. In the case of e-mandate (netbanking / aadhaar), this might be PENDING_VBV, for which Merchant should poll after the appropriate time.

Language
Authentication
Basic
base64
:
Click Try It! to start a request and see the response here!