The org's plan, scheduled change, invoices, next invoice and payment method
The org's entitlements, scheduled plan change, invoices, next invoice and card, from Stripe and its mirror. Needs `billing.view`.
/v1/orgs/{orgId}/billingThe org's entitlements, scheduled plan change, invoices, next invoice and card, from Stripe and its mirror. Needs billing.view.
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}$Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/v1/orgs/string/billing"{ "entitlements": { "plan": "spark", "standing": "free", "warning": "string", "features": [ "burner.subdomain" ], "quotas": { "perMinute": { "scan": 0, "quote": 0, "build": 0, "submit": 0, "read": 0 }, "perMonth": 0, "linkedAssets": 0, "apiKeys": 0, "analyticsHistoryDays": 0 }, "comped": true, "trialEnd": "2026-10-21T12:00:00.000Z", "currentPeriodEnd": "2026-10-21T12:00:00.000Z", "cancelAtPeriodEnd": true, "endsAt": "2026-10-21T12:00:00.000Z", "overage": { "per1000Cents": "500", "currency": "usd" } }, "pendingPlan": "spark", "pendingAt": "2026-10-21T12:00:00.000Z", "billingEmail": "[email protected]", "invoices": [ { "id": "in_1QxYz2AbCdEfGh", "number": "string", "plan": "spark", "status": "string", "currency": "usd", "totalCents": "1900", "amountPaidCents": "1900", "amountRefundedCents": "1900", "hostedInvoiceUrl": "https://example.com", "invoicePdf": "https://example.com", "createdAt": "2026-10-21T12:00:00.000Z" } ], "upcoming": { "amountDueCents": "1900", "currency": "usd", "at": "2026-10-21T12:00:00.000Z" }, "paymentMethod": { "brand": "visa", "last4": "string", "expMonth": 0, "expYear": 2028 }}What moving to a plan would charge now GET
What moving to a plan would charge now, prorated, before the change is made. An org's first paid plan starts with its trial (`trialDays`) and charges nothing now. Needs `subscription.edit`.
The burner's visitors by day and where they came from: each counted once a day, anonymously GET
The burner's visitors by day and where they came from, each counted once a day with no cookie, beside its cleanups and what the org raised. Needs `analytics.view`.