Help Center/ Partner Center/ API Reference/ Customer Management/ Real-Name Authentication/ Querying the Real-Name Authentication Review Result
Updated on 2022-09-27 GMT+08:00

Querying the Real-Name Authentication Review Result

Function

If the response to a real-name authentication application or real-name authentication change application indicates that manual review is required, this API can be used to query the review result.

Constraints

This API can be invoked only by the partner AK/SK or token.

Debugging

You can debug the API in API Explorer which supports automatic authentication. API Explorer can automatically generate and debug example SDK code.

URI

GET /v2/customers/realname-auths/result

The following table describes the parameters.

Table 1 Query parameters

Parameter

Mandatory

Type

Value Range

Description

customer_id

Yes

String

A maximum of 64 characters

Customer account ID. You can call the API in Querying Customers to obtain the customer ID.

Request

Request Parameters

None

Example Request

GET  https://bss-intl.myhuaweicloud.com/v2/customers/realname-auths/result?customer_id=06a7969058802f0c0f01c00b91846780 HTTP/1.1
Content-Type: application/json
X-Auth-Token: MIIPAgYJKoZIhvcNAQcCo...ggg1BBIINPXsidG9rZ

Response

Response Parameters

Parameter

Type

Value Range

Description

error_code

String

A maximum of 16 characters

Error code. For details, see Returned Values. This parameter is returned only when a failure occurs.

error_msg

String

A maximum of 1024 characters

Error description. This parameter is returned only when a failure occurs.

review_result

Integer

-

Real-name authentication review result. This parameter is returned only when the status code is 200 and the real-name authentication application has been submitted.

  • 0: Under review
  • 1: Failed
  • 2: Approved

opinion

String

A maximum of 256 characters

Review comment. This parameter is returned only when the status code is 200 and the review is not approved.

Example Response

HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: length
Date: response time  

{
	"review_result": 2,
	"opinion": null
}

Returned Values

  • 4xx: This class of HTTP status code is intended for situations in which the error seems to have been caused by the client, for example, the request contains bad syntax or incorrect parameters. You must ensure the request is correct.
  • 5xx: This class of HTTP status code is intended for cases in which the Huawei Cloud server is aware that it has encountered an error or is otherwise incapable of performing the request. In this case, contact Huawei Cloud customer service.

HTTP Value

Error Code

Description

400

CBC.0100

Parameter error.

403

CBC.0151

Access denied.

500

CBC.0999

Unknown error occurred.