{"slug":"agent-utils-threads-cron-workers-dev-v1-iban-validate-a2f335","title":"Use when an agent must check an IBAN before paying or saving it","host":"agent-utils.threads-cron.workers.dev","method":"POST","resource":"https://agent-utils.threads-cron.workers.dev/v1/iban/validate","category":"commerce","description":"Use when an agent must check an IBAN before paying or saving it. Offline: characters, length, country account pattern, check digits (89 country codes, list at GET /; territories like AX, GP, GG unsupported). valid:false with status \"unsupported\" = not checkable, not necessarily invalid. Prefer POST ","price_listed":0.003,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"iban":"GB82WEST12345698765432"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"iban":{"description":"The IBAN to check (15-34 characters after removing spaces; shorter or longer is rejected with 400 before payment, no charge). Spaces and lowercase are accepted (e.g. GB82 WEST 1234 5698 7654 32). Send it as JSON body {\"iban\": \"...\"} with POST (recommended) or as ?iban= with GET.","maxLength":100,"minLength":1,"type":"string"}},"required":["iban"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"bban":{"description":"Basic Bank Account Number (IBAN without country code and check digits)","type":["string","null"]},"checksumOk":{"description":"Check digits are 02-98 and equal 98 minus the mod 97 remainder","type":"boolean"},"country":{"description":"2-letter country code from the IBAN prefix","type":["string","null"]},"errors":{"description":"Human-readable reasons when valid is false","items":{"type":"string"},"type":"array"},"expectedLength":{"description":"Expected total length for the country","type":["integer","null"]},"formatOk":{"description":"Account part (BBAN) letters/digits pattern matches the country format","type":"boolean"},"formatted":{"description":"Normalized IBAN in groups of 4 characters","type":["string","null"]},"lengthOk":{"description":"Length matches the country's IBAN length","type":"boolean"},"status":{"description":"valid = all checks passed; invalid = a definite error; unsupported = every country-independent check passed (characters, length range, check digits) but the country is not in the supported list, so validity could not be determined","enum":["valid","invalid","unsupported"],"type":"string"},"supported":{"description":"The country is in the supported IBAN country list","type":"boolean"},"valid":{"description":"true only when country, length, account-part pattern and check digits are all OK","type":"boolean"}},"required":["valid","status","supported","country","lengthOk","expectedLength","formatOk","checksumOk","formatted","bban","errors"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Use when an agent must check an IBAN before paying or saving it. Offline: characters, length, country account pattern, check digits (89 country codes, list at GET /; territories like AX, GP, GG unsupported). valid:false with status \"unsupported\" = not checkable, not necessarily invalid. Prefer POST {\"iban\"}: URLs may reach infra logs; the app does not store the IBAN. No charge: 400 bad input, 405 other methods, 429; no input and no payment gets a 402 quote. 502 if payment is down. No re-sends.","last_updated":"2026-11-16T12:50:04.732Z","schemes":["exact"]}