Skip to main content
POST
Re-authorize a UPI Autopay mandate
Requires a portal session. Available only on deployments with real Razorpay keys (503 otherwise).
Creates a fresh UPI Autopay mandate for the authenticated customer and returns Razorpay’s hosted authorization page (auth_url) — redirect the customer there to approve. The mandate cap is sized automatically at 2× the largest recent non-void invoice, and activation happens only when Razorpay confirms the token via the token.confirmed webhook; nothing is trusted from the browser.
Razorpay requires a contact number on recurring registration links. A customer without a phone on file gets a 422 with an actionable message — add a phone to the customer record first.

Request Body (optional)

Example

Authorizations

portal_session
string
cookie
required

Customer-portal session cookie issued by GET /portal/auth/verify.

Body

application/json
vpa
string

Optional UPI id — Razorpay's hosted page collects it when omitted.

Response

Mandate created; redirect the customer to auth_url.

data
object