Start a checkout
Starts a Stripe Checkout session that puts a card on file for the plan the organisation is on, and returns the URL to send the browser to. The card pays for usage, and for the plan’s fee when it has one. It answers 409 when the cluster does not bill through Stripe or the organisation already pays through Stripe.
/_luna/orgs/{org}/billing/checkoutAuthorizationBearer token · headerrequiredAn account key (la_…), an API key (lt_…) or a session token (ls_…). The scopes listed are the permissions the operation needs.
billing:writeorgstringrequiredThe organisation, by its slug.
application/jsonsuccessUrlstringrequiredThe http or https URL to return to once payment is set up.
cancelUrlstringrequiredThe http or https URL to return to when the person backs out.
The Stripe Checkout page.
urlstringrequiredThe page's URL. It works once and for a short while.
The request failed. The status says how and error.message says why.
errorErrorDetailrequiredShow propertiesHide properties
codestring | nullA code for programs to branch on, when the error has one.
messagestringrequiredWhat went wrong, in a sentence a person can read.