All Products
Search
Document Center

Resource Management:GetPayerForAccount

Last Updated:Aug 27, 2026

Queries billing account information.

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

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

AccountId

string

Yes

The ID of the billing account.

12323344****

Response elements

Element

Type

Description

Example

object

The response parameters.

PayerAccountName

string

The name of the billing account.

Alice

RequestId

string

The ID of the request.

9B34724D-54B0-4A51-B34D-4512372FE1BE

PayerAccountId

string

The ID of the billing account.

172841235500****

Examples

Success response

JSON format

{
  "PayerAccountName": "Alice",
  "RequestId": "9B34724D-54B0-4A51-B34D-4512372FE1BE",
  "PayerAccountId": "172841235500****"
}

Error codes

HTTP status code

Error code

Error message

Description

404 EntityNotExists.ResourceDirectory The resource directory for the account is not enabled. We recommend that you first enable the resource directory for the account.
404 EntityNotExists.Account This resource directory account does not exist.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.