---
updatedAt: 2026-04-23T04:17:15.000Z
agentTools:
  projectIndex: https://docs.vopay.com/llms.txt
---

# ach/failures

This endpoint is used to retrieve a list of transactions which failed during a specific date range. This endpoint is queried based on the date that a failure occurred on, not on the date when the transaction originally occurred.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "2.0",
    "title": "Payment Rails",
    "description": "The Payment Rails API allows you to manage transactions in your account. You can cancel transactions, refund transactions, and confirm flagged transactions.",
    "contact": {
      "name": "API Support",
      "email": "help@vopay.com"
    }
  },
  "paths": {
    "/ach/failures": {
      "get": {
        "description": "This endpoint is used to retrieve a list of transactions which failed during a specific date range. This endpoint is queried based on the date that a failure occurred on, not on the date when the transaction originally occurred.",
        "summary": "ach/failures",
        "tags": [
          "ACH Endpoints"
        ],
        "operationId": "AchFailuresGet",
        "deprecated": false,
        "parameters": [
          {
            "name": "AccountID",
            "in": "query",
            "required": true,
            "description": "Your account ID",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Key",
            "in": "query",
            "required": true,
            "description": "API key for the account",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Signature",
            "in": "query",
            "required": true,
            "description": "Hashed signature for the request",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "StartDateTime",
            "in": "query",
            "required": true,
            "description": "Start of date range to query for any failed transactions",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDateTime",
            "in": "query",
            "required": true,
            "description": "End of date range to query for any failed transactions",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "Success": {
                      "type": "boolean",
                      "description": "True if the request was successful, false if it failed",
                      "example": true
                    },
                    "ErrorMessage": {
                      "type": "string",
                      "description": "Contains a description of the error if the request failed",
                      "example": ""
                    },
                    "NumberOfRecords": {
                      "type": "number",
                      "description": "Total number of failed transaction records returned",
                      "example": "1"
                    },
                    "FailedTransactions": {
                      "type": "object",
                      "description": "Array serialized as a JSON object (JSON_FORCE_OBJECT): numeric string keys '0','1',... Collection of TransactionInfo data",
                      "properties": {
                        "0": {
                          "type": "object",
                          "properties": {
                            "TransactionID": {
                              "type": "integer",
                              "description": "Unique ID for the Transaction",
                              "example": "5918"
                            },
                            "TransactionDateTime": {
                              "type": "string",
                              "format": "date-time",
                              "description": "The timestamp on which the transaction occurred.",
                              "example": "2019-12-04 18:13:39"
                            },
                            "TransactionType": {
                              "type": "string",
                              "description": "Specifies the type of transaction, for example 'ACH Funding', 'ACH Withdrawal'.",
                              "example": "ACH Funding"
                            },
                            "DollarAmount": {
                              "type": "number",
                              "description": "The dollar amount of the failed transaction.",
                              "example": "25.00"
                            },
                            "ErrorCode": {
                              "type": "string",
                              "description": "Detail error code of the failure.",
                              "example": "R01"
                            },
                            "FailureReason": {
                              "type": "string",
                              "description": "Detailed description of why the transaction failed. Transactions which have failed cannot be modified, a new fund or withdraw transaction must be created if you wish to re-attempt the transaction.",
                              "example": "insufficient funds"
                            },
                            "ClientReferenceNumber": {
                              "type": "string",
                              "description": "The optional reference number which was set when the transaction was created.",
                              "example": "null"
                            }
                          },
                          "required": [
                            "TransactionID",
                            "TransactionDateTime",
                            "TransactionType",
                            "DollarAmount",
                            "ErrorCode",
                            "FailureReason",
                            "ClientReferenceNumber"
                          ]
                        }
                      },
                      "x-empty-when": "no failed transactions match",
                      "x-list-of": "inline"
                    }
                  },
                  "required": [
                    "Success",
                    "ErrorMessage",
                    "NumberOfRecords",
                    "FailedTransactions"
                  ]
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://earthnode-dev.vopay.com/api/v2"
    }
  ]
}
```