POST
/
v3
/
billing
/
one-time-checkout
Create One-Time Checkout Session
curl --request POST \
  --url http://127.0.0.1:3333/v3/billing/one-time-checkout \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "workspaceId": "<string>",
  "returnUrl": "<string>"
}
'
{
  "clientSecret": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
workspaceId
string
required
returnUrl
string
required
items
object[]
metadata
object
currency
string

Response

Default Response

clientSecret
string
required