All Products
Search
Document Center

ID Verification:BANK_CARD_N_META

Last Updated:Oct 23, 2026

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:

    Note
    • Benefits 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.com

    • Internal endpoint: cloudauth-intl-vpc.cn-hongkong.aliyuncs.com

Online debugging and integration

Note

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_2_META: 2-factor bank card verification (bank card number + name).

  • BANK_CARD_3_META: 3-factor bank card verification (bank card number + name + certificate number).

  • BANK_CARD_4_META: 4-factor bank card verification (bank card number + name + certificate number + mobile number).

BANK_CARD_4_META

ParamType

String

Yes

The encryption method:

  • normal: Data is sent in plaintext.

  • sm2: Data is encrypted using SM2 encryption.

Note

For more information about how to encrypt parameters by using SM2 encryption, see SM2 encryption.

normal

BankCard

String

Yes

The bank card number.

  • If ParamType is set to normal, provide the plaintext of the bank card number.

  • If ParamType is set to sm2, provide the SM2-encrypted ciphertext of the bank card number.

  • Plaintext: 12345678******

  • SM2 ciphertext: MHUCIQDD5rrj8x5xZEXe9d2lI131M4Ql8bWmeMG+ba6KGT3IgekQYhgDtxaDuoRD4bde/5fnFdlUp4YoxlEnIFLLm2mQEILkctuy6Rw6lfAUxBtkpPoPVCJAeD5al/RX8JFUvTACEBAYAgLJjBe0=

UserName

String

Yes

The name.

  • If ParamType is set to normal, provide the plaintext of the name.

  • If ParamType is set to sm2, provide the SM2-encrypted ciphertext of the name.

  • Plaintext: Zhang San

  • SM2 ciphertext: MG8CIQCxI0wNYbc0c2BRL+7+tSethTXfQC391ZFnszRRcvRZ9AIgekQYhgDtxaDuoRD4bde/5fnFdlUp4YoxlEnIFLLm2mQEILkctuy6Rw6lfAUxBtkpPoPVCJAeD5al/RX8JFUvTACEBAYAgLJjBe0=

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:

  • BANK_CARD_3_META

  • BANK_CARD_4_META

The certificate number.

  • If ParamType is set to normal, provide the plaintext of the certificate number.

  • If ParamType is set to sm2, provide the SM2-encrypted ciphertext of the certificate number.

  • Plaintext: 429001********8211

  • SM2 ciphertext: MHsCIEPDt1ycBNSVgA2yKsMnvWGheiI+STWqJLmYWlZnklhnAiEAwq1bk5YVepHwqfMsd9ErlK71OrdXx8E+wfqbzyFCwoMEIM1QdrFeekvQh6fwK7sVXAsNePiNm7Eulqm/zahRosbKBBKgtyhm3SopJ3tO/wALKXQQW+g=

Mobile

String

Conditionally required

This parameter is required if ProductType is set to BANK_CARD_4_META.

The mobile number.

  • If ParamType is set to normal, provide the plaintext of the mobile number.

  • If ParamType is set to sm2, provide the SM2-encrypted ciphertext of the mobile number.

  • Plaintext: 131****8888

  • SM2 ciphertext: MHUCIQDD5rrj8x5xZEXe9d2lI131M4Ql8bWmeMG+ba6KGT38xAIhAJErofLS0A/uMn/tU2lbHPRBnJKvDdLjJ5kARYOq4gHHBCBzZ3kecz1p80B8nPWNnQQMOkQeERWiOvLdhw/b7hjUZQQLqPBQkFGbfHZDCAE=

Certificate Types

IdentityType

Description

01

ID card

02

Officer's certificate

03

Passport

04

Mainland Travel Permit for Hong Kong and Macao Residents

05

Mainland Travel Permit for Taiwan Residents

06

Police officer's certificate

07

Soldier's certificate

08

Foreign passport

09

Foreign Permanent Resident ID Card

10

Residence Permit for Hong Kong and Macao Residents

11

Residence Permit for Taiwan Residents

12

Travel permit

13

Exit-Entry Permit

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: Consistent (billed)

  • 2: Inconsistent (billed)

  • 3: No record found (not billed)

1

SubCode

String

Details of the verification result:

  • 101: Verification passed.

  • 201: The cardholder information is incorrect.

  • 202: Authenticated payment is not enabled for the bank card.

  • 203: The bank card has expired.

  • 204: The bank card is restricted.

  • 205: This card has been confiscated.

  • 206: The bank card is invalid.

  • 207: No issuing bank was found for this card.

  • 208: The card is not initialized or is dormant.

  • 209: This card is a fraudulent card or has been retained.

  • 210: This card has been reported as lost.

  • 211: The number of incorrect password attempts has exceeded the limit.

  • 212: The issuing bank does not support this transaction.

  • 213: The card status is abnormal or the card is invalid.

  • 214: No mobile number is registered for the card.

  • 215: Incorrect password, expiration date, or CVN2.

  • 216: Other card exceptions.

  • 301: The bank card does not support this service.

  • 302: The verification was rejected by the bank. Contact the issuing bank.

  • 303: The bank card does not currently support mobile number verification.

  • 304: The bank card number is incorrect.

  • 305: Other reasons.

  • 306: The number of verification attempts has exceeded the limit.

101