Money moves and must balance. The token vault and double-entry ledger are the crown jewels — a leaked PAN breaks PCI-DSS, a non-atomic post breaks the books, and a skipped SCA check breaks PSD2.
A payments and ledger service with CDN/WAF, API gateway, PSD2 strong customer authentication, payment service, fraud engine, an append-only double-entry ledger, a tokenization vault (PCI-DSS CDE), a KYC/AML store, and an acquirer / card-network connector.
The token vault holds card data inside the PCI-DSS Cardholder Data Environment, and the ledger is the authoritative record of every cent moved. A single PAN that leaks outside the CDE expands audit scope and breaches PCI-DSS; a single non-atomic or mutable ledger entry breaks double-entry balance and lets theft hide. PANs must be tokenized and never logged, and the ledger must be append-only with enforced double-entry invariants.
CDN and WAF absorb carding attacks, rate-limit abusive callers, and route authenticated traffic.
SCA, payment service, and fraud engine. Idempotency and authorization decisions live here.
Append-only ledger, token vault (CDE), and KYC store. PCI-DSS scope and ledger integrity enforced here.
Acquirer connector and ops console. Refunds and ledger adjustments require dual control.