REST APIAPI reference
Billing
Plan subscriptions through Stripe (cloud mode)
10 operations, generated from apps/api/openapi.yaml (OpenAPI 3.2). Each page has the parameters, request body, responses and code samples, and a Send button to try the request against your cloud instance.
- GET
/v1/billingSubscription statusSubscription status (admin) - GET
/v1/billing/detailsSubscription period, cards on file and invoicesSubscription period, cards on file and invoices (admin) - POST
/v1/billing/checkoutPay for a plan, or switch the subscription to another planPay for a plan, or switch the subscription to another plan (account owner) - GET
/v1/billing/x-postsPosts to X this periodPosts to X this period (posts:read) - POST
/v1/billing/credits/checkoutBuy extra posts to XBuy extra posts to X (account owner) - GET
/v1/billing/addonsAdd-ons on sale and which the workspace hasAdd-ons on sale and which the workspace has (admin) - POST
/v1/billing/addons/{id}Add an add-on to the subscriptionAdd an add-on to the subscription (account owner) - DELETE
/v1/billing/addons/{id}Remove an add-onRemove an add-on (account owner) - POST
/v1/billing/portalOpen the Stripe customer portalOpen the Stripe customer portal (admin) - POST
/v1/billing/webhookStripe webhook endpoint