Skip to content
Lira APILira API

Verifications

Validate an ABA routing number

post/verifications/routing-codes

Validate a 9-digit ABA routing number. Performs digit-count and mod-10 checksum checks. Always returns HTTP 200 — validity is expressed in the `valid` field.

Authorization

API key in the X-API-Key header.

Headers

Idempotency-Keystringrequired

Required. Unique printable-ASCII key (1-255 chars) per logical request; retries with the same key replay the original result without re-charging.

Body required

routing_numberstringrequired

ABA routing number (9 digits). Accepts a string or number; a numeric value is coerced to a string. Send as a string to preserve leading zeros — a JSON number drops them.

Response

validbooleanrequired

Whether the routing number passed all checks

routing_numberstringrequired

Original input as supplied

normalizedstringrequired

Digit-only, zero-padded to 9 characters

checksum_okbooleanrequired

Whether the ABA mod-10 checksum passed

reason_codestring

Reason for validation failure — present only when valid is false

Options: INVALID_LENGTHCHECKSUM_FAILED