Module 4 · Interview Prep: A Payment Gateway Lesson 20 of 54
The Payment API and Idempotency Keys
Create, capture, void and refund, with a key on every write.
Transcript
34 sentences · select one to jump thereCheck your understanding
A shop retries a create call with the same idempotency key but a different amount. What does the gateway do?
Lesson notes
The rule
Every write carries a key, in both directions: the shop's key into us, our reference out to the processor