Organizations

Open the Stripe Customer Portal for this org

Mints a single-use URL into Stripe's hosted Customer Portal where the org owner can view invoices, download PDFs, update payment methods, change billing details, and manage their subscription. The portal is the primary surface for invoice access — there is no direct invoice API. owner only (the portal is a mixed read+mutate surface exposing subscription cancel / payment-method mutation; per the org RBAC matrix only owner holds billing: full, while admin and auditor hold billing: view and have a separate read-only path via GET /orgs/{org_id}/billing/summary). A non-owner receives 403 before any billing state is read — Stripe-customer existence is never disclosed to unauthorized roles.

post/orgs/{org_id}/billing/portal-session

Request

  • Base URL: https://api.mnemom.ai/v1
  • URL: https://api.mnemom.ai/v1/orgs/{org_id}/billing/portal-session
  • Auth: HTTP bearer

Path parameters

org_idstring required

Organization identifier (e.g. org-abc12345)

Request body

return_urlstring uri

Where Stripe redirects the customer after they finish in the portal. Must be https://*.mnemom.ai. Defaults to the dashboard billing page.

Response

Portal session created. Redirect the customer to url.

urlstring uri

Changes

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