Checks whether a management account or member is eligible to be a main financial account.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BillingAccountId |
string |
Yes |
The ID of the management account or member to be used as a main financial account. |
111***089 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned result. |
||
| RequestId |
string |
The request ID. |
9E6B6CA8-9E7A-521F-A743-AA582714727E |
| Reasons |
array<object> |
The reasons for the check failure. |
|
|
object |
|||
| Code |
string |
The error code. |
PaymentAccountEnterpriseInvoiceError |
| Message |
string |
The error message. |
No enterprise invoice header information is set for the payment account. |
| Result |
boolean |
Whether the check passed. Valid values:
|
false |
Examples
Success response
JSON format
{
"RequestId": "9E6B6CA8-9E7A-521F-A743-AA582714727E",
"Reasons": [
{
"Code": "PaymentAccountEnterpriseInvoiceError",
"Message": "No enterprise invoice header information is set for the payment account."
}
],
"Result": false
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | MemberAccountOperationNotAllowed | The member account is not allowed to perform the operation. | |
| 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.