Account and billing

Create checkout session

Create a hosted Stripe Checkout session for an available paid plan.

POST/api/v1/billing/checkout-sessions

Authentication: REST bearer token required.

Parameters

planstringrequired

BodyThe plan to purchase: plus or pro.

Responses

201

A short-lived hosted checkout URL.

400

The request is invalid or contains an unsupported value.

401

The bearer token is missing, invalid, or expired.

403

The account plan or current grant does not allow the action.

409

The request conflicts with the current resource state.

503

The required provider or service is not configured or available.