# 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](../../../../guides/billing/credentials.md) for the user who owns the billing account. For service URLs and authentication, see [Service URLs and authentication](../../../../reference/api/genesis/index.md#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](../../../../reference/api/genesis/billing/accounts/current.md) | Obtain the account ID for subsequent queries. |
| Inspect balances and spending | [Get account overview](../../../../reference/api/genesis/billing/accounts/overview.md) | Inspect available Credit, reserved amounts, overdraft, and recent spending. |
| Read account configuration | [Get billing settings](../../../../reference/api/genesis/billing/accounts/settings.md) | Check balance alerts, spending limits, and automatic recharge settings. |

## Confirm the result

Use [Get account overview](../../../../reference/api/genesis/billing/accounts/overview.md) and [Get billing settings](../../../../reference/api/genesis/billing/accounts/settings.md) 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

- [Analyze rated usage and costs](usage.md)
