CNAPS Code to Bank Branch
Enter a 12-digit CNAPS code to identify the bank and branch, including its name, region, address, phone number, and bank logo.
Documentation
Overview
Enter a valid CNAPS clearing code to identify the corresponding bank and account branch. The API returns the bank name, full branch name, province, city, address, phone number, and bank logo. bankCode is required.
Integration Examples
Includes ready-to-use Shell, Python, Go, Java, and PHP examples for direct integration.
Request Example
{
"bankCode": "102100099996"
}Response Example
{
"code": "SUCCESS",
"message": "成功",
"data": {
"bankCode": "102100099996",
"lname": "中国工商银行股份有限公司某支行",
"bank": "中国工商银行",
"province": "北京市",
"city": "北京市",
"addr": "北京市某区",
"tel": "010-00000000",
"bankLogo": "https://example.com/bank-logo.png"
}
}Request Fields
The fields below are derived from example JSON for integration reference only.
| Path | Type | Sample |
|---|---|---|
| bankCode | string | 102100099996 |
Response Fields
The fields below are derived from example JSON for integration reference only.
| Path | Type | Sample |
|---|---|---|
| code | string | SUCCESS |
| message | string | 成功 |
| data | object | {...} |
| data.bankCode | string | 102100099996 |
| data.lname | string | 中国工商银行股份有限公司某支行 |
| data.bank | string | 中国工商银行 |
| data.province | string | 北京市 |