接入文件
國際 IBAN 驗證
驗證 IBAN 結構與校驗碼,回傳國家、SEPA、銀行、BIC 與帳戶結構。
Endpoint
POST /v1/iban-validation
Authentication
Use a ToolKK OpenAPI AppKey. APILayer credentials stay on the ToolKK provider gateway.
Billing
A successful call costs 20 coins.
Errors
Invalid input, quota exhaustion, authentication faults, and temporary provider failures return normalized error codes and messages.
接入示例程式碼
提供 Shell、Python、Go、Java、PHP 等常見接入示例,便於直接接到現有專案裡。
請求示例
{
"iban_number": "DE89370400440532013000"
}響應示例
{
"code": "SUCCESS",
"message": "success",
"data": {
"valid": true,
"iban": "DE89370400440532013000",
"country": "Germany",
"country_code": "DE",
"sepa_country": true,
"bank_name": "Commerzbank",
"bic": "COBADEFFXXX"
}
}請求欄位
以下欄位根據示例 JSON 自動提取,僅作接入參考。
| 欄位路徑 | 型別 | 示例值 |
|---|---|---|
| iban_number | string | DE89370400440532013000 |
響應欄位
以下欄位根據示例 JSON 自動提取,僅作接入參考。
| 欄位路徑 | 型別 | 示例值 |
|---|---|---|
| code | string | SUCCESS |
| message | string | success |
| data | object | {...} |
| data.valid | boolean | true |
| data.iban | string | DE89370400440532013000 |
| data.country | string | Germany |
| data.country_code | string | DE |
| data.sepa_country |