Skip to main content
POST
Create a billing checkout session

인증

Authorization
string
header
필수

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

헤더

Idempotency-Key
string

본문

application/json
productType
enum<string>
필수
사용 가능한 옵션:
subscription,
topup
quantity
integer
필수
필수 범위: x <= 9007199254740991
platform
enum<string>
기본값:api
필수
사용 가능한 옵션:
web,
desktop,
desktop_v3,
cli,
sdk,
api
cycle
enum<string>
사용 가능한 옵션:
monthly,
yearly

응답

200 - application/json

Checkout session

url
string<uri>
필수
sessionId
string
필수
checkoutId
string
필수
provider
enum<string>
필수
사용 가능한 옵션:
stripe,
lemon_squeezy,
freekassa