Making requests with stripe-node

Learn how to make requests to the Stripe API using the stripe-node 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-node
Code: https://github.com/stripe-samples/developer-office-hours/blob/master/2020-10-30-client-libraries/node/demo_requests.js

## Table of contents

00:00 Overview
01:16 API reference
04:10 Create an object passing no params
05:15 Retrieve single object
06:06 Create an object with scalar values
08:11 Create an object with enum values
11:53 Create an object with nested object
13:37 Create an object with a list of strings
14:57 Update an object with scalar values
16:36 Update an object with a list of nested objects
18:55 Retrieve a list of objects
20:10 Retrieve a list filtered by scalar
20:53 Delete an object
22:32 Custom methods overview
23:31 Custom method demo
26:23 Nested service method overview
26:53 Nested service method demo
28:55 Request headers overview
30:00 Request headers demo
31:40 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