Skip to main content

Create checkout session to create a new subscription

Create checkout session to create a new subscription

Request Body REQUIRED
email string REQUIRED
company string REQUIRED
workspaceId string REQUIRED
currency string REQUIRED

Possible values: [usd, eur]

plan string REQUIRED

Possible values: [STARTER, PRO]

returnUrl string REQUIRED
additionalChats number REQUIRED
additionalStorage number REQUIRED
vat object
type string REQUIRED
value string REQUIRED
isYearly boolean REQUIRED
Responses
200

Successful response

Schema
checkoutUrl string
default

Error response

Schema
message string
code string
issues object[]
message string