Skip to content
Lira APILira API

Verifications

Batch verify BIC codes, routing numbers, and correspondent route lookups

post/verifications/batch

Submit up to 100 items in a single request. Each item specifies a `type` ("bic", "routing", or "route") and a `value`. Results are returned in the same order as the input. The batch endpoint always returns HTTP 200 — per-item validity is expressed inside each result object.

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

itemsobject[]required

Array of items to verify (1–100 items). Results are returned in the same order as the input.

Show child attributes
typestringrequired

Item type: "bic" for BIC/SWIFT validation, "routing" for ABA routing number validation, "route" for correspondent route lookup

Options: bicroutingroute

valuestringrequired

The value to validate or look up. Format depends on type: BIC (8 or 11 chars), routing number (9 digits), or BIC for route lookup.

Response

resultsobject[]required

One result per input item, in the same order as the input

Show child attributes
typestringrequired

Echoes the input item type

valuestringrequired

Echoes the input item value

resultobjectrequired

Validation or lookup result. Shape depends on type: bic → BicVerificationResponse fields; routing → RoutingVerificationResponse fields; route → { outcome:"found"|"no_route"|"invalid", bic, correspondents?, reason_code?, valid? }