Desi System Design
Bunty Batao · System design

UPI payment

All of India scans a QR at once on Diwali, so why doesn't your money get lost?

  1. 1

    UPI ID

    A nickname that the bank behind the app (the PSP) turns into the real account.

  2. 2

    One switch

    Every bank connects once to the middle, not to every other bank.

  3. 3

    UPI PIN

    Locked on your phone, checked only by your own bank.

  4. 4

    Debit, then credit

    If the credit fails, the debit is undone.

  5. 5

    Unique ID

    A retry with the same ID never debits twice, and a silent bank is asked "what happened?"

Takeaway

Money moves in two steps, and one unique ID makes every step safe to repeat.

Your turn

The debit is done but no answer came for the credit. Retry, reverse, or wait?

The answer is in the PDF. Or tell Bunty in the reel's comments.

758 banks live on UPI: NPCI UPI Product Statistics, October 2026. 10,000 payments a second is an assumed number. Simplified example, not NPCI's actual architecture.

Desi System Design cover for UPI payment