Skip to content
Guides

Billing

Inspect plan usage and manage credits and billing flows.

MethodEndpointOperation
GET/v1/billing/plansList available billing plans
POST/v1/billing/current/plan-purchasesCreate a billing plan purchase
GET/v1/billing/current/historyList current billing history
GET/v1/billing/current/subscriptionGet the current billing subscription
GET/v1/billing/current/usageGet current billing usage
POST/v1/billing/current/ai-credits/checkoutsCreate an AI credit checkout
POST/v1/billing/current/subscription/cancelCancel the current billing subscription
GET/v1/billing/current/ai-credits/activityList AI credit activity
GET/v1/billing/current/ai-credits/balanceGet the current AI credit balance
GET/v1/billing/current/ai-credits/catalogGet the current AI credit catalog
GET/v1/billing/current/checkouts/{sessionId}Get an active billing checkout
POST/v1/billing/current/checkouts/{sessionId}/confirmConfirm an embedded billing checkout