Billing & credits
What your firm has bought from us, what is left of it, and every entry that moved the balance.
What your firm has bought from us and what is left of it. This is the platform → your firm relationship: your plan, your account credits and every purchase.
Credits
/v1/creditsAvailablescope · accounts:read{
"granted": 1250,
"used": 1184,
"remaining": 66,
"enforced": true,
"tier": "growth"
}remaining = granted − used. It can go negative after a refund, which blocks provisioning and nothing else. enforced is false on a custom plan with no account cap: credits are still counted there, but never refuse an account.
Credit ledger
/v1/credits/ledgerAvailablescope · accounts:readAppend-only, newest first, so “where did our credits go” has an answer you can audit yourself. Returns the 200 most recent entries; balance is the running total after each one, computed over the whole ledger, so it is true even when older entries are not in the list.
{
"data": [
{
"created_at": "2026-10-20T08:12:44Z",
"kind": "account_debit",
"amount": -1,
"note": null,
"account_number": 10000042,
"balance": 66
}
],
"next_cursor": null
}| kind | Sign | Means |
|---|---|---|
trial_grant | + | The free trial's accounts, granted once. |
plan_grant | + | A plan's accounts, granted once when it settled: your first plan, or a higher one you upgraded to. |
pack_grant | + | A top-up pack. |
upgrade_grant | + | Older entries only: upgrades are now the higher plan itself (plan_grant). |
account_debit | −1 | One trading account provisioned. Never reversed. |
refund_correction | − | A refunded or disputed purchase being clawed back. |
admin_adjustment | ± | A manual correction by us, always with a note. |
Purchases
/v1/purchasesAvailablescope · accounts:readYour plan, packs and upgrades, newest first, with what each granted and when it settled. Amounts are in the minor unit of their currency. The payer’s email is never returned.
{
"data": [
{
"id": "5f0c…",
"sku": "pack_basic_500",
"kind": "account_pack",
"name": "500 accounts",
"quantity": 1,
"amount_cents": 60000,
"currency": "USD",
"status": "consumed",
"accounts_granted": 500,
"created_at": "2026-10-18T14:02:11Z",
"paid_at": "2026-10-18T14:03:40Z"
}
],
"next_cursor": null
}Buying happens in the panel
There is no endpoint to buy credits: checkout runs in the admin panel so the payment path stays in one place, with one verified webhook deciding what settled. These endpoints are read-only on purpose.