Payments20 Aug 2026
Stripe Metered Billing in NestJS — Idempotent Usage Records at Scale
How to buffer usage events with Redis Streams and report them to Stripe without hitting 429s or double-charging customers, using a NestJS batch worker and deterministic idempotency keys.
6 min readRead ↗