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 (quantity of 100 GB steps; paid plan, owner only). Returns the url; the user opens it and pays there. A purchase the account cannot make (already on the plan) 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 default: for a key or a connected agent, one of the workspaces the user allowed it.
Body
What the link buys.
pro, business, credits, minutes, storage, agent_calls Billing cycle of a plan or a recurring add-on. Default monthly.
monthly, yearly business: how many seats.
credits and minutes: the amount in US dollars. The answer says what it buys.
How many of a recurring add-on, such as 100 GB storage steps. Default 1.
Optional: one sentence shown to the user beside this action.
600
