A payment processing platform and double-entry ledger in Java 21 and Spring Boot, open source with a live demo console.

Payment state, balanced ledger postings and a transactional outbox commit atomically in one PostgreSQL transaction
Append-only double-entry journal where postings sum to zero per currency, enforced by a deferred PostgreSQL constraint trigger
Deadlock-free pessimistic locking by sorting account IDs before SELECT ... FOR UPDATE
Two-layer idempotency with an Idempotency-Key plus a SHA-256 request fingerprint
Transactional outbox to Kafka to HMAC-signed webhooks, with retries, backoff and a scheduled reconciliation job
Live demo: https://payflow-five-sable.vercel.app
0 likes · 0 views · Nov 24, 2026
Built a payment ledger backend in Spring Boot with atomic postings, idempotency and Kafka webhooks.