POST
Create Embedded Checkout Session

Autorizações

Authorization
string
header
obrigatório

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

Corpo

application/json
mode
enum<string>
obrigatório
Opções disponíveis:
subscription
workspaceId
string
obrigatório
plan
enum<string>
obrigatório
Opções disponíveis:
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.

Resposta

Default Response

clientSecret
string
obrigatório