VENUZ API Español

billing.balance: Prepaid balance of Calypso: what is left, the last top-up and whether it is low.

GET /v2/billing/balance · MCP tool billing_balance · billing

What it does

Prepaid balance of Calypso: what is left, the last top-up and whether it is low.

When to use it

Returns the prepaid balance the agency has left for Calypso (the VENUZ AI), the usage it did not cover yet, the last top-up (amount and date), the low-balance threshold (20% of that top-up) and the state: ok, low or depleted, with the same rule as the emails VENUZ sends. Use it to remind the agency to top up before Calypso stops. The webhooks billing.balance_low and billing.balance_depleted tell you the moment it crosses. It needs a key that covers every account of the agency. It reads the copy VENUZ keeps and never changes anything: topping up is not possible through the API.

Permission and cost

Permissionbilling:read
EffectRead only: it never changes anything.
Cost classstore — costs 1 unit (reads the copy VENUZ keeps)
ScopeThe whole agency: the key needs access to all accounts.

Example request (test mode)

With a test key in VENUZ_API_KEY (export VENUZ_API_KEY=vzk_test_…), this request changes nothing: test keys answer from a sample dataset.

curl -X GET "https://open.venuz.ai/v2/billing/balance" \
  -H "Authorization: Bearer $VENUZ_API_KEY"

Example response (200)

{
  "data": {
    "prepaid_balance_usd": 84.2,
    "pending_usage_usd": 0,
    "state": "low",
    "low_balance_threshold_usd": 100,
    "last_top_up_usd": 500,
    "last_top_up_at": "2026-11-01T09:30:00.000Z"
  },
  "source": "store",
  "synced_at": "2026-11-13T12:00:00.000Z"
}

Response fields

FieldTypeRequiredDescription
dataobjectyes
data.prepaid_balance_usdnumber, at least 0yesPrepaid balance left for Calypso, the VENUZ AI: the Credits figure of the billing page.
data.pending_usage_usdnumber, at least 0yesCalypso usage the prepaid balance did not cover yet: it is charged to the card on file, or owed. The Pending figure of the billing page.
data.stateone of "ok", "low", "depleted"yesok: above the low-balance threshold. low: at or below the threshold (20% of the last top-up), the same rule as the low-balance email of VENUZ. depleted: no prepaid balance left; Calypso usage then goes to the card on file, and without one Calypso stops until you top up.
data.low_balance_threshold_usdnumber, at least 0, or nullyesAt or below this balance the state is low: 20% of the last top-up, rounded to the cent. Null when there is no confirmed top-up (the balance is then never low, only ok or depleted).
data.last_top_up_usdnumber, at least 0, or nullyesAmount of the last confirmed top-up, the one the threshold comes from. Null when there is none.
data.last_top_up_atstring (date-time), or nullyesWhen the last top-up was confirmed. Null when there is none or its date is not known.
sourceone of "store", "onlyfans"yesstore: read from the copy VENUZ keeps (fast, no load on the OnlyFans account). onlyfans: a live check on the account during this call.
synced_atstring (date-time)yesWhen this data was true. For source=store it is when VENUZ last updated its copy (or read it, if the record carries no update time); for source=onlyfans it is the moment OnlyFans answered.

Errors and what to do

Every error is { "error", "message", "fix", "docs_url", "request_id" }. Branch on error; do what fix says.

ErrorHTTPWhat to do
invalid_request400Correct the request, then retry. When details.invalid_fields is present, each entry names a field and what it needs (its message); when details.reason is present, it says what is wrong. The parameters and body of every operation are in the specification.
invalid_api_key401Send a valid key as "Authorization: Bearer vzk_live_..." (or vzk_test_...). If you lost the key, ask the agency to create a new one.
api_key_expired401Ask the agency to rotate the key or create a new one. Keys last at most 366 days.
api_key_revoked401Stop using this key. Ask the agency for a new one if you still need access.
api_key_suspended403If details.reason is creator_withdrawn, ask the agency owner to create a new key from an active member of the team. If it is suspended_by_venuz, contact VENUZ support: the same key works again as soon as the suspension is lifted, so do not delete it.
agency_inactive403The agency's VENUZ account is suspended or closed; access resumes when it is active again. Do not delete the key.
api_not_enabled403Ask VENUZ support to enable API access for the agency. Keep the key: it works as soon as access is enabled.
ip_not_allowed403Send the request from one of the addresses allowed on the key, or ask the agency to update the allowed addresses.
insufficient_scope403Call GET /v2/whoami to see what this key can do. Ask the agency to grant the missing permission (listed in details.missing_scopes) or to use a key that has it. If details.withheld_by_creator is true, the key has the permission but the person who created it cannot do this in VENUZ today: they need the role permissions in details.creator_missing_permissions (when details.creator_needs is any_of, any one of them is enough), or the agency must use a key created by someone who has them.
all_accounts_required403Use a key created with access to all accounts, by a team member who can see all of them. Call GET /v2/whoami to check the key.
rate_limited429Wait for the number of seconds in the Retry-After header, then retry. Spread requests out instead of retrying in a loop. Each request costs the units of its cost class (header X-Request-Cost: 1 for stored data, 2 for a realtime call to the OnlyFans account or a heavy query), and the RateLimit-* headers show how many units are left for this key and its agency in the current minute.
internal_error500Retry once after a few seconds; do not retry in a loop. If the request was a write, retry with the SAME Idempotency-Key, never a new one. If it keeps failing, contact VENUZ support and include the request_id.
api_halted503Wait for the number of seconds in the Retry-After header, then retry. Your key is still valid.
stored_data_unavailable503Nothing was changed. Wait for the number of seconds in the Retry-After header, then retry once; do not retry in a loop. Narrowing the request (account_id or chat_id, a smaller limit) makes it lighter. If it keeps failing, contact VENUZ support with the request_id.

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