Validate an IBAN number using the mod-97 checksum algorithm and decode its embedded bank code, BIC, country, and account number.
POST /v1/iban/validatePer request| Field | Type | Description |
|---|---|---|
| iban* | string | IBAN — spaces are stripped, case is normalised before validation |
| Field | Type | Description |
|---|---|---|
| valid | boolean | True if IBAN passes structure check and mod-97 checksum |
| iban | string | Normalised IBAN (no spaces, uppercase) |
| formatted | string | null | IBAN with spaces every 4 characters (print format) |
| country_code | string | null | ISO 3166-1 alpha-2 country code |
| country_name | string | null | Full country name |
| bank_code | string | null | Bank identifier embedded in the IBAN |
| bic | string | null | BIC/SWIFT code resolved from the bank registry (may be null) |
| account_code | string | null | Account number portion of the IBAN |
| length | integer | null | Length of the normalised IBAN |
Request
{
"iban": "GB82WEST12345698765432"
}Response
{
"valid": true,
"iban": "GB82WEST12345698765432",
"formatted": "GB82 WEST 1234 5698 7654 32",
"country_code": "GB",
"country_name": "United Kingdom",
"bank_code": "WEST",
"bic": "WESTGB22",
"account_code": "98765432",
"length": 22
}