Skip to content
LogoLogo

Create a hosted customer billing portal session

Create a hosted customer billing portal session

POST/api/v1/workspaces/{workspace_id}/billing-portal-sessions

Creates a short-lived provider-hosted portal URL for a Workspace that already has a provider customer reference.

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

Responses