API ReferenceIntegrationsKnowledge Base

3. Create Subsequent Payments

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

UPI Payments:
For UPI, it may take between 24-36 hours for the subsequent payment to reflect on your Dashboard.

This is because of the failure of pre-debit notification and/or any retries that we attempt for the payment.

UPI Payments:
For UPI, do not create subsequent payments on the last day of the cycle. This will cause the payment to fail.

You can do this either from the Dashboard or using our APIs.

Using APIs🔗

If you are using APIs, you have to complete two steps to create and charge your customer subsequent payments.

  1. Create a new Order
    Like any other payment, each subsequent payment is tied to a unique order. Associating a payment with an order makes it easier to query Razorpay systems and handle multiple payment attempts and, allows automatic capturing of payments.
  2. Create a Payment
    Once the order is created, you can create a payment against it.
    Once 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.

Using the Dashboard🔗

If you are using the Dashboard you have to complete two steps to create a payment and charge the customer.

  1. Search for the token and check its status
    Once the authorization transaction is completed, a token is generated. Once the token is confirmed, you can charge the token as per your business requirements. You can use the search feature on the Dashboard to find the required token and check its status.
  2. Charge the token
    Once you have found the required confirmed token, you can create a charge on it according to your business needs.

No Need to Create an Order:
When using the Dashboard, Razorpay automatically creates an order for you when you charge a token. There is no need to create an order separately.