Learn how to use idempotency for safely retrying requests without accidentally performing the same operation twice using the Stripe Postman collection. This is useful when an API call is disrupted in transit and you do not receive a response. For example, if a request to create a charge does not respond due to a network connection error, you can retry the request with the same idempotency key to guarantee that no more than one charge is created.
### Presenter
Dawn Lambeth – Developer Advocate at Stripe – https://twitter.com/dawnlambeth
### Resources
Documentation: https://stripe.com/docs/api/idempotent_requests
Postman collection: https://www.postman.com/stripedev/workspace/stripe-developers/overview
### Table of contents
00:00 Overview
00:30 Introduction to idempotency
01:20 How it works
01:35 HTTP method support
01:45 Request headers
01:58 Create a customer with an idempotency key
02:58 Create a UUID with Postman
04:10 Retries
### Support
If you have a question, please feel free to reach out to our support team at https://support.stripe.com/ or on Discord: https://stripe.com/go/developer-chat.
### Updates
Sign up to stay updated with developer news: https://go.stripe.global/dev-digest
### Feedback
If you have any feedback about this or other episodes, let us know: https://forms.gle/VjNqzRhotM2snYo88.