#pale5684
1 messages · Page 1 of 1 (latest)
hi there, can you share the request id [0] for the query where you're retrieving all invoice items? it'd look like req_xxx
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
list all invoice items - req_aIAUkZvPxYqT9X
retrieve invoice item - req_JqRZTZnkQT9iVb
i see that we are returning results though. How are you processing the response from your request to list all invoice items? can you paste that code snippet?
I'm checking response through the postman
And searching the invoice item(that I need) by invoice item Id inside the response from first query. But no luck
umm, can you paste the full response from postman, without doing your search for the invoice item that you need
the response for listing all invoice items is by default 10 items, you need to paginate to get the full list
It was not like that before I remember that I got all the invoice items without limitation
When did you introduce this limitation?
that limit has always existed : https://stripe.com/docs/api/invoices/list#list_invoices-limit
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Okay thanks
in case you haven't seent this, our libraries do support auto-pagination, so you don't need to build your own : 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.