- EnKash Developer Portal Overview
- Payment Gateway
- Payment Gateway Overview
- Payment Gateway Sign Up
- Payment Methods
- Supported Integrations
- Payment Gateway APIs
- Web Integration
- Server to Server Integration
- Test Card Details
- Authorization
- Orders
- Payments
- Refunds
- Settlements
- Split Settlements
- E-Commerce Plugins
- Payment Links
- Payment Button
- Qr Code
- UPI Mandate
- Payment Links
- Bharat Connect (BBPS)
- About Bharat Connect
- B2B Invoicing
- Invoice
- Payment
- Financing
- Onboarding
- cdNote
- Purchase Order
- webhook-invoice
- webhook-payments
- webhook-business-onboarding
- webhook-financing
- webhook-cdNote
- Webhook Purchase Order
- Webhook Send Purchase Order Request
- Webhook Send Purchase Order Response
- Webhook Confirm Purchase Order Request
- Webhook Confirm Purchase Order Response
- Webhook Edit Purchase Order Request
- Webhook Edit Purchase Order Response
- Webhook Status Change Purchase Order Request
- Webhook Status Change Purchase Order Response
- Bill Payments
- Payouts
- Accounts Payable Management Tool
- Account Receivable
- Expense Management
- Loyalty
- Card Management
- Verification Suite
Create UPI Mandate
POST
/api/v0/upi-autopay/mandates
Request
Body Params application/json
referenceId
stringÂ
required
amount
integerÂ
required
amountRule
stringÂ
required
currency
stringÂ
required
payer
objectÂ
required
name
stringÂ
required
vpa
stringÂ
required
account
stringÂ
required
accountValidation
booleanÂ
required
mandateName
stringÂ
required
expiry
string <date-time>
required
blockFund
booleanÂ
required
recurrence
objectÂ
required
period
stringÂ
required
rule
stringÂ
required
value
integerÂ
required
validity
objectÂ
required
startAt
string <date-time>
required
endAt
string <date-time>
required
upiReferenceUrl
stringÂ
optional
description
stringÂ
optional
Example
{
"referenceId": "TXN9876543",
"amount": 2540,
"amountRule": "EXACT | MAX",
"currency": "INR",
"payer": {
"name": "John Doe",
"vpa": "9876543210.prod@bank",
"account": "0987654321",
"accountValidation": false
},
"name": "Subscription Payment",
"expiry": "2025-01-31 00:00:00",
"blockFund": true,
"recurrence": {
"period": "onetime|daily|weekly|fortnightly|monthly|bimonthly|quarterly|halfyearly|yearly|aspresented",
"rule": "ON | before | after",
"value": 3
},
"validity": {
"startAt": "2025-01-20 00:00:00",
"endAt": "2025-01-30 00:00:00"
},
"upiReferenceUrl": "https://www.example.com/",
"description": "Recurring Payment for Subscription"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v0/upi-autopay/mandates' \
--header 'Content-Type: application/json' \
--data-raw '{
"referenceId": "TXN9876543",
"amount": 2540,
"amountRule": "EXACT | MAX",
"currency": "INR",
"payer": {
"name": "John Doe",
"vpa": "9876543210.prod@bank",
"account": "0987654321",
"accountValidation": false
},
"name": "Subscription Payment",
"expiry": "2025-01-31 00:00:00",
"blockFund": true,
"recurrence": {
"period": "onetime|daily|weekly|fortnightly|monthly|bimonthly|quarterly|halfyearly|yearly|aspresented",
"rule": "ON | before | after",
"value": 3
},
"validity": {
"startAt": "2025-01-20 00:00:00",
"endAt": "2025-01-30 00:00:00"
},
"upiReferenceUrl": "https://www.example.com/",
"description": "Recurring Payment for Subscription"
}'
Responses
🟢200OK
application/json
Body
umn
stringÂ
required
referenceId
stringÂ
required
mandateId
stringÂ
required
amount
integerÂ
required
amountRule
stringÂ
required
currency
stringÂ
required
mcc
stringÂ
required
payer
objectÂ
required
name
stringÂ
required
vpa
stringÂ
required
account
stringÂ
required
accountValidation
booleanÂ
required
name
stringÂ
required
expiry
string <date-time>
required
blockFund
booleanÂ
required
recurrence
objectÂ
required
period
stringÂ
required
rule
stringÂ
required
value
integerÂ
required
validity
objectÂ
required
startAt
string <date-time>
optional
endAt
string <date-time>
required
upiReferenceUrl
stringÂ
required
description
stringÂ
required
upiPurposeCode
stringÂ
required
upiResponseCode
stringÂ
required
status
stringÂ
required
createdOn
string <date-time>
required
Example
{
"umn": "string",
"referenceId": "string",
"mandateId": "string",
"amount": 0,
"amountRule": "string",
"currency": "string",
"mcc": "string",
"payer": {
"name": "string",
"vpa": "string",
"account": "string",
"accountValidation": true
},
"name": "string",
"expiry": "2019-08-24T14:15:22Z",
"blockFund": true,
"recurrence": {
"period": "string",
"rule": "string",
"value": 0
},
"validity": {
"startAt": "2019-08-24T14:15:22Z",
"endAt": "2019-08-24T14:15:22Z"
},
"upiReferenceUrl": "string",
"description": "string",
"upiPurposeCode": "string",
"upiResponseCode": "string",
"status": "string",
"createdOn": "2019-08-24T14:15:22Z"
}
Modified at 2025-02-07 08:09:30