#lezh1k
1 messages · Page 1 of 1 (latest)
Hi
But when I request customer through API I don't see them ( "subscriptions": null, )
What APi are you using ?
Can you share the APi you are calling and how ?
You need to use this API:
https://docs.stripe.com/api/subscriptions/list
And filter by customer
Hmm. I thought that when I retrieve customer there should be subscription field.
So the right way is to request all subscriptions and filter by customer.
Okie, thank you
I tried this API: https://docs.stripe.com/api/customers/retrieve
Subscriptions field is expandable one, you need to expand it when calling the retreive API
Great!