3 Comments

Thank you for posting.

I have a follow up questions to this:

1. Let's say the client is required to generate a UUID every request and that becomes the idempotent key.

Q1) What happens when the client doesn't send this information, how should the server behave?

Q2) Should this UUID be considered unique for each request, if not, then should there be a time frame set for a particular one, after which u can send the same UUID but different information?

Q3) Should the idempotent key be mapped with the domain forming a composite, otherwise multiple clients can end up sending the same UUIDs.

Expand full comment

why do we put the key in HTTP header not request body? I'm not familiar with payment.

Expand full comment

stripe recommends V4 UUIDs to be used as a best practice

Expand full comment