Verifies that a name and an ID card number belong to the same person.
Operation description
Make sure that you understand the pricing of the Cell Phone Number Service before you call this operation.
Before you call this operation, log on to the Cell Phone Number Service console. On the Tag Square page, find the required tag and click Request. After you fill in the application information and your application is approved, you can use the service.
You are charged for this operation if the API returns Code="OK" and the value of IsConsistent is not 2. No charges are incurred for other results.
QPS limit
The queries per second (QPS) limit for a single user is 200 calls/second. If you exceed this limit, API calls are throttled. This can affect your business. Plan your calls accordingly.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dytns:CertNoTwoElementVerification |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AuthCode |
string |
Yes |
The authorization code. Note
In the Cell Phone Number Service console, go to Tag Square. Select a tag and submit an application. You receive the authorization code after your application is approved. |
QASDW@#** |
| CertName |
string |
Yes |
The name to verify. |
张三 |
| CertNo |
string |
Yes |
The ID card number to verify. |
3***************0 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AccessDeniedDetail |
string |
Details about the access denial. |
- |
| RequestId |
string |
The request ID. |
CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47 |
| Message |
string |
The description of the status code. |
OK |
| Data |
object |
The returned result. |
|
| IsConsistent |
string |
Indicates whether the provided information is consistent. Valid values:
|
1 |
| Code |
string |
The request status code. |
OK |
Examples
Success response
JSON format
{
"AccessDeniedDetail": "-",
"RequestId": "CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47",
"Message": "OK",
"Data": {
"IsConsistent": "1"
},
"Code": "OK"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | Invalid parameter. | |
| 400 | AuthCodeIllegal | Illegal authCode. | |
| 500 | RequestTimeout | Request supplier timed out. | Request supplier timeout |
| 500 | RequestSupplierError | Request supplier error. | Request supplier error. |
See for a complete list.
Release notes
See Release Notes for a complete list.