Skip to main content
POST
Create Checkout Session

Authorizations

Authorization
string
header
required

Pass an API key (prefixed lk_) or a JWT access token as a bearer token. Generate API keys in the dashboard at https://dashboard.lyceum.technology/api-keys.

Body

application/json
credits_amount
integer
required
success_url
string | null
cancel_url
string | null

Response

Successful Response

checkout_url
string
required
session_id
string
required