Skip to main content
POST
Open the billing portal
Open the hosted billing portal so a user can update a saved card, view invoices, or download receipts. Scope the portal to a personal billing customer or to a team (organization) billing customer.

Authentication

Requires a Bearer token with the billing scope. See Authentication.

Body

string
"user" (default when personal) or "org" (default when the caller is inside a team and holds manageBilling). Team scope additionally requires the team to have a payment method already on file — callers who try the team portal before funding billing get a 409 team_billing_setup_required error instead.

Example

curl
SDK

Response

Errors