POST
Create Embedded Checkout Session

Autorizări

Authorization
string
header
obligatoriu

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

Corp

application/json
mode
enum<string>
obligatoriu
Opțiuni disponibile:
subscription
workspaceId
string
obligatoriu
plan
enum<string>
obligatoriu
Opțiuni disponibile:
CORE,
SCALE,
DEDICATED
priceId
string
customerEmail
string
returnUrl
string<uri>
currency
string
replacePendingCheckout
boolean

Explicitly use the purchase-intent protocol. When enabled for the workspace, an unpaid previous offer/provider may be superseded; verified late funds require reconciliation and never activate a second plan.

Răspuns

Default Response

clientSecret
string
obligatoriu