Start a checkout for a paid plan
Makes a checkout intent and its Stripe Checkout Session (AERO-1147): a new org's, made once it's paid for, or an existing org's without a paid plan (`orgId`, which needs `subscription.edit`). A second click while one is open gives the same session.
/v1/checkout-intentsMakes a checkout intent and its Stripe Checkout Session (AERO-1147): a new org's, made once it's paid for, or an existing org's without a paid plan (orgId, which needs subscription.edit). A second click while one is open gives the same session.
Authorization
synq A Synq access token for this API: bnc.read for reads, bnc.write for changes.
In: header
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/checkout-intents" \ -H "Content-Type: application/json" \ -d '{ "plan": "spark", "currency": "usd", "orgName": "string", "orgId": "org_01j3sa8pvcfp79z85hrb9y9xd6", "promotionCode": "string", "referralCode": "string", "utm": {} }'{ "id": "checkout_01j3sa8pvcfp79z85hrb9y9xd6", "statusUrl": "https://acme.example", "status": "open", "plan": "spark", "orgId": "org_01j3sa8pvcfp79z85hrb9y9xd6", "url": "https://example.com", "expiresAt": "2026-10-21T12:00:00.000Z"}A checkout's state, for the return page GET
Completes the org from Stripe when the session is paid and the webhook has not yet: whichever comes first makes it, once.
Report an error an app showed a person POST
For Burn & Claim’s own apps: the code of an error a person saw and the route it showed on, so a failure on our side reaches staff even when the API never saw it. A wallet approval that ended without signatures carries its `roundId`, how it ended and the wallet’s scrubbed words. Send no wallet, amount, typed text or query. Answers 204 and stores nothing but a count and a log line, and, when approvals keep failing, one staff alert.