GET /api/wallets/:walletId/ledgers — wallet ledger entries
Retrieve paginated ledger entries for a wallet. Each entry records a topup, debit, or refund with the resulting balance after the change.
Retrieve the double-entry ledger for a wallet, paginated and sorted newest-first. Every
balance-changing event — fund top-ups, approved payment debits, and refunds — produces a ledger
entry with the resulting balanceAfter so you can reconstruct the wallet’s balance at any point
in time. Use this endpoint for reconciliation, audit exports, or building a running-balance
display in your dashboard.
The absolute value of the balance change, in kobo. Always positive regardless of
direction — use type to determine whether the balance increased or decreased.
A human-readable reference string, or null when no reference is available. For top-ups
this is typically the inbound bank transfer reference; for debits and refunds it mirrors
the transaction reference.