Making requests with stripe-go

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

### Table of contents

00:00 Overview
01:16 API reference
04:10 Create an object passing no params
05:15 Retrieve single object
05:53 Create an object with scalar values
09:04 Create an object with enum values
11:03 Create an object with nested object
13:53 Create an object with a list of strings
15:19 Update an object with scalar values
17:12 Update an object with a list of nested objects
20:08 Retrieve a list of objects
21:40 Retrieve a list filtered by scalar
23:30 Delete an object
24:27 Custom methods overview
25:28 Custom method demo
29:10 Nested service method overview
29:38 Nested service method demo
32:42 Request headers overview
33:44 Request headers demo
35:48 Conclusion

### Support

If you have a question, please feel free to reach out to our support team at https://support.stripe.com/.

### 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