BuildWithHQ
Canonical knowledge unit · operations

Stripe and billing source-of-truth boundaries

BuildWithHQ reconciles Stripe payment/subscription state into SQL for entitlements and display while treating Stripe as authoritative for external payment objects and keeping end-SaaS billing separate from platform billing.

ID: BWHQ-OPS-003Status: currentAuthority: highstripebillingwebhooksidempotency

Stripe and billing source-of-truth boundaries

Platform billing

The central control plane tracks the BuildWithHQ builder/customer subscription, invoices, payments, refunds, checkout state, and resource add-ons.

Stripe boundary

Stripe owns external customer/subscription/invoice/payment/refund/payment-method state. SQL stores identifiers and a reconciled projection used for entitlements, capacity, audit, and support.

Required mechanics

Separation

Billing that a builder charges the end customers of a generated SaaS belongs to that SaaS application data plane, not the BuildWithHQ platform billing ledger.

Machine-readable source: canonical Markdown. This HTML companion exists for human reading, search indexing, and AI retrieval.