Bank Card Verification
This topic describes the bank card element verification API operations, including two-element, three-element, and four-element verification.
API information
Before calling this API, read the integration process and activate the service.
API name: BankMetaVerify
Description:
Bank card element consistency verification includes the following:
ImportantThe verification fails if any element does not match, and you can view the verification result in the SubCode field.
Two-element verification (bank card number + name)
Three-element verification (bank card number + name + ID number)
Four-element verification (bank card number + name + ID number + mobile number)
QPS limit: This API has a dedicated QPS limit. For details, see QPS limits for verification APIs.
Service endpoint (the Endpoint used when calling the API):
Region
IPv4
IPv6
common
cloudauth.aliyuncs.com
cloudauth-dualstack.aliyuncs.com
China (Beijing)
cloudauth.cn-beijing.aliyuncs.com
cloudauth-dualstack.cn-beijing.aliyuncs.com
China (Shanghai)
cloudauth.cn-shanghai.aliyuncs.com
cloudauth-dualstack.cn-shanghai.aliyuncs.com
NoteTo reduce latency, select an endpoint that is geographically close to your servers.
You can also create a list of endpoints and poll them in rotation to improve availability.
ImportantThe Information Verification Service does not support a hard cap or automatic deactivation based on the number of calls. To control costs and prevent high bills, we recommend configuring spending alert rules:
Configure spending alerts: Set High-Spending Alert thresholds to monitor your expenses in real time.
Monitor your resource package balance: If you have purchased a resource package, also Set Resource Package Balance Alert. This lets you promptly replenish the package or adjust your call strategy.
Configure business monitoring: See security management to monitor business requests for anomalies and fluctuations.
Request parameters
Name | Type | Required | Description | Example |
ParamType | String | Yes | Encryption method:
Important
For details on SM2 parameter encryption, see Parameter encryption reference. | normal |
VerifyMode | Strng | Yes | VERIFY_BANK_CARD: bank card verification mode. Checks whether the provided bank card number matches the user's real name, ID number, and mobile number. | VERIFY_BANK_CARD |
ProductType | String | Yes | Product type:
| BANK_CARD_4_META |
BankCard | String | Yes | Bank card number.
|
|
UserName | String | Yes | Name.
|
|
IdentityType | String | No | ID type (defaults to national ID if empty; for other types, see the following table). | 01 |
IdentifyNum | String | No | ID number.
Important This parameter is required if ProductType is one of the following:
|
|
Mobile | String | No | Mobile number.
Important This parameter is required if ProductType = BANK_CARD_4_META. |
|
Response parameters
Name | Type | Description | Example | |
RequestId | String | Request ID. | 130A2C10-B9EE-4D84-88E3-5384FF039795 | |
Message | String | Response message. | success | |
Code | String | Return code: 200 indicates success; any other value indicates failure. Important
| 200 | |
ResultObject | BizCode | String | Verification result:
| 1 |
SubCode | String | Verification details:
| 101 | |
SDK usage examples
Before you integrate, read the integration process, activate the service, and get an AccessKey and configure the environment variables.
OpenAPI platform: Test the API online and get SDK examples.
Sample projects: Sample projects for various programming languages to help with integration.

