The business license verification service checks for consistency across three key elements: the Unified Social Credit Code (or business registration number), the company name, and the legal representative's name.
Operation description
Activate or purchase this service
| Step | Overview |
| 1 | Activate the Card Verification service. After activation, you get a free quota of 50 calls. |
| 2 | Purchase a Business License Verification resource plan. Or skip this step. The system bills you on a pay-as-you-go basis. |
| 3 | Use the code samples on the debugging page to integrate the API. After integration, call the API to get the verification result. If you use a RAM user to call the API, the Alibaba Cloud root account must grant permissions to that RAM user. For more information about how to create a RAM user, see Create a RAM user. The OCR service provides the AliyunOCRFullAccess system policy. For more information about how to grant permissions, see Grant permissions to a RAM user |
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ocr:VerifyBusinessLicense |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CreditCode |
string |
Yes |
The business registration number or Unified Social Credit Code. |
91330110MA2AXY0E7F |
| CompanyName |
string |
Yes |
The company name. |
阿里巴巴达摩院(杭州)科技有限公司 |
| LegalPerson |
string |
Yes |
The name of the company's legal representative. |
张建锋 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The unique ID of the request. |
43A29C77-405E-4CC0-BC55-EE694AD00655 |
| Data |
string |
The returned data. |
{"code":"0","data":true,"message":"法人姓名、社会信用代码一致"} |
* Description of response fields
| Field name | Data type | Description | Enumeration values |
| code | string | Status code | 0, 20001, 20002, 20003 |
| data | bool | Indicates whether the three elements are consistent. | true: Consistent false: Inconsistent |
| message | string | Status information | (1) The legal representative's name and the business registration number are consistent. (2) This company does not exist in the database! (3) The entered legal representative's name does not match the company's legal representative's name! (4) The entered registration number matches neither the business registration number nor the Unified Social Credit Code! |
Mapping of code (status code), message (status information), and data (verification result)
| code | data | message |
| 0 | true | The legal representative's name and the business registration number are consistent. |
| 20001 | false | This company does not exist in the database! |
| 20002 | false | The entered legal representative's name does not match the company's legal representative's name! |
| 20003 | false | The entered registration number matches neither the business registration number nor the Unified Social Credit Code! |
Examples
Success response
JSON format
{
"RequestId": "43A29C77-405E-4CC0-BC55-EE694AD00655",
"Data": "{\"code\":\"0\",\"data\":true,\"message\":\"法人姓名、社会信用代码一致\"}"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.