> ## Documentation Index
> Fetch the complete documentation index at: https://razorpay-881012b3.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Recurring Payments APIs for UPI

> List of Recurring Payments APIs available for UPI.

<div style={{display:"flex",flexWrap:"wrap",alignItems:"center",gap:"0.35rem 0.9rem",border:"1px solid rgba(128,128,128,0.28)",borderRadius:"0.5rem",padding:"0.45rem 0.75rem",margin:"0 0 1.25rem",fontSize:"0.875rem"}}>
  <span style={{fontWeight:600}}>Available in</span>
  <span>🇮🇳 India</span>
</div>

You can use the Recurring Payments APIs to perform various actions using UPI as a payment method.

## API-wise Integration Checklist for UPI

### UPI Registration using Standard Checkout

* We recommend that you create a single customer id rather than multiple customer ids for the same customer. If their details change, you can use the [Edit Customer Details](/docs/api/customers/edit) API. Duplicate validation is done based on email ID and phone number.
* Use the `fail_existing : "1"` parameter so that the [API](/docs/api/payments/recurring-payments/upi/create-authorization-transaction) returns the same details of the customer created earlier. If the `fail_existing : "0"` is used, the API throws an error and does not fetch the customer id previously created. This can help in the end-user journey experience if a customer is signing up despite having signed up earlier.
* Use the [Payments Downtime](/docs/api/payments/downtime) API to check for any ongoing downtimes that may impact the UPI Recurring.
* Ensure you pass all the token parameters while [creating an Order](/docs/api/payments/recurring-payments/upi/create-authorization-transaction#1-1-2-create-an-order) for the authorisation transaction using the Standard Checkout method.
* Ensure you pass the value of the `recurring` parameter as `1` in the [Create an Authorisation Payment](/docs/api/payments/recurring-payments/upi/create-authorization-transaction#113-create-an-authorization-payment) API. If not passed, it would be considered a one-time payment. Once the authorisation payment is made, we request you verify the payment signature at your backend.
* To check the status of the token ID use the [Fetch Token](/docs/api/payments/recurring-payments/upi/tokens) API.
* Enable webhooks to check the status of the [token](/docs/api/payments/recurring-payments/webhooks#check-token-status-using-webhooks) and [payments](/docs/api/payments/recurring-payments/webhooks#check-payment-status-using-webhooks) and the [registration link](/docs/api/payments/recurring-payments/webhooks#check-registration-link-status-using-webhooks). Use this only if your business is using it in a non-critical way. In critical scenarios, we recommend that you [fetch](/docs/api/payments/recurring-payments/emandate/tokens) APIs.
* A pre-debit notification is sent before the payment is deducted by the issuing bank. It is recommended that you check the presentment time in the [FAQ](/docs/payments/recurring-payments/upi/faqs) document before proceeding with the recurring payments.

### UPI Registration using a Registration Link

* Ensure to pass the below parameters while creating a registration link using the API:
  1. Customer details such as `name`, `email` and `contact`.
  2. `sms_notify` and `email_notify` as `true` to send notifications to customers.
  3. `amount` as `0` and `type` as `link`.
  4. `description` of the link.
  5. `subscription_registration` details such as:
     * `method` as `upi`
     * `max_amount` as `500`
     * `frequency` as `monthly` or `as_presented`

### Create Subsequent Payments

* Ensure the `token_id` passed is for the linked `customer_id` while creating a recurring payment.
* Use [webhook](/docs/payments/recurring-payments/subscribe-to-webhooks) to get real-time updates of payment.

## List of Recurring Payments APIs

The table below lists the various Recurring Payments APIs available for UPI and gives a brief description of each API:

| API                                                                                                                                                                  | Description                                                         |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| [Create Authorisation Transaction using Checkout](/docs/api/payments/recurring-payments/upi/create-authorization-transaction#11-using-razorpay-standard-checkout)    | API to create an authorisation transaction using Razorpay Checkout. |
| [Create Authorisation Transaction using Registration Link](/docs/api/payments/recurring-payments/upi/create-authorization-transaction#1-2-using-a-registration-link) | API to create an authorisation transaction using Registration Link. |
| [Fetch Tokens using Payment id](/docs/api/payments/recurring-payments/upi/tokens#2-1-fetch-token-by-payment-id)                                                      | API to fetch tokens using the Payment id.                           |
| [Fetch Tokens using Customer id](/docs/api/payments/recurring-payments/upi/tokens#2-2-fetch-tokens-by-customer-id)                                                   | API to fetch tokens using the Customer id.                          |
| [Delete Tokens](/docs/api/payments/recurring-payments/upi/tokens#2-4-delete-tokens)                                                                                  | API to delete tokens.                                               |
| [Create Subsequent Payments](/docs/api/payments/recurring-payments/upi/create-subsequent-payments)                                                                   | API to create subsequent payments.                                  |

### Related Information

* [Integrate Recurring Payments Using UPI](/docs/payments/recurring-payments/upi/integrate)
* [Supported Banks and Apps](/docs/payments/recurring-payments/upi/supported-banks)
