logoalt Hacker News

raffael_detoday at 11:04 AM1 replyview on HN

> Send the same payment twice and one of them should respond "payment already exists".

You are hiding the relevant complexity in the term "same". What is here the same? I mean, if accidentally buy only 1 instead of two items of a product and then buy afterwards again 1 item. How is this then the same or not the same payment?


Replies

mrkeentoday at 11:08 AM

> What is here the same?

The idempotency key of the request

show 1 reply