Platform Architecture Topics to Study
Last Updated: 2026-12-01 Status: Complete
Use this checklist to track your progress through the Platform Architecture module. Each block links to the pages that cover it. If you can explain every item to a colleague and sketch the schema or diagram behind it, you are ready for the scenario questions.
Data Modeling
Covered in Payment Platform Data Model.
- The platform → sub-merchant → location → terminal hierarchy, and why reporting, pricing, risk and settlement each need it
- Principals (beneficial owners and control persons) as separate person records linked by role
- Why a sub-merchant may have several bank accounts, and how verification status and effective dates are modeled
- Payment intent vs payment attempt; authorization, capture, refund, void, settlement record, dispute and payout as linked records
- Immutable financial records with an append-only status history
- Money as integer minor units plus an ISO 4217 code; presentment vs settlement currency
- Linking settlement-file records back to authorizations
- Tenant scoping on every row and every query
Key terms: sub-merchant, ultimate beneficial owner, control person, MID, network transaction ID, ARN
State Machines
Covered in Payment State Machines.
- Transition tables with guards, side effects and terminal states
- The onboarding application and account status lifecycle
- The payment lifecycle, including the explicit unknown state after a timeout
- The dispute lifecycle and how its financial impact is recorded separately
- The payout lifecycle, including returns that arrive after a payout was paid
- Enforcing transitions with conditional updates and emitting an event per transition
Key terms: state machine, chargeback, representment, payout
Ledger and Balances
Covered in Double-Entry Ledger Design, Pending vs Available Balance and Ledger Reconciliation.
- Account types, normal balances and a PayFac chart of accounts
- Journal entries for a sale with a fee, a refund, a chargeback, a reserve hold and a payout
- Why balances are derived from entries and not stored as mutable fields
- Concurrency and overdraft guards on balance-checked postings
- Pending, available, reserved and in-transit balances, and the events that move money between them
- Multi-currency accounts, minor units, FX entries and rounding
- Clearing accounts that should net to zero, suspense accounts, and correcting errors with reversing entries
Key terms: ledger, double-entry bookkeeping, journal entry, chart of accounts, trial balance, pending balance, available balance, suspense account, optimistic concurrency control
Idempotency, Events and Webhooks
Covered in Idempotency Key Implementation, Event-Driven Payment Architecture, Webhooks and Payments API Design.
- Where idempotency keys come from, where they stop, and what ISO 8583 uses below the API
- An idempotency key table with request fingerprints, a unique constraint and replayed responses
- Responses for a missing key, a concurrent duplicate and a reused key with a different payload
- The dual-write problem and the transactional outbox
- At-least-once delivery, per-aggregate ordering and idempotent consumers
- Dead-letter queues, poison messages and replay
- Webhook retries with backoff, endpoint disabling, signing and verification on the raw body
- API error design, versioning, pagination, long-running and bulk operations
Key terms: idempotency key, STAN, RRN, authorization reversal, transactional outbox, event sourcing, at-least-once delivery, DLQ, webhook, HMAC
Payouts, Reserves and Fees
Covered in Payout Architecture, Reserves and Negative Balances and Fee Engine Design.
- Funds flow from acquirer settlement to sub-merchant payouts
- Net vs gross funding from the merchant's point of view
- The inputs and outputs of a payout calculation
- Split funding between sub-merchant, platform and PayFac
- Payout rails, ACH returns and notifications of change
- Rolling, fixed and capped reserves as ledger mechanics, and reserve releases
- Negative-balance causes and the recovery waterfall
- Versioned fee schedules, calculation timing, integer rounding and revenue share
Key terms: net funding, gross funding, split funding, rolling reserve, fixed reserve, capped reserve, negative balance, ACH return, NOC, fee schedule, interchange-plus pricing, residual income
Audit, Data Protection and Access
Covered in Audit Trail Design, Handling PII and Card Data and Access Control for Payment APIs.
- What an audit entry must record, and which events (including reads) to log
- Append-only storage, hash chaining and retention
- Classifying CHD, SAD and PII, and where each may live
- Tokenizing at the edge, token vaults, envelope encryption, masking and truncation
- Keeping sensitive data out of logs, traces and error reports
- KYC document storage and the conflict between deletion requests and retention duties
- API keys, OAuth 2.0, JWT validation, RBAC, tenant isolation and MFA
- Production access, secrets management and rate limiting
Key terms: audit trail, PCI DSS, CDE, CHD, SAD, PII, tokenization, token vault, envelope encryption, HSM, pseudonymization, OAuth, JWT, RBAC, MFA, secrets management, rate limiting
Observability, Testing and Scale
Covered in Payment Platform Observability, Testing Payment Systems and Scaling Payment Platforms.
- Technical and business metrics, and why thresholds come from your own baselines
- SLOs, distributed tracing and correlation IDs across API, processor, ledger and webhooks
- Sandboxes vs mocks, test cards, chargeback simulation and failure injection
- Property tests for ledger invariants and concurrency tests for idempotency
- Ledger hot accounts, partitioning, sharding, replicas and caching rules
- Indexing and archiving a large transactions table; capacity planning for peaks
Key terms: SLO, distributed tracing, sandbox, test card, sharding
Related Topics
- Self-Assessment Questions - Test yourself on these topics
- Resources & Reading - Primary sources for this module
- Platform Architecture overview - Module map and learning objectives