About this endpoint
What it does
Validates an IBAN provided as a query parameter and returns a JSON object containing the validation result, including the normalized IBAN, country code, length checks, checksum validation, and overall validity.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| iban | String | Yes | IBAN to validate. Minimum length: 5 characters; maximum length: 40 characters. |
Response
Returns a JSON object with the normalized IBAN, the country's expected length against the length supplied, the checksum result, and the overall verdict.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| input | String | Yes | The IBAN supplied in the request. |
| normalized | String | Yes | The IBAN with whitespace removed and letters upper-cased. |
| country_code | String | Yes | Two-letter ISO country code taken from the first two characters. |
| expected_length | Integer | Yes | IBAN length the country's format requires. |
| actual_length | Integer | Yes | Length of the normalized IBAN. |
| checksum_valid | Boolean | Yes | true when the IBAN passes the ISO 7064 mod-97 checksum. |
| valid | Boolean | Yes | Overall verdict. true when the length matches and the checksum passes. |
| reason | String | Yes | Why the verdict was reached, for example ok. |
| attribution | Object Array | No | Source attribution entries. Empty when no attribution is required. |



