Mandate Registration API

Use this API to choose the preferred mode of payment for the mandate. Supported Payment Methods include UPI, Card, Wallet, eNACH with Card/NB/Aadhaar authentication and eMandate (Direct Bank NB Mandate). The same API will also validate the payment method specific data like UPI VPA etc.

Share the URL that you get in the response body with your end customer, for whom this mandate is being initiated. They will have to run the same to authorise the collect request from their UPI App.
The API is not required for the merchants using Juspay's Payment Page product.

Note
  • For Cards mandates,

    • To enable mandate on new card transactions,

      • Tokenization is mandatory for card mandate creation.

    • To enable mandate on stored/tokenized card transactions,

      • Only PAYU and BILLDESK support mandate registration on token repeat flow as of now.

        This is because other PGs don’t support mandate registration via external token requestor (TR).

        To support mandates on cards tokenized with previously tokenized cards, BILLDESK needs to be configured.

  • For UPI transactions,

    • Use the relevant parameters received from the Payment Method API in UPI for payment_method_type and payment_method fields.

Test Cards

Please use the below test cards for testing mandates

Billdesk:
VISA
Card Number: 4591500000000055,
Expiry Month: 12,
Expiry Year: 2029,
Name on Card: Test,
CVV: 123

OTP is 123456

Note: For this card, Transaction status will be successful
and Mandate status will be active

MASTERCARD
Card Number: 5252521111111117,
Expiry Month: 12,
Expiry Year: 2029,
Name on Card: Test,
CVV: 123

OTP is 123456

Note: For this card, Transaction status will be successful
and Mandate status will be failure

RAZORPAY

Card Number: 4022757915248950,
Expiry Month: 01,
Expiry Year: 2022,
Name on Card: Test,
CVV: 123

PAYU

Card Number: 5123456789012346,
Expiry Month: 01,
Expiry Year: 2024,
Name on Card: Test,
CVV: 123
OTP: 123456

VPA: 9999999999@upi

Paytm V2

Card Number: 4761360075863216
Expiry: 12/27
CVV: 123

API Endpoints
Sandbox Link
POST
https://sandbox.juspay.in/txns
Production Link
POST
https://api.juspay.in/txns
Headers
Body
200 : Success
Last updated 1 month ago