Idempotency and retries with stripe-python

preview_player
Показать описание
Learn how to use idempotency for safely retrying requests without accidentally performing the same operation twice. 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. In this edition, Matthew shows us how to pass idempotency keys and automatically retry requests using the client library.

### Presenter

Matthew Ling - Technical Solutions Engineer at Stripe

### Resources

Code:

### Table of contents

00:00 Overview
00:41 How it works
01:07 HTTP method support
01:16 Request headers
01:26 Create a customer with an idempotency key
02:28 Create a GUID
03:11 Retries

### Support

### Updates

### Feedback
#Stripe #Payments
Рекомендации по теме
Комментарии
Автор

Hello, I just want to ask is it possible to do this:
There are two persons (ex. Marko and Tom) and Marko want to send $10 to Tom with my app. I need to forward payment to Tom's account and I to get 10% of that transaction for myself. Is there any solution to do it with Stripe? Thanks!

zindovic