#alex_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/1333853256107036724
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Currently Search does not support quering for cancel_at_period_end The available query fields [0] for subscriptions are:
createdmetadatastatuscancelled_at
[0] https://docs.stripe.com/search#query-fields-for-subscriptions
If you know the date/time of the period end that you want to query for, you can take advantage of search. If not, unfortunately, I'm not aware of an easier way to achieve what you're looking for.
Ok thanks anyway
One thing that comes to mind. You can search for all subscriptions that have a status of canceled and then use list to query for the active subscriptions by the cancel_at_period_end