Logo
Swift API Sandbox Collections API Documentation

Get BBAN elements of an IBAN country.

GET {{baseUrl}}/bbans/elements?country_code=BE

Get all BBAN element combinations that can be used as input of IBAN constructor for a specific country. Each BBAN element is described by name, length, mandatory/optional flag, position within BBAN.

 

Body PARAM

Key Datatype Required Description 
country_code
string (Required) The 2-character ISO 3166-1 country code of an IBAN country



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "elements": [ [ { "field_position": 3, "field_length": 1, "field_name": "national_check_digit", "label_en": "National check digit", "label_local": "CIN", "is_max_length": false, "is_mandatory": false }, { "field_position": 4, "field_length": 5, "field_name": "bank_code", "label_en": "Bank code", "label_local": "ABI", "is_max_length": false, "is_mandatory": true }, { "field_position": 5, "field_length": 5, "field_name": "branch_code", "label_en": "Branch code", "label_local": "CAB", "is_max_length": false, "is_mandatory": true }, { "field_position": 6, "field_length": 12, "field_name": "account_number", "label_en": "Account number", "label_local": "Numero di conto", "is_max_length": true, "is_mandatory": true } ], [ { "field_position": 3, "field_length": 1, "field_name": "national_check_digit", "label_en": "National check digit", "label_local": "CIN", "is_max_length": false, "is_mandatory": false }, { "field_position": 4, "field_length": 5, "field_name": "bank_code", "label_en": "Bank code", "label_local": "ABI", "is_max_length": false, "is_mandatory": true }, { "field_position": 5, "field_length": 5, "field_name": "branch_code", "label_en": "Branch code", "label_local": "CAB", "is_max_length": false, "is_mandatory": true }, { "field_position": 6, "field_length": 12, "field_name": "account_number", "label_en": "Account number", "label_local": "Numero di conto", "is_max_length": true, "is_mandatory": true } ] ] }

Curl
curl -X GET 'https://sandbox.swift.com/swiftrefdata/v4/bbans/elements?country_code=BE?country_code=BE' -H 'Accept: application/json'

ENDPOINTS