Skip to main content
POST
Create checkout session

Authorizations

Authorization
string
header
required

Every public HTTP request requires Authorization: Bearer <api_key>, except GET /models and the public /billing/pricing endpoints.

  • 401 means the key is missing, unknown, or revoked.
  • 403 means the key is valid but cannot access the requested resource.
  • The publish token returned by POST /streams is only for publishing media to LiveKit. It does not replace the API key for HTTP calls.

Body

application/json
amount_cents
integer
required

Amount to charge, in cents. Must be at least 100.

Required range: x >= 100

Response

Checkout URL.

url
string
required

Hosted checkout URL.