Idempotency
A property of certain operations in mathematics and computer science whereby they can be applied multiple times without changing the result beyond the initial application.
Definition
A property of certain operations in mathematics and computer science whereby they can be applied multiple times without changing the result beyond the initial application.
Use case
Ensuring a credit card is charged only once even if the user clicks the payment submit button multiple times.
Related terms
Articles
Designing robust and predictable APIs with idempotency
How Stripe designs payments that survive double clicks and retries.