#darksnow_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1346860918310441073
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there ๐ can you share the ID of a request you made to our API to list Subscriptions that didn't return the data you were expecting?
https://docs.stripe.com/api/request_ids
https://support.stripe.com/questions/finding-the-id-for-an-api-request
cus_Rt2OqoYdg42IYH
I'm not seeing the recent attempts in the logs, but this one shows the request req_wlG402rqD9qCQk
Since you're talking about requests to list Subscriptions, those would be a GET request. By default the Dashboard logs show POST/DELETE requests, you'll need to change the values selected in the method filter to see GET requests.
Ah yeah. Sorry, I never spotted the filter. req_FlKbk18E60TXqU
Sorry, I'm a little confused, since that request seems to be retrieving a Customer, rather than listing Subscriptions as you mentioned initially. Can we align on what it is you're trying to do here?
Oh, I see the field you're trying to include, this subscriptions one? Do you see that returned if you use expand and pass it subscriptions?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I hadn't found that expand option. The subscription property appears in the PHP code and in the API docs at https://docs.stripe.com/api/customers/object but I it seems like you understand, let me try that expand option. Thanks.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That did the trick, exactly what I was looking for, thanks very much Toby, you're a star.