This topic describes the API for two-factor ID verification.
API reference
API operation: Id2MetaVerifyIntl
Request methods: POST and GET
Protocol: HTTPS
Description: Verifies if a provided name and ID card number match.
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.
Debug this API operation in OpenAPI Explorerand generate an SDK code sample.
Request parameters
Parameter | Type | Required | Description | Example |
ProductCode | String | Yes | The product code. Set the value to ID_2META. | ID_2META |
ParamType | String | Yes | The parameter type.
Note
| normal |
IdentifyNum | String | Yes | The ID card number.
Note Due to limitations from the authoritative data source, only second-generation resident ID card numbers are supported. |
|
UserName | String | Yes | The name.
|
|
Response parameters
Parameter | Type | Description | Example | |
RequestId | String | The request ID. | 130A2C10-B9EE-4D84-88E3-5384FF039795 | |
Code | String | The response code. For more information, see Server-side HTTP status codes. | Success | |
Message | String | A detailed description of the response code. | success | |
Result | Object | The object that contains the data returned for the request. | None | |
| BizCode | String | The verification result:
| 1 |