Create a mandate that is used for user to authenticate using UPI
To view error codes, click here
Create a mandate that is used for user to authenticate using UPI
To view error codes, click here
Getting started with Digio Rest Apis
|
HTTP Basic
Send
Authorization in header containing the word Basic followed by a space and a base64 encoded string of username:password.
|
This API is used to create a upi mandate request
{
"customer_identifier": "<customer_mobile/email>",
"auth_mode": "upi",
"mandate_type": "create",
"corporate_config_id": "<config_id>",
"mandate_data": {
"maximum_amount": "1",
"first_collection_date": "2023-10-27"
}
}
Corporate profile created from dashboard has below info and is auto populated during user authentication. Utility Code Service provider name Sponsor bank name Sponsor bank Sponsor bank ifsc
➔ Type of mandate to be created: 'create': 'amend':
Data attributes of mandate.
➔ Reference number maintained by Corporate
e.g.: Customer_id, Loan account number, Folio number, Insurance policy number etc
Max len = 20, ALPHA and NUMERIC allowed
Note : Please pass this attribute unique for each mandate created, as many sponsor banks consider it as a unique identifier at their end.
True / False
Pass False if its a one-time debit
➔ If is_recurring : true, pass debit frequency.
Note: Choose one from below, commensurate with your use case category (Management Category Code) eg: 7322 (Loan Installment should have a defined frequency that is commensurate with the EMI schedule agreed upon with the customer eg: Monthly). Incorrect frequency passed for a management category, may lead to mandate registration failure.
Adhoc [means “As on when presented”]
IntraDay
Daily
Weekly
Monthly
BiMonthly
Quarterly
Semiannually
Yearly
Date for First Debit in yyyy-mm-dd ; means the date from which you want the mandate to be registered Note : Ideally it should be the current date on which the mandate is created. So auto debit can be successful
Date for Last Debit in yyyy-mm-dd
➔ Collection amount for the mandate
➔ Maximum amount that may be collected from the customer's account, per instruction eg: 4500.50
Note: Either of collection_amount or maximum_amount is mandatory.
UPI AutoPay Additional Factor of Authentication (AFA) (viz. UPI PIN) limit has been relaxed from 15,000/- to 2,00,000/- for the below Merchant Category Codes (MCC).
MCC Description
5413: Credit Card Bill Payments
5960: Direct Marketing Insurance Services
6012: Financial Institutions Merchandise and Services
6211: Securities brokers and dealers
6300: Insurance sales, underwriting and premiums
6381: Insurance Premiums
6399: Insurance
6529: LIC
➔ Recommended that the name is same as per Destination Bank records
Max len = 100
➔ Additional Reference number maintained by Corporate for the reconciliation
E.g: Loan account number, Folio number, Insurance policy number etc
Max len = 20, ALPHA and NUMERIC allowed
➔ Customer Mobile number
➔ Customer Email address
➔ Customer bank account number
Min len = 8 Max len = 18
All numeric
Virtual address of the customer
➔ This is used if intent url is required in the response
Default 100 ( 1 Rs Auto Debit) Note: Only applicable in case auto debit amount needs to be customized. It should be less than maximum_amount
➔ Set to true if mandate should be auto revoked in case the customer’s account number shared by merchant in “customer_account_number” is different then the account number used by customer to authenticate the UPI mandate.
➔ Please pass this value to allow the end user to be able to submit the mandate image (in case of physical mandate) or perform eSign authentication within ‘X’ days. X you can pass as the value
➔ Authentication mode for mandate. Possible values are: 'upi'
➔ If true, will receive an access_token object in response. access_token used to bypass first factor authentication in SDKs.
If mandate needs to be reflected to specific sub-user
User email or mobile
➔ Set true to send notification to customer with a gateway link to authenticate/sign the mandate. Else, false
➔ Pass True if authentication link is required in response payload based on above customer’s identifier
Unique ID to identify mandates provided by Digio.
Unique ID to identify mandates provided by Digio.
➔ 'partial': 'signed': 'expired': 'auth_success': 'auth_failed': 'cancelled': 'revoked':
➔ Use case of mandate
Details of mandate
Name of file shared with the bank
Identifier for customer, could be email or mobile number
Name of customer
Unique Reference Number identifier the customer
Unique number maintained by Corporate for the reconciliation
Mobile number of customer
Customer email number
➔ Mode of authentication used for mandate
Timestamp of mandate authentication
Denotes whether it is a recurring mandate or not
➔ In case of recurring mandate, denotes the frequency.
Date of first debit
Date of last debit
For fixed amount mandate, this denotes the amount
Maximum amount that may be collected from the customer's account
Masked account number of customer
➔ Type of bank account of customer
IFSC code of customer's bank account
Name of customer's bank
Name of sponsor's bank account
Transaction ID in reference to NPCI
Unique ID for sub-user
Identifier for sub-user, this is generally emailID or mobile number
➔ This denotes what type of identifier was used
Sub-user's email id, if registered
Subuser's mobile number
UMRN of the mandate registered
Timestamp at which mandate was created
Last modification timestamp of the mandate
➔ Mode of mandate authentication
➔ In case of API mandate, sub auth mode type
Details of service provider
Service provider name
Utility code of service provider
It is only applicable for API mandate and it returns true/false. If the sponsor bank supports authentication using aadhaar then it returns true, else it returns false.
'yyyy-mm-dd hh:mm:ss': Timestamp of generation
Unique identifier of the parent entity the access token belongs to
Unique identifier referencing an access token
DateTime at which the access token expires. New token can be generated when expired with the access token generation API mentioned in the document.
Failure reason if shared by NPCI after rejecting a request at NPCI gateway level
Failure reason if shared by bank post NPCI gateway acceptence
Details about the exception. Usually contains the exception id for reference.
Error code
Description of the error
Was this page helpful?