Making requests with stripe-php

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

## Table of contents

00:00 Overview
01:16 API reference
04:10 Create an object passing no params
05:12 Retrieve single object
06:19 Create an object with scalar values
08:25 Create an object with enum values
10:50 Create an object with nested associative array
12:32 Create an object with a list of strings
14:01 Update an object with scalar values
15:24 Update an object with a list of nested associative arrays
17:30 Retrieve a list of objects
18:30 Retrieve a list filtered by scalar
20:15 Delete an object
20:52 Custom methods overview
21:50 Custom method demo
24:26 Nested service method overview
24:57 Nested service method demo
26:55 Request headers overview
28:00 Request headers demo
30:10 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.

### Feedback

If you have any feedback about this or other episodes, let us know: https://forms.gle/VjNqzRhotM2snYo88.
#Stripe #Payments