Skip to main content
POST
/
billing
/
checkout
Create Checkout Session
curl --request POST \
  --url https://api.example.com/billing/checkout \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "plan": "starter"
}
'
{
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
plan
string
default:starter

Response

Successful Response

url
string
required