Making requests with stripe-python

Learn how to make requests to the Stripe API using the stripe-python client library. You'll see how to format parameters and pass request body, query string params, and request headers.

### Presenter

CJ Avilla - Developer Advocate at Stripe - https://twitter.com/cjav_dev

### Resources

Official client library: https://github.com/stripe/stripe-python
Code: https://github.com/stripe-samples/developer-office-hours/blob/master/2020-10-30-client-libraries/python/demo_requests.py

## Table of contents

00:00 Overview
01:16 API reference
04:10 Create an object passing no params
05:00 Retrieve single object
06:16 Create an object with scalar values
07:50 Create an object with enum values
09:36 Create an object with nested dict
11:50 Create an object with a list of strings
12:44 Update an object with scalar values
14:30 Update an object with a list of nested dicts
15:52 Retrieve a list of objects
17:16 Retrieve a list filtered by scalar
18:10 Delete an object
18:42 Custom methods overview
19:40 Custom method demo
21:48 Nested service method overview
22:17 Nested service method demo
24:10 Request headers overview
25:10 Request headers demo
27:01 Conclusion


### Support

If you have a question, please feel free to reach out to our support team on Discord at 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.
#Stripe #Payments