Create a checkout link
Not available on self-hosted deployments (returns 404). Create a hosted checkout link for a plan or a credit pack. A person must open the link and complete the payment. Requires the admin role and the billing:write scope.
Authorizations
API token obtained from the Tokens endpoint or CLI device login. Include as Authorization: Bearer <token>. Requests made with a managed CLI session also include X-Strix-Workspace: <organization_id> to pin a process to the workspace it started in; recovery endpoints report the current workspace after a concurrent switch.
Body
The product to buy.
strix_top_up, strix_cloud, strix_startup Number of credits to buy. Only used with strix_top_up.
1 <= x <= 10000The page to open after the payment. The server accepts only a same-origin address.
Response
The checkout link.