UPI Autopay

Learn about UPI Autopay, supported use cases, mandate limits and how to integrate with Razorpay.


UPI Autopay allows businesses to set up recurring mandates on a customer's UPI id, enabling automatic debits at a defined frequency without requiring the customer to approve each payment manually. This is ideal for subscriptions, loan repayments, SIP investments and other recurring payment use cases.

Recommended Integration

We strongly recommend using the UPI Intent flow for mandate registration. Intent provides a seamless native app experience where customers are redirected to their preferred UPI app to approve the mandate. For iOS users, you may continue to use the UPI Collect flow as a fallback.

UPI Autopay works in three stages:

  1. Mandate Registration: You create a customer, create an order with mandate details and then create an authorisation payment. At each step, you receive identifiers that feed into the next:
    • Create a Customer — You receive a customer_id that uniquely identifies the customer.
    • Create an Order — You send the customer_id along with token details (amount, frequency, expiry). You receive an order_id.
    • Create an Authorisation Payment — You send the order_id and customer_id. On successful mandate approval, you receive a payment_id and a token_id. The token_id represents the registered mandate and is used for all future debits.
  2. Subsequent Debits: On the scheduled dates, you use the token_id and a new order_id to execute debits against the registered mandate without requiring customer intervention (subject to AFA limits).
  3. Token Management: You can fetch, cancel or delete tokens (mandates) through Razorpay APIs at any point during the mandate lifecycle.

Razorpay supports UPI Autopay across a range of industries with customised mandate configurations:

Subscriptions and Recurring Services

OTT platforms, SaaS products, meal delivery services and other subscription businesses can set up monthly or custom-frequency mandates to collect recurring payments automatically.

Lending and Loan Repayments

Lending businesses can use UPI Autopay to collect EMI repayments. Razorpay supports irrevocable mandates for the lending category. Know more under

below.

Investments and SIPs

Mutual fund distributors and investment platforms can set up mandates for Systematic Investment Plans (SIPs). Investment merchants benefit from extended mandate limits and AFA exemptions (see

below).

Insurance Premium Collection

Insurance companies can automate premium collection on a monthly, quarterly or yearly basis using UPI Autopay mandates.

UPI Autopay mandates are subject to limits defined by NPCI. These limits vary by industry category (MCC). Additional Factor of Authentication (AFA) is required by the RBI for subsequent debits above certain thresholds. When AFA is required, the customer receives a notification on their UPI app and must enter their UPI PIN to approve the payment.

The minimum mandate amount across all categories is ₹1.

Handy Tips

  • For regular industries, any subsequent debit above ₹15,000 requires the customer to approve the transaction via UPI PIN.
  • For lending and investment categories (MCCs 6211, 6300, 7322, 6529, 5960), AFA is not required for debits up to ₹1,00,000. This exemption helps investment platforms process SIP amounts and lenders process EMIs without requiring customer intervention.
  • If the subsequent debit amount exceeds the mandate's max_amount, the payment will fail.

Razorpay supports customised Autopay configurations for specific industries. These features are available on request.

For investment and lending merchants, Razorpay supports Third-Party Validation (TPV) on UPI Autopay. TPV ensures that the customer's bank account is validated against a pre-approved list before the mandate is registered. This adds a layer of security by confirming that the payment source matches the expected account.

Know more about

.

To integrate UPI Autopay using the S2S (server-to-server) flow, follow these steps:

  1. - Create a customer, create an order with mandate details and create an authorisation payment. You receive a token_id on successful registration.
  2. - Create orders and charge the customer on a recurring basis using the token_id.
  3. - Retrieve token details, check token states, cancel or delete tokens as needed.
  4. - Set up webhook listeners to receive real-time notifications for mandate and payment events. Integrating with webhooks is strongly recommended as it is the most efficient method for tracking payment and token status changes.

Is this integration guide useful?