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