A complete Python billing system for SaaS applications. Handles subscription plans, customer management, usage metering, invoice generation, and webhook processing — all built on Python's standard lib
Subscription plans — Free, flat-rate, and metered billing with monthly/yearly intervals
Customer management — Create customers, link to your internal user/tenant IDs
Usage metering — Record API calls, storage, compute with idempotency protection
Invoice generation — Automatic line items for base plan + metered usage
Webhook processing — Verify HMAC-SHA256 signatures, dispatch to typed handlers
Trial support — Configurable trial periods per subscription
Configure Billing Integration parameters to see how the product works.
# Start the billing server with demo data python src/main.py --init-demo # Start on a custom port python src/main.py --port 8001