|
|
|
|
|
by thundergolfer
1559 days ago
|
|
The ex-Uber author is using a loose or colloquial definition of idempotency, which is concerned with getting an identical response across calls (implying something about system state changes that produce the responses).
But the API providers may consider their system still idempotent because the HTTP response is not considered part of their ‘system state’ and so the response changing across calls is not relevant. What’s relevant is the payment provider’s internal system state being invariant across 1-N calls.
They may claim “this is idempotent because it’s safe to retry repeatedly” without making the claim that the error code is identical each call. |
|