POST
Create Embedded Checkout Session

Autorizaciones

Authorization
string
header
requerido

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

Cuerpo

application/json
mode
enum<string>
requerido
Opciones disponibles:
subscription
workspaceId
string
requerido
plan
enum<string>
requerido
Opciones disponibles:
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.

Respuesta

Default Response

clientSecret
string
requerido