Multiple ChoiceBeginner 45s
Purpose of Idempotency Keys in Payments
Why do payment APIs require a client-supplied idempotency key on retryable requests?
Options
- 1To encrypt the payment payload end to end, so a replayed request is rejected by the gateway
- 2To speed up database writes by hashing the body, so repeated writes collapse into one row
- 3To guarantee the payment settles within the same second as the original request, so the client can retry safely
- 4To let the server detect a repeated request and return the original result without charging twice
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.