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

# Enach Mandate Execution Status

This API allows the platform to check the status of a mandate presentation using Decentro's ENACH V3 stack.

# Overview

This API allows the platform to check the status of a mandate executed using the [Mandate Execution API](https://docs.decentro.tech/reference/enach-v3-mandate-execution), whether the mandate execution was successful or failed.

If this API is used before the execution is completed, the status of the execution would be 'Pending'. Subsequently, the execution status can move to Success or Failed as passed under the 'transactionStatus' field in the response.

> 📘 Ensure to use only staging credentials.

## Flow

Below is the flow for using this API.

* 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 endpoint.
* Decentro propagates the same to its bank partner & NPCI
* Decentro receives the status of the execution from its bank partner
* Decentro triggers the [Execution Status Callback](https://docs.decentro.tech/reference/enach-v3-mandate-execution-callback) to the platform's pre-configured endpoint.
* Alternatively, the platform can use this API to check the status using the endpoint.

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

## Execution Statuses

| Status    | Description                                                                               |
| :-------- | :---------------------------------------------------------------------------------------- |
| Initiated | Mandate presentation has been initiated.                                                  |
| Pending   | The mandate presentation file has been sent to NPCI, and a response from NPCI is pending. |
| Success   | The amount has been successfully debited from the user's account.                         |
| Failure   | NPCI has rejected the mandate presentation for various reasons.                           |

Please note that Decentro propagates the actual status of the debit under the 'transactionStatus' field in the response. The 'status' field in the response is the status of the API and not the actual transaction.

### API Endpoints

| Environment       | Endpoint                                                                     |
| :---------------- | :--------------------------------------------------------------------------- |
| Staging / Sandbox | <https://staging.api.decentro.tech/v3/payments/enach/mandate/execute/status> |
| Production        | <https://api.decentro.tech/v3/payments/enach/mandate/execute/status>         |

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "decfin-staging",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://staging.api.decentro.tech"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/v3/payments/enach/mandate/execute/status": {
      "get": {
        "summary": "Enach Mandate Execution Status",
        "description": "This API allows the platform to check the status of a mandate presentation using Decentro's ENACH V3 stack.",
        "operationId": "enach-v3-mandate-execution-status",
        "parameters": [
          {
            "name": "client_id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "client_secret",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "transaction_reference_number",
            "in": "query",
            "description": "Transaction reference ID passed in the request body of execution API",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "decentro_txn_id",
            "in": "query",
            "description": "Decentro txn ID of mandate execution API",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "authorization",
            "in": "header",
            "description": "Customers can generate JWT using our Auth API with various grant types in the request body. JWT is valid for 15minutes.",
            "schema": {
              "type": "string",
              "default": "Bearer {{JWT}}"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Presentation Initaited": {
                    "value": "{\n  \"decentro_txn_id\": \"3F3810XXXXD5BB710A5\",\n  \"api_status\": \"SUCCESS\",\n  \"message\": \"Successfully fetched mandate presentation details for the specified Decentro Mandate URN.\",\n  \"data\": {\n    \"transaction_reference_number\": \"e240c632-9e9b-470d-90d4-e1933502c47d\",\n    \"decentro_mandate_id\": \"XXXXXXXXXXX\",\n    \"amount\": 1,\n    \"presentation_status\": \"INITIATED\"\n    \"presentation_status_description\": \"Mandate presentation successfully initiated\"\n  },\n  \"response_key\": \"success_execution_gts\"\n}"
                  },
                  "Presentation Failure": {
                    "value": "{\n    \"decentro_txn_id\": \"A13608DXXXFFD1F1A8\",\n    \"api_status\": \"SUCCESS\",\n    \"message\": \"Successfully fetched mandate presentation details for the specified unique identifier.\",\n    \"data\": {\n        \"transaction_reference_number\": \"864d2c7d-2cec-40a2-9f51-51ee8252492b\",\n        \"decentro_mandate_id\": \"447\",\n        \"amount\": 1.0,\n        \"presentation_status\": \"FAILED\"\n        \"presentation_status_description\": \"Account has been blocked or frozen by the bank or regulator, preventing transactions.\"\n        \"error_key\": \"error_account_issue\",\n        \"error_key_description\": \"68 - A/c Blocked or Frozen\"\n    },\n    \"response_key\": \"success_execution_gts\"\n}"
                  },
                  "Presentation Success": {
                    "value": "{\n    \"decentro_txn_id\": \"A13608DC8DXXXXXXFD1F1A8\",\n    \"api_status\": \"SUCCESS\",\n    \"message\": \"Successfully fetched mandate presentation details for the specified unique identifier.\",\n    \"data\": {\n        \"transaction_reference_number\": \"864d2c7XXXXXee8252492b\",\n        \"decentro_mandate_id\": \"447\",\n        \"amount\": 1.0,\n        \"presentation_status\": \"Success\",\n        \"presentation_status_description\": \"Mandate presentation is successful\"\n    },\n    \"response_key\": \"success_execution_gts\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "decentro_txn_id": {
                      "type": "string",
                      "example": "A13608DC8DXXXXXXFD1F1A8"
                    },
                    "api_status": {
                      "type": "string",
                      "example": "SUCCESS"
                    },
                    "message": {
                      "type": "string",
                      "example": "Successfully fetched mandate presentation details for the specified unique identifier."
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "transaction_reference_number": {
                          "type": "string",
                          "example": "864d2c7XXXXXee8252492b"
                        },
                        "decentro_mandate_id": {
                          "type": "string",
                          "example": "447"
                        },
                        "amount": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "presentation_status": {
                          "type": "string",
                          "example": "Success"
                        },
                        "presentation_status_description": {
                          "type": "string",
                          "example": "Mandate presentation is successful"
                        }
                      }
                    },
                    "response_key": {
                      "type": "string",
                      "example": "success_execution_gts"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Validation Error": {
                    "value": "{\n    \"decentro_txn_id\": \"04984XXXXX26FA2F51D2C7E\",\n    \"api_status\": \"FAILURE\",\n    \"message\": \"Please provide the valid Decentro Transaction ID. Hint: decentro_txn_id(string)\",\n    \"response_key\": \"error_invalid_decentro_txn_id\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "decentro_txn_id": {
                      "type": "string",
                      "example": "04984XXXXX26FA2F51D2C7E"
                    },
                    "api_status": {
                      "type": "string",
                      "example": "FAILURE"
                    },
                    "message": {
                      "type": "string",
                      "example": "Please provide the valid Decentro Transaction ID. Hint: decentro_txn_id(string)"
                    },
                    "response_key": {
                      "type": "string",
                      "example": "error_invalid_decentro_txn_id"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```