API Command: upi_mandate_status
The Get Mandate Status API enables you to understand the current state of the mandate at any time. After integrating this API, it helps you identify the customers who paused the mandate outside your eco-system by directly connecting with the issuer (This case is only applicable for UPI). In such cases, you can call Get Mandate Status API before initiating the charge API.
HTTP Method: POST
Request parameters
Variable | Description | Example |
---|---|---|
key mandatory |
| Your Test Key |
command |
| upi_mandate_status |
var1 |
|
|
hash |
| command |
Sample response
- Success scenario
{
"status": "active",
"action": "check_mandate_status",
"authpayuid": 21219398804,
"amount": "5036",
"mandateStartDate": "2024-10-09",
"mandateEndDate": "2049-10-09"
}
- Failure scenario
{
"status": 0,
"message": "Consent is Not Mandated",
"action": "check_mandate_status"
}
Response parameters
Parameter Name | Description |
---|---|
status | Status defines acknowledgment from PayU. Possible values are: |
action | Always returned as “MANDATE_STATUS” to highlight the type of action. |
authpayuid | Value of registration transaction ID sent in the request echoed back. |
amount | The billing amount echoed back. |
mandateStartDate | Mandate start date echoed back. |
mandateEndDate | Mandate end date echoed back. |
Disclaimer:
Since the RBI guideline’s deadline is 31st March 2021 to implement all the changes regarding compliance, there might be slight changes in the merchant integrations. PayU has tried to envisage all changes in advance and updated our integration document accordingly.