Payment routing
One checkout, three rails — Stripe Connect, PayPal, crypto — with provider-specific capture, fee, and refund behavior handled behind a single flow.
Home / Work / Case study
Case study · Role: lead engineer
A production two-sided marketplace for fine jewelry — buyers, sellers, offers, checkout, three payment rails, payouts, refunds, disputes, and shipping. Delivered as lead engineer on the live platform.
The problem
A jewelry marketplace moves high-value orders between strangers. That means seller onboarding and identity, payment routing across providers, platform fees, refunds that must never double-fire, disputes with evidence flows, shipment states that interact with payment states, and payouts that have to reconcile to the cent. Every one of those has edge cases that only appear under real traffic.
Architecture
What was engineered
One checkout, three rails — Stripe Connect, PayPal, crypto — with provider-specific capture, fee, and refund behavior handled behind a single flow.
Webhook handling, retry-safe captures and refunds, row-level locking on balance changes, and reconciliation paths for every provider.
Offers, cart checkout, order states, shipment integration, and the state machine connecting payment status to fulfillment.
Connected-account onboarding, split payments, platform fees, payout scheduling, and failure recovery.
A role-aware control center for transactions, orders, users, shipments, and records — the operator's daily surface.
Listings, search, chat, notifications, and post-order flows that keep both sides informed without support tickets.
Screens




The fixed-price audit applies the lessons above to your platform — in 5 business days.