Integrate Recurring Payments Using Emandate

Know how to integrate Recurring Payments using Emandate as a payment method.


The Recurring Payment integration for Emandate payment method involves the following steps:

Emandate registration is a process of creating a payment checkout form for customers to make Authorisation Transaction and register their Emandate. A token will be generated once a customer makes this transaction.

Using this authorisation transaction, we can authenticate the customer's Emandate and ensure that we can charge them recurring payments.

The authorisation transaction can be created using:

Razorpay Standard Checkout

Following is the authorisation transaction flow for Razorpay Standard Checkout method.

transaction flow

To create checkout form for customers to complete authorisation transaction using the Razorpay Standard Checkout method:

Watch Out!

The authorisation transaction using Standard Checkout can be created only using Razorpay APIs.


  1. This returns a customer_id.

  2. This returns an order_id. The order must be created for:

  3. Pass the customer_id, order_id and a few additional parameters in your checkout to create the authorisation payment. The customer completes the authorisation payment, which generates a token.

Video Tutorial

Watch the below video to learn how to integrate recurring payments via the Standard Checkout method.

Registration Links are securely generated web addresses that allow your customers to complete the authorisation transaction. Registration links can be sent via SMS or email.

Following is the authorisation transaction flow for Razorpay registration link method:

Recurring Payments Using Registration Link

For customers to complete the authorisation transaction via a registration link, you should create a registration link and send it to your customer

You can create a Registration Link using:

The customer completes the authorisation payment, which generates a token.

No Need to Create a Customer and Order Separately

If you use a registration link to create the authorisation transaction, Razorpay automatically creates a customer and the order for you.

Video Tutorials

Watch the below video to learn how to integrate recurring payments via the registration link method using Dashboard.

A registration link moves through the following states during its life cycle:

When setting up an Emandate, customers can authenticate the registration using one of three methods depending on their preferences.

  • Aadhaar-based authentication (recommended): Provides real-time registration and instant confirmation.
  • Netbanking authentication: Redirects customers to their bank's internet banking portal for credential-based verification.
  • Debit card authentication: Allows customers to verify using their card details and OTP.

Given below are the detailed steps for each authentication method:

Handy Tips

Razorpay's real-time Aadhaar Emandate registration solution eliminates the traditional 2-4 day manual approval process, delivering instant registration confirmation in minutes.

By streamlining the authentication flow, Razorpay reduces failed first debits and customer drop-off, providing immediate status visibility to both businesses and customers.

Given below is the authentication process via Aadhaar:

  1. The customer visits the registration link shared by you. This opens the invoice and displays the checkout. They enter their phone number and email and click Authenticate.

    customer enters phone and email on checkout
  2. They select the Pay via Netbanking - Bank Account payment method and proceed.

    customer selects payment method
  3. They select their preferred bank and the authentication mechanism. In this case, it is Aadhaar.

    customer selects bank and auth type
  4. They enter their bank details such as account number, account type, IFSC and account holder name.

    customer enters bank details
  5. The mandate summary page opens where customer then reviews the details and clicks Proceed.

    customer reviews details
  6. The bank's mandate registration form opens. Customer confirms the details and submits the mandate registration request.

    customer reviews details
  7. The customer reads the Aadhaar disclaimer and agrees to provide their Aadhaar details for authentication.

    customer reviews disclaimer
  8. The customer submits their Aadhaar details.

    customer enters aadhaar details
  9. The customer enters the OTP to complete 2FA.

    customer enters OTP

    Handy Tips

    For mandate amounts above ₹15,000, the customer must complete a second OTP verification as part of Aadhaar authentication.

  10. The customer is redirected to the NPCI mandate acceptance page.

    mandate acceptance
  11. They are then automatically redirected to the Razorpay mandate success page, where they must click Proceed.

    razorpay mandate summary page
  12. The customer is redirected to the invoice checkout page which shows the final status. This completes the netbanking authentication process.

    mandate confirmation via aadhaar auth

Netbanking

Given below is the authentication process via netbanking:

  1. The customer visits the registration link shared by you. This opens the invoice and displays the checkout. They enter their phone number and email and click Authenticate.
    customer enters phone and email on checkout
  2. They select the Pay via Netbanking - Bank Account payment method and proceed.
    customer selects payment method
  3. They select their preferred bank and the authentication mechanism. In this case, it is Netbanking.
    customer selects bank and auth type
  4. They enter their bank details such as account number, account type, IFSC and account holder name.
    customer enters bank details
  5. The mandate summary page opens where customer then reviews the details and clicks Proceed.
    customer reviews details
  6. The bank's mandate registration form opens. Customer confirms the details and submits the mandate registration request.
    emandate registration form submission
  7. The bank's netbanking login page opens. Here, customer enters their login credentials and completes OTP verification process.
    netbanking login
  8. The customer is redirected to the NPCI mandate acceptance page. They are then automatically redirected to the Razorpay mandate success page, where they must click Proceed.
    mandate acceptance
  9. The customer is redirected to the invoice checkout page which shows the final status. This completes the netbanking authentication process.
mandate confirmation via netbanking

Debit Card

Given below is the authentication process via debit card:

  1. The customer visits the registration link shared by you. This opens the invoice and displays the checkout. They enter their phone number and email and click Authenticate.
    customer enters phone and email on checkout
  2. They select the Pay via Netbanking - Bank Account payment method and proceed.
    customer selects payment method
  3. They select their preferred bank and the authentication mechanism. In this case, it is debit card.
    customer selects bank and auth type
  4. They enter their bank details such as account number, account type, IFSC and account holder name.
    customer enters bank details
  5. The mandate summary page opens where customer then reviews the details and clicks Proceed.
    customer reviews details
  6. The bank's mandate registration form opens. The customer enters the debit card details and submits the mandate registration request.
    emandate registration form submission
  7. They complete the OTP verification process.
    emandate OTP verification
  8. The customer is redirected to the NPCI mandate acceptance page. They are then automatically redirected to the Razorpay mandate success page, where they must click Proceed.
    mandate acceptance
  9. The customer is redirected to the invoice checkout page which shows the final status. This completes the netbanking authentication process.
mandate confirmation via netbanking

Once the customer has made the Authorisation Payment, it moves through the following states as per the

:

This is a process of fetching the token that contains the registration details of the customer and checking its status.

A token represents a mandate registration and is generated after the authorisation transaction is successfully captured. A token contains customer's payment details stored by Razorpay and is used to create a recurring payment.

Handy Tips

For simplicity, tokens are considered to be mandates. Hence, the status of the token determines the status of the mandate registration.

You can search for the tokens using the following:

Token Statuses

As the authorisation transaction moves through its different states, the token that is generated also undergoes state changes. Following is the life cycle of a token:

 Token life cycle

Know more about the turnaround time (TAT) for Emandate from the

.

This is the process of charging customers the actual subsequent amount using the fetched token and customer details.

Handy Tips

Subsequent payments can be charged without the need of any intervention from the customer. However, subsequent payments need to be created manually by you.

Once a token goes to the confirmed state, you can start creating recurring payments for the customer as per your business requirements.

Handy Tips

If you want to collect the first payment immediately, you can

itself, combining authorisation and the first debit into a single step.

You can create subsequent payments using:

Using the Dashboard

To create subsequent payments using the Dashboard:


  1. After the authorisation transaction is complete, a token is generated. You can use the search feature on the Dashboard to find the required token and check its status.

  2. After you have found the required confirmed token, you can create a subsequent payment by charging the token according to your business needs.

Order is Created Automatically

While creating a subsequent charge using the Dashboard, Razorpay automatically creates an order for you when you charge a token. There is no need to create an order separately.

Using APIs

To create subsequent payments using APIs:


  1. Like any other payment, each subsequent payment is tied to a unique order id. Associating a payment with an order id makes it easier to query Razorpay systems and handle multiple payment attempts and allows automatic capturing of payments.

  2. Once the order is created, you can create a payment for it.
    After our system validates the payment along with token_id, a razorpay_payment_id is returned. In some cases, the payment entity returned is in the created state and may take 1 working day for confirmation.

Was this page helpful?