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

Finish an upgrade once its card is added

After Stripe Checkout added the card an upgrade asked for (AERO-3835): makes it the subscription's card and moves the plan up at once, charging the prorated difference now, as the portal does. A declined card charges nothing, leaves the plan as it was and isn't kept; a bank that wants the payment confirmed gets Stripe's page for it, and nothing is charged unless the member confirms. Safe to call again: it charges once per checkout, whether this or Stripe's webhook finishes it first. Needs `subscription.edit`.

POST/v1/orgs/{orgId}/billing/card-upgrade

After Stripe Checkout added the card an upgrade asked for (AERO-3835): makes it the subscription's card and moves the plan up at once, charging the prorated difference now, as the portal does. A declined card charges nothing, leaves the plan as it was and isn't kept; a bank that wants the payment confirmed gets Stripe's page for it, and nothing is charged unless the member confirms. Safe to call again: it charges once per checkout, whether this or Stripe's webhook finishes it first. Needs subscription.edit.

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/card-upgrade" \  -H "Content-Type: application/json" \  -d '{    "checkoutSessionId": "cs_test_a1b2c3"  }'
{  "outcome": "upgraded",  "plan": "spark",  "reason": "string",  "url": "https://example.com"}