v1

latestOpenAPI 3.1.02026-07-2418201.6 MB

Mandate Management API

This API is used to manage the mandate. Merchants can perform the actions like cancel and update mandate.

post/v3/payments/upi/autopay/mandate/manage

Headers

client_idstring required

Decentro assigned client_id during on boarding.

client_secretstring required

Decentro assigned client_secret during on boarding.

Request body

reference_idstring required

Unique identifier passed at every request

actionstring required

This param is used to define the type of action the API to perform. Accepted values are Cancel or Update.

decentro_mandate_idstring required

This param will accept the decentro mandate id to perform the defined action.

Response

200

OR

Example response

{
  "decentro_txn_id": "44DD8723126147988C5C2F8E13CB274A",
  "api_status": "SUCCESS",
  "message": "Requested action completed successfully.",
  "data": {
    "mandate_status_description": "Mandate is cancelled. All initiated pre-debit notifications & presentations are cancelled",
    "mandate_status": "CANCELLED",
    "decentro_mandate_id": "XXX"
  },
  "response_key": "success_mandate_cancellation"
}