Field Name | Length | Type | Description |
---|---|---|---|
IBAN | Max 100 | String | The masked IBAN you want to validate. Use "?" (question mark) in place of the unknown character. For example: DE79850?0300310018056? |
api_key | 128 | String | Your personal API key. |
format | 5 | String | Format of the response XML and JSON supported. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | < xs:schema attributeformdefault = "unqualified" elementformdefault = "qualified" xmlns:xs = "http://www.w3.org/2001/XMLSchema" > < xs:element name = "result" > < xs:complextype > < xs:sequence > < xs:element name = "format_data" > < xs:complextype > < xs:sequence > < xs:element type = "xs:string" name = "country" > < xs:element type = "xs:byte" name = "iban_length" > < xs:element type = "xs:string" name = "format_template" > < xs:element type = "xs:int" name = "bank_code" > < xs:element type = "xs:string" name = "branch_code" > < xs:element type = "xs:int" name = "account_number" > </ xs:element ></ xs:element ></ xs:element ></ xs:element ></ xs:element ></ xs:element ></ xs:sequence > </ xs:complextype > </ xs:element > < xs:element name = "suggestions" > < xs:complextype > < xs:sequence > < xs:element type = "xs:string" name = "iban" maxoccurs = "unbounded" minoccurs = "0" > </ xs:element ></ xs:sequence > </ xs:complextype > </ xs:element > < xs:element type = "xs:string" name = "errors" > </ xs:element ></ xs:sequence > </ xs:complextype > </ xs:element > </ xs:schema > |
A detailed description of the format_data object fields returned can be seen in the table below:
Field Name | Length | Type | Description |
---|---|---|---|
country | Max 2 | String | The 2 letter ISO Country code. |
iban_length | Max 2 | Integer | The exact length of all IBANs for this Country. |
format_template | Max 2 | String | A template with the exact length of the IBAN showing the different characters inside per positions. C = Mixed ( Alphabet + 0-9 ), A = Character(alphabetic), N = Digit ( 0-9 ). |
bank_code | Max 99 | String | The domestic bank identifier code for this IBAN. |
branch_code | Max 99 | String | The domestic branch identifier for this IBAN. |
account_number | Max 99 | String | The domestic bank account number for this IBAN. |
A sample XML reply from the API for a IBAN validation query would be:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | < result > < format_data > < country >CH</ country > < iban_length >21</ iban_length > < format_template >CCNNNNNNNCCCCCCCCCCCC</ format_template > < bank_code >85341</ bank_code > < branch_code > < account_number >0203475000</ account_number > </ branch_code ></ format_data > < suggestions > < iban >CH810853410203475000K</ iban > < iban >CH860853410203475000R</ iban > < iban >CH8908534102034750002</ iban > </ suggestions > < errors > </ errors ></ result > |
The IBAN recovery API returns the following error codes
Status Code | Type | Description |
---|---|---|
301 | Account Error | API Key is invalid |
302 | Account Error | Subscription expired |
303 | Account Error | No queries available |
304 | Account Error | You have no access to this API |
401 | Input Error | Required fields missing. |
402 | Input Error | Too many wildcards. Maximum of two wildcards allowed. |
403 | Input Error | Too few wildcards. A minimum of one wildcards is required. |