{
"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 服务偶尔会出现故障或按国家限制访问速率。在这种情况下,查询会返回不可用状态,但不会导致调用失败,并且仍会返回格式结果
该端点接受 JSON 请求并返回 JSON 响应。结果分组到名为 `ibans`、`vatNumbers` 和 `cards` 的数组中,每个数组包含相应输入类型的结果.
IBAN结果可包含标准化和格式化后的IBAN、有效性、国家代码和名称、预期长度,以及长度、结构和校验和检查结果。也可能包含校验数字、BBAN、银行或分行代码,以及SEPA标识符
卡片结果报告验证详情,例如 Luhn 校验、检测到的品牌和长度校验,并附带屏蔽后的号码。使用验证字段评估号码的结构;屏蔽后的值适合用于显示参考信息,而不会暴露完整号码
每个结果都在 `input` 字段中包含提交的值,并在适用时附带规范化或派生字段。例如,IBAN 可能会以不带空格的形式返回在 `iban` 字段中,并以分组形式显示在 `formatted` 字段中,从而更便于将结果与输入进行匹配并进行显示。
是的。单个 JSON 请求可以包含 IBAN、增值税号和卡号。响应会按类型区分结果,因此您的应用可以独立处理每个类别。
`checks` 对象分别报告长度、结构和校验和结果。这些字段有助于确定 IBAN 验证失败的原因;`valid` 汇总了总体结果。`country`、`bban` 和 `sepa` 等附加字段可为下游处理提供上下文