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

# Get Netbanking Transaction Status

This API allows the platform to fetch the status of a transaction intiated through a payment link/collect request/dynamic QR code/ UPI Autopay(Refunds only).

> 🙌 Important Note
>
> Please use only **Staging Credentials** on each API Reference page to test the APIs directly from our Documentation.

# Overview

This API allows a platform to fetch the status of a transaction undertaken through any of the flows below.

* [Netbanking intent API](https://docs.decentro.tech/reference/generate-netbanking-intent-link)
* [Netbanking QR](https://docs.decentro.tech/reference/generate-netbanking-qr)
* [Netbanking Redirection](https://docs.decentro.tech/reference/generate-netbanking-redirection)

## Flow

This API is an alternative to the [Terminal Transaction Status Callback/Webhook](https://docs.decentro.tech/reference/netbanking-terminal-transaction-status-callbackwebhook). The platform should use this only if a callback hasn't been acknowledged or transaction confirmation hasn't been received.

1. The platform consumes this API to get the latest status of an initiated transaction using the Decentro transaction ID received from [Netbanking intent API](https://docs.decentro.tech/reference/generate-netbanking-intent-link), [Netbanking QR](https://docs.decentro.tech/reference/generate-netbanking-qr) &  [Netbanking Redirection](https://docs.decentro.tech/reference/generate-netbanking-redirection)
2. In this API, Decentro relays the transaction status via the transaction\_status field. The default status will always be 'PENDING' unless the payer authorizes a payment.

## API Endpoints

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

| Environment     | Endpoint                                                                                                                                                                      |
| :-------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Staging/Sandbox | [\<https://staging.api.decentro.tech/v3/payments/netbanking/status?{decentro_txn_id}>](https://staging.api.decentro.tech/v3/netbanking/transaction/status?\{decentro_txn_id}) |
| Production      | [\<https://api.decentro.tech/v3/netbanking/transaction/status?{decentro_txn_id}>](https://api.decentro.tech/v3/payments/netbanking/status?\{decentro_txn_id})                 |

## Response Parameters

Below are the parameters propagated by Decentro in the response.

| Parameters                             | Description                                                                                                                                                                                    |
| :------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| decentro\_txn\_id                      | A unique transaction ID from Decentro for checking the transaction status and refund status.                                                                                                   |
| api\_status                            | Status of the API hit. Note that this is not the status of the transaction.                                                                                                                    |
| message                                | API status message. Note that this is not about the status of the transaction.                                                                                                                 |
| response\_key                          | Response key documenting the status of the API hit and various errors as mentioned [here](https://docs.decentro.tech/reference/get-netbanking-status-basic#response-parameters).               |
| netbanking\_link\_status               | The status of the transaction.                                                                                                                                                                 |
| netbanking\_status\_description        | Description message of the transaction status received.                                                                                                                                        |
| bank\_reference\_number                | The unique transaction reference number from the bank partner.                                                                                                                                 |
| bank\_code                             | The remitting bank via which the payment was processed.                                                                                                                                        |
| transaction\_authentication\_timestamp | The timestamp at which the user entered the MPIN and authenticated the payment.                                                                                                                |
| request\_decentro\_txn\_id             | The unique transaction ID shared by Decentro against the API request for generating the payment link, dynamic QR, and the reverse penny drop link or when issuing a Collect or Refund request. |
| reference\_id                          | The unique ID assigned by your platform against the API request for generating the payment link, dynamic QR, and the reverse penny drop link or when issuing a Collect or Refund request.      |

## Response keys

Below are the response keys propagated by Decentro in the response\_key parameter, which cover all the scenarios a platform can encounter.

Please note that the below keys don't include transaction-related response keys since the transaction status is relayed only after the payer authorizes payment.

| response key                             | Message                                                                                                                                                                 |
| ---------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| error\_no\_transaction\_found            | This transaction was not found in our system. If there was any debit, it would have already been reversed. Please retry the corresponding initiate payment transaction. |
| success\_transaction\_status\_successful | UPI Transaction Status processed successfully.                                                                                                                          |
| success\_transaction\_status\_pending    | UPI Transaction Status processed successfully.                                                                                                                          |
| success\_transaction\_status\_failure    | UPI Transaction Status processed successfully.                                                                                                                          |
| success\_transaction\_status\_expired    | UPI Transaction Status processed successfully.                                                                                                                          |
| error\_invalid\_provider                 | Given transaction does not belong to the origianal provider.                                                                                                            |
| error\_provider\_error                   | Error while fetching transaction status from provider.                                                                                                                  |
| error\_api\_access\_error                | Error while accessing the API. Please reach out to <pgsupport@decentro.tech> for any queries.                                                                           |
| error\_authentication\_request           | Error while authenticating the request.                                                                                                                                 |
| error\_unauthorized\_request             | Unauthorized request.                                                                                                                                                   |
| error\_plan\_not\_configured             | Plan not configured.                                                                                                                                                    |
| error\_plan\_not\_found                  | Plan not found.                                                                                                                                                         |
| error\_duplicate\_transaction            | Duplicate transaction found.                                                                                                                                            |
| success\_refund\_status\_successful      | UPI Refund Status processed successfully                                                                                                                                |
| success\_refund\_status\_failure         | UPI Refund Status processed successfully                                                                                                                                |

# 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/netbanking/status?{decentro_txn_id}": {
      "get": {
        "summary": "Get Netbanking Transaction Status",
        "description": "This API allows the platform to fetch the status of a transaction intiated through a payment link/collect request/dynamic QR code/ UPI Autopay(Refunds only).",
        "operationId": "get-netbanking-status",
        "parameters": [
          {
            "name": "client_id",
            "in": "header",
            "description": "Decentro assigned client_id during on boarding.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "client_secret",
            "in": "header",
            "description": "Decentro assigned client_secret during on boarding.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "decentro_txn_id",
            "in": "query",
            "description": "The Decentro transaction id that you received in the collection request/ payment link request.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reference_id",
            "in": "query",
            "description": "The reference_id passed during initial payment request.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Success": {
                    "value": "{\n    \"decentro_txn_id\": \"887125360D2D4148BE923B073642FEB1\",\n    \"api_status\": \"SUCCESS\",\n    \"message\": \"Netbanking transaction status retrieved successfully\",\n    \"data\": {\n        \"netbanking_link_status\": \"SUCCESS\",\n        \"transaction_authentication_timestamp\": \"2026-06-23T14:15:12\",\n        \"bank_reference_number\": \"BAN016174JK5OTUU3AZB\",\n        \"request_decentro_txn_id\": \"22D7CC441A7E4F4796D99F3E823C42DF\"\n    },\n    \"response_key\": \"success_netbanking_transaction_status_fetched\"\n}"
                  },
                  "200 ok - pending": {
                    "value": "{\n    \"decentro_txn_id\": \"5110117AA8DC4F6BAA270892C68FAA7C\",\n    \"api_status\": \"SUCCESS\",\n    \"message\": \"Netbanking transaction status retrieved successfully\",\n    \"data\": {\n        \"netbanking_link_status\": \"PENDING\",\n        \"netbanking_status_description\": \"No Transaction Found\"\n    },\n    \"response_key\": \"success_netbanking_transaction_status_fetched\"\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "title": "Success",
                      "type": "object",
                      "properties": {
                        "decentro_txn_id": {
                          "type": "string",
                          "example": "887125360D2D4148BE923B073642FEB1"
                        },
                        "api_status": {
                          "type": "string",
                          "example": "SUCCESS"
                        },
                        "message": {
                          "type": "string",
                          "example": "Netbanking transaction status retrieved successfully"
                        },
                        "data": {
                          "type": "object",
                          "properties": {
                            "netbanking_link_status": {
                              "type": "string",
                              "example": "SUCCESS"
                            },
                            "transaction_authentication_timestamp": {
                              "type": "string",
                              "example": "2026-06-23T14:15:12"
                            },
                            "bank_reference_number": {
                              "type": "string",
                              "example": "BAN016174JK5OTUU3AZB"
                            },
                            "request_decentro_txn_id": {
                              "type": "string",
                              "example": "22D7CC441A7E4F4796D99F3E823C42DF"
                            }
                          }
                        },
                        "response_key": {
                          "type": "string",
                          "example": "success_netbanking_transaction_status_fetched"
                        }
                      }
                    },
                    {
                      "title": "200 ok - pending",
                      "type": "object",
                      "properties": {
                        "decentro_txn_id": {
                          "type": "string",
                          "example": "5110117AA8DC4F6BAA270892C68FAA7C"
                        },
                        "api_status": {
                          "type": "string",
                          "example": "SUCCESS"
                        },
                        "message": {
                          "type": "string",
                          "example": "Netbanking transaction status retrieved successfully"
                        },
                        "data": {
                          "type": "object",
                          "properties": {
                            "netbanking_link_status": {
                              "type": "string",
                              "example": "PENDING"
                            },
                            "netbanking_status_description": {
                              "type": "string",
                              "example": "No Transaction Found"
                            }
                          }
                        },
                        "response_key": {
                          "type": "string",
                          "example": "success_netbanking_transaction_status_fetched"
                        }
                      }
                    }
                  ]
                }
              },
              "text/plain": {
                "examples": {
                  "Expired": {
                    "value": ""
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Missing Query Parameter": {
                    "value": "{\n    \"decentro_txn_id\": \"BBC5FCC3200F4093B1D6F045979F31F3\",\n    \"api_status\": \"FAILURE\",\n    \"message\": \"Atleast one of decentro_txn_id (str) or reference_id (str) should be provided\",\n    \"response_key\": \"error_missing_key_decentro_txn_id_and_company_reference_id\"\n}\n"
                  },
                  "Invalid Query Parameter": {
                    "value": "{\n    \"decentro_txn_id\": \"989E3403F7FC48C2BC269D56BB42C30C\",\n    \"api_status\": \"FAILURE\",\n    \"message\": \"Invalid decentro txn id passed\",\n    \"response_key\": \"error_invalid_decentro_txn_id\"\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "title": "Missing Query Parameter",
                      "type": "object",
                      "properties": {
                        "decentro_txn_id": {
                          "type": "string",
                          "example": "BBC5FCC3200F4093B1D6F045979F31F3"
                        },
                        "api_status": {
                          "type": "string",
                          "example": "FAILURE"
                        },
                        "message": {
                          "type": "string",
                          "example": "Atleast one of decentro_txn_id (str) or reference_id (str) should be provided"
                        },
                        "response_key": {
                          "type": "string",
                          "example": "error_missing_key_decentro_txn_id_and_company_reference_id"
                        }
                      }
                    },
                    {
                      "title": "Invalid Query Parameter",
                      "type": "object",
                      "properties": {
                        "decentro_txn_id": {
                          "type": "string",
                          "example": "989E3403F7FC48C2BC269D56BB42C30C"
                        },
                        "api_status": {
                          "type": "string",
                          "example": "FAILURE"
                        },
                        "message": {
                          "type": "string",
                          "example": "Invalid decentro txn id passed"
                        },
                        "response_key": {
                          "type": "string",
                          "example": "error_invalid_decentro_txn_id"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```