Retrieve a checkout session
Returns a single checkout session by ID, including the order, subscription, and payment method it produced (if any).
Authorizations
The Server API Key obtained from the kelviq application. Pass as a Bearer token in the Authorization header. Example: 'Authorization: Bearer YOUR_API_KEY'
Path Parameters
The checkout session ID.
Response
The checkout session.
A single checkout session, with the order/subscription/payment method it produced.
Checkout session ID.
"cs_a1B2c3D4e5F6g7H8i9J0k1L2m3N4o5P6q7R8s9T0u1V2"
A product in the catalog. Each product can have multiple plans, images and files.
The billing address of the customer.
null
null
"usd"
"$"
Typical values: open, processing, success, expired.
"open"
"2026-07-29T10:30:00Z"
Selected plan/addons for this session.
Snapshot of the product/plan offering shown at checkout.
Customer-submitted responses to custom checkout fields.
Customer-supplied metadata passed at checkout session creation.
Customer-supplied checkout UI customization passed at session creation.
Trial period length in days.
0
null until an order has been created from this session.
null if the order has no linked subscription.
The payment method used for the order's first successful transaction. null if no successful transaction exists yet.