v2

latestOpenAPI 3.1.0Source-specific upstream terms; see response catalog metadata2026-07-26139203447.9 KB
Billing
User

Create a Stripe Customer Portal session through the legacy alias

Deprecated alias of POST /api/v1/billing/portal. Requires an authenticated browser session and a valid CSRF token supplied either in X-CSRF-Token or the form field csrf. New clients must use the canonical billing route.

post/api/v1/portal

Headers

X-CSRF-Tokenstring

Required unless the same token is sent in the form field csrf.

Response

Stripe Customer Portal URL

urlstring uri required
session_idstring required