This topic describes the API for 2-factor, 3-factor, and 4-factor bank card verification.
API
API operation: BankMetaVerifyIntl
Request method: POST and GET
Transport protocol: HTTPS
Description: Verifies that the provided bank card information is consistent. The service supports:
2-factor bank card verification (bank card number + name)
3-factor bank card verification (bank card number + name + certificate number)
4-factor bank card verification (bank card number + name + certificate number + mobile number)
QPS limit: Each API has its own QPS limit. For more information, see QPS limits of ID Verification server-side APIs.
Endpoints:
NoteBenefits of internal network access: An internal network is a private communication network connecting Alibaba Cloud products within the same region. If your application server is deployed in the same region, use the internal endpoint to access the ID Verification service for enhanced security and stability.
Optimizing overseas access: Overseas network environments can be complex. Refer to Optimize server network latency to tune your integration and reduce network latency and request failures.
China (Hong Kong)
Public endpoint:
cloudauth-intl.cn-hongkong.aliyuncs.comInternal endpoint:
cloudauth-intl-vpc.cn-hongkong.aliyuncs.com
Online debugging and integration
Before debugging and integration, read the Use OpenAPI document to learn how to call APIs on the OpenAPI platform and obtain the SDK.
You can use OpenAPI Explorer to run this API directly to debug it and generate SDK code samples.
Request parameters
Parameter | Type | Required | Description | Example |
ProductCode | String | Yes | The product code. Set the value to BANK_CARD_N_META. | BANK_CARD_N_META |
VerifyMode | String | Yes | VERIFY_BANK_CARD: Verifies the bank card. This mode checks if the provided bank card number matches the user's name, certificate number, and mobile number. | VERIFY_BANK_CARD |
ProductType | String | Yes | The product type:
| BANK_CARD_4_META |
ParamType | String | Yes | The encryption method:
Note For more information about how to encrypt parameters by using SM2 encryption, see SM2 encryption. | normal |
BankCard | String | Yes | The bank card number.
|
|
UserName | String | Yes | The name.
|
|
IdentityType | String | Conditionally required | The certificate type. This parameter is required if you use a certificate type other than an ID card. If this parameter is left empty, the value defaults to 01 (ID card). For a list of supported types, see Certificate Types. | 01 |
IdentifyNum | String | Conditionally required This parameter is required if ProductType is set to one of the following values:
| The certificate number.
|
|
Mobile | String | Conditionally required This parameter is required if ProductType is set to BANK_CARD_4_META. | The mobile number.
|
|
Response parameters
Parameter | Type | Description | Example | |
RequestId | String | The request ID. | 130A2C10-B9EE-4D84-88E3-5384FF****** | |
Code | String | The response code. For more information, see Server-side HTTP status codes. | Success | |
Message | String | The detailed description of the response code. | success | |
ResultObject | BizCode | String | The verification result:
| 1 |
SubCode | String | Details of the verification result:
| 101 | |