Validate an IBAN, BIC, EU VAT number, GTIN/EAN/UPC or ISBN
validate_codeCheck the format and check digits of one identifier: IBAN (ISO 13616, per-country length and layout), BIC/SWIFT (ISO 9362 format and country), EU VAT number (offline checksum, VIES not queried), GTIN/EAN-8/UPC-A/EAN-13/GTIN-14 (GS1 mod 10) or ISBN-10/13. type "auto" (default) detects the type from the shape. Returns valid, a reason when invalid (e.g. the expected check digit), and normalized/formatted forms. Format check, not a compliance check: valid does not mean the account, registration or product exists. The code is sent in a POST body and not stored or logged. Read-only. Same engine, keys and limits as POST /v1/{type}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The identifier to check, e.g. "DE89 3704 0044 0532 0130 00", "ATU13585627", "4006381333931" or "978-0-306-40615-7". Spaces, hyphens and dots are ignored. Max 64 characters. | |
| type | No | auto (default), iban, bic, vat, gtin or isbn. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bban | No | ||
| sepa | No | ||
| type | No | ||
| ean13 | No | ||
| input | Yes | ||
| valid | Yes | ||
| format | No | ||
| isbn10 | No | ||
| isbn13 | No | ||
| number | No | ||
| reason | No | ||
| country | No | ||
| checksum | No | ||
| bank_code | No | ||
| formatted | No | ||
| candidates | No | ||
| normalized | No | ||
| check_digit | No | ||
| detected_as | No | ||
| check_digits | No | ||
| country_name | No | ||
| vies_checked | No | ||
| expected_check_digit | No |