subscriptions

Create Customer Portal Session

Create a Stripe customer portal session for subscription management.

Args: request: Portal session request data ctx: Application context with user, session, and company_id

Returns: Customer portal URL

post/api/v1/subscriptions/portal-sessions

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/api/v1/subscriptions/portal-sessions
  • Auth: none declared

Headers

Authorizationstring

Request body

return_urlstring required

URL to return to from portal

Response

Successful Response

successboolean required
dataunknown
messagestring nullable
errorstring nullable
metaobject nullable

Changes

No recorded changes to this operation across all 1 revision of this API.