IBAN

Validate a single IBAN

Validates an IBAN and returns parsed components including country, check digits, BBAN, and optional BIC lookup. Costs 0.005 USDC via x402. Pass an optional reference to add reference_check: the reference checksum verdict AND whether the reference may legally travel with this account under the Swiss Payment Standards (QRR requires a QR-IBAN, ISO 11649/SCOR forbids one).

post/v1/iban/validate

Request body

ibanstring required

IBAN to validate (spaces allowed, will be normalized)

referencestring

Optional structured payment reference. When present the response carries a reference_check block with the checksum verdict and, for CH/LI accounts, the QRR/SCOR pairing verdict. Free-standing checksum validation is available at no cost on GET /v1/reference/validate.

reference_type'rf' | 'scor' | 'qrr' | 'ogm' | 'vcs' | 'viitenumero' | 'kid' | 'ocr'

Optional scheme hint for an ambiguous reference. scor and rf both mean ISO 11649.

Example request

{
  "iban": "GB29NWBK60161331926819",
  "reference": "210000000003139471430009017"
}

Response

Validation result

ibanstring required

The IBAN as provided (normalized)

validboolean required
check_digitsstring
formattedstring

IBAN formatted in groups of 4

error'invalid_format' | 'unsupported_country' | 'wrong_length' | 'checksum_failed'
error_detailstring
cost_usdcnumber required
processing_msnumber

Example response

{
  "country": {
    "code": "GB",
    "name": "United Kingdom"
  },
  "check_digits": "29",
  "bic": {
    "code": "NWBKGB2L",
    "lei": "851WYGNLUQLFZBSYGB56",
    "lei_status": "ACTIVE",
    "address": {
      "street": "Kaiserstraße 16",
      "post_code": "60311",
      "region": "DE-HE",
      "city": "Frankfurt am Main",
      "country": "DE",
      "source": "GLEIF",
      "language": "de",
      "as_of": "2026-02-24"
    }
  },
  "formatted": "GB29 NWBK 6016 1331 9268 19",
  "clearing": {
    "iid": "00230",
    "name": "UBS Switzerland AG",
    "town": "Zürich"
  },
  "reference_check": {
    "reference": "210000000003139471430009017",
    "as_of": "2026-02",
    "pairing_as_of": "2026-02"
  },
  "cost_usdc": 0.005,
  "official_identity": {
    "name": "Alpha Bank Example, S.A.",
    "category": "Credit Institution",
    "source": "European Central Bank, list of monetary financial institutions (free at ecb.europa.eu)",
    "attribution": "Own elaboration based on data from the Banco de España website (www.bde.es)"
  },
  "modulus_check": {
    "source": "Vocalink modulus weight table (published for Pay.UK)",
    "table_fetched_on": "2026-08-14"
  }
}

Changes