The replica that forgets a settled machine payment
A settlement gateway can pass code review and still submit the same machine payment twice when its deduplication store belongs to the process serving the request. Lose the response after settlement commits, route the retry to another replica, and the configuration turns an availability feature into a duplicate submission path.
The configuration looks locally correct
The application checks an idempotency key before submitting a wholesale central bank digital currency payment, but deployment configuration selects an in-memory store rather than a shared durable journal. Reviewers see the guard in the code, while routine tests reuse the same process and never exercise the persistence boundary. Consider a gateway response timeout of 500 ms, an illustrative setting rather than a settlement latency target: expiry tells the caller that its wait ended, not that the settlement instruction failed. If the commit succeeded and its response disappeared, another replica can interpret the retry as a new instruction because it cannot see the original admission record. Messaging standards such as ISO 20022 can carry identifiers and status information, but their use does not establish the retention, uniqueness or atomicity guarantees of the gateway consuming them.
An unresolved result must remain unresolved
When a settlement response disappears, the surviving replica must recover the original instruction and resolve its status, because creating a replacement instruction converts uncertainty into duplicate financial exposure.
Make recovery share the same evidence
Persist the business intent, its stable settlement identifier and a fingerprint of its economic terms before dispatch, with uniqueness enforced by the durable store rather than by an application lookup followed by an insert. Every replica must consult that record, and reuse of the same key with changed terms must produce a conflict rather than silently accepting a different payment. Persistence alone does not make the local journal and the external settlement commit atomic: recovery must resubmit the original identifier under the settlement service's documented deduplication contract, or reconcile it through an authoritative status interface before proceeding. A dispatch record retained with the admitted intent makes pending work recoverable, while settlement receipts provide evidence for completing the local state transition. If that shared evidence becomes unavailable, settlement admission must pause; plant control can continue only within an already authorised operating envelope, with financial completion kept separate from physical execution.
Exercise the lost response today
In a settlement sandbox, submit a machine payment through the normal gateway with a recorded business intent key, and use a fault proxy or a gateway test hook to suppress the completion response after the settlement service has committed it. Terminate the serving gateway process, then replay the identical request and key through a surviving replica so the test cannot accidentally succeed through its original memory cache. Inspect both the gateway journal and the settlement service's authoritative records: the replay must recover the original settlement identity, and there must be no additional posted transfer for that intent. A client error or a duplicate rejection alone is insufficient evidence, because the gateway still needs to recover the committed outcome and expose it to the machine payment workflow. Apply this deployment rule: permit automatic retry only when a replacement replica can recover the original intent and the downstream contract makes replay safe or allows authoritative resolution; otherwise retain the unresolved state and accept delayed settlement instead of inventing a fresh instruction.