About Recurring Payments for Partners

Accept recurring payments using payment methods such as cards, emandate and UPI.


You can use Razorpay

APIs to create subsequent payments for your customers at intervals you can define and control.

Know about the

products.

Feature Request

  • This is an on-demand feature. Please raise a request with our to get this feature activated on your Razorpay account.
  • Watch this video to know how to raise a feature enablement request on the Razorpay Dashboard.
Feature Request GIF

Use the Partner credentials as described in the

as Basic Auth.

In the API request:

  • The authorisation information is expressed using the Authorization header with Basic auth scheme.
  • The sub-merchant account is specified using the X-Razorpay-Account header.

For example:

curl -X GET 'https://api.razorpay.com/v1/payments/pay_KjtVtO37KdpfjG' \
-u [YOUR_PARTNER_KEY_ID]:[YOUR_PARTNER_KEY_SECRET]\
-H 'X-Razorpay-Account: acc_KBrJAIEqre5ucn'

You can integrate Recurring Payments using Razorpay Standard Checkout via APIs.

Following is the integration flow to collect recurring payments using the Razorpay Standard Checkout:

  1. Create a Customer for your sub-merchant. This returns a customer_id.
  2. Create an Order for your sub-merchant. This returns an order_id. The minimum order amount for:
    • Emandate: ₹0.
    • Cards: ₹1.
    • UPI: ₹1.
  3. Create an Authorization Transaction. Pass the customer_id, order_id, account_id and a few additional parameters in your Checkout to create the authorisation payment. The customer completes the authorisation payment, which generates a token. This payment can be authorised using one of the following instruments:
    • E-mandate
    • Cards
    • UPI
  4. Retrieve and check the status of the token. After the token status changes to confirmed, you can create and charge subsequent payments.
  5. Create and charge subsequent payments. To do this, you have to manually:
    1. Create a new order.
    2. Create a recurring payment.

You can create registration links from the

or using .

Following is the integration flow to collect recurring payments using a registration link:

  1. Create a registration link and send it to your customer. The customer completes the authorisation payment, which generates a token. This payment can be authorised using one of the following instruments:

    • Emandate
    • Card
    • UPI

    Handy Tips

    There is 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 on your behalf.

  2. Retrieve and check the token status. After the token status changes to confirmed, you can create and charge subsequent payments.

  3. Create and charge subsequent payments. To do this, you have to manually:

    1. Create a new order.
    2. Create a recurring payment.

Was this page helpful?