Skip to main content
POST
/
v1
/
billing
/
portal
Billing Portal
curl --request POST \
  --url https://api.example.com/v1/billing/portal
Creates a billing portal session. From the portal, users can update payment methods, change plans, view invoices, or cancel. Requires an existing billing account (must have subscribed at least once).

Response

{
  "portal_url": "https://billing.example.com/p/session/...",
  "hint": "Open this URL to manage your subscription, update payment method, or cancel."
}