Core concepts
Buying credits
Credits are bought in the dashboard by workspace owners and billing members, not through the API. What you can set up, and what happens when credits run out.
Credits are bought in the dashboard, on the Credits page. They cannot be bought through the API: an API key or an MCP client can spend credits and read the balance, but never pay for more. This keeps payment in the hands of the people who manage the workspace's billing.
Who can buy credits#
Workspace owners and members with a billing role can buy credits. Other members see the Credits page, with the balance and every transaction, but its buying actions are unavailable to them. If you cannot buy credits yourself, ask an owner or billing member of your workspace.
Buying credits#
On the Credits page, choose Buy credits, pick an amount, and pay by card on the secure payment page that opens. The credits arrive in the workspace's balance once the payment goes through, and every API key and member can spend them straight away. Each purchase appears in the page's purchase history and in the credit ledger (GET /v1/credits/transactions).
Automatic top-up#
To keep calls from stopping when the balance runs low, an owner or billing member can turn on auto top-up on the same page. When the balance falls below a level you choose, it buys a set amount of credits with the card your last purchase saved. Auto top-up needs that saved card, so make one purchase by card first. If a payment fails repeatedly or no card is saved, auto top-up turns itself off and the Credits page says why.
When credits run out#
When the balance cannot pay for a call, this is what happens:
- Billed calls stop. A call the available balance cannot pay for is refused with
402 credits.insufficientbefore it runs. Nothing is charged, andextra.required_creditsandextra.available_creditsin the error say how far short the balance is. - Free calls keep working. Managing lists, reading usage history, credits, runs and jobs, and the other free operations need no credits.
- Work already running. Agent runs set their price aside when they start, so a run already going is not stopped by a low balance. A long enrichment job is stopped if the workspace can no longer cover it (
stop_reason: "no_credits"), and is charged only for what it found until then.
Once credits are added, send the refused calls again. A refused call never ran, so sending it again does not risk paying twice.
To avoid surprises, watch meta.credits_balance on each answer or available from GET /v1/credits, and quote large batches before you send them. Balance and spend shows how.
A frozen workspace#
If Sprouts Data puts a workspace's credits on hold, GET /v1/credits reports status: "frozen" and billed calls answer 402 credits.wallet_frozen, whatever the balance. Contact Sprouts Data support at [email protected].