When designing a web service for processing financial transactions, what mechanism can a developer implement to prevent duplicate submissions from charging a customer multiple times?
Track the status codes from previous submissions and use them to determine if the operation should be retried.
Integrate a distributed tracing service to handle de-duplication of transaction requests.
Generate a unique identifier for each operation, allowing the service to detect and ignore retries of transactions that have already been executed.
Record the timestamp for each operation and only process requests if subsequent submissions occur after a specific time interval.