Problem
Design a merchant ledger that records upstream financial events and returns authoritative balances
- Retries must collapse to a single financial effect without inflating balances
- Balance reads require immediate accuracy from the primary store, not stale caches
- Journal history remains append-only while corrections flow through the posting path
Key Test Points
- Idempotency mapping
- Transactional balance updates
- Reconciliation with compensating adjustments
Spot an issue or have a suggestion?