#firecoder-list-subscriptions

1 messages · Page 1 of 1 (latest)

odd kraken
#

Hey @slate basin. We have the List Subscriptions API: https://stripe.com/docs/api/subscriptions/list
That API also has a customer parameter to filter on a specific Customer id cus_123.
Or you can use the customer property on each Subscription returned in that API to tell you which Customer it's associated with

slate basin
#

I was looking at that, however, I didn't think that it would return the customer name and other details.

odd kraken
#

it doesn't. it returns customer: 'cus_123 which is the Customer id cus_123. But you can Expand this into a full Customer object. It's documented here: https://stripe.com/docs/expand

slate basin
#

cool, thanks