Accounts

Gets list of recurring and usage charges for the account

GET
/v2.1/accounts/{accountId}/billing_charges

Retrieves the list of recurring and usage charges for the account. This can be used to determine the charge structure and usage of charge plan items.

Privileges required: account administrator

Authorization

OAuth2
AuthorizationBearer <token>

OAuth 2.0 access token obtained via Authorization Code Grant or JWT Grant.

In: header

Path Parameters

accountId*string

The external account number (int) or account ID GUID.

Query Parameters

include_charges?string

Specifies which billing charges to return. Valid values are:

  • envelopes
  • seats

Response Body

application/json

application/json

curl -X GET "https://example.com/v2.1/accounts/string/billing_charges"
{  "billingChargeItems": [    {      "allowedQuantity": "string",      "blocked": "string",      "chargeName": "string",      "chargeType": "string",      "chargeUnitOfMeasure": "string",      "discounts": [        {          "beginQuantity": "string",          "discount": "string",          "endQuantity": "string"        }      ],      "firstEffectiveDate": "string",      "includedQuantity": "string",      "incrementalQuantity": "string",      "lastEffectiveDate": "string",      "prices": [        {          "beginQuantity": "string",          "endQuantity": "string",          "unitPrice": "string"        }      ],      "unitPrice": "string",      "usedQuantity": "string"    }  ]}