Ian Jones Logo

Stripe API Reference - Expanding Responses


Api Design

The stripe api allows you to pass ids of objects you want "expanded". E.G. you can request a lesson, and pass an array of associated properties you want to expand like:

expand: ['series']

and then the api will return the series thats associated with that lesson:

  series: {