Idempotency

You might say

A payment callback may arrive more than once, but the same order must count as paid only once.

A repeated request produces the same intended business effect instead of applying it againIf a payment provider retries the same callback concurrently after a timeout, the order service uses its stable event id as a unique key and atomically claims processing so the order is marked paid only once. Idempotency does not mean zero logs, notifications, or other side effects, and different business operations must not share one key.
Further reading