Making requests with stripe-java

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

### Table of contents

00:00 Overview
01:16 API reference
04:10 Create an object passing no params
05:45 Retrieve single object
06:36 Create an object with scalar values
08:40 Create an object with enum values
11:03 Create an object with nested object
13:41 Create an object with a list of strings
15:00 Update an object with scalar values
17:57 Update an object with a list of nested objects
21:55 Retrieve a list of objects
23:30 Retrieve a list filtered by scalar
25:28 Delete an object
26:30 Custom methods overview
27:28 Custom method demo
31:46 Nested service method overview
32:16 Nested service method demo
35:38 Request headers overview
36:43 Request headers demo
39:30 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