Messages can be delivered more than once, and a service can fail between recording an event and acknowledging it. A sportsbook integration should expect repetition rather than treating it as an exceptional accident. The important design question is which business effect must happen once and how the platform can recognise that effect when the same work returns.

Define identity at the business-action level

Identify the reference that distinguishes one submission, settlement instruction or account movement from another. A network delivery identifier may help trace transport without uniquely identifying the business action. Preserve both where necessary. Document how the platform recognises a repeated action and how it distinguishes a legitimate correction from a duplicate with superficially similar content.

Keep the duplicate decision close to the consequential write. A separate check followed by an unprotected action can still allow concurrent requests to pass together. The precise implementation depends on the architecture, but the required outcome is consistent: repeated processing must not create another ticket, reservation or settlement movement. Security and reliability review should assess that outcome across all participating services.

Plan for partial completion

A hypothetical settlement worker records its decision but loses connectivity before receiving the wallet’s response. On retry, it must discover whether the account movement already occurred. Simply abandoning the work can leave it incomplete; blindly repeating it can duplicate the effect. Define the recovery query, shared reference and reconciliation route that resolve this uncertainty through evidence.

Record processing stages in a way that supports recovery without exposing internal states as customer promises. The customer history should present the confirmed outcome, while operations can inspect the pending handoff. Assign ownership to records that remain unresolved beyond the agreed window. Repetition handling is not complete until staff can identify and repair the cases that automation cannot confidently finish.

Specify responsibilities across the platform package

A white-label supplier may claim duplicate protection in its own engine while leaving external wallet calls to another integration. Purchased software may require the operator to implement that boundary. Custom development needs explicit acceptance criteria for the complete action. Ask suppliers to demonstrate a retry after a lost response and show the final account history, not merely a successful API status.

Agree the lifetime and storage of deduplication records according to the action’s replay and recovery needs. A short-lived cache may not cover a later replay or settlement correction. Avoid assuming one universal duration works for every event type. Keep relevant records protected and documented so an investigator can explain why a repeated message was ignored or processed as a distinct action.

Test concurrency and replay deliberately

Send the same action concurrently, restart a worker between stages and replay an older batch. Confirm that effects remain consistent and that legitimate corrections still work. Include changes in message ordering. A deduplication rule that discards every later message with the same market reference may suppress a valid correction, so tests should cover both unwanted repetition and necessary subsequent actions.

Monitor duplicate rates, unresolved handoffs and reconciliation differences. Increased retries can reveal a provider or network problem even when the platform safely absorbs them. Preserve enough technical evidence to investigate without copying unnecessary customer data into logs. A repeatable processing design makes recovery routine and helps operators distinguish harmless redelivery from a new instruction that needs a real account change.

TAKE IT FORWARD

The key decisions.

  • Identify the business action separately from message delivery.
  • Resolve partial completion through shared references and reconciliation.
  • Test legitimate corrections alongside duplicate suppression.

Sources & further reading

Primary references for the concepts discussed. Check the applicable documentation when planning implementation.

  1. Sportradar: recovery using API
  2. UK Gambling Commission: remote gambling and software technical standards