Skip to main content

Cards & Card Schemes Architecture Overview

Payment cards (debit, credit, prepaid, and commercial) process tens of trillions of dollars annually across global and domestic payment networks.

Unlike modern account-to-account (A2A) instant payment rails (such as Australia's NPP, the US FedNow, Europe's SEPA Instant, or Brazil's Pix) where funds settle immediately between bank accounts, card schemes are designed as a decoupled two-phase architecture: sub-second real-time authorization holds followed by asynchronous batch clearing and multilateral net settlement.

4-Party Card Payment Scheme & Interchange Fee Engine
1. Cardholder
Payer / Customer
2. Merchant
POS / Online Store
3. Acquirer Bank
Merchant's Bank
4. Scheme Network
Visa / Mastercard
5. Issuer Bank
Customer's Bank
โšก Step 1: Real-Time Authorization (Sub-Second)
  • Cardholder taps card at POS terminal.
  • POS forwards Auth Request to Acquiring Bank.
  • Acquirer passes to Card Scheme Network (Visa/MC).
  • Scheme routes to Issuing Bank.
  • Issuing Bank checks CVV/3DS, PIN, & places a HOLD on funds.
  • Returns 6-digit Auth Code back through chain to terminal.
๐ŸŒ™ Step 2: Clearing & Settlement (Overnight Batch)
  • Merchant submits end-of-day batch of Auth Codes to Acquirer.
  • Acquirer sends clearing records to Scheme.
  • Scheme calculates net interchange fees & notifies Issuer.
  • Issuer converts account hold into a final ledger debit.
  • Acquirer credits Merchant account (net of MDR fee).

1. 4-Party vs. 3-Party Card Scheme Models

Card schemes operate under two distinct structural topologies:

4-PARTY MODEL (Open Loop - Visa, Mastercard, eftpos, UnionPay):

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ CARD SCHEME SWITCH โ”‚
โ”‚ (VisaNet / Mastercard BankNet) โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ฒโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”‚ โ”‚
ISO 8583 0100 โ”‚ โ”‚ ISO 8583 0100
Auth Request โ”‚ โ”‚ Auth Request
โ”‚ โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ ACQUIRING BANK โ”‚ โ”‚ ISSUING BANK โ”‚
โ”‚ (Merchant's FI) โ”‚ โ”‚ (Customer's FI) โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ฒโ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”‚ โ”‚
โ”‚ โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ MERCHANT โ”‚ โ”‚ CARDHOLDER โ”‚
โ”‚ (Point of Sale) โ”‚ โ”‚ (Payer / Tap) โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

3-PARTY MODEL (Closed Loop - American Express, Diners Club):

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ CLOSED-LOOP SCHEME โ”‚
โ”‚ (Issuer + Acquirer) โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ฒโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”‚ โ”‚
โ”‚ โ”‚
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ MERCHANT โ”‚ โ”‚ CARDHOLDER โ”‚
โ”‚ (Direct Accept) โ”‚ โ”‚ (Proprietary) โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Architectural Comparison Matrix

Architectural Dimension4-Party Model (Open-Loop)3-Party Model (Closed-Loop)
Representative SchemesVisa, Mastercard, eftpos (Australia), UnionPayAmerican Express (Amex), Diners Club, Discover
ParticipantsCardholder, Issuing Bank, Scheme Switch, Acquiring Bank, MerchantCardholder, Scheme Entity, Merchant
Interchange FeesYes: Regulated fee transfer from Acquirer to Issuer to balance credit risk and rewards funding.No: Single entity sets merchant discount rates directly without inter-bank interchange.
Acceptance ReachUniversal: Hundreds of thousands of financial institutions and tens of millions of merchants.Selective: Historically concentrated in corporate travel, entertainment, and luxury retail.
Merchant CostInterchange++ or Blended MDR (~0.30% to 1.80%).Typically higher flat merchant discount rate (~1.50% to 3.00%).
Switch RoutingAcquirers route over global switches (VisaNet / BankNet) using BIN routing tables.Acquirers or merchants route directly into the proprietary scheme host.

Card networks are not merely technology switches; they are governance bodies with rigorous operating rules (e.g. Visa Core Rules, Mastercard Rules):

  1. Honor All Cards Rule: If a merchant accepts Visa credit, they traditionally had to accept all valid Visa credit cards regardless of the issuing bank (subject to regional regulatory unbundling).
  2. Settlement Guarantee: The card scheme guarantees payment to the acquiring bank even if an issuing bank collapses overnight, backed by mandatory scheme collateral reserves.
  3. Chargeback & Consumer Rights: Unlike irreversible wire or A2A transfers, card schemes contractually grant cardholders dispute rights for fraud, unauthorized charges, or non-delivery of goods.
  4. Acquirer Underwriting Responsibility: The acquiring bank assumes 100% financial liability for merchant fraud, chargeback losses, and merchant bankruptcy.

3. Card Rails vs. Real-Time Account-to-Account (A2A) Rails

Architectural FeatureCard Schemes (Visa / Mastercard)Real-Time A2A Rails (NPP / FedNow / Pix)
Messaging ProtocolISO 8583 / AS 2805 (Binary/ASCII)ISO 20022 XML (pacs.008, pain.001)
Processing ArchitectureTwo-phase: Real-time Auth (0100) + Batch Clearing (0220)Single-phase: Real-time immediate debit and credit posting
Funds FinalityConditional (Subject to 120-day dispute/chargeback window)Irrevocable (Immediate finality upon settlement)
Acceptance CostHigh: 0.50% - 2.50% Merchant Discount Rate (MDR)Ultra-low: 0.00% - 0.20% or flat fraction-of-a-cent fees
Customer ExperienceContactless NFC tap, Network Tokenization, Apple PayPayID / Alias, QR Code, Open Banking / PayTo
Offline ProcessingSupported: Offline Chip Authentication (DDA/CDA) & Floor LimitsNot supported: Requires active end-to-end network connectivity
Fraud & Dispute RecourseGlobal chargeback lifecycle, liability shift, 3DS 2.2Confirmation of Payee (CoP), Scam investigation frameworks

4. Cards Knowledge Base Directory

Explore the deep-dive engineering modules across every layer of the card payment stack:

docs/technical-knowledge/banking/
โ”œโ”€โ”€ cards.md โ—„ (You are here: Architecture Overview & Operating Models)
โ”œโ”€โ”€ card_anatomy_emv.md โ—„ ISO/IEC 7812 PAN, Luhn Mod 10, Magstripe vs Chip, EMV Cryptography
โ”œโ”€โ”€ card_iso8583.md โ—„ ISO 8583 & AS 2805 wire protocols, MTI, Bitmaps, Java 21 Engine
โ”œโ”€โ”€ card_clearing_settlement.md โ—„ SMS vs DMS, Authorization Holds, BASE II / IPM, MDR & Interchange
โ”œโ”€โ”€ card_tokenization_3ds.md โ—„ EMVCo Network Tokens (DPAN), Apple Pay, 3DS 2.2, Liability Shift
โ””โ”€โ”€ card_disputes_lcr.md โ—„ Chargebacks, Visa CE3.0, Australian DNDC & Least-Cost Routing

Module Summaries:

  • 1. Card Anatomy & EMV Chip Cryptography:
    • ISO/IEC 7812 PAN structure, 8-digit BIN migration, and production Java 21 Luhn Mod 10 implementation.
    • Contact (ISO/IEC 7816) and Contactless NFC (ISO/IEC 14443) APDU command-response sequences.
    • Offline card authentication (SDA vs DDA vs CDA) and Application Cryptograms (ARQC, ARPC, TC, AAC).
  • 2. ISO 8583 & AS 2805 Wire Protocols:
    • Message Type Identifier (MTI) anatomy and 64-bit/128-bit bitmap bitwise architectures.
    • Essential Data Elements catalog (DE 2, DE 3, DE 4, DE 11 STAN, DE 22, DE 52 PIN, DE 55 EMV).
    • Australian AS 2805 standard peculiarities and production Java 21 Spring Boot ISO 8583 authorization handler.
  • 3. SMS vs DMS, Clearing & Interchange Economics:
    • Single-Message System (SMS) vs Dual-Message System (DMS) processing comparisons.
    • Authorization hold reservation, decay, and pre-authorization adjustments.
    • Clearing formats (Visa BASE II TC 05 and Mastercard IPM 1240) and Merchant Discount Rate (MDR) formulas.
  • 4. Network Tokenization & EMV 3-D Secure:
    • EMVCo Network Tokenization lifecycle: Funding PAN (FPAN) โ†’\rightarrow Device PAN (DPAN), TRID, and dynamic cryptograms (TAVV/DSRP).
    • Apple Pay & Google Wallet Secure Element (eSE) and Consumer Device Cardholder Verification (CDCVM).
    • EMV 3-D Secure 2.2 / 2.3 protocol: Frictionless vs Challenge flows, 150+ risk signals, and liability shift rules.
  • 5. Disputes, Chargebacks & Least-Cost Routing:
    • 4-stage chargeback lifecycle, reason code taxonomy, and arbitration risk.
    • Visa Compelling Evidence 3.0 (CE3.0) against first-party friendly fraud.
    • Australian Dual-Network Debit Cards (DNDC) and Least-Cost Routing (LCR) terminal algorithms under RBA mandates.

5. Principal Architect Certification Checklist

Before certifying any card issuing, acquiring, or switching platform for production launch, verify:

  • Dual-BIN Support: Does the platform support 8-digit Bank Identification Numbers (BINs) alongside legacy 6-digit ranges?
  • HSM Cryptographic Boundaries: Are PIN verification (ISO 9564) and CVV calculation strictly offloaded to PCI-HSMs without plaintext data touching JVM memory?
  • Network Tokenization Lifecycle: Does the payment gateway support cryptogram updates (TAVV/DSRP) and automatic token refreshes when underlying physical cards are re-issued?
  • Dual-Message Reversal Safety: Does the system automatically release authorization holds after expiry (e.g. 7 days for retail, 30 days for car rentals) if no clearing presentment arrives?
  • Least-Cost Routing Compliance: Does terminal routing logic dynamically evaluate eftpos vs Visa/Mastercard debit interchange caps per RBA regulations?
  • PCI-DSS Scope Segregation: Are cardholder environments isolated using Point-to-Point Encryption (P2PE) and edge tokenization vaults (SAQ A eligibility)?

๐Ÿ“–
Track Page Progress0 / 635 Read
Knowledge Base Completion0%