Endpoints 10
- Get complete billing information for workspaceGET
/api/billing/workspace/{workspaceId} - Create Stripe checkout session for plan upgradePOST
/api/billing/checkout - Cancel workspace subscriptionPOST
/api/billing/subscription/cancel - Reactivate canceled subscriptionPOST
/api/billing/subscription/reactivate - Get current usage statisticsGET
/api/billing/usage/{workspaceId} - Get billing history/invoicesGET
/api/billing/history/{workspaceId} - Create setup intent for payment method collectionPOST
/api/billing/payment-method/setup - Update workspace payment methodPOST
/api/billing/payment-method/update - Update billing informationPOST
/api/billing/update-info - Create Stripe customer portal sessionGET
/api/billing/portal/{workspaceId}
