Skip to content
Dunify
All case studies
FintechConfidential — Fintech·22 weeks

Usage-based billing engine for a B2B fintech

Metered billing, invoicing, and revenue analytics, rebuilt

Overview

Engineered a high-throughput usage-based billing system handling metering, plan logic, dunning, and revenue analytics for thousands of B2B accounts.

Challenge

Legacy billing couldn't model usage tiers, leaked revenue on edge cases, and blocked product-led growth experiments.

Solution

Built an event-sourced billing core with idempotent metering, audit-grade ledgers, plan versioning, and a Stripe-integrated invoicing layer.

Outcome

Unblocked monetization experiments, eliminated leaked revenue, and reduced finance reconciliation effort dramatically.

Highlights

  • Event-sourced billing core
  • Plan versioning & retro-billing
  • Stripe invoicing integration
  • Finance-grade audit trail

Stack

Node.jsTypeScriptPostgresKafkaStripeKubernetes
Let's build something durable

Ready to ship a product that compounds?

Book a free 30-minute discovery call. We'll map the architecture, the risks, and the smartest path from here.