A Stripe customer portal session for the org
The plain portal, or deep-linked to confirming a plan change (upgrades at once with proration, downgrades at renewal) or to cancelling at period end (AERO-1148). An upgrade that charges now with no card on file goes to Stripe Checkout to add a card first instead, and Stripe sends the member back to the dashboard, which finishes it with `POST /v1/orgs/{orgId}/billing/card-upgrade` (AERO-3835).
/v1/orgs/{orgId}/billing/portalThe plain portal, or deep-linked to confirming a plan change (upgrades at once with proration, downgrades at renewal) or to cancelling at period end (AERO-1148). An upgrade that charges now with no card on file goes to Stripe Checkout to add a card first instead, and Stripe sends the member back to the dashboard, which finishes it with POST /v1/orgs/{orgId}/billing/card-upgrade (AERO-3835).
A Synq access token for this API: bnc.read for reads, bnc.write for changes.
In: header
Path Parameters
The organization's id
^org_[0-9a-hjkmnp-tv-z]{26}$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/v1/orgs/string/billing/portal" \ -H "Content-Type: application/json" \ -d '{ "flow": "manage", "plan": "spark" }'{ "url": "https://example.com"}