Skip to main content
POST
/
v1
/
billing
/
checkout
Create Stripe checkout session
curl --request POST \
  --url https://api.example.com/v1/billing/checkout \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "plan": "<string>"
}
'
{
  "checkout_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
required

Response

Successful Response

checkout_url
string
required