Billing API
Access your subscription plan, track real-time usage, initiate plan changes, and download invoices. Powered by Stripe for payments and Orb for usage metering. Base path:/v1/billing
List Plans
GET /v1/billing/plans
Retrieve all available pricing plans.
Create Checkout Session
POST /v1/billing/checkout
Create a Stripe checkout session for subscribing to or upgrading a plan. Returns a URL to redirect the user to the Stripe-hosted payment page.
Stripe price ID of the target plan (from the plans list)
URL to redirect to after successful payment
URL to redirect to if the user cancels
Get Current Usage
GET /v1/billing/usage
Retrieve your current billing period usage metrics from Orb. Includes per-channel message counts, voice minutes, and agent invocations.
List Invoices
GET /v1/billing/invoices
Retrieve past invoices for your organization from Stripe.
Invoice amounts are in the smallest currency unit (e.g., cents for USD). Divide by 100 for display.