Skip to main content
POST
Create a billing checkout session

Autorisierungen

Authorization
string
header
erforderlich

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Header

Idempotency-Key
string

Body

application/json
productType
enum<string>
erforderlich
Verfügbare Optionen:
subscription,
topup
quantity
integer
erforderlich
Erforderlicher Bereich: x <= 9007199254740991
platform
enum<string>
Standard:api
erforderlich
Verfügbare Optionen:
web,
desktop,
desktop_v3,
cli,
sdk,
api
cycle
enum<string>
Verfügbare Optionen:
monthly,
yearly

Antwort

200 - application/json

Checkout session

url
string<uri>
erforderlich
sessionId
string
erforderlich
checkoutId
string
erforderlich
provider
enum<string>
erforderlich
Verfügbare Optionen:
stripe,
lemon_squeezy,
freekassa