Help Center > > API Reference> Customer Management> Real-Name Authentication> Querying the Real-Name Authentication Review Result

Querying the Real-Name Authentication Review Result

Updated at: Jul 23, 2021 GMT+08:00

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.

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

HTTP Value

Error Code

Description

400

CBC.0100

Parameter error.

403

CBC.0151

Access denied.

500

CBC.0999

Unknown error occurred.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel