Why Double-Entry Accounting is Non-Negotiable for Micro-Retailer Float.
Why traditional single-balance wallet databases fail during network timeouts, and how immutable append-only ledger entries protect retailer capital.
Gatewayline Research Group
Core Systems & Transaction Engine
When a Kirana store retailer maintains a ₹30,000 float balance, that money represents working capital needed to run their grocery store, buy dairy inventory, and pay distributor bills.
In a primitive wallet system, when an IMPS transfer is initiated, the database runs `UPDATE wallets SET balance = balance - 5000`. If the sponsor bank gateway times out 10 seconds later, the retailer sees ₹25,000, while the customer claims the recipient never received the cash. Panic ensues.
In Gfinpay, wallets are never mutated in place. Instead, transactions are written to an append-only ledger. When a transfer begins, a `HOLD` entry moves ₹5,000 from available float to locked escrow. If the bank succeeds, a `CAPTURE` entry finalizes the payout and posts settlement entries. If the bank rejects or times out, an automated `REVERSAL` entry unlocks the hold immediately.
Day-End Bank Reconciliation
Every evening at 23:59:59 IST, our batch reconciliation engine compares the aggregate sum of all credits, debits, holds, and settlement entries against the sponsor bank's settlement MIS file.
Because every row is immutable and tied to a unique UUID idempotency key, zero transactions are ever lost, double-debited, or phantom-credited.
