#DavidSak-invoices
1 messages · Page 1 of 1 (latest)
Hey, can you use the list endpoint? https://stripe.com/docs/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.
You can pass status: 'paid' and the required date filters
how do I apply filter by period?
Hmm, yeah there's no paid date filter unfortunately
Is it possible to get a list of succeeded payments like the one the stripe dashboard (https://dashboard.stripe.com/payments?status[]=successful)?
There's no public endpoint for that, no
You'd have to implement that filtering logic yourself, perhaps using the autopagination feature from our libraries: https://stripe.com/docs/api/pagination/auto
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Perhaps if I started with the list of PaymentIntents within the provided period and work from there? Filter by status and get the Invoices? Would that work?
It should do, yes. Do you have the ID of an invoice paid with SEPA?
I can look it up in the portal.
yes, it does
Your approach could work then!
Great! Thanks for your help!
Np!