Burn & Claim’s new API is in preview: these pages describe it as it will be at launch.
Burn & Claim Docs

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).

POST/v1/orgs/{orgId}/billing/portal

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).

Authorization

AuthorizationBearer <token>

A Synq access token for this API: bnc.read for reads, bnc.write for changes.

In: header

Path Parameters

orgId*string

The organization's id

Match^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"}