What a mandate is
A UPI AutoPay mandate is the customer’s standing authorization to auto-debit recurring charges in India. It’s created, authorized by the customer in their UPI app, linked to a subscription, and then debited each cycle — with RBI-required pre-debit notifications.UPI AutoPay is the INR rail of the same mandate system: create a mandate with
currency: "EUR" or "GBP" and it becomes a SEPA/Bacs bank-debit mandate
via GoCardless instead — see
bank-debit mandates.Full lifecycle, frequencies, and webhooks: UPI Mandates.
Requires Razorpay — see payment gateways.
Prerequisites
- Razorpay connected — payment gateway; UPI AutoPay runs on it.
- An existing customer and a subscription to link the mandate to.
- An API key for the API call below, or dashboard access.
Step 1: Create the mandate
Create a mandate for the customer with the amount cap and frequency. In the dashboard, this happens on the subscription; or via the API:Step 2: Get the customer to authorize
The mandate returns an authorization link/flow — the customer approves it in their UPI app. Until they authorize, the mandate is pending and can’t be debited.Step 3: Link it to a subscription
Attach the authorized mandate to the subscription so each cycle’s invoice is auto-debited. Recurso sends the pre-debit notification ahead of each charge as RBI requires.Verify your setup
1
The mandate authorizes
After the customer approves, the mandate status moves to active.
2
A cycle auto-debits
The subscription’s next invoice is collected via the mandate, after the
pre-debit notice.
3
Revocation stops debits
Revoking the mandate stops further auto-debits.