Skip to main content
POST
Create a UPI Autopay mandate

Body Parameters

Example Request

Response

Returns the newly created mandate object with status set to created.
After creating the mandate, redirect the customer to the mandate_url to complete authorization via their UPI app. The mandate status will transition from created to authorized once the customer approves.

Errors

Errors use the standard envelope — see Errors.

Authorizations

Authorization
string
header
required

Tenant API key obtained from POST /auth/register or POST /v1/developer/keys.

Body

application/json
customer_id
string<uuid>
required
max_amount
integer<int64>
required

Maximum per-debit amount in the lowest currency unit.

frequency
enum<string>
required
Available options:
weekly,
monthly,
quarterly,
yearly
currency
string

Mandate rail. Empty/INR = Razorpay UPI AutoPay; an overridden currency (e.g. EUR) = bank debit via GoCardless. VPA is only required for INR.

Required string length: 3
subscription_id
string<uuid>
vpa
string

Customer UPI VPA (e.g. name@bank).

Response

Mandate created.

mandate
object
auth_url
string<uri>

URL where the customer authorizes the mandate.