Designing the Ledgers API with Optimistic Locking
moderntreasury.com