Skip to content

Billing Pricing

Chargebee is the authoritative product and invoice source. Sirloin reads Chargebee product and invoice state and exposes product data through billing APIs.

Product display is computed from ListProducts responses. Frontend plan constants still provide UI metadata, ordering, feature copy, and local presentation rules, but they do not replace Chargebee as the billing source of truth.

Billing credits are calculated from Chargebee metadata through Sirloin billing events. Credit application must remain idempotent and auditable.

  • proto/sirloin/v5/billing.proto
  • apps/sirloin/internal/app/services/billing/products/
  • apps/sirloin/internal/app/services/billing/events/credits.go
  • apps/brisket/src/features/products-provider/helper-functions.ts
  • apps/brisket/src/features/checkout/components/constants