get checkout link
A checkout link for the user to pay, without going through Settings: pro or business (cycle monthly or yearly; business takes seats), credits or minutes (amount_usd), or storage (steps of 100 GB, on a paid plan, for the owner). Returns the url and what it buys; the user opens it and pays there. A purchase the account cannot make (already on the plan, minutes on a free account) is refused with the reason. get_balance reads what is left; estimate_cost quotes work. Free.
Authorizations
An API key (es_live_…) from Settings, under API keys, or an OAuth access token.
Headers
Retry a paid dispatch safely: the same key returns the job already dispatched instead of charging again.
The workspace this one call acts in, when it is not the key's own.
Body
What the link buys: a pro or business plan, AI credits, cloud processing minutes, or storage.
pro, business, credits, minutes, storage pro and business: billing cycle. Default monthly.
monthly, yearly business: how many seats.
credits and minutes: the amount in US dollars. The answer says what it buys.
storage: steps of 100 GB. Default 1.
Optional: one sentence shown to the user beside this action.
600
