---
updatedAt: 2025-03-20T20:41:04.000Z
agentTools:
  projectIndex: https://check21.readme.io/llms.txt
---

# View Transaction Data

The GET Transaction Endpoint is most commonly used to determine the status of a transaction which was initial in Pending Deposit or Pending Credit. At cutoff on any given business day, the transaction status should transition from Pending Deposit or Pending Credit to Deposited or Credit Sent.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "3.0",
    "title": "Check21.com Gateway API Guide",
    "description": "The API Endpoints below will allow all clients of Check21.com to transmit, update and view transaction data available. A variety of endpoint features not displayed may become available by contacting your Check21.com Account Manager.",
    "contact": {}
  },
  "paths": {
    "/transaction/{id}": {
      "get": {
        "description": "The GET Transaction Endpoint is most commonly used to determine the status of a transaction which was initial in Pending Deposit or Pending Credit. At cutoff on any given business day, the transaction status should transition from Pending Deposit or Pending Credit to Deposited or Credit Sent.",
        "summary": "View Transaction Data",
        "tags": [
          "Check 21 Services"
        ],
        "operationId": "Transaction987654Get",
        "deprecated": false,
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "application/json should be set.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Transaction ID was provided during the submission of the Transaction to the POST Transaction Endpoint.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "X-Auth-ApiKeyContent",
            "in": "header",
            "required": true,
            "description": "Can be found in the administrative user profile within the Check21.com Gateway",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Auth-ApiKeyAccess",
            "in": "header",
            "required": true,
            "description": "Can be found in the administrative user profile within the Check21.com Gateway",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful submission to Check21.com returned.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "description": "The current status of the transaction.",
                      "enum": [
                        "DEPOSITED",
                        "CREDIT_SENT",
                        "PENDING_DEPOSIT",
                        "PENDING_CREDIT",
                        "FAILED_VERIFICAITON",
                        "PROCESSING",
                        "BLACKLISTED",
                        "DELETED",
                        "TRANSACTION_OVERLIMIT",
                        "PENDING_REFUND",
                        "REFUND_SENT",
                        "REFUND_CANCELED",
                        "TEST_TRANSACTION",
                        "PROCESSING_REFUND",
                        "FAILED_QA",
                        "ADMINISTRATIVE_DELETION",
                        "ACCOUNT_CLOSED"
                      ]
                    },
                    "atmNcnStatusId": {
                      "type": "integer",
                      "description": "The current status of the transaction.",
                      "enum": [
                        "1 = Approved",
                        "2 = Rejected"
                      ]
                    },
                    "returnTypeId": {
                      "type": "integer",
                      "description": "See https://www.check21.com/returns/returns.xlsx for full list of values and definitions."
                    },
                    "refundedByTransactionId": {
                      "type": "integer",
                      "description": "This will indicate the original transaction which was refunded upon request."
                    },
                    "refundTransactionId": {
                      "type": "integer",
                      "description": "This will indicate the refund record ID generated upon request for refund."
                    },
                    "depositId": {
                      "type": "integer",
                      "description": "The value within this field is used to determine which transactions were grouped into a batch deposit. The sum of the transactions grouped will equal the deposit amount found within the client bank statement."
                    },
                    "creditId": {
                      "type": "integer",
                      "description": "The value within this field is used to determine which transactions were grouped into a batch credit. The sum of the transactions grouped will equal the credit amount found within the client bank statement."
                    }
                  }
                },
                "examples": {
                  "Deposit": {
                    "value": {
                      "id": 4268041,
                      "status": "DEPOSITED",
                      "atmNcnStatusId": 0,
                      "returnTypeId": 0,
                      "refundedByTransactionId": 0,
                      "refundTransactionId": 0,
                      "depositId": 700,
                      "creditId": 0
                    }
                  },
                  "Credit": {
                    "value": {
                      "id": 4268041,
                      "status": "CREDIT_SENT",
                      "atmNcnStatusId": 0,
                      "returnTypeId": 0,
                      "refundedByTransactionId": 0,
                      "refundTransactionId": 0,
                      "depositId": 0,
                      "creditId": 600
                    }
                  },
                  "Failed QA": {
                    "value": {
                      "id": 4268041,
                      "status": "FAILED_QA",
                      "atmNcnStatusId": 0,
                      "returnTypeId": 0,
                      "refundedByTransactionId": 0,
                      "refundTransactionId": 0,
                      "depositId": 0,
                      "creditId": 0
                    }
                  },
                  "Administrative Deletion": {
                    "value": {
                      "id": 4268041,
                      "status": "ADMINISTRATIVE_DELETION",
                      "atmNcnStatusId": 0,
                      "returnTypeId": 0,
                      "refundedByTransactionId": 0,
                      "refundTransactionId": 0,
                      "depositId": 0,
                      "creditId": 0
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Account ID is not authorized or Transaction ID Cannot be Found. Ensure proper API keys and Account ID are being utilized and the Transaction ID queried is correct. See message for more information.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "examples": {
                  "response": {
                    "value": {
                      "code": 500,
                      "message": "transaction not found"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "Check 21 Services",
      "description": ""
    }
  ],
  "servers": [
    {
      "url": "https://stage.check21.com/c2/api/"
    },
    {
      "url": "https://admin.check21.com/c2/api/"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```