Skip to content
RED SAG Skills
hardStudy question · answer published in REST API interview questions, so no pointsapi-designreliability

Preventing double charges on retry

The checkout page sends POST /api/payments. The request times out on a slow network, the client retries, and the customer is charged twice. What is the most robust fix?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions