POST /orders {"orderId":"api-1","sku":"BOOK-1","quantity":1,"amount":250,"shipTo":"Navi Mumbai"} -> {"workflowId":"order-api-1"} GET /orders/api-1 -> {"orderId":"api-1","status":"CONFIRMED","reason":null} POST /orders {"orderId":"api-2","sku":"BOOK-1","quantity":1,"amount":5000,"shipTo":"Navi Mumbai"} -> {"workflowId":"order-api-2"} GET /orders/api-2 -> {"orderId":"api-2","status":"CANCELLED","reason":"PaymentDeclined"} POST the same order again -> HTTP 409 ledger journal: chargePayment api-1 attempt 1: charged 250 reserveStock api-1 attempt 1: reserved 1 x BOOK-1 confirmOrder api-1 attempt 1: confirmed, shipping to Navi Mumbai chargePayment api-2 attempt 1: DECLINED (amount 5000)