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:
- 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_idthat uniquely identifies the customer. - Create an Order — You send the
customer_idalong with token details (amount, frequency, expiry). You receive anorder_id. - Create an Authorisation Payment — You send the
order_idandcustomer_id. On successful mandate approval, you receive apayment_idand atoken_id. Thetoken_idrepresents the registered mandate and is used for all future debits.
- Create a Customer — You receive a
- Subsequent Debits: On the scheduled dates, you use the
token_idand a neworder_idto execute debits against the registered mandate without requiring customer intervention (subject to AFA limits). - 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:
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 businesses can use UPI Autopay to collect EMI repayments. Razorpay supports irrevocable mandates for the lending category. Know more under
below.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).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:
- - Create a customer, create an order with mandate details and create an authorisation payment. You receive a
token_idon successful registration. - - Create orders and charge the customer on a recurring basis using the
token_id. - - Retrieve token details, check token states, cancel or delete tokens as needed.
- - 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?