tencent cloud

APIs

CheckBankCardInformation

Focus Mode
Font Size
Last updated: 2026-04-15 15:19:12

1. API Description

Domain name for API request: faceid.intl.tencentcloudapi.com.

Bank card basic information query

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: CheckBankCardInformation.
Version Yes String Common Params. The value used for this API: 2018-03-01.
Region No String Common Params. This parameter is not required for this API.
BankCard Yes String Bank card number.
Encryption No Encryption Sensitive data encryption info.
-Users with encryption requirements for incoming information (bank card number) can use this parameter. For details, please click the left-side link.

3. Output Parameters

Parameter Name Type Description
Result String Verification result code. Billing is as follows.
-Result code for charges
Query succeeded
-1: Not found
-5: Invalid card number

-Result code with no charge
-Verification Center Service is busy.
-3: Bank card not found.
-4: Authentication attempts exceeded the daily limit. Retry the next day.
-6: This bank card type is not currently supported
Description String Business result description.
AccountBank String Account opening bank.
AccountType Integer Card type.
-Value range:
1: Debit card.
2: Credit card.
3: Prepaid card.
4: Credit card
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Query Success Example

Input Example

POST / HTTP/1.1
Host: faceid.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: CheckBankCardInformation
<Common request parameters>

{
    "BankCard": "6225768888888888"
}

Output Example

{
    "Response": {
        "Result": "0",
"Description": "Query successful",
"AccountBank": "China Merchants Bank credit card"
        "AccountType": 2,
        "RequestId": "8695c53f-776f-4ff5-a66d-84e67b352d20"
    }
}

Example2 Query Fail Example

Input Example

POST / HTTP/1.1
Host: faceid.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: CheckBankCardInformation
<Common request parameters>

{
    "BankCard": "6225768888888888"
}

Output Example

{
    "Response": {
        "AccountBank": "",
        "AccountType": -1,
"Description": "Not found"
        "RequestId": "bd41a241-0e50-4337-999e-0687d56a34c8",
        "Result": "-1"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
AuthFailure.InvalidAuthorization CAM signature/authentication error.
FailedOperation.DecryptSystemError Decryption failed.
FailedOperation.StsUnAuthErrError STS unauthorized.
FailedOperation.UnKnown Unknown internal error.
InternalError Internal error.
InvalidParameter.UnsupportEncryptField Unencrypted fields exist. Refer to the documentation to modify.
UnauthorizedOperation.Arrears The account is in arrears.
UnauthorizedOperation.ChargeStatusException The billing status is abnormal.
UnauthorizedOperation.NonAuthorize Identity verification has not been completed for the account.
UnauthorizedOperation.Nonactivated The service has not been activated.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback