#abishek_docs
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/1222294018667446454
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
I think this is what you're looking for: https://docs.stripe.com/api/invoices/list
You can list all invoices for a given subscription and can also filter by status
thank you. when retrieving this list, will the items retrieved be sorted by ascending order of date?
This is mentioned in the docs:
The invoices are returned sorted by creation date, with the most recently created invoices appearing first.
oh sorry, just went through it. got another issue. I retrieved the invoices for the subscription and I was able to retrieve it, but the billing reason for all these invoices are subscription_cycle and don't see the subscription_create
oh nvm, the default limit is 10
thats why I don't see it