Queries billing account information.
Try it now
Test
RAM authorization
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.