#supercodepoet
1 messages ยท Page 1 of 1 (latest)
๐ quick counter question, if you want to query invoices by the status why are you using Search API vs List API?
https://stripe.com/docs/api/invoices/list#list_invoices-status
I could use that but I need open invoices that are past due by 30 days or greater
figured the Search API would be the best way to limit that
You can set the created timestamps on List API too
https://stripe.com/docs/api/invoices/list#list_invoices-created
The Invoice Search API doesn't have a query field for status unfortunately
https://stripe.com/docs/search#query-fields-for-invoices
Happy to help ๐ โค๏ธ
is there a way to page the results since the limit is 100?
Yup the API does support pagination by default
https://stripe.com/docs/api/pagination
We also have a video demonstrating pagination (using python)
https://stripe.com/docs/videos/developer-foundations?video=pagination&lang=python
thanks again
NP! ๐