Pregunta de entrevista de Alacriti

How would you implement idempotency in a payment system?