Query accounts and billing settings

Find accessible billing accounts, inspect Credit balances and recent spending, and read balance alerts, spending limits, and automatic recharge settings. This task does not change account configuration.

Prerequisites

Prepare a valid personal access token for the user who owns the billing account. For service URLs and authentication, see Service URLs and authentication.

Call sequence

  1. List current accounts, select the target account, and retain its account ID.

  2. Use that account ID to get the account overview and inspect available Credit and recent spending.

  3. If you need to check alerts, spending limits, or automatic recharge configuration, get the billing settings.

API operations

Task

API operation

When to use or what to verify

Select a billing account

List current accounts

Obtain the account ID for subsequent queries.

Inspect balances and spending

Get account overview

Inspect available Credit, reserved amounts, overdraft, and recent spending.

Read account configuration

Get billing settings

Check balance alerts, spending limits, and automatic recharge settings.

Confirm the result

Use Get account overview and Get billing settings to check that balances, recent spending, and settings belong to the selected account.

Limitations and notes

The first current-account query prepares a billing account from the current user’s information. Reading billing settings does not change them.

Next steps

Last updated on