Queries settlement account information.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
resourcemanager:GetPayerForAccount |
get |
*Account
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AccountId |
string |
Yes |
The ID of the account. |
12323344**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| PayerAccountName |
string |
The name of the settlement account. |
Alice |
| RequestId |
string |
The ID of the request. |
9B34724D-54B0-4A51-B34D-4512372FE1BE |
| PayerAccountId |
string |
The ID of the settlement 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. | 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. | The specified member account does not exist. We recommend that you first create a member account. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.