VerifyBusinessLicense

更新时间:
复制 MD 格式

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

StepOverview
1Activate the Card Verification service. After activation, you get a free quota of 50 calls.
2Purchase a Business License Verification resource plan. Or skip this step. The system bills you on a pay-as-you-go basis.
3Use 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

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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 nameData typeDescriptionEnumeration values
codestringStatus code0, 20001, 20002, 20003
databoolIndicates whether the three elements are consistent.true: Consistent
false: Inconsistent
messagestringStatus 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)

codedatamessage
0trueThe legal representative's name and the business registration number are consistent.
20001falseThis company does not exist in the database!
20002falseThe entered legal representative's name does not match the company's legal representative's name!
20003falseThe 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.