Underneath the commerce engine sits a real double-entry ledger: accounts, transactions, and append-only entries that must sum to zero, with derived balances. Every money event — settlement, payment, payout, residual, co-sell, deduction — posts balanced entries, and the visible money columns are reconciled against the ledger as caches. It is the accountant's-grade backbone the whole payment system stands on.