# Read the Calypso prepaid balance with the VENUZ API

> **API v1 is being retired.** [API v2](/v2/) was published on 2026-11-09. v1 stops answering on 2026-12-07 (2026-12-21 if your agency asks for the extension), earlier only if no key uses it and announced at least 7 days before ([Versioning](/versioning/)); the `Sunset` header of each v1 response is the date that applies to your key. [Migrate from v1 to v2](/v2/migrate/).

To know how much prepaid balance your agency has left for Calypso, the VENUZ AI, call `billing.balance`. Your key needs `billing:read` and has to cover every account of the agency (the balance is the agency's, not one account's). It reads the copy VENUZ keeps and never changes anything: topping up is not possible through the API.

## Step 1: Get a key for the whole agency {#step-1}

In Settings → API, create a key with **Billing: Read** and **All accounts**. Only a person who can see the billing page can grant it.

## Step 2: Read the balance {#step-2}

Call [`billing.balance`](/reference/billing/balance/). It takes no parameters: the agency is the one of the key.

```bash
curl "https://open.venuz.ai/v1/billing/balance" \
  -H "Authorization: Bearer $VENUZ_API_KEY"
```

## Step 3: Read the state {#step-3}

| Field | What it says |
|---|---|
| `prepaid_balance_usd` | Prepaid balance left for Calypso: the Credits figure of the billing page. |
| `pending_usage_usd` | Calypso usage the balance did not cover yet: charged to the card on file, or owed. |
| `state` | `ok`, `low` (at or below the threshold) or `depleted` (no balance left). |
| `low_balance_threshold_usd` | 20% of the last top-up, rounded to the cent. Null without a confirmed top-up. |
| `last_top_up_usd`, `last_top_up_at` | The last confirmed top-up, the one the threshold comes from. |

`state` follows the same rule as the low-balance and zero-balance emails VENUZ sends, so your reminder and ours agree.

## Get told when it crosses {#webhooks}

Subscribe to `billing.balance_low` and `billing.balance_depleted` (see [Receive webhooks](/guides/receive-webhooks/)) with the same kind of key and account scope `all`. Each one arrives once per top-up, at the moment VENUZ sends the matching email, with `prepaid_balance_usd`, `low_balance_threshold_usd` and `last_top_up_usd`.

## Good to know

- **Depleted does not always mean stopped.** With a card on file, Calypso usage goes to the card; without one, Calypso stops until the agency tops up.
- **No top-up, no «low».** Without a confirmed top-up there is no threshold: the state is only `ok` or `depleted`.
- **Read it now, not later.** The balance moves with every Calypso sale; `as_of` is the moment you read it.

VENUZ is independent software for agencies. It is not affiliated with, endorsed or sponsored by OnlyFans. OnlyFans is a trademark of its owner.
