All Products
Search
Document Center

BSS OpenAPI:GetCustomerAccountInfo

Last Updated:Mar 01, 2024

Queries the account information about a customer of a virtual network operator (VNO).

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
The current API does not require request parameters

Response parameters

ParameterTypeDescriptionExample
object

The object returned.

Codestring

The status code returned.

Success
Messagestring

The message returned.

Successful!
RequestIdstring

The ID of the request.

94017C56-1725-5DD9-AB41-B3BAE791D600
Successboolean

Indicates whether the call is successful. A value of true indicates that the call is successful. A value of false indicates that the call failed.

true
Dataobject

The data returned.

Mpklong

The ID of the management account.

1051360339779133
LoginEmailstring

The email address of the customer.

xxxx@aliyun.com
HostingStatusstring

The hosting status of the credit information and instances of the customer. If the credit information and instances of the customer are managed on Alibaba Cloud, Alibaba Cloud suspends a customer service upon overdue payment. Valid values:

FREEZE: The business of the customer is frozen.

TRUSTEESHIP: The business of the customer is hosted.

FREEZE
AccountTypestring

The type of the account. A value of 1 indicates an enterprise account. A value of 0 indicates an individual account.

1
CreditLimitStatusstring

The business status of the customer. Valid values:

Freeze: The business is frozen.

Thaw: The business is unfrozen.

Trusteeship: The business is hosted.

TrusteeshipCancel: The business is not hosted.

Freeze
IsCertifiedboolean

Indicates whether the account passes the real-name verification.

true

Examples

Sample success responses

JSONformat

{
  "Code": "Success",
  "Message": "Successful!",
  "RequestId": "94017C56-1725-5DD9-AB41-B3BAE791D600",
  "Success": true,
  "Data": {
    "Mpk": 1051360339779133,
    "LoginEmail": "xxxx@aliyun.com",
    "HostingStatus": "FREEZE",
    "AccountType": "1",
    "CreditLimitStatus": "Freeze",
    "IsCertified": true
  }
}

Error codes

HTTP status codeError codeError message
400NotAuthorizedThis API is not authorized for caller.
401VnoNoDataErrorThere is no data by this request.
500InternalErrorThe request processing has failed due to some unknown error.

For a list of error codes, visit the Service error codes.