Skip to main content
POST
Create a billing checkout session

Autorizzazioni

Authorization
string
header
obbligatorio

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

Intestazioni

Idempotency-Key
string

Corpo

application/json
productType
enum<string>
obbligatorio
Opzioni disponibili:
subscription,
topup
quantity
integer
obbligatorio
Intervallo richiesto: x <= 9007199254740991
platform
enum<string>
predefinito:api
obbligatorio
Opzioni disponibili:
web,
desktop,
desktop_v3,
cli,
sdk,
api
cycle
enum<string>
Opzioni disponibili:
monthly,
yearly

Risposta

200 - application/json

Checkout session

url
string<uri>
obbligatorio
sessionId
string
obbligatorio
checkoutId
string
obbligatorio
provider
enum<string>
obbligatorio
Opzioni disponibili:
stripe,
lemon_squeezy,
freekassa