All Products
Search
Document Center

Expenses and Costs:GetCustomerAccountInfo

Last Updated:Mar 04, 2025

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

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
bss:GetCustomerAccountInfoget
*All Resources
*
    none
none

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.

Change history

Change timeSummary of changesOperation
No change history