Skip to main contentSkip to navigation
ThisIsHowItWorks.in

Complex systems, clearly explained.

An independent visual publication explaining the invisible protocols, networks, infrastructure, and mechanisms that run our world.

Explainers

  • How UPI Works
  • Offline UPI Mechanisms
  • All Explainers (Archive)
  • Topics & Roadmap
  • Search Index

Publication

  • About Publication
  • Editorial Principles
  • Changelog
  • RSS / Atom Feed

Legal & Contact

  • Privacy Policy
  • Terms of Use
  • Editorial & Legal Notice
  • Contact Us

Connect

  • Instagram
  • Discord Community
© 2026 ThisIsHowItWorks.in. All rights reserved.
Durable technical understanding built from first principles.
ThisIsHowItWorks.in
ExploreTopicsAbout
  1. Home
  2. /Topics
  3. /Financial Rails
  4. /Money, Payments & Financial Rails
  5. /Card Payment Networks
  6. /Why a Card Payment Sometimes Takes a Few Seconds to Confirm
Finance · Financial Rails/ Explainer

Why a Card Payment Sometimes Takes a Few Seconds to Confirm

The transatlantic packet relay, real-time AI fraud scoring, 3D Secure challenges, and Stand-In Processing

Updated for clarity
The Short AnswerFirst-Principles Core

“Why does a card swipe or tap sometimes take four or five seconds to confirm, and why does it occasionally hang or get declined?”

Those few seconds are not local lag. The payment terminal coordinates an encrypted multi-hop packet relay across continental fiber cables, executes 500-feature machine learning fraud scores at wire speed, and handles automated Stand-In Processing if an issuing bank database times out.

Recommended Background

To understand the failure modes and edge cases detailed in this piece, we recommend familiarizing yourself with these foundational mechanisms first:

How Credit Cards Actually Work
Understanding the four-party model, ISO 8583 authorization messages, and EMV chip cryptograms is necessary to see where latency occurs in the network.
In this Explainer8 Sections

Quick answer

When you tap your credit card at a cash register, the transaction usually completes in one to two seconds. But occasionally, the terminal displays "Authorizing..." and spins for five, six, or even eight seconds before printing a receipt or flashing a red decline error.

Those extra seconds are not caused by a slow computer processor inside the counter terminal.

During that brief pause, an encrypted payment message is completing an extraordinary high-speed obstacle course:

  1. A Physical Multi-Hop Relay: Your transaction travels from the merchant's terminal, through a regional cellular router, across an acquiring bank's data centre, into a global card network switch (such as VisaNet in the United States or Singapore), and into your issuing bank's core banking database.
  2. Sub-50 Millisecond AI Fraud Scoring: Before approving the payment, specialized neural network engines (such as Visa Advanced Authorization or FICO Falcon) evaluate over 500 risk features—including your geographic travel velocity, merchant category risk, spending habits, and device history.
  3. Database Locks and Ledger Updates: The bank's database must lock your credit balance, verify that you have not exceeded your credit limit, and calculate currency exchange rates for international purchases.
  4. Fault-Tolerant Stand-In Processing: If your issuing bank's server takes too long to answer or crashes under load, the card network switch itself steps in, running automated risk heuristics (Stand-In Processing) to approve the transaction on the bank's behalf.

If any cable in this multi-continent chain experiences packet loss, or if a fraud model flags a borderline anomaly requiring additional verification, those invisible milliseconds accumulate into a perceptible delay on the cashier's countertop.


The Latency Budget: Where the Seconds Go

Under optimal network conditions, a standard in-store card transaction takes approximately 1,200 to 1,800 milliseconds (1.2 to 1.8 seconds) from tap to receipt.

Here is the exact mechanical breakdown of where that time is spent:

The Sub-Second Latency Budget of a Card Authorization
deviceChip NFC Handshake (150-250ms)Card microchip powers up via radio wave, validates terminal data & generates ARQC cryptogram
serverTerminal to Acquirer (200-350ms)POS terminal encrypts payload into ISO 8583 0100 message & dispatches over TLS connection
networkGlobal Network Switch (100-200ms)VisaNet / Banknet / RuPay validates BIN, runs routing tables & forwards to Issuer gateway
processAI Risk & Fraud Scoring (30-50ms)Neural networks calculate risk score based on 500+ behavioral and geographical attributes
serverIssuer Core CBS & HSM (300-600ms)Hardware Security Module verifies cryptogram, checks credit limit & locks authorization hold
networkReturn Journey & Print (250-400ms)Approval packet travels back across network; terminal prints receipt & sounds buzzer
Flow diagram illustrating the time spent at each stage of a credit card authorization: NFC communication, terminal processing, network switch routing, fraud scoring, issuing bank ledger check, and return confirmation.

When a transaction takes four or five seconds, it means one of the intermediate systems has exceeded its allotted latency budget.


Delay Factor 1: Transcontinental Network Hops

A credit card transaction is a distributed physical event.

Consider an Indian tourist tapping an HDFC Bank Visa card at a coffee shop in London:

[ London Coffee Shop Terminal ]
              │  Cellular 4G / Wi-Fi (80ms)
              ▼
[ UK Acquirer Gateway (e.g. Worldpay) ]
              │  Transatlantic Subsea Fiber Cable (120ms)
              ▼
[ VisaNet Data Center (Ashburn, Virginia, USA) ]
              │  Transpacific / Atlantic Fiber to Asia (180ms)
              ▼
[ HDFC Bank Core Banking Data Center (Mumbai, India) ]
              │  Internal HSM & Core Database Query (250ms)
              ▼
[ Return Journey along Reverse Path (380ms) ]
              │
              ▼
[ London POS Terminal Prints Receipt ]

The speed of light in optical fiber is roughly 200,000 kilometers per second. When a payment packet must cross oceans to reach a central network switch in North America or Europe, the raw physical speed-of-light travel time alone accounts for 300 to 500 milliseconds of latency.

Add in local network congestion—such as a terminal using a congested 4G SIM card inside a shopping mall basement—and transmission latency can easily double.


Delay Factor 2: Real-Time AI Fraud Scoring at Wire Speed

Before your bank's database approves a payment, it must answer an urgent question: Is this genuine, or did someone steal this card five minutes ago?

In the 1990s, banks used static rule engines (e.g., "Decline any transaction above ₹20,000"). Today, card networks and banks run high-throughput deep learning neural networks that score every single transaction in under 50 milliseconds.

The Visa Advanced Authorization (VAA) Pipeline

As an authorization packet passes through the central card switch, the network duplicates the data stream and feeds it into an automated risk scoring model:

Incoming ISO 8583 0100 Authorization Packet
                     │
         ┌───────────┴───────────┐
         ▼                       ▼
  [ Transaction Route ]   [ AI Risk Engine (VAA) ]
  (Continues toward       - Analyzes 500+ features in <50ms
   Issuing Bank)          - Calculates Risk Score: 001 (Safe) to 099 (Fraud)
         │                       │
         └───────────┬───────────┘
                     │ Both streams merge at Bank Firewall
                     ▼
       [ Bank Authorization Logic ]

The model evaluates hundreds of contextual signals simultaneously:

  • Velocity Checks: How many times has this card been tapped in the last 60 minutes?
  • Geolocation Anomaly (Impossible Travel): If the card was used at an ATM in Bengaluru at 2
    PM, a physical swipe at an electronics store in Dubai at 2
    PM is mathematically impossible.
  • Merchant Category Code (MCC) Risk: Is the purchase at a high-risk merchant type (such as cryptocurrency exchanges, luxury jewelers, or online betting)?
  • Behavioral Deviation: Does the cardholder typically spend ₹500 on groceries, or do they regularly make ₹80,000 electronics purchases at 3
    AM?

If the fraud score is between 001 and 030, the bank approves the transaction immediately. If the score is 080 or higher, the bank outright declines it.

The delay occurs when the score lands in the ambiguous middle zone (050 to 075): the bank's system may trigger secondary risk engines, check device reputation databases, or pause to evaluate historical chargeback patterns before committing an answer.


Delay Factor 3: EMV 3-D Secure (3DS) and Step-Up Verification

When you buy something online rather than tapping in a store, the transaction is classified as Card-Not-Present (CNP). Because the merchant cannot inspect a physical EMV chip, fraud risk multiplies tenfold.

To secure digital commerce, EMVCo introduced 3-D Secure (widely known as Verified by Visa, Mastercard Identity Check, or RuPay PaySecure).

Online Merchant Checkout
           │
           ▼ Browser sends device metadata to 3DS Directory Server
   [ Risk Evaluation: Is user on a known phone & IP? ]
           │
     ┌─────┴────────────────────────────────┐
     ▼                                      ▼
[ Frictionless Flow ]              [ Challenge Flow (Step-Up) ]
Risk is low (~95% of cases)       Risk is ambiguous (~5% of cases)
Transaction authorized in 1s       Browser redirects to Bank Access Control Server
Without any user intervention      Prompts user for SMS OTP or Banking App Biometric
  1. Frictionless Flow: The merchant's website gathers over 100 behavioral data points in the background (your browser fingerprint, screen resolution, IP address, and historical shipping address) and sends them to the bank's Access Control Server (ACS). If the bank recognizes your laptop and home Wi-Fi network, the transaction completes silently without popping up a verification screen.
  2. Challenge Flow: If you are shopping from a new device, a public VPN, or purchasing an unusually expensive item, the bank triggers a Challenge Flow. The browser redirects to an authentication iframe where you must enter an SMS OTP or approve a push notification on your mobile banking app.

When an online card payment hangs, it is frequently because the 3DS directory server is negotiating this risk decision with the bank's Access Control Server behind the scenes.


Delay Factor 4: What Happens When a Bank Crashes? Stand-In Processing (STIP)

What happens if an issuing bank experiences a database outage, a network partition, or a scheduled midnight maintenance window? If a bank's servers crash, do millions of its cardholders get stranded at supermarket checkouts and petrol pumps?

To prevent commercial gridlock, card networks invented Stand-In Processing (STIP).

POS Terminal -> Acquirer -> VisaNet / Mastercard Switch
                                       │
                                       ▼ Dispatches message to Issuer
                               [ Issuer Bank Gateway ]
                                       │
                         [ Server Offline / Timeout > 2,000ms ]
                                       │
                                       ▼ Switch detects failure
                               [ Card Network STIP Engine ]
                                       │
                                       ├─ Evaluates pre-agreed bank risk rules
                                       ├─ Checks local negative card list (hotlist)
                                       ├─ Checks daily off-line cumulative limit
                                       ▼
                       [ STIP Approves Transaction: Code 'STIP' ]
                                       │
                                       ▼
POS Terminal Prints "Approved" (Customer leaves with goods)
                                       │
              [ When Issuer Bank recovers hours later ]
Card Network transmits batch file to Issuer: "We approved ₹1,200 on your behalf."

Under STIP agreements, the issuing bank gives the card network permission to act as its surrogate when the bank's systems are unreachable:

  • Every bank registers a set of STIP parameters with Visa or Mastercard (e.g., "You may approve transactions under ₹5,000 if the card is not reported stolen and the country matches").
  • When the central switch detects that an issuing bank has failed to respond within a strict timeout window (typically 2,000 to 3,000 milliseconds), the switch terminates the outbound connection to the bank.
  • The network's own high-availability engine assumes authority, verifies the chip cryptogram, checks its internal stolen-card database, and emits an authorization approval code directly back to the merchant.

When your card transaction spins for four seconds and then suddenly approves, you may have just experienced Stand-In Processing: the network waited for your bank, realized it was dead, and authorized the purchase on its own authority.


The "Hanging Terminal" and ISO 8583 0400 Reversals

Every cardholder has experienced this nightmare:

  1. You tap your card.
  2. The terminal spins for ten seconds, then beeps and prints: TRANSACTION TIMED OUT / DECLINED.
  3. Simultaneously, your phone buzzes with an SMS alert from your bank: "₹2,400 has been debited from your card."

How can an account be debited if the merchant terminal failed?

This is a classic distributed network partition:

[ POS Terminal ] ──(1. 0100 Request)──► [ Network Switch ] ──► [ Issuer Bank ]
                                                                       │
                                                                       ▼ Debits balance
                                                                (2. 0110 Approved)
                                                                       │
                                 ◄──(3. Network Drop)──────────────────┘
                 [ Packet Lost / Cellular Timeout ]
                 Terminal assumes transaction failed!
  1. The authorization request reached the bank successfully.
  2. The bank placed the authorization hold on your credit line and sent an approval message back.
  3. But on the return leg, a weak cellular antenna or dropped Wi-Fi packet prevented the approval from reaching the terminal before its internal timer expired.

The Automated Reversal (0400 Message)

The payment protocol is designed to self-heal. The instant the POS terminal's timer expires without receiving an approval packet, its software automatically triggers an ISO 8583 0400 Reversal Message:

$$\text{Terminal} \xrightarrow{\text{0400 Reversal}} \text{Acquirer} \xrightarrow{} \text{Switch} \xrightarrow{} \text{Issuer Bank}$$

The 0400 message informs the bank: "We never received your approval code. Do not honor this transaction."

Upon receiving the reversal, the issuing bank's database cancels the pending authorization hold. Because banking SMS alerts are triggered by the initial debit event, your phone received the alert before the automatic reversal could clear. Within a few minutes (or at the end-of-day settlement batch), the temporary hold vanishes, and your available credit is restored.


Why this matters

The few seconds you spend waiting at a card terminal are not empty silence.

They are the sound of a global telecommunication fabric doing billions of mathematical calculations:

  • Firing photons across thousands of miles of subsea glass cables.
  • Querying hardware security enclaves that guard mathematical keys.
  • Evaluating deep neural network models that process hundreds of fraud features in the time it takes to blink.
  • Executing distributed fallback algorithms to keep commerce moving even when financial institutions fail.

To understand the foundational architecture of the four-party card system, read the comprehensive explainer on How Credit Cards Actually Work. To see how alternative payment networks move sovereign funds without interchange fees, read How Money Moves Between Indian Banks and How UPI Works.

Core Concepts Introduced7 Concepts
Telecommunication LatencyReal-Time Fraud Scoring (Falcon / VAA)Stand-In Processing (STIP)3D Secure (EMV 3DS)ISO 8583 0400 ReversalMerchant Category Code (MCC)Velocity Checks
Knowledge Graph Connections

Where to Go From Here

Explore companion architectures or dive deeper into downstream mechanisms.

Deeper Dive

How Credit Cards Actually Work

Deep-dive following foundational explainer How Credit Cards Actually Work

Explore How Credit Cards Actually Work
Research Grounding & Primary Sources

Verified Specifications & Architectural References

3 Authoritative References

This explainer is grounded in primary-source engineering specifications, regulatory circulars, and standard documentation.

Primary SourceEMVCo

EMV 3-D Secure Protocol and Core Functions Specification

Technical specifications defining frictionless and challenge flows for card-not-present transaction authentication.

Primary SourceVisa Inc.

Visa Advanced Authorization and Real-Time Risk Scoring Architecture

Documentation detailing deep neural network fraud scoring, scoring hundreds of attributes per transaction in under 50 milliseconds.

Primary SourceInternational Organization for Standardization (ISO)

ISO 8583 Reversal Processing and Timeout Specifications

Standard defining 0400/0420 reversal transaction handling when telecommunication partitions disrupt terminal-to-issuer acknowledgement.

Previous ExplainerHow Credit Cards Actually Work
More from Card Payment Networks•Topic Hub: Financial RailsTopic Hub: Money, Payments & Financial Rails
Ground Truth Engineering Publication