Pergunta de entrevista da empresa Alacriti

How would you implement idempotency in a payment system?