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 Curlec account.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:
- Create a Customer for your sub-merchant. This returns a
customer_id
. - Create an Order for your sub-merchant. This returns an
order_id
. The minimum order amount for:- Emandate: ₹0.
- Cards: ₹1.
- UPI: ₹1.
- 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
- Retrieve and check the status of the token. After the token status changes to
confirmed
, you can create and charge subsequent payments. - Create and charge subsequent payments. To do this, you have to manually:
- Create a new order.
- 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:
-
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.
-
Retrieve and check the token status. After the token status changes to
confirmed
, you can create and charge subsequent payments. -
Create and charge subsequent payments. To do this, you have to manually:
- Create a new order.
- Create a recurring payment.
Was this page helpful?