Platform Architecture Resources & Reading
Last Updated: 2026-12-01 Status: Complete
These are the sources this module is built on. Standards bodies and regulators come first, then processor documentation, then engineering writing. Processor documentation describes one vendor's behavior: use it to learn what to design for, and check your own provider before you rely on a number.
Standards and Regulation
Security and Card Data
- PCI DSS v4.0.1 - PCI Security Standards Council. Requirement 3 (stored account data), 7 and 8 (access and authentication), 10 (logging and monitoring); current version: PCI DSS v4.0.1 — all future-dated requirements mandatory since 31 March 2025
- Information Supplement: PCI DSS Tokenization Guidelines - PCI SSC, 2011
- Tokenization Product Security Guidelines: Irreversible and Reversible Tokens - PCI SSC, 2015
- FAQ 1091: Acceptable formats for truncation of primary account numbers - PCI SSC
- NIST SP 800-63B-4: Authentication and Authenticator Management - NIST, 2025
- OWASP Top 10:2025 and OWASP API Security Top 10:2023 - OWASP Foundation
Privacy and Record Keeping
- General Data Protection Regulation (EU) 2016/679 - Articles 4(5), 5 and 17, and Recital 26
- 31 CFR 1010.430: Nature of records and retention period - U.S. Bank Secrecy Act record keeping
- 31 CFR 1020.220: Customer identification program requirements for banks - CIP record retention
- Nacha Operating Rules and Risk Management Advisory Group: Originator Essentials - ACH returns, notifications of change and authorizations
Protocols
- RFC 6749: The OAuth 2.0 Authorization Framework and RFC 8705: OAuth 2.0 Mutual-TLS - IETF
- RFC 7519: JSON Web Token - IETF
- RFC 9457: Problem Details for HTTP APIs - IETF, 2023 (obsoletes RFC 7807)
- The Idempotency-Key HTTP Header Field - IETF HTTPAPI working group; status: Internet-Draft (draft-ietf-httpapi-idempotency-key-header-09, 21 November 2026), not yet an RFC
- Standard Webhooks specification - Community specification for webhook headers, signatures and retries
- W3C Trace Context - The
traceparentheader for distributed tracing - ISO 4217 currency codes - Maintained by SIX; includes the minor-unit exponent for each currency
Processor and Platform Documentation
Idempotency and Webhooks
- Stripe: Idempotent requests and API v2 overview - Two different replay models
- Stripe: Receive events in your webhook endpoint - Retries, duplicates, ordering and signature verification
- Adyen: API idempotency - Key validity, concurrency errors and transient errors
- Adyen: Verify HMAC signatures and Troubleshoot webhooks - Signing and the retry queue
- PayPal: Idempotency - The
PayPal-Request-Idheader - Svix: Retries - A published retry schedule from a webhook-delivery vendor
Platforms, Balances and Payouts
- Stripe Connect: Account balances and Manage payout schedules - Negative balances, liability and schedules
- Adyen for Platforms: Account structure - Legal entities, account holders and balance accounts
- Modern Treasury: Ledger accounts and Lock on account balance or version - Pending, posted and available balances; write guards
- TigerBeetle: Two-phase transfers - Holds that are posted or voided
- Modern Treasury: ACH return code reference - Return reasons and timeframes
Testing
- Stripe: Testing - Test cards, including cards that create disputes
- Adyen: Test applicable dispute reasons - Simulating disputes in the test environment
Messaging Infrastructure
- Amazon SQS: Standard queues, FIFO exactly-once processing and dead-letter queues
- Apache Kafka: Message delivery semantics
- Debezium: Outbox event router
- AWS KMS cryptography essentials, Google Cloud KMS: Envelope encryption and HashiCorp Vault: Leases
Engineering Writing
- Ledger: Stripe's system for tracking and validating money movement - Stripe engineering blog, 2024
- Implementing Stripe-like Idempotency Keys in Postgres - Brandur Leach
- Transactional outbox - Chris Richardson, microservices.io
- Event Sourcing (2005) and What do you mean by "Event-Driven"? (2017) - Martin Fowler
- Idempotent Receiver and Dead Letter Channel - Enterprise Integration Patterns
- Designing Data-Intensive Applications - Martin Kleppmann (O'Reilly). Consistency, stream processing and event logs
- Idempotency in Payments - This site's blog post on where idempotency keys stop and what ISO 8583 uses instead
Related Topics
- Topics to Study - The checklist for this module
- Self-Assessment Questions - Test yourself
- Key Numbers - Every time-sensitive figure in this module, with sources