UPI Autopay - Create Mandate API

This API is used to create a UPI based mandate.

Overview

This API allows the platform to initiate an UPI-based mandate registration request. The payer can then authorize the request using Intent flow. In this flow, the platform doesn't need to have the payer's VPA. Decentro validates the request and the payer can pay using any supported UPI app on their mobile device. It is suitable for mobile apps.

Flow

Below is the intent flow for using this API.

  • The platform captures the mandate details like amount, frequency, timeframe, etc. at their end
  • The platform passes the same in this API against the endpoints
  • The platform receives a shortened link that can be displayed on the platform's app
  • The payer can choose the app of their choice as available on their app
  • The payer authorizes the request by using the UPI MPIN
  • The platform receives the Mandate Status Callback to a pre-configured endpoint
  • The platform receives the status of mandate registration in the callback itself
  • Alternatively, the platform can check the status using the Mandate Status API

Frequency

Below are the parameters accepted under the 'frequency' field in the request body and their interpretation.

ValueDescription
DAILYThe mandate can be presented daily.
WEEKLYThe mandate can be presented weekly on a specific day of the week
FORTNIGHTLYThe mandate can be presented once every 2 weeks from the start date
MONTHLYThe mandate can be presented once a month on a specific date of the month
BIMONTHLYThe mandate can be presented once in 2 months on a specific date of the month
QUARTERLYThe mandate can be presented once a quarter from the start date
HALFYEARLYThe mandate can be presented once every 6 months from the start date
YEARLYThe mandate can be presented once every 12 months from the start date
ONETIMEThe mandate can be presented only once before the end date
ASPRESENTEDThe mandate can be presented as needed

Rule Type

Below are the parameters accepted under the 'rule_type' field in the request body and their interpretation.

ValueDescription
OnThe mandate can be presented on the exact date
BeforeThe mandate can be presented before the due date as long as frequency & presentation window is maintained
AfterThe mandate can be presented after the due date as long as frequency & presentation window is maintained

Amount Rule

Below are the parameters accepted under the 'amount_rule' field in the request body and their interpretation.

ValueDescription
MaxThe amount registered is the maximum that can be debited. Any presentation amount lesser than the amount can be presented
ExactThe amount registered is the exact amount that can be debited.

API Endpoints

Below are the API endpoints to be used by the platform basis the environments.

Language
Click Try It! to start a request and see the response here!