POST
/
v3
/
billing
/
subscription
/
custom-checkout
Create Enterprise Custom Checkout Session
curl --request POST \
  --url http://127.0.0.1:3333/v3/billing/subscription/custom-checkout \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>",
  "workspaceId": "<string>",
  "returnUrl": "<string>"
}
'
{
  "checkoutUrl": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
email
string
required
workspaceId
string
required
returnUrl
string
required

Response

Default Response

checkoutUrl
string
required