---
updatedAt: 2026-11-12T11:24:22.000Z
agentTools:
  projectIndex: https://docs.decentro.tech/llms.txt
---

# Enach Mandate Execution Callback

This callback is triggered by Decentro to the platform when a mandate presented is executed.

# Overview

Decentro triggers this callback to the platform's pre-configured endpoint with the debit status against a registered mandate created using the [Mandate Execution API](https://docs.decentro.tech/reference/enach-v3-mandate-execution).

The mandate details can be reconciled using this callback's 'unique\_mandate\_reference\_number' parameter. Decentro passes the same parameter in the [Mandate Registration Callback](https://docs.decentro.tech/reference/enach-v3-registration-callback) if a mandate is successfully registered.

> 📘 Introduced 2 new fields called `error_key` and `error_key_description` to provide clear, more actionable failure reasons when a mandate registration fails.

## Flow

Below is the flow for this callback.

* The platform shares the endpoint that needs to be configured when onboarding with Decentro.
* The platform registers a mandate successfully using the [Mandate Registration API](https://docs.decentro.tech/reference/enach-v3-mandate-registration).
* The platform informs the payer about an upcoming debit through a standard mode of communication.
* The platform initiates the debit request using the [Mandate Execution API.](https://docs.decentro.tech/reference/enach-v3-mandate-execution)
* Decentro propagates the same to its bank partner & NPCI
* Decentro receives the status of the execution from its bank partner
* Decentro triggers this callback to the platform's pre-configured endpoint.
* Alternatively, the platform can use the [Mandate Execution Status API](https://docs.decentro.tech/reference/enach-v3-mandate-execution-status) to check the status.

### API Endpoints

| Environment       | Endpoint                           |
| :---------------- | :--------------------------------- |
| Staging / Sandbox | <https://your.custom.endpoint.com> |
| Production        | <https://your.custom.endpoint.com> |

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "your_custom_endpoint",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://your.custom.endpoint.com"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/Enach_execution_status": {
      "post": {
        "summary": "Enach Mandate Execution Callback",
        "description": "This callback is triggered by Decentro to the platform when a mandate presented is executed.",
        "operationId": "enach-v3-mandate-execution-callback",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "decentro_txn_id",
                  "decentro_mandate_id",
                  "Transaction_reference",
                  "presentation_status"
                ],
                "properties": {
                  "decentro_txn_id": {
                    "type": "string",
                    "description": "Transaction id provided by Decentro"
                  },
                  "decentro_mandate_id": {
                    "type": "string",
                    "description": "Unique Id assigned by Decentro to identify each mandate - Used for execution"
                  },
                  "Transaction_reference": {
                    "type": "string",
                    "description": "Reference id for identifying the transaction request for that mandate",
                    "default": "CS_3XXXXX0-b55"
                  },
                  "presentation_status": {
                    "type": "string",
                    "description": "Shows the status of the mandate presentation"
                  },
                  "presentation_status_description": {
                    "type": "string",
                    "description": "Description of the debit status of the presentation. Failure reason will be found here"
                  },
                  "error_key": {
                    "type": "string",
                    "description": "Presentation failure reason bucketing.",
                    "default": "error_account_issue"
                  },
                  "error_key_description": {
                    "type": "string",
                    "description": "NPCI error code & reason for failure",
                    "default": "68 - Accout Blocked/Frozen"
                  },
                  "callback_attempt": {
                    "type": "string",
                    "description": "The number of times the callback is attempted"
                  },
                  "original_callback_txn_id": {
                    "type": "string",
                    "description": "Original Callback ID."
                  },
                  "callback_txn_id": {
                    "type": "string",
                    "description": "Callback ID provided by Decentro"
                  }
                }
              },
              "examples": {
                "Success Presentations": {
                  "value": {
                    "decentro_txn_id": "A4041C56BXXXXX71A06F9622",
                    "decentro_mandate_id": "880C390XXXXF3C0D",
                    "transaction_reference": "CS_39266cc2c05b1-b1c",
                    "presentation_status": "SUCCESS",
                    "presentation_status_description": "Mandate Presentation is Successful",
                    "callback_attempt": 1,
                    "original_callback_txn_id": "FC481E167617XXXX0208D67CBBBDE",
                    "callback_txn_id": "FC481E16761XXXXX08D67CBBBDE"
                  }
                },
                "Failure Presentations": {
                  "value": {
                    "decentro_txn_id": "8B5F3A1A3EXXXXX1D048FC23A00",
                    "decentro_mandate_id": "5XXXXXXXX7",
                    "transaction_reference": "CS_3XXXXX0-b55",
                    "presentation_status": "FAILURE",
                    "presentation_status_description": "Account has been blocked or frozen by the bank or regulator, preventing transactions.",
                    "error_key": "error_account_issue",
                    "error_key_description": "68 - Accout Blocked/Frozen",
                    "callback_attempt": 1,
                    "original_callback_txn_id": "A85449XXXXX12F7A7C6ACAB6B5",
                    "callback_txn_id": "A85449C98XXXXXXF7A7C6ACAB6B5"
                  }
                },
                "Pending Presentations": {
                  "value": {
                    "decentro_txn_id": "8B5F3A1AXXXXXXXXX8FC23A00",
                    "decentro_mandate_id": "5697",
                    "transaction_reference": "CSXXXXXXX-b55",
                    "presentation_status": "PENDING",
                    "presentation_status_description": "Mandate Presentation is initiated",
                    "callback_attempt": 1,
                    "original_callback_txn_id": "AC9F08BXXXXXXXXA0726089D2F",
                    "callback_txn_id": "AC9F08XXXXXXXX726089D2F"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Successful Acknowledgement": {
                    "value": "{\n  \"response_code\": \"CB_S00000\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "response_code": {
                      "type": "string",
                      "example": "CB_S00000"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```