#nukesforbreakfast_invoice-payment-additional-filters
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/1423415627644932169
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- nukesforbreakfast_api, 14 hours ago, 56 messages
- nukesforbreakfast_sub-schedule-prorations, 20 hours ago, 37 messages
- nukesforbreakfast_docs, 1 day ago, 8 messages
- nukesforbreakfast_best-practices, 6 days ago, 12 messages
HI ๐
You would need to iterate through all Invoice associated with either the Subscription or Customer and then use the Invoice Payment List API: https://docs.stripe.com/api/invoice-payment/list?api-version=2025-09-30.clover&rds=1
Is there some other endpoint that shows all completed payments for a customer or a subscription that might be better suited?
Nope
Not since the decoupling of Payment Intents & Invoices in the .basil API
It's a known pain point but, as yet, we don't have a clean way around it
Well wait, at least for a Customer you can just use the Payment Intent List API: https://docs.stripe.com/api/payment_intents/list?api-version=2025-09-30.clover&rds=1
But that will be all Payment Intents
ok. It might be nice to be able to do queries like:
"give me all paid invoice payments for cus_asdf"
"give me all paid invoice payments for sub_1234"
basically being able to use the v1/invoice_payments endpoint and filter for objects related to invoices/that can generate invoices.
That would be my feature request. ๐
in my specific use case, I care about the specific subscription the invoices get generated from and want to filter by that value, but even filtering by customer would be close enough to make it work.
I can raise that feature request. Adding customer and subscription parameters to the Invoice Payments List API
thank you!
basically mirroring what I can do with the v1/invoices endpoint today: https://docs.stripe.com/api/invoices/list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.