Skip to content
Start In Cloud

Create billing checkout session

POST
/api/cloud/billing/checkout

Creates a Stripe Checkout session to upgrade the authenticated hosted cloud team to a paid plan.

object
locale
string
plan_code
required
string
Allowed values: pro business

Billing checkout session

object
url
required
string

Invalid request

object
message
string

Unauthorized

object
message
string

Cloud billing account not found

object
message
string

Use billing portal to manage an existing paid plan

object
message
string

Unable to start checkout

object
message
string