← Back to work

CASE FILE 01PlatformLIVE

YPay

Tenant-aware payout platform

A live platform that gives fleets and drivers one traceable payout lifecycle from balance visibility to reconciliation.

YPay home page on a desktop browser
Role
Product and systems engineer
Status
Live in production
Stack
Next.js 16 · React 19 · TypeScript · Drizzle ORM · PostgreSQL

Overview

YPay is designed around tenant isolation, payout risk control, and infrastructure clarity. The product combines host-bound tenant routing, role-separated admin and driver surfaces, external provider integrations, and an auditable payout lifecycle.

Problem and constraints

Financial operations require strict tenant isolation, auditable state changes, and resilient third-party boundaries.

What was built

Designed and implemented the tenant model, product surfaces, payment integrations, and deployment topology.

  • Built as a Next.js 16 monolith with typed integration modules, Drizzle ORM, PostgreSQL, and tenant-bound host parsing.
  • Implements Yandex Fleet, Bird Verify, and Bank of Georgia integration layers for balances, OTP delivery, and payment submission.
  • Supports driver-side payout requests, reconciliation visibility, and event history with clear admin oversight.
  • Structured for production and development VPS targets behind a shared host-level proxy stack.

Architecture

  1. Fleets and drivers

    • Driver app
    • Admin workspace
    • Tenant host per fleet
  2. YPay

    • Next.js 16 monolith
    • Payout lifecycle + audit
    • Drizzle ORM
  3. Providers

    • Yandex Fleet · balances
    • Bird Verify · OTP
    • Bank of Georgia · payments
Each fleet reaches YPay on its own host; provider calls stay behind typed integration modules.

Stack

  • Next.js 16
  • React 19
  • TypeScript
  • Drizzle ORM
  • PostgreSQL
  • Yandex Fleet
  • Bird Verify
  • Bank of Georgia