Documentation
Revenue
Build recurring billing and invoicing flows that stay organized.
DocumentationRevenuePOSTServer key
Method
POST
Endpoint
/v1/billing_portal/sessions
Notes
Customer self-serve
Recurring billing
Invoice control
Customer self-service
Quick steps
- 1Decide whether the flow is subscription-based or invoice-based.
- 2Keep billing actions small and webhook-driven.
- 3Use the related pages to handle retries, customer updates, and status changes.
Revenue model
Use this area for recurring billing, invoices, and customer billing control.
- Subscriptions handle repeat billing.
- Invoices are good for one-off or manual billing.
- Portal access keeps customer updates self-serve.
Default setup
Keep the first billing flow simple, then add proration, trials, or metered usage later.
Previous
Payment Intents
Use the core payment API for flexible payment handling.
Next
Subscriptions
Recurring billing for SaaS and membership products.