Bank Card 2-Element Verification
Real-time verification of bank card number and cardholder name matching, returning consistent results to aid financial risk control and identity authentication.
Documentation
API Introduction
This API provides a two-factor (name, bank card number) consistency verification service for bank cards. By inputting the user's name and bank card number, the system real-time compares them with bank-reserved information, returning a verification result indicating whether they match. This helps developers quickly confirm the authenticity of user identity information.
Use Cases
- Financial Account Opening Review: Verify the cardholder's identity when users bind bank cards or enable payment functions.
- E-commerce Withdrawal Risk Control: Ensure ownership of the withdrawal account to prevent fund misappropriation risks.
- Corporate Payroll Disbursement: Verify the accuracy of salary card information submitted by employees, reducing payment failure rates.
- Credit Application Preliminary Review: Serve as a basic identity verification step to assist in assessing the credibility of applicant data.
Request and Response Description
- Request Method: GET
- Core Parameters:
name: Cardholder's real name (string)bankcard: Bank card number to be verified (string)- Return Results:
code: Status code, SUCCESS indicates a successful request.data.result: Verification conclusion. A value of "Match" indicates that the name and card number match.data.desc: Result description, such as "Name and bank card number are consistent."
Integration Suggestions
- Privacy Compliance: Name and bank card number are sensitive personal information. Ensure HTTPS encryption during transmission and follow relevant laws and regulations for data anonymization and storage.
- Error Handling: It is recommended to handle cases where
codeis not SUCCESS to prevent business interruption due to network fluctuations or temporary upstream service exceptions. - Input Validation: Pre-validate bank card number format (e.g., length, digits only) at the frontend or business layer to reduce invalid requests and optimize cost and performance.
Integration Examples
Includes ready-to-use Shell, Python, Go, Java, and PHP examples for direct integration.
Request Example
{
"name": "张三",
"bankcard": "6228480402564890018"
}Response Example
{
"code": "SUCCESS",
"message": "success",
"data": {
"result": "一致",
"desc": "姓名与银行卡号一致"
}
}Request Fields
The fields below are derived from example JSON for integration reference only.
| Path | Type | Sample |
|---|---|---|
| name | string | 张三 |
| bankcard | string | 6228480402564890018 |
Response Fields
The fields below are derived from example JSON for integration reference only.
| Path | Type | Sample |
|---|---|---|
| code | string | SUCCESS |
| message | string | success |
| data | object | {...} |
| data.result | string | 一致 |
| data.desc | string | 姓名与银行卡号一致 |