ACH errors

Error response format, status codes, and troubleshooting guide for ACH transactions

This page lists the error messages that the Preczn API returns for bank account (ACH) payments and bank account tokens. Each error returns HTTP status 400. For the error body and every status code, see Errors.

A connection can add its own checks, with its own messages. See the connection's guide, linked from Supported connections.


Bank account details

POST /v1/transactions and POST /v1/tokens check the fields in bankAccount before anything else. Each failed check adds one entry to the message array. The entry starts with the field's path in your request, so the table lists the end of each entry.

Entry ends withCauseFix
account should not be null or undefinedaccount is missingSend the account number
account must be a number stringaccount has a character that isn't a digitSend digits only
routing should not be null or undefinedrouting is missingSend the routing number
routing must be a number stringrouting has a character that isn't a digitSend digits only
type provided is invalid account typetype isn't an account typeSend an account type
bankCountry must be a valid ISO 3166-1 alpha-3 valuebankCountry isn't a country codeSend USA
bankCountry not supportedbankCountry isn't USASend USA

Bank account tokens

When you create a bank account token with POST /v1/tokens, Preczn also checks these rules. Each error returns one message.

MessageCauseFix
Routing number must be exactly 9 digitsrouting doesn't have 9 digitsSend the 9-digit routing number
Account number must be between 4 and 17 digitsaccount has fewer than 4 or more than 17 digitsSend the full account number
Account type is requiredtype is missingSend an account type
Bank country is requiredbankCountry is missingSend USA

Account holder

A transaction needs the account holder's name. Preczn uses the names in the request, or the names stored on the bank account token. See ACH payments.

MessageCauseFix
Personal ACH accounts require firstName and lastNameA personal account has no firstName or no lastNameSend both names
Corporate ACH accounts require accountBusinessName or firstName and lastNameA corporate account has no business name and no full nameSend accountBusinessName, or both names

Transaction types

A bank account takes only verify, sale, and refund. Any other type returns this body:

{
  "message": "Void is not supported for ACH transactions. ACH transactions can only be refunded after settlement (typically 3 business days).",
  "processorCode": "ACH_UNSUPPORTED_TRANSACTION_TYPE",
  "statusCode": 400
}
type sentmessageFix
authAuthorization is not supported for ACH transactions. Use 'sale' transaction type instead.Send a sale
captureCapture is not supported for ACH transactions. Use 'sale' transaction type instead.Send a sale
voidVoid is not supported for ACH transactions. ACH transactions can only be refunded after settlement (typically 3 business days).Refund the sale after it settles
drawdownDrawdown is not supported for ACH transactions. Drawdown is only applicable for lending payment methods.Send a sale

Routing

MessageCauseFix
ACH transaction not supported for this PlanThe transaction is routed by the merchant's plan, and no connection in the plan accepts ACHAdd a connection that accepts ACH to the plan. See Routing rules

Did this page help you?