All work

SaaS · Revenue retention

MRRX

Cancellation interception for Stripe-based SaaS. When a subscriber tries to cancel, MRRX steps in with pause, discount, or downgrade offers — one API call, five-minute setup.

Status
Live
Outcome
Live in production at mrrx.app with a public API.
Stack
Next.jsTypeScriptNeon PostgresClerk authStripe webhooksRow-level securityEdge functionsVercel
MRRX screenshot

The problem

SaaS founders lose revenue to cancellations they never get a chance to respond to. Building a retention flow in-house means webhooks, offer logic, Stripe edge cases, and a dashboard — weeks of work for something that isn’t the product.

What we built

A multi-tenant platform that listens to Stripe events in real time, presents configurable save offers at the moment of cancellation, and reports recovered revenue per account. Every tenant’s data is isolated at the database layer with row-level security.

Engineering highlights

  • Stripe webhooks

    Idempotent, real-time revenue event processing

  • Neon Postgres

    Serverless database with connection pooling

  • Clerk auth

    User management with organization support

  • Edge functions

    Sub-100ms API responses

  • Row-level security

    Per-tenant data isolation at the DB layer