#nukesforbreakfast_invoice-payment-additional-filters

1 messages ยท Page 1 of 1 (latest)

dense driftBOT
#

๐Ÿ‘‹ 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.

rose jetty
hazy grove
#

Is there some other endpoint that shows all completed payments for a customer or a subscription that might be better suited?

rose jetty
#

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

#

But that will be all Payment Intents

hazy grove
#

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.

rose jetty
#

I can raise that feature request. Adding customer and subscription parameters to the Invoice Payments List API

hazy grove
#

thank you!

rose jetty
#

Yeah, makes sense.

#

Feedback filed. Essentially this would get the API back to parity with the capability before .basil APIs where you could just use the /v1/invoices API with expand=['payment_intent,] to get the individual payments.