One ledger for every fund movement
Ronexer · 2026 – present
Context
A new multi-tenant payment aggregator (Pay-In and Pay-Out through payment service providers, settlement, reconciliation and risk controls) started with requirements that treated wallet and ledger inconsistently, and one option left settlement accounts outside the platform's control.
My role
Payments-domain expert on the product team, directing cross-team product and technical research.
What I did
- Made the case for one ledger as the single source of truth for all fund movements, with one merchant wallet, double-entry postings and settlement under platform control.
- Wrote the decision plan for the one-ledger model and joined the decision meeting as the technical expert.
- Wrote the technical explorations for 12 payment domains: 80 decisions such as an insert-only ledger with idempotency keys, storing raw PSP webhooks first, and treating PSP timeouts as Unknown, never Failed.
Outcome
- The one-ledger model was adopted and its rules flowed into the domain specifications.
- 23 platform decisions with the tech lead, captured in 14 ADRs (I wrote 7).