Billing
Inspect plan usage and manage credits and billing flows.
| Method | Endpoint | Operation |
|---|---|---|
GET | /v1/billing/plans | List available billing plans |
POST | /v1/billing/current/plan-purchases | Create a billing plan purchase |
GET | /v1/billing/current/history | List current billing history |
GET | /v1/billing/current/subscription | Get the current billing subscription |
GET | /v1/billing/current/usage | Get current billing usage |
POST | /v1/billing/current/ai-credits/checkouts | Create an AI credit checkout |
POST | /v1/billing/current/subscription/cancel | Cancel the current billing subscription |
GET | /v1/billing/current/ai-credits/activity | List AI credit activity |
GET | /v1/billing/current/ai-credits/balance | Get the current AI credit balance |
GET | /v1/billing/current/ai-credits/catalog | Get the current AI credit catalog |
GET | /v1/billing/current/checkouts/{sessionId} | Get an active billing checkout |
POST | /v1/billing/current/checkouts/{sessionId}/confirm | Confirm an embedded billing checkout |