Back to Portfolio
FinTech InfrastructureLive

SurestPay

A secure payment processing backend built on microservices, with strict idempotency, distributed tracing, and a real-time monitoring dashboard. Cut partner onboarding time by 40% and hit zero dropped transactions at peak load.

Software Engineer
Apr 2024 - Aug 2025
FinTech
View project
SurestPay mobile app showing a successful bill payment
40%
Faster Partner Onboarding
30%
Operational Efficiency Gain
0
Dropped Transactions at Peak
Live
Real-Time Monitoring

The problem

In fintech, a dropped request isn't an error log. It's lost money, or a customer sitting in the dark because their electricity token never arrived. That was the mental model behind every architectural decision on SurestPay.

The platform needed to onboard partner banks and vendors quickly while keeping strict compliance and zero tolerance for dropped or duplicated transactions. Two problems were costing revenue when I joined.

Partner onboarding took weeks

Every bank integration was bespoke and manual. Partners waited weeks to go live, and business development was signing partners faster than engineering could integrate them.

Ops heard about incidents from customers

There was no real-time view of transaction health. When failures spiked, ops found out hours later from complaints. That gap was the difference between a five-minute incident and a five-hour one.

Onboarding: one contract, self-service

I redesigned the integration layer to be standardized and self-service. One contract, one set of docs, minimal back-and-forth. Partner engineers integrate against a fixed spec in days instead of weeks.

Sales stopped losing deals to onboarding delays, and engineering stopped being the bottleneck.

Designed for the millisecond that goes wrong

The processing backend runs on microservices with strict idempotency keys, async queues to absorb traffic spikes, and an event-driven design that survives downstream outages without losing or duplicating transactions.

What happens if our server crashes the exact millisecond after the gateway approves a payment, but before we generate the utility token? Solving that class of race condition is where I learned bulletproof engineering.

Idempotency keys at the API boundary mean a duplicate request returns the original response instead of processing twice. Queues are durable, retries are bounded, and dead-letter queues catch anything retries can't rescue. Distributed tracing lets us reconstruct the exact path any transaction took.

SurestPay product
Every successful screen like this sits on top of idempotency, queues, and reconciliation.

Three race conditions I'll never forget

The double-tap. A customer taps Pay twice on a slow phone and two identical requests land within 100ms. Without idempotency keys, we charge twice. With them, the second request returns the first response.

The gateway ack race. The gateway approves, then our server crashes before generating the token. The customer is charged and we have no record. With event sourcing and reconciliation, a job picks it up in minutes instead of a support call tomorrow.

The provider double-acknowledge. A downstream provider acknowledges twice because of its own retry logic. Without downstream idempotency, one payment produces two tokens. With it, the second ack is deduplicated.

The dashboard that changed how ops worked

The monitoring dashboard came after an incident where failed transactions went unnoticed for hours. It shows live volume, failure rate, latency percentiles, and per-provider health, with alerts on threshold breaches. It became the most-used screen on the ops team, because incidents went from 'we found out an hour later' to 'we saw it happen.'

Ops teams are the invisible users of your product. Dashboards are their UI. The most valuable thing you can build for them is visibility.

What I learned

In fintech every architectural decision is also a compliance decision. Every write leaves a trail, and every state transition has to be reconstructible.

The best fintech backend fails gracefully in a hundred small ways so it never fails loudly in one big way.

What I owned

  • Redesigned the partner integration layer around one standard contract, cutting onboarding time by 40%
  • Built the payment backend on microservices with idempotency keys, async queues, and durable message handling that survived provider outages
  • Shipped a real-time monitoring dashboard covering volume, failure rates, latency percentiles, and provider health, with alerting
  • Worked with compliance and product to keep a full audit trail on every state transition
  • Implemented distributed tracing and audit logging across all services
  • Solved race conditions around provider timeouts, double acknowledgments, and duplicate requests, reaching zero dropped transactions at peak