PayLedgerLive demo
A double-entry payments API that stays correct when transfers race, requests are retried, and callers try wallets that aren't theirs.
- Concurrency
- SELECT … FOR UPDATE, locked in id order
- Retries
- Idempotency-Key claimed inside the transfer's transaction
- Proof
- Parallel-retry and 20-thread tests on real PostgreSQL
- Stack
- Python · FastAPI · PostgreSQL · Alembic