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 with | Cause | Fix |
|---|---|---|
account should not be null or undefined | account is missing | Send the account number |
account must be a number string | account has a character that isn't a digit | Send digits only |
routing should not be null or undefined | routing is missing | Send the routing number |
routing must be a number string | routing has a character that isn't a digit | Send digits only |
type provided is invalid account type | type isn't an account type | Send an account type |
bankCountry must be a valid ISO 3166-1 alpha-3 value | bankCountry isn't a country code | Send USA |
bankCountry not supported | bankCountry isn't USA | Send 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.
| Message | Cause | Fix |
|---|---|---|
Routing number must be exactly 9 digits | routing doesn't have 9 digits | Send the 9-digit routing number |
Account number must be between 4 and 17 digits | account has fewer than 4 or more than 17 digits | Send the full account number |
Account type is required | type is missing | Send an account type |
Bank country is required | bankCountry is missing | Send 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.
| Message | Cause | Fix |
|---|---|---|
Personal ACH accounts require firstName and lastName | A personal account has no firstName or no lastName | Send both names |
Corporate ACH accounts require accountBusinessName or firstName and lastName | A corporate account has no business name and no full name | Send 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 sent | message | Fix |
|---|---|---|
auth | Authorization is not supported for ACH transactions. Use 'sale' transaction type instead. | Send a sale |
capture | Capture is not supported for ACH transactions. Use 'sale' transaction type instead. | Send a sale |
void | Void is not supported for ACH transactions. ACH transactions can only be refunded after settlement (typically 3 business days). | Refund the sale after it settles |
drawdown | Drawdown is not supported for ACH transactions. Drawdown is only applicable for lending payment methods. | Send a sale |
Routing
| Message | Cause | Fix |
|---|---|---|
ACH transaction not supported for this Plan | The transaction is routed by the merchant's plan, and no connection in the plan accepts ACH | Add a connection that accepts ACH to the plan. See Routing rules |
Updated 11 days ago
