Health · AI · Payments
SwipeHealth
A subscription health platform with an AI data layer.
Role · Backend ArchitectYear · 2025
1 ledger
unified Stripe (web) + RevenueCat (mobile)
01 — The problem
Subscriptions split across Stripe on web and RevenueCat on mobile drift out of sync, and billing edge cases multiply with every platform.
02 — The decision
One unified subscription model as the single source of truth; every webhook reconciles back to it. Async jobs absorb the edge cases instead of the request path.
03 — Architecture
- Unified subscription architecture spanning Stripe + RevenueCat
- Webhook handling across the full payment lifecycle
- BullMQ async jobs; LLM pipelines for data extraction, validation, and enrichment
- Clerk auth; AWS Amplify (Next.js) deploy with Pulumi IaC
04 — Outcome
Payment state stays consistent across web and mobile, while LLM pipelines clean and enrich data automatically.
Stack
NestJSNXNextJSStripeRevenueCatBullMQClerkPulumi