{
"ibans": [
{
"input": "DE89 3704 0044 0532 0130 00",
"iban": "DE89370400440532013000",
"valid": true,
"country": "DE",
"countryName": "Germany",
"expectedLength": 22,
"checks": {
"length": true,
"structure": true,
"checksum": true
},
"formatted": "DE89 3704 0044 0532 0130 00",
"checkDigits": "89",
"bban": "370400440532013000",
"bankCode": "37040044",
"branchCode": null,
"sepa": true
},
{
"input": "GB82WEST12345698765432",
"iban": "GB82WEST12345698765432",
"valid": true,
"country": "GB",
"countryName": "United Kingdom",
"expectedLength": 22,
"checks": {
"length": true,
"structure": true,
"checksum": true
},
"formatted": "GB82 WEST 1234 5698 7654 32",
"checkDigits": "82",
"bban": "WEST12345698765432",
"bankCode": "WEST",
"branchCode": "123456",
"sepa": true
},
{
"input": "DE89370400440532013001",
"iban": "DE89370400440532013001",
"valid": false,
"country": "DE",
"countryName": "Germany",
"expectedLength": 22,
"checks": {
"length": true,
"structure": true,
"checksum": false
},
"errors": [
"bad_checksum"
]
}
],
"vatNumbers": [
{
"input": "FR40303265045",
"vatNumber": "FR40303265045",
"valid": true,
"country": "FR",
"formatValid": true,
"checksumValid": true,
"viesSupported": true
},
{
"input": "IT00743110157",
"vatNumber": "IT00743110157",
"valid": true,
"country": "IT",
"formatValid": true,
"checksumValid": true,
"viesSupported": true
},
{
"input": "BE0403019262",
"vatNumber": "BE0403019262",
"valid": false,
"country": "BE",
"formatValid": true,
"checksumValid": false,
"errors": [
"bad_checksum"
]
}
],
"cards": [
{
"index": 0,
"valid": true,
"masked": "411111******1111",
"length": 16,
"brand": "visa",
"luhnValid": true,
"lengthValidForBrand": true
},
{
"index": 1,
"valid": true,
"masked": "378282*****0005",
"length": 15,
"brand": "amex",
"luhnValid": true,
"lengthValidForBrand": true
},
{
"index": 2,
"valid": false,
"masked": "411111******1112",
"length": 16,
"brand": "visa",
"luhnValid": false,
"lengthValidForBrand": true,
"errors": [
"bad_checksum"
]
}
],
"checked": 9,
"valid": 6
}
curl --location --request POST 'https://zylalabs.com/api/15884/financial+identifier+validator+api/43810/validate+financial+identifiers' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json'
--data-raw '{"ibans":["DE89 3704 0044 0532 0130 00","GB82WEST12345698765432","DE89370400440532013001"],"vatNumbers":["FR40303265045","IT00743110157","BE0403019262"],"cards":["4111 1111 1111 1111","378282246310005","4111111111111112"],"verifyVat":false}'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 金融标识符验证器 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
一次调用即可验证 IBAN、欧盟增值税号(可选 VIES 检查)和银行卡号(卢恩算法、品牌、掩码)。每次请求最多 25 项。输入和输出均为 JSON
它可在单个请求中验证 IBAN(国家长度、BBAN 格式、mod-97 校验和、SEPA 标志)、欧盟增值税号(国家格式规则、AT、BE、DE、FR 和 IT 的离线校验位)以及卡号(Luhn 校验和、品牌识别和长度规则)
不。卡号仅在内存中处理,从不记录或存储。响应中只包含掩码形式(前 6 位和后 4 位)】【。
不 IBAN 和银行卡校验仅检查结构和数学有效性 API 不会确认账户或银行卡是否存在 是否有资金或能否扣款 离线增值税校验仅确认格式
每次请求最多可发送 25 个 iban、vatNumber 和银行卡的任意组合。每次 HTTP 调用都计为计划配额中的一次请求】【。
将 verifyVat 设置为 true,以便在欧盟官方 VIES 服务中查询有效的 VAT 号码。每次请求最多可查询 5 个号码,超时时间为 8 秒,并且比离线检查速度慢 亿博
欧盟 VIES 服务偶尔会出现故障或按国家限制访问速率。在这种情况下,查询会返回不可用状态,但不会导致调用失败,并且仍会返回格式结果