Muhammad Ikram Let's talk

Ever Wonder How Visa Payments Happen in 2 Seconds?

You tap. You pay. Done in 2 seconds.

But behind that tap? A payment gateway encrypts your data, routes it to the acquirer bank (merchant's bank), which talks to your issuer bank (your bank), which runs 200+ fraud signals through ML models — all before sending back an approval.

That "Processing..." screen? Not a glitch. It's re-routing, fraud checks, or a network timeout. Your money is safe.

I broke the entire flow down — gateway, banks, authorization, fraud detection — into 8 visual slides. Simple, fast, no jargon.

If you work in fintech, product, or just pay for things — this one's for you.

Drop a repost if this added value. Follow for more system design breakdowns.

Read the slides as text

Slide 1

S L I D E 1 / 8
🧵 T E C H E X P L A I N E D · S W I P E →
YOU TAP.
YOU PAY.
BUT... HOW?!
Your UPI or Visa payment completes in under 2 seconds — but in that
time, 12+ systems talk to each other, check for fraud, move money,
and send you that sweet ✅ notification.
$20T+
UPI Monthly Volume
2 sec
Avg. Transaction Time
12+
Systems Involved

Slide 2

S L I D E 2 / 8
S T E P 0 1 · T H E E N T R Y P O I N T
THE PAYMENT
GATEWAY
Think of the Payment Gateway as the bouncer at a club 🎯
It's the first thing your payment hits — and its job is to encrypt your card/UPI data and pass it safely down the
chain.
→
→
🤫 Secret sauce: The gateway uses TLS encryption so your card details travel the internet like a locked
briefcase handcuffed to a spy. Nobody opens it except the bank.
📱
YOUR APP
PhonePe, GPay, Paytm, Bank App
🔐
GATEWAY
Encrypts & routes the request
(Razorpay, Stripe, etc.)
🏦
BANKS & NETWORK
Visa / RuPay / NPCI

Slide 3

S L I D E 3 / 8
S T E P 0 2 · T H E T W O B A N K S N O B O D Y T A L K S A B O U T
ACQUIRER VS
ISSUER BANK
🍕 Real life analogy: Acquirer = waiter who brings your bill. Issuer = your wallet that decides if you're
paying or crying. The card network (Visa/RuPay) = the restaurant POS machine connecting both worlds.
🏪
ACQUIRER BANK
"The Merchant's Bank"
This is Zomato's bank. When you pay Zomato $350,
their bank (acquirer) receives the payment request on
their behalf and says "Hey, my merchant wants to
collect money. Legit?"
💳
ISSUER BANK
"YOUR Bank"
This is your HDFC / SBI / ICICI bank. It verifies you
have the funds, approves the transaction, and says
"Yes, my customer can pay — release the funds!"

Slide 4

S L I D E 4 / 8
S T E P 0 3 · T H E 2 - S E C O N D M I R A C L E
AUTHORIZATION
FLOW ⚡
0–200ms
YOU HIT "PAY NOW"
App sends encrypted payment details to the Payment Gateway. Your data is wrapped in military-grade AES-256
encryption. 🔒
1
200–500ms
GATEWAY → ACQUIRER → NETWORK
Gateway forwards to Acquirer bank → Acquirer routes through Visa/Mastercard/NPCI network to your bank.
The global financial internet, activated. 🌐
2
500–1200ms
FRAUD DETECTION RUNS (MORE ON NEXT SLIDE 😏)
Your bank's systems check: Is this user real? Is this amount normal? Is this location suspicious? AI models
fire up instantly. 🤖
3
1200–1800ms
APPROVAL SENT BACK
Bank sends an authorization code back through the same chain in reverse. Gateway tells merchant ✅
APPROVED or ❌ DECLINED.
4
1800–2000ms
YOU GET THE ✅ NOTIFICATION
That beautiful green checkmark on your phone. You're officially broke — but by choice! 🎉
5

Slide 5

S L I D E 5 / 8
S T E P 0 4 · T H E S I L E N T G U A R D I A N
FRAUD DETECTION
SYSTEMS 🚨
🤯 Mind-blowing fact: Banks run 200+ fraud signals in under 200ms using real-time ML models. Your payment
is being profiled by AI faster than you can blink. Big Brother but make it finance.
📍
LOCATION ANALYSIS
Paying from Mumbai at 2pm, but your card was used in
Moscow 30 mins ago? 🚩 Flag. Possible teleportation
detected.
🧠
ML BEHAVIOUR MODELS
You normally spend $500 on lunch. Suddenly $50,000
purchase? AI raises an eyebrow and your bank calls you.
⚡
VELOCITY CHECKS
5 transactions in 10 seconds? That's either a bot or
someone who REALLY loves impulse shopping. Either way
— blocked.
🔢
CVV + OTP LAYERS
UPI PIN, OTP, CVV — these are the extra locks. Even if data
is stolen, without these, it's useless. 🔐

Slide 6

S L I D E 6 / 8
PAYMENT
PROCESSING…
The most anxious 3 words in modern life. Here's what's ACTUALLY happening:
🔁
RE-ROUTING
The bank's servers are busy or temporarily
overloaded. Request is being re-queued
and retried automatically.
🤔
EXTRA FRAUD CHECK
Something looked slightly suspicious. A
secondary ML model is doing a deeper
investigation on your transaction.
🌐
NETWORK TIMEOUT
The handshake between banks took too
long. Systems are waiting to confirm if the
money actually moved or not.
🏦
BANK DOWNTIME
Scheduled maintenance or peak load. NPCI
is managing millions of transactions
simultaneously — traffic jams happen.
💸
FUNDS LIMBO
Money left your account but hasn't reached
merchant yet. It's sitting in an escrow-like
state. It'll resolve in minutes.
✅
AUTO-REFUND
If it fails, deducted amount auto-reverses
within 5–7 days. The system has safety
nets. You will get your money back!
⏳

Slide 7

S L I D E 7 / 8
B O N U S R O U N D · T H E B A T T L E
UPI VS VISA
HOW THEY DIFFER
🇮🇳 UPI
FEATURE
💳 VISA / MASTERCARD
NPCI (India-built)
NETWORK
Private global companies
Real-time (IMPS rails)
SETTLEMENT
T+1 or T+2 days
Free for users & merchants
COST
1.5–3% MDR fee
UPI PIN (no OTP)
AUTH METHOD
CVV + OTP + 3D Secure
India only (expanding)
COVERAGE
200+ countries globally
$2,000/day limit
LIMIT
Depends on credit limit
🏆 Fun fact: India's UPI processes more digital transactions per month than the entire United States.
NPCI did in 7 years what took the US 40 years. Desi jugaad hits different. 🇮🇳

Slide 8

S L I D E 8 / 8
TL;DR
2 seconds. Millions of calculations. Here's the cheat sheet:
01
Payment Gateway encrypts your data and routes it — the bouncer of digital payments.
02
Acquirer Bank = merchant's bank. Issuer Bank = your bank. Both must nod in agreement for $ to
move.
03
Authorization Flow is a 5-step handshake between 4+ systems happening in under 2 seconds. Pure
engineering magic. ⚡
04
Fraud Detection runs 200+ ML signals silently. Every time you pay, AI is watching — in a good way.
🤖🔐
05
"Processing…" = re-routing, extra fraud checks, or network timeout. You will NOT lose your money.
Auto-refund kicks in. 💸
💬 Found this useful? Share it with someone who panics every time a payment says
"Processing…" 😂
Drop a 🔁 if you learnt something new · Save for later · Follow for more tech breakdowns

More insights

Keep reading

All posts
Carousel

AI & Tech Explained 1 min read

AI Pilots Impress. Only Production Moves Revenue.

A common trap: the AI demo wins the room, then stalls. Gartner predicted at least 30% of GenAI projects would be dropped after proof of concept. The growth lesson: budget the data, owner, integration and run cost before the demo.

AI & Tech Explained 1 min read

Stripe, Adyen or Checkout.com?

Stripe, Adyen or Checkout.com? The right payment provider depends on where your business is going—not just the brand name. There’s no universal winner.…