Tools
topup
Open a Stripe checkout to add credits — free, and works at zero balance.
topup creates a Stripe checkout session for buying credits. It's free and works at zero balance — by design, so a billed tool can point you to it when credits run out.
Using it
Ask your client, naming a whole-dollar amount in place of N:
Top up $N| Input | Required | What it is |
|---|---|---|
dollars | yes | Whole US dollars. Amounts below the current minimum top-up are rejected at call time — the minimum is on the pricing page |
teamId | no | The team to top up, for clients that cannot send the x-spaghetti-team header. Checked against your memberships; overrides the header |
What you get back
url— the Stripe checkout link.credits— how many credits the amount buys (see the pricing page for the current rate).entityType— which wallet is topped up: your personal account or your team.expiresAt— when the checkout link expires.
Open the link in a browser, pay, and you're redirected back to the portal — the credits settle automatically, then retry whatever you were doing.
The same top-up is available from the portal's Billing page with preset packs — see Top up credits.
Next steps
- Top up credits — the portal and client paths side by side
- How credits work — holds, wallets, and zero balance
Was this page helpful?