Chapter 15 of 22 Part III: Trust, Cryptography & Security

The Invisible Journey of Money

Difficulty: Intermediate Editorial estimate: ~45 min Prerequisites: Chapter 02, Chapter 13

Chapter Field Guide

Measurable Learning Outcomes

  • Distinguish authorization (reserving funds) from clearing and settlement.
  • Explain how idempotency keys prevent double charges when a network request retries.
  • Model rule-based fraud review signals using fictional transactions.

Core Scientific Intuition

A card tap triggers a fast authorization check between merchant, acquirer, card network, and issuing bank. Modern EMV chips generate a fresh one-time cryptogram per transaction rather than replaying static magnetic-stripe data. Meanwhile, idempotency keys ensure that if a terminal retries after a Wi-Fi hiccup, the bank records one purchase, not two.

Σ Debits = Σ Credits (double-entry invariant)
In plain words: In a double-entry ledger, every transaction debits one account and credits another by the exact same amount so total balance changes sum to zero.
Units & assumptions: Amounts stored in integer minor units (e.g., cents) to avoid binary floating-point rounding errors.

Worked Example

Storing $19.99 as integer 1999 cents avoids floating-point bugs like 0.1 + 0.2 = 0.30000000000000004. Pairing each checkout with a unique idempotency ID guarantees safe retries.

Hands-On Exploration

Interactive Laboratory

Test the concepts directly with 4 interactive panels, live controls, and visual feedback.

Open Interactive Lab →

Three Guided Projects

Structured experiments with hypotheses, boundary tests, hints, and reflection prompts.

View 3 Projects →

Source Code (5 Snippets)

Inspect byte-identical printed JavaScript blocks, download `.js` files, or test runnable blocks in the isolated sandbox.

Browse Code →

Self-Check Quiz (5 Questions)

Immediate explanations for every choice, unlimited retries, and local-only score tracking.

Take Self-Check Quiz →

Book Chapter Outline (Reference Guide)

Section headings from Volume 1 for cross-referencing with the printed book.

Show all 39 book section headings
  1. A tap that starts a journey
  2. Make a prediction
  3. PEOPLE BEHIND THE SCIENCE
  4. Roland Moreno (1945-2012)
  5. Helmut Gröttrup (1916-1981)
  6. PEOPLE BEHIND THE SCIENCE
  7. Charles Walton (1921-2011)
  8. John Shepherd-Barron (1925-2010)
  9. How can a card work without a battery?
  10. Why not use Wi-Fi?
  11. What is hiding inside the card?
  12. A new proof for each payment
  13. Why do cards still have numbers?
  14. Follow the payment request
  15. Who does what?
  16. What happens after the green check?
  17. Pending is not the same as posted
  18. Why do some payments need a PIN?
  19. What about CVV and one-time codes?
  20. How does a phone become a payment card?
  21. Can a phone pay without internet?
  22. What if the checkout sends a request twice?
  23. Think of a database
  24. Can computers recognize a suspicious purchase?
  25. What if a card is lost?
  26. Project 1: the miniature issuing bank
  27. Project 2: one purchase, one record
  28. Project 3: review the evidence
  29. Enter the payment laboratory
  30. Experiment A: accept or decline
  31. Experiment B: the lost reply
  32. Experiment C: the review desk
  33. Detective mission: the missing receipt
  34. Your questions
  35. Now invent
  36. Words for your payment toolkit
  37. Keep exploring
  38. Illustration and experiment notes
  39. Next chapter

Primary Sources & Further Reading

External links are provided for independent verification and deeper study. Link availability can change over time; see the Resources page for verification notes.

Source Type Link
Read more reference https://www.inpi.fr/la-carte-puce-memoire-1974
Read more reference https://www.gi-de.com/en/spotlight/technology-talk/smart-card-technology-history
Read more educational-archive https://lemelson.mit.edu/resources/charles-walton
Read more reference https://ithistory.org/honoree/john-adrian-shepherd-barron
NFC Forum: NFC technology primary-standard https://nfc-forum.org/learn/nfc-technology/
EMVCo: Contactless chip technology primary-standard https://www.emvco.com/emv-technologies/emv-contactless-chip/
EMVCo: Contact chip technology primary-standard https://www.emvco.com/emv-technologies/emv-contact-chip/
EMVCo: Payment tokenisation primary-standard https://www.emvco.com/emv-technologies/payment-tokenisation/
Visa: Payment processing and the transaction journey reference https://www.visa.com/en-us/solutions/acceptance/payment-processing
Visa: Authorization and capture reference https://developer.visa.com/capabilities/visanet-connect-acceptance
PCI Security Standards Council: Card verification codes reference https://www.pcisecuritystandards.org/faqs/1319/