01 · MonetKit 02 · OTTclouds Streaming 03 · Webhook Pipeline 04 · Observability
// case study 01 / 04

MonetKit — cross-platform subscription platform

lead design & development billing platform

A subscription management platform in the spirit of RevenueCat: one integration that normalizes the full billing lifecycle across Apple App Store, Google Play, and Stripe — so product teams stop re-implementing store quirks and start shipping.

The challenge

Apps selling subscriptions on iOS, Android, and web each speak a different billing dialect — different receipts, webhooks, renewal semantics, and edge cases. The goal: one platform that normalizes all three so a product team integrates once and trusts the state it reads.

What I owned
  • Core backend & domain model
  • Public API + SDK API — versioned, idempotent
  • Webhook pipeline & delivery guarantees
  • Entitlement engine
  • Admin portal frontend
Architecture — end-to-end billing flow
provider event verify & normalize transaction · subscription entitlement engine transactional outbox customer webhook
Key decisions
  • 01Canonical event model — Apple, Google, and Stripe lifecycles mapped into one internal vocabulary before any business logic runs.
  • 02Transactional Outbox — state change and outgoing event commit atomically; a delivery worker retries with backoff.
  • 03Idempotency everywhere — provider retries and out-of-order events are safe by design, not by luck.
  • 04Entitlements as derived state — recomputable from transaction history, which makes debugging and audits tractable.
NestJS TypeScript PostgreSQL Redis RabbitMQ Stripe Apple App Store Google Play Billing
← 04 · Observability 02 · OTTclouds Streaming →
© 2026 Cao Hữu Phúc ← back to all work