{
"input": "DE89 3704 0044 0532 0130 00",
"iban": "DE89370400440532013000",
"valid": true,
"country_code": "DE",
"country_name": "Allemagne",
"check_digits": "89",
"bban": "370400440532013000",
"expected_length": 22,
"length": 22,
"formatted": "DE89 3704 0044 0532 0130 00",
"errors": [],
"sepa": true
}
curl --location --request GET 'https://zylalabs.com/api/15133/iban+validator+information+api/40370/valider+un+iban?iban=DE89 3704 0044 0532 0130 00' --header 'Authorization: Bearer YOUR_API_KEY'
{
"input": "GB29 NWBK 6016 1331 9268 19",
"iban": "GB29NWBK60161331926819",
"valid": true,
"country_code": "GB",
"country_name": "Royaume-Uni",
"check_digits": "29",
"bban": "NWBK60161331926819",
"expected_length": 22,
"length": 22,
"formatted": "GB29 NWBK 6016 1331 9268 19",
"errors": [],
"sepa": true
}
curl --location --request POST 'https://zylalabs.com/api/15133/iban+validator+information+api/40371/valider+un+iban' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"iban":"GB29 NWBK 6016 1331 9268 19"}'
{
"iban": "FR1420041010050500013M02606",
"formatted": "FR14 2004 1010 0505 0001 3M02 606",
"country_code": "FR"
}
curl --location --request GET 'https://zylalabs.com/api/15133/iban+validator+information+api/40372/format+an+iban?iban=FR1420041010050500013M02606' --header 'Authorization: Bearer YOUR_API_KEY'
{
"iban": "FR1420041010050500013M02606",
"formatted": "FR14 2004 1010 0505 0001 3M02 606",
"country_code": "FR"
}
curl --location --request POST 'https://zylalabs.com/api/15133/iban+validator+information+api/40373/format+an+iban' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"iban":"FR1420041010050500013M02606"}'
{
"input": "DE89370400440532013000",
"iban": "DE89370400440532013000",
"valid": true,
"country_code": "DE",
"country_name": "Allemagne",
"check_digits": "89",
"bban": "370400440532013000",
"expected_length": 22,
"length": 22,
"formatted": "DE89 3704 0044 0532 0130 00",
"errors": [],
"sepa": true
}
curl --location --request GET 'https://zylalabs.com/api/15133/iban+validator+information+api/40374/generate+iban+check+digits?country_code=DE&bban=370400440532013000' --header 'Authorization: Bearer YOUR_API_KEY'
{
"input": "DE89370400440532013000",
"iban": "DE89370400440532013000",
"valid": true,
"country_code": "DE",
"country_name": "Allemagne",
"check_digits": "89",
"bban": "370400440532013000",
"expected_length": 22,
"length": 22,
"formatted": "DE89 3704 0044 0532 0130 00",
"errors": [],
"sepa": true
}
curl --location --request POST 'https://zylalabs.com/api/15133/iban+validator+information+api/40375/generate+iban+check+digits' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"country_code":"DE","bban":"370400440532013000"}'
{
"count": 79,
"countries": [
{
"code": "AD",
"name": "Andorre",
"length": 24,
"bban_format": "4n,4n,12c",
"sepa": true
},
{
"code": "AE",
"name": "Émirats arabes unis",
"length": 23,
"bban_format": "3n,16n",
"sepa": false
},
{
"code": "AL",
"name": "Albanie",
"length": 28,
"bban_format": "8n,16c",
"sepa": false
},
{
"code": "AT",
"name": "Autriche",
"length": 20,
"bban_format": "5n,11n",
"sepa": true
},
{
"code": "AZ",
"name": "Azerbaïdjan",
"length": 28,
"bban_format": "4a,20c",
"sepa": false
},
{
"code": "BA",
"name": "Bosnie-Herzégovine",
"length": 20,
"bban_format": "3n,3n,8n,2n",
"sepa": false
},
{
"code": "BE",
"name": "Belgique",
"length": 16,
"bban_format": "3n,7n,2n",
"sepa": true
},
{
"code": "BG",
"name": "Bulgarie",
"length": 22,
"bban_format": "4a,4n,2n,8c",
"sepa": true
},
{
"code": "BH",
"name": "Bahreïn",
"length": 22,
"bban_format": "4a,14c",
"sepa": false
},
{
"code": "BR",
"name": "Brésil",
"length": 29,
"bban_format": "8n,5n,10n,1a,1c",
"sepa": false
},
{
"code": "BY",
"name": "Biélorussie",
"length": 28,
"bban_format": "4c,4n,16c",
"sepa": false
},
{
"code": "CH",
"name": "Suisse",
"length": 21,
"bban_format": "5n,12c",
"sepa": true
},
{
"code": "CR",
"name": "Costa Rica",
"length": 22,
"bban_format": "4n,14n",
"sepa": false
},
{
"code": "CY",
"name": "Chypre",
"length": 28,
"bban_format": "3n,5n,16c",
"sepa": true
},
{
"code": "CZ",
"name": "Tchéquie",
"length": 24,
"bban_format": "4n,6n,10n",
"sepa": true
},
{
"code": "DE",
"name": "Allemagne",
"length": 22,
"bban_format": "8n,10n",
"sepa": true
},
{
"code": "DK",
"name": "Danemark",
"length": 18,
"bban_format": "4n,9n,1n",
"sepa": true
},
{
"code": "DO",
"name": "République dominicaine",
"length": 28,
"bban_format": "4c,20n",
"sepa": false
},
{
"code": "EE",
"name": "Estonie",
"length": 20,
"bban_format": "2n,2n,11n,1n",
"sepa": true
},
{
"code": "EG",
"name": "Égypte",
"length": 29,
"bban_format": "4n,4n,17n",
"sepa": false
},
{
"code": "ES",
"name": "Espagne",
"length": 24,
"bban_format": "4n,4n,1n,1n,10n",
"sepa": true
},
{
"code": "FI",
"name": "Finlande",
"length": 18,
"bban_format": "3n,11n",
"sepa": true
},
{
"code": "FO",
"name": "Îles Féroé",
"length": 18,
"bban_format": "4n,9n,1n",
"sepa": false
},
{
"code": "FR",
"name": "France",
"length": 27,
"bban_format": "5n,5n,11c,2n",
"sepa": true
},
{
"code": "GB",
"name": "Royaume-Uni",
"length": 22,
"bban_format": "4a,6n,8n",
"sepa": true
},
{
"code": "GE",
"name": "Géorgie",
"length": 22,
"bban_format": "2a,16n",
"sepa": false
},
{
"code": "GI",
"name": "Gibraltar",
"length": 23,
"bban_format": "4a,15c",
"sepa": true
},
{
"code": "GL",
"name": "Groenland",
"length": 18,
"bban_format": "4n,9n,1n",
"sepa": false
},
{
"code": "GR",
"name": "Grèce",
"length": 27,
"bban_format": "3n,4n,16c",
"sepa": true
},
{
"code": "GT",
"name": "Guatemala",
"length": 28,
"bban_format": "4c,20c",
"sepa": false
},
{
"code": "HR",
"name": "Croatie",
"length": 21,
"bban_format": "7n,10n",
"sepa": true
},
{
"code": "HU",
"name": "Hongrie",
"length": 28,
"bban_format": "3n,4n,1n,15n,1n",
"sepa": true
},
{
"code": "IE",
"name": "Irlande",
"length": 22,
"bban_format": "4a,6n,8n",
"sepa": true
},
{
"code": "IL",
"name": "Israël",
"length": 23,
"bban_format": "3n,3n,13n",
"sepa": false
},
{
"code": "IQ",
"name": "Irak",
"length": 23,
"bban_format": "4a,3n,12n",
"sepa": false
},
{
"code": "IS",
"name": "Islande",
"length": 26,
"bban_format": "4n,2n,6n,10n",
"sepa": true
},
{
"code": "IT",
"name": "Italie",
"length": 27,
"bban_format": "1a,5n,5n,12c",
"sepa": true
},
{
"code": "JO",
"name": "Jordanie",
"length": 30,
"bban_format": "4a,4n,18c",
"sepa": false
},
{
"code": "KW",
"name": "Koweït",
"length": 30,
"bban_format": "4a,22c",
"sepa": false
},
{
"code": "KZ",
"name": "Kazakhstan",
"length": 20,
"bban_format": "3n,13c",
"sepa": false
},
{
"code": "LB",
"name": "Liban",
"length": 28,
"bban_format": "4n,20c",
"sepa": false
},
{
"code": "LC",
"name": "Sainte-Lucie",
"length": 32,
"bban_format": "4a,24c",
"sepa": false
},
{
"code": "LI",
"name": "Liechtenstein",
"length": 21,
"bban_format": "5n,12c",
"sepa": true
},
{
"code": "LT",
"name": "Lituanie",
"length": 20,
"bban_format": "5n,11n",
"sepa": true
},
{
"code": "LU",
"name": "Luxembourg",
"length": 20,
"bban_format": "3n,13c",
"sepa": true
},
{
"code": "LV",
"name": "Lettonie",
"length": 21,
"bban_format": "4a,13c",
"sepa": true
},
{
"code": "LY",
"name": "Libye",
"length": 25,
"bban_format": "3n,3n,15n",
"sepa": false
},
{
"code": "MC",
"name": "Monaco",
"length": 27,
"bban_format": "5n,5n,11c,2n",
"sepa": true
},
{
"code": "MD",
"name": "Moldavie",
"length": 24,
"bban_format": "2c,18c",
"sepa": false
},
{
"code": "ME",
"name": "Monténégro",
"length": 22,
"bban_format": "3n,13n,2n",
"sepa": false
},
{
"code": "MK",
"name": "Macédoine du Nord",
"length": 19,
"bban_format": "3n,10c,2n",
"sepa": false
},
{
"code": "MR",
"name": "Mauritanie",
"length": 27,
"bban_format": "5n,5n,11n,2n",
"sepa": false
},
{
"code": "MT",
"name": "Malte",
"length": 31,
"bban_format": "4a,5n,18c",
"sepa": true
},
{
"code": "MU",
"name": "Maurice",
"length": 30,
"bban_format": "4a,2n,2n,12n,3n,3a",
"sepa": false
},
{
"code": "NL",
"name": "Pays-Bas",
"length": 18,
"bban_format": "4a,10n",
"sepa": true
},
{
"code": "NO"
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15133/iban+validator+information+api/40376/list+iban+countries' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 IBAN 验证器信息 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
验证 IBAN(国家特定长度、BBAN 结构和模 97 校验和),将其格式化为每组四个字符,并计算校验位。支持 IBAN 注册表中的 78 个国家
验证响应为 JSON,包含标准化后的 IBAN、有效性状态、国家代码和名称、校验位、BBAN、预期长度和实际长度、格式化后的 IBAN、错误详情以及 SEPA 指示符。例如,`valid: true` 表示所有支持的检查均已通过。
该 API 允许输入空格,会对输入进行标准化,验证国家代码,检查该国家特定的长度和 BBAN 结构,并使用 mod-97 算法验证 IBAN 校验位。它不会验证账户是否处于开放状态或能否接收付款】【。
规范化后的 `iban` 值会移除空格,并使用连续的字母数字字符串,例如 `DE89370400440532013000`。`formatted` 值会将字符按每四个一组排列,例如 `DE89 3704 0044 0532 0130 00`。
`country_code` 标识 IBAN 的两字母国家前缀,而 `country_name` 提供其对应的名称。`sepa` 布尔值表示该国家是否属于 API 认可的 SEPA 覆盖范围;这与 IBAN 本身是否有效无关】【。
国家列表接口会返回受支持的 IBAN 国家及其预期长度和结构性 BBAN 格式。这些元数据可用于在提交 IBAN 前验证输入要求,或创建特定国家的表单规则。涵盖 IBAN 注册表中的 78 个国家。
校验位端点接受国家代码和 BBAN,然后使用标准的模 97 方法计算两位数的 IBAN 校验码。该结果可以与国家代码和 BBAN 组合以构造候选 IBAN,随后应对其进行验证
验证结果包含一个 `errors` 数组,允许客户端检查一个或多个检测到的问题,同时在有可用数据时仍能接收规范化后的数据。请求级别的失败使用 `{"error":{"code","message"}}` 形式的 JSON,以便客户端统一处理错误。
不。API 描述说明不会存储任何银行数据。客户端仍应避免不必要地记录原始 IBAN,并应根据自身的安全和隐私要求保护请求和响应数据