POST
Create Embedded Checkout Session

Autorisierungen

Authorization
string
header
erforderlich

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

Body

application/json
mode
enum<string>
erforderlich
Verfügbare Optionen:
subscription
workspaceId
string
erforderlich
plan
enum<string>
erforderlich
Verfügbare Optionen:
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.

Antwort

Default Response

clientSecret
string
erforderlich