# Payments

> How the payments industry works, from a card tap to running a provider, and what each of its rules means for the systems you build.

The playbook's Money section is about handling money correctly anywhere: amounts, state machines and ledgers. This book is about the industry those systems plug into. Card networks, banks, processors and regulators each set rules, and almost every hard problem in a payments platform is one of them doing exactly what it's supposed to.

It reads in seven parts, ending with a glossary: how money moves, the rules, taking payments, paying out, issuing cards, and running a provider.

## Chapters

- [How Card Payments Work](https://www.syntaqx.com/books/payments/card-payments): The parties behind a card payment, why authorization, capture, clearing, settlement and funding are separate events, and the ISO 8583 underneath it all.
- [The Payments Landscape](https://www.syntaqx.com/books/payments/payments-landscape): Who's who in payments: networks, acquirers, processors, PSPs, embedded payments, bank rails, orchestration, vaults, fraud, wallets, recent moves, build vs buy.
- [Card-Present Payments](https://www.syntaqx.com/books/payments/card-present): How in-person card payments work: EMV chip cryptograms, cardholder verification, contactless, Tap to Pay, terminals, P2PE, and the risk of going offline.
- [Interchange & Pricing](https://www.syntaqx.com/books/payments/interchange-and-pricing): What a card payment costs and why: interchange, regulated debit, network fees, downgrades, Level 3 data, pricing models, and how platforms earn on payments.
- [ACH & Bank Transfers](https://www.syntaqx.com/books/payments/ach): How ACH really moves money: SEC codes and files, why settled isn't final, returns, reversals and fees, validating accounts, the Nacha rules, RTP and FedNow.
- [Accepting Checks](https://www.syntaqx.com/books/payments/checks): Taking checks as payment: image clearing under Check 21, remote deposit capture, Reg CC holds, returns and late claims, conversion to ACH, lockbox and fraud.
- [Cash Payments](https://www.syntaqx.com/books/payments/cash-payments): Letting customers pay in cash: retail bill-pay networks, real-time validation and posting, money orders, money transmitter rules, BSA reporting and vouchers.
- [Wallets & Local Payment Methods](https://www.syntaqx.com/books/payments/wallets-and-local-methods): Apple Pay and Google Pay as network tokens, PayPal, BNPL, and the bank rails other countries pay with: SEPA, iDEAL and Wero, Pix, UPI and UK pay-by-bank.
- [Stablecoins & Crypto Rails](https://www.syntaqx.com/books/payments/stablecoins): Payment stablecoins for a provider: issuers and reserves, the GENIUS Act and MiCA, network settlement, pay-ins, payouts, screening, finality and the ledger.
- [Cross-Border Payments & FX](https://www.syntaqx.com/books/payments/cross-border-and-fx): Presentment, settlement and funding currencies, cross-border card fees, local acquiring, DCC rules, FX quotes, wires and correspondents, and FX on refunds.
- [Comparing the Rails](https://www.syntaqx.com/books/payments/comparing-the-rails): Every way money moves, side by side: who starts it, when you know it worked, when it settles, when it's final, how it comes back, and which accounts it crosses.
- [The Payments Rulebook](https://www.syntaqx.com/books/payments/payments-rulebook): How payments rules fit together: network contracts like PCI DSS and Nacha, the laws behind them, who enforces each, and which apply from merchant to provider.
- [Surcharging & Fees](https://www.syntaqx.com/books/payments/surcharging-and-fees): Passing card costs to the payer: surcharges, convenience and service fees, cash discounts, the network caps and state laws behind them, and safe fee math.
- [Payments in Canada](https://www.syntaqx.com/books/payments/canada): Extending a US payments platform to Canada: ACSS and Standard 005 files, pre-authorized debits under Rule H1, Interac, card rules, RPAA and FINTRAC.
- [Payments in the EU & UK](https://www.syntaqx.com/books/payments/eu-and-uk): Europe for a US platform: interchange caps, SEPA and SEPA Instant, direct debits, Faster Payments, Bacs, CHAPS, payee checks, APP fraud and licensing.
- [Merchant Onboarding](https://www.syntaqx.com/books/payments/merchant-onboarding): Knowing who processes payments on a platform: KYC and KYB, a verification state machine, progressive onboarding, underwriting, and an API that says what's due.
- [Designing the Payments API](https://www.syntaqx.com/books/payments/payments-api): The surface merchants integrate with: payment objects and intents, modifications, keys and the client, test mode, versioning, errors, events and platforms.
- [Checkout, Invoices & Payment Links](https://www.syntaqx.com/books/payments/checkout-and-invoicing): Hosted pages, payment links, invoices, payer portals and virtual terminals: PCI scope, the invoice lifecycle, applying payments, and B2B receivables.
- [Strong Customer Authentication & 3-D Secure](https://www.syntaqx.com/books/payments/strong-customer-authentication): When a card payment needs the cardholder to authenticate, the exemptions that skip it, 3RI and delegation, the liability shift, and mandates beyond the EU.
- [Stored Cards & Recurring Billing](https://www.syntaqx.com/books/payments/stored-credentials): Saving a card and charging it later: the stored credential framework, network transaction IDs, network tokens, account updater, retry rules and dunning.
- [Phone Payments](https://www.syntaqx.com/books/payments/phone-payments): Taking payments by phone and by link: MOTO and TEL rules, telephony in PCI scope, DTMF masking, text-to-pay, recordings, IVR design, remote agents.
- [Fraud & Risk](https://www.syntaqx.com/books/payments/fraud-and-risk): Deciding which payments to allow, review, challenge or block: both costs, network and consortium signals, card testing, merchant and bank-rail fraud.
- [Disputes & Chargebacks](https://www.syntaqx.com/books/payments/disputes-and-chargebacks): How a dispute moves from inquiry to arbitration, what it does to the ledger, the monitoring thresholds that end merchant accounts, and who pays on a platform.
- [Payouts & Settlement](https://www.syntaqx.com/books/payments/payouts-and-settlement): How a card payment becomes money in a merchant's bank: settlement timing, fees as ledger entries, payout schedules and reserves, failures, and reconciliation.
- [Treasury & Bank Operations](https://www.syntaqx.com/books/payments/treasury): The bank accounts behind a payments ledger: FBO accounts, pass-through insurance, funding, bank files, the banking calendar and reconciliation.
- [Ledger & Reconciliation at Provider Scale](https://www.syntaqx.com/books/payments/ledger-and-reconciliation): A provider's chart of accounts, the three-way match of ledger, settlement files and bank statements, matching engines, breaks, suspense and the close.
- [Vendor Payouts](https://www.syntaqx.com/books/payments/vendor-payouts): Paying vendors and suppliers: ACH, virtual cards, push to card, checks and instant rails, enablement, stopping redirect fraud, funding, 1099s.
- [Card Issuing](https://www.syntaqx.com/books/payments/card-issuing): Launching a card program: sponsor banks, program managers and issuer processors, prepaid, debit and credit law, the economics, card lifecycle and wallet tokens.
- [Issuer Processing](https://www.syntaqx.com/books/payments/issuer-processing): The issuer's side of a card payment: the authorization decision and its webhook, spend controls, holds and clearing, fraud, and disputes under Reg E and Z.
- [Payments for Software Platforms](https://www.syntaqx.com/books/payments/software-platforms): Embedded payments for vertical software: payfac models, the tenant tree, fee overrides at scale, wrong fees and their fixes, fund splits, 1099-K and support.
- [Partners, ISOs & Residuals](https://www.syntaqx.com/books/payments/partners-and-residuals): Selling through ISOs, agents, software platforms and banks: network registration, buy rates and splits, clawbacks, and a residual engine partners can audit.
- [Payments by Vertical](https://www.syntaqx.com/books/payments/payments-by-vertical): What changes by industry: healthcare, government, schools, nonprofits, utilities, B2B, gyms and restaurants, with their codes, programs, laws and features.
- [Processor Routing](https://www.syntaqx.com/books/payments/processor-routing): Running payments over several processors: orchestration, routing by card and cost, US debit, safe failover, cascading within retry rules, and tokens.
- [Switching Processors](https://www.syntaqx.com/books/payments/switching-processors): Moving to a new processor: contracts, card and bank mandate migration, network tokens, recurring and dunning state, cohort cutover, declines and an exit plan.
- [Running a Card Vault](https://www.syntaqx.com/books/payments/card-vault): Building the one service that holds card numbers: token design, envelope encryption, who may detokenize, capture iframes, BIN data and the CDE around it.
- [HSMs & Key Management](https://www.syntaqx.com/books/payments/key-management): Payments cryptography as its own discipline: HSMs, key hierarchies, key blocks, DUKPT and PIN blocks, the move off TDES, key ceremonies and cryptoperiods.
- [Inside a Processor](https://www.syntaqx.com/books/payments/inside-a-processor): What an acquiring processor runs: the authorization switch, network connections, stand-in, clearing files, settlement, exceptions, merchant setup and billing.
- [Network Certification](https://www.syntaqx.com/books/payments/network-certification): Going live and staying live on card networks: processor and host certification, EMV levels, 3DS approval, and the twice-yearly network release calendar.
- [Payments Architecture at Scale](https://www.syntaqx.com/books/payments/architecture-at-scale): Running payments at millions a day: service boundaries, idempotency end to end, outbox and sagas, hot ledger accounts, multi-region, peaks and safe change.
- [Operating the Platform](https://www.syntaqx.com/books/payments/operating-the-platform): Running a payments platform day to day: the internal console, monitoring, statements, compliance, outages, card-data incidents and retention.
- [AI in Payments](https://www.syntaqx.com/books/payments/ai-in-payments): Models in payments: fraud scoring, authorization optimization, disputes, onboarding and support, agentic commerce mandates, model risk and adverse action.
- [Payments Metrics](https://www.syntaqx.com/books/payments/payments-metrics): The numbers a payments platform runs on, one definition each: approval and success rates, declines, fraud, disputes, take rate, payouts, reconciliation, SLOs.
- [Becoming a Payment Provider](https://www.syntaqx.com/books/payments/becoming-a-payment-provider): What it takes to be a Stripe or a payfac rather than integrate one: sponsor banks, card networks, PCI as a service provider, licensing and the money.
- [Payments Glossary](https://www.syntaqx.com/books/payments/glossary): Every term the payments volume uses, defined in a line and linked to its chapter: rails, rules, taking payments, paying out, issuing and running a provider.
