#nukesforbreakfast_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/1412242812388245544
đ 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, 3 days ago, 30 messages
- nukesforbreakfast_docs, 5 days ago, 18 messages
- nukesforbreakfast_error, 6 days ago, 15 messages
Hi! Unfortunately Stripe API doesn't support filtering invoices by multiple statuses in a single API call. You can only filter by a single status at a time.
alright, is there any feature request logged for this kind of functionality?
Yeap, I will be providing this as a feedback to our team.
ok, next question
for this endpoint: https://docs.stripe.com/api/invoice-payment/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.
is there a way to list all invoice payments for a given customer ID?
or is there some other endpoint I should use to list all payments for a given customer ID?
the use case is to list all invoice payments with a status of paid for a given customer ID.
Give me a moment to look into this.
You can list all invoices (https://docs.stripe.com/api/invoices/list) by passing the customer ID to customer and the status: paid. This will give you all paid invoices for a customer. And then if you wish to get the payment details you can expand: [data.payments] (https://docs.stripe.com/api/invoices/object#invoice_object-payments).
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ok, so I have to take the hit of requesting all invoice details even if I only want invoice payments
Yes, you won't be able to get just the payments details.
is it possible to also add a request to allow specifying a customer ID for the /v1/invoice_payments endpoint?
to be able to retrieve all invoice payments for a given customer ID
Sure! I can provide a feedback for that.