#Create single block multi-debit mandate
The merchant will have to call the create mandate API with the correct set of parameters.
Staging host | https://umap.setu.co/api |
---|---|
Method | POST |
Path | /v1/merchants/mandates |
Header | merchantId Authorization : Bearer <insert_token_here>. Generate this token using OAuth.Content-Type —will be application/json |
Sample request
{"allowMultipleDebit": true,"amount": 1000,"amountRule": "max","autoExecute": false,"autoPreNotify": false,"blockFunds": true,"creationMode": "qr","currency": "INR","customerRevocable": false,"customerVpa": "ram@axis","endDate": "02012008","expireAfter": 120,"firstExecutionAmount": 0,"frequency": "as presented","initiationMode": "01","maxAmountLimit": 1000,"merchantReferenceId": "ABC1234789","merchantVpa": "acme.corp@axis","productConfigId": "01ARZ3NDEKTSV4RRFFQ69G5FAV","purpose": "76","recurrenceRule": "on","recurrenceValue": 0,"shareToPayee": false,"startDate": "02012006","transactionNote": "Transaction note"}
Request body parameter values for creating an intent based single block multi debit mandate
Parameter | Value |
---|---|
frequency | as presented |
recurrenceRule | on |
recurrenceValue | 0 |
blockFunds | true |
purpose | 76 |
customerRevocable | false |
creationMode | intent or qr |
initiationMode | 01 if creationMode is qr 04 if creationMode is intent |
autoExecute | false |
autoPreNotify | false |
Sample response
{"allowMultipleDebit": true,"amount": 1000,"amountRule": "max","autoExecute": false,"autoPreNotify": false,"blockFunds": true,"createdAt": "2023-09-04T12:08:20+0530","creationMode": "qr","currency": "INR","customerRevocable": false,"customerVpa": "ram@axis","endDate": "02012008","expireAfter": 120,"firstExecutionAmount": 0,"frequency": "single block multi debit","id": "01ARZ3NDEKTSV4RRFFQ69G5FAV","initiationMode": "01","intentLink": "upi://mandate?pa=acme.corp@axis&pn=merchant-1&validitystart=02012006&validityend=02012008&am=100.00&amrule=MAX&recur=ASPRESENTED&tr=BTTZrc5gDFkuCr3n3I0ey4aNtzLOLR7K7aR&cu=INR&mc=1234&mode=01&purpose=76&rev=N&share=N&qrexpire=02012006&block=Y&orgid=409214&version=2.0&txnType=CREATE&tid=BTTZrc5gDFkuCr3n3I0ey4aNtzLOLR7K7aR","maxAmountLimit": 1000,"merchantId": "01ARZ3NDEKTSV4RRFFQ69G5FAV","merchantReferenceId": "ABC1234789","merchantVpa": "acme.corp@axis","productConfigId": "01ARZ3NDEKTSV4RRFFQ69G5FAV","purpose": "76","recurrenceRule": "on","recurrenceValue": 0,"shareToPayee": false,"startDate": "02012006","status": "pending","transactionNote": "Transaction note","txnId": "BTTZrc5gDFkuCr3n3I0ey4aNtzLOLR7K7aR"}
- `intentLink` or corresponding qr can be shared directly with customers via a communication channel.
- `id` is a unique mandate ID that is associated with this mandate and can be used to track it later.
This request to generate a mandate creation intent link / qr is flexible and allows for many use cases. To know more about all the API params, please refer to the API documentation here.
- mandate.initiated
- mandate_operation.create.initiated
- mandate.live (if mandate creation is successful)
- mandate_operation.create.success (if mandate creation is successful)
- mandate.rejected (if mandate creation fails)
- mandate_operation.create.failed (if mandate creation fails)
Read more about mandate status notifications here and mandate create operation notifications here
A merchant can use check mandate status API to check if the mandate is LIVE
(this is an alternative way to get status, aside from the notifications sent by UPI Setu)
Please refer to the Document Reference section for checking the API reference and the notifications.
The process for mandate creation is described in the below diagram

#Check mandate status
A merchant can use this API to check the status of a mandate (this is an alternative way to get status, aside from the notifications sent by UPI Setu).
Staging host | https://umap.setu.co/api |
---|---|
Method | GET |
Path | /v1/merchants/mandates/{id} |
Header | merchantId Authorization : Bearer <insert_token_here>. Generate this token using OAuth.Content-Type —will be application/json |
Sample response
{"allowMultipleDebit": true,"amount": 1000,"amountRule": "max","autoExecute": false,"autoPreNotify": false,"blockFunds": true,"createdAt": "2023-09-04T12:08:20+0530","creationMode": "qr","currency": "INR","customerRevocable": false,"customerVpa": "ram@axis","endDate": "02012008","expireAfter": 120,"firstExecutionAmount": 0,"frequency": "single block multi debit","id": "01ARZ3NDEKTSV4RRFFQ69G5FAV","initiationMode": "01","intentLink": "upi://mandate?pa=acme.corp@axis&pn=merchant-1&validitystart=02012006&validityend=02012008&am=100.00&amrule=MAX&recur=ASPRESENTED&tr=BTTZrc5gDFkuCr3n3I0ey4aNtzLOLR7K7aR&cu=INR&mc=1234&mode=01&purpose=76&rev=N&share=N&qrexpire=02012006&block=Y&orgid=409214&version=2.0&txnType=CREATE&tid=BTTZrc5gDFkuCr3n3I0ey4aNtzLOLR7K7aR","maxAmountLimit": 1000,"merchantId": "01ARZ3NDEKTSV4RRFFQ69G5FAV","merchantReferenceId": "ABC1234789","merchantVpa": "acme.corp@axis","productConfigId": "01ARZ3NDEKTSV4RRFFQ69G5FAV","purpose": "76","recurrenceRule": "on","recurrenceValue": 0,"shareToPayee": false,"startDate": "02012006","status": "live","transactionNote": "Transaction note","txnId": "BTTZrc5gDFkuCr3n3I0ey4aNtzLOLR7K7aR","umn": "c27f5fc30d344e9594fce0afa34f8859@mypsp"}
id
is a unique mandate ID that is associated with this mandate and can be used to track it later.umn
is a unique mandate identifier that is associated with this mandate and is needed for pre debit notification and execution APIs.
To know more about all the API params, please refer to the API documentation here.