
Pricing & Monetization
Event-Based Billing Explained: Examples & How to Build It
Anh-Tho Chuong•Aug 10•5 min read
Feb 23
/7 min read
Choosing a billing platform is one of the highest-leverage infrastructure decisions a SaaS company makes. It shapes how fast you can change pricing, how much engineering time gets eaten by maintenance, and whether you can scale from self-serve to enterprise without rebuilding from scratch.
Most companies approach this reactively. They build in-house when they should buy, or they lock into a vendor that can't grow with them. Most companies now change pricing at least once a year, and most say their billing stack can't keep up. That gap between pricing ambition and billing capability is where revenue gets left on the table.
This framework covers five dimensions to evaluate in 2026, whether you're replacing an in-house system, migrating off a legacy vendor, or choosing your first billing infrastructure.
Most SaaS companies should buy rather than build. Building looks appealing because you get control: you design the data model, own the logic, avoid vendor fees. The reality is that billing is deceptively deep. A simple Stripe integration turns into metering pipelines, invoice generation, tax calculation, payment reconciliation, dunning logic, and revenue recognition, all of which need to stay in sync and handle edge cases correctly.
Most companies with meaningful scale end up on commercial billing platforms instead of in-house systems, and it's not hard to see why. Building billing to even basic functionality takes a multi-engineer team several months, and that team keeps spending a large share of its time on maintenance long after launch, time that should go to product work instead.
Building in-house is defensible in a narrow set of cases: billing IS your product (you're a fintech or payments company), you have genuinely unique billing logic no platform supports, or regulation requires you to control every line of code. Even then, most teams build on top of an open-source billing core rather than starting from zero.
For everyone else, the question isn't build vs. buy, it's which platform fits your trajectory. SquadStack saved 80 engineering hours per quarter after moving from an in-house system to a third-party platform, hours that went straight back into product.
The economics get stronger once you factor in ongoing cost. Companies using a dedicated pricing catalog report far fewer pricing-related engineering tasks than teams managing pricing logic ad hoc. When the platform handles the complexity, a pricing change becomes a configuration update instead of a sprint.
This is the single most important criterion. Your platform needs to support the pricing you use today and the pricing you'll need in 12 to 18 months.
Companies running hybrid pricing (subscription plus usage) are widely reported to outgrow pure-subscription peers, though the exact numbers vary by source. Check whether the platform supports real-time usage metering rather than batch calculations. Check whether it handles hybrid models where subscription and usage charges land on the same invoice with correct proration. Check whether it supports credits-based systems with wallets, auto top-ups, and expiration. Check whether graduated, volume, percentage, and package pricing are all configurable without code.
The real test: can product launch a new tier in hours, or does it need an engineering sprint? If it's the sprint, the platform becomes your bottleneck.
If you do any usage-based or consumption pricing, and a majority of SaaS companies now do, your platform's metering has to hold up. Real-time event ingestion is the baseline, not a nice-to-have. It matters for enforcing free-tier limits in product-led growth, for real-time usage dashboards customers now expect, and for progressive billing that invoices at usage thresholds.
Beyond raw speed, check the aggregation. Can it handle count, sum, unique count, weighted sum, and maximum across different metrics at once? Can it filter events by properties like region or feature tier to support multi-dimensional pricing? That's what separates sophisticated pricing from simple per-unit charges.
This gets overlooked until you go international. The question is whether the platform locks you into one processor or supports several.
Processor lock-in is one of the most expensive dependencies you can take on. A European enterprise customer wants SEPA through GoCardless, a US startup pays by card through Stripe, an Asian customer needs a local rail through Adyen. A platform tied to one processor either costs you revenue or forces you to build custom integrations around it. This is especially sharp for fintech billing, where regulation dictates which rails you can use where.
Also check the automation: automatic collection on invoice finalization, retry logic on failed payments, dunning workflows, reconciliation. These directly affect your collection rate and involuntary churn.
Even early, evaluate for what you'll need within two years: minimum commitments with true-ups, custom plan overrides for negotiated pricing that don't require one-off plans, multi-entity billing across subsidiaries and geographies, prepaid wallets with volume discounts and configurable top-ups.
Revenue recognition compliance (ASC 606/IFRS 15) belongs on this list too. If the platform can't produce audit-ready recognition schedules, finance inherits that work by hand.
The real cost of picking a platform that can't handle enterprise billing isn't the subscription fee. It's the 6-to-12-month migration project when you outgrow it, typically 50 to 100% of annual software spend once you count engineering time, data migration, testing, and the revenue risk of running two systems during cutover.
Billing feeds accounting, CRM, data warehouses, tax engines. The integration architecture determines whether those connections are native, API-driven, or manual.
Prioritize API-first design, where everything in the UI is also available programmatically. In a product-led company, billing is a product function, not a back-office tool. Engineering needs to surface usage data in-app, trigger upgrade prompts off consumption, and let customers self-manage plans.
Check the webhook system too. Event-driven architectures depend on reliable, documented webhooks for invoice events, payment status, subscription lifecycle, and usage-threshold alerts. Gaps here compound over time.
Lock-in is the most underrated risk in this whole decision. Vendors know switching costs are real, so most companies absorb 10-to-15% annual price increases rather than migrate. That compounds into 20-to-30% effective increases once you add migration surcharges, credit multiplier changes, and forced bundles.
It shows up three ways. Technical lock-in: proprietary data formats or non-standard APIs that make migration expensive. Financial lock-in: multi-year contracts and auto-renewal clauses that penalize leaving. Operational lock-in: your team's workflows become dependent on features that don't exist anywhere else.
During evaluation, ask whether you can export all billing data (invoices, subscriptions, usage events, customer records) in standard formats at any time. Ask whether the APIs and data models are open or proprietary. Ask whether your payment processor relationship is yours or mediated by the platform. Ask what happens to your historical data if you leave.
Contract terms matter as much as the technology. Negotiate for data portability, reasonable termination, pricing guarantees. A platform offering month-to-month pricing is signaling confidence in its product. One that demands multi-year commitments might be compensating for churn.
Open-source billing has matured into a real structural alternative, not just a cost play. Four advantages stand out. Transparency: you can inspect and audit exactly how the engine calculates invoices, no black box. Deployment flexibility: self-host for full data control, or run managed for convenience. No lock-in: you own the code and the data, and if the vendor disappears or raises prices, you fork and keep going. Community-driven development: the roadmap isn't dependent on one company's priorities.
Proprietary platforms trade that for faster initial setup and less technical overhead for non-engineering teams. You give up some control to get there.
For regulated industries, fintechs, or anyone with strict data sovereignty requirements, the ability to self-host billing infrastructure is close to non-negotiable. Lago is built around that: the deployment flexibility of an in-house build with the feature completeness of a commercial platform, eight charge models, real-time ingestion past 1M events per second, and native integrations with Stripe, Adyen, and GoCardless.
If you're comparing named vendors directly, see Lago vs Orb and Lago vs Metronome.
Not every dimension carries equal weight at every stage.
Early stage, pre-$1M ARR: pricing flexibility and time-to-integration matter most. You need to experiment with pricing without hitting engineering bottlenecks. Enterprise features can wait. Weight roughly 40% pricing flexibility, 30% integration speed, 20% metering, 10% enterprise readiness.
Growth stage, $1M to $20M ARR: metering accuracy and payment infrastructure start to matter as usage revenue scales. Self-serve portals and automated dunning move net dollar retention directly. Start looking at enterprise capabilities ahead of your first large contracts. Roughly 30% metering, 25% pricing flexibility, 25% payment infrastructure, 20% enterprise readiness.
Scale stage, $20M+ ARR: enterprise readiness and lock-in risk dominate. You need multi-entity billing, custom commitments, prepaid credit systems. Integration architecture matters because billing data now feeds a dozen downstream systems, and lock-in risk is a board-level question. Roughly 30% enterprise readiness, 25% lock-in risk, 25% integration architecture, 20% metering.
Platform fees are the visible cost and rarely the biggest one. A real TCO includes the subscription or usage fees, implementation (integration, migration, testing), ongoing maintenance (API updates, configuration, troubleshooting), the opportunity cost of engineering time spent on billing instead of product, and the revenue impact of billing limitations, like slow pricing changes or payment failures.
Hybrid pricing, subscriptions combined with usage, is now common enough among SaaS companies that it should be a baseline requirement, not an edge case. A platform that can't support it without custom engineering is costing you growth even when its sticker price looks low.
The most expensive platform is the one you outgrow in 18 months. Factor migration into TCO: 50 to 100% of annual software spend, 3 to 6 months of engineering time, and the revenue risk of running parallel systems during cutover.
Billing platform selection isn't procurement. It's an infrastructure bet on how you'll monetize for the next 3 to 5 years. Start with build vs. buy, evaluate across the five dimensions weighted for your stage, quantify lock-in and TCO, and pick a platform that supports where your pricing is headed, not just where it is now.
The companies that get this right treat billing as a growth lever. The ones that don't spend the next two years working around their platform's limits, or migrating off it.
Book a demo to see how Lago handles pricing flexibility, metering, and enterprise readiness in one system.