InterviewLegend

Design a Payment System

Alex Chen28 min readGuide updated

Payments came up in two Visa design rounds in 2026, both in Bengaluru. In June a Staff candidate got the prompt above, focused on payment states, payment methods, durable execution and retries. They drew the high-level design, then coded the main entities and a service class, with the strategy pattern handling the different payment methods. Their verdict was that it had too many requirements for one round. In July a Senior candidate's second round went deep on their own projects and then on a payment gateway design.

Older reports cover the same ground. In 2025 a US hiring manager asked a Software Engineer I candidate for the backend of a peer-to-peer payment app like Venmo or Zelle. That year also brought transaction management for merchants (Senior, Bengaluru) and a payment gateway squeezed into one hour with coding (Lead Engineer, US). Going further back, there was a UPI app (2023) and a PhonePe-style payment service that had to give every transaction a unique id (2021). Visa uses this prompt alongside several others, and it isn't the standard round. Its follow-ups are worth learning anyway, because idempotency and retries come up in other Visa design rounds too.

The Visa angle
The June 2026 Staff candidate turned each component from their diagram into a class when the LLD half started, so the two halves matched. Plan for that from the first box. Name each component the way you'd name its class, and the switch to code takes minutes instead of a redesign.

VisaPremium lesson · System design round

The Visa design, worked end to end.

  1. Requirements and scopeSystem design
  2. The API and data model
  3. The design, drawn out2 diagrams
  4. 5 deep divesWith the tradeoffs
Get the Visa questions

$49 a year · all 107 companies · instant access

20,000+ candidate reports

Visa interview guide

Know what Visa asks before you walk in.

30 coding · 8 system design · 20 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your Visa interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.