Skip to content

Billing API

15 endpoints. All requests need an Authorization header — see Authentication. API keys additionally need the matching scope.

Method Path Description
POST /api/billing/checkout Create Checkout Session Accepts a JSON body.
GET /api/billing/plans List Plans
POST /api/billing/portal Create Portal Session
GET /api/billing/subscription Get Subscription
GET /api/billing/usage-summary Usage Summary
GET /api/stripe-payments/config Get Config
POST /api/stripe-payments/config Save Config Accepts a JSON body.
DELETE /api/stripe-payments/config Disconnect Config
POST /api/stripe-payments/config/test Test Config
POST /api/stripe-payments/orders/{order_id}/checkout Create Order Checkout Accepts a JSON body.
GET /api/stripe-payments/orders/{order_id}/payments List Order Payments
POST /api/stripe-payments/products/sync-all Sync All Products
GET /api/stripe-payments/products/sync-status Product Sync Status
POST /api/stripe-payments/products/{product_id}/sync Sync Single Product
GET /api/stripe-payments/setup-status Setup Status

Try it

The full request/response schema for every endpoint is in the OpenAPI spec served by your own workspace.