check_billing_issues

To identify hierarchy rule violations in billing services, use the account/check_billing_issues method. It checks the entire account hierarchy (both parent and child accounts).

Endpoint

Copied!
svc=account/check_billing_issues&params={
    "itemId": <long>
}

Parameters

The request must contain the itemId parameter specifying the ID of the account to be checked for billing issues.

Response

If the request is completed successfully, the response is returned in the following format:

Copied!
[
    {
        "svc_name": <text>,      // Service name where the issue was detected.
        "reason": <int>,         // Issue code (see below).
        "account_id": <long>,    // ID of the account causing the issue. Specified if the signed-in user has the "View object and its basic properties" access right to this account.
        "account_name": <text>   // Name of the account causing the issue.pecified if the signed-in user has the "View object and its basic properties" access right to this account. 
    }
]

Issue codes

Issue code Description
1 The account has reached the service limit according to the service cost specified in the parent account (applies to periodic services and services on demand).
2 The account has reached the balance limit according to the service cost and the Limit by balance option specified in the parent account or its billing plan (applies only to services on demand).
-1 Other billing issues.

If the request fails, an error code is returned.

If you find a mistake in the text, please select it and press Ctrl+Enter.

Report a mistake

Your message was sent. Thank you!

An error occurred while submitting the form