#Fugazcz
1 messages · Page 1 of 1 (latest)
The list endpoint is paginated, and the default number of objects returned is 10. You can increase this up to 100 via the limit parameter: https://stripe.com/docs/api/pagination#pagination-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.
Hey, thanks for your reply, but I wrote it wrong. I meant Webhook called Invoice created and not API. Can you help me with this as well?
Can you share an example evt_xx and describe the issue you're seeing?
I look at it now and I will try to describe it more clear.
User clicks on button "buy" in my app, I run Create Session Api to open the Payment gate and then Stripe send informations about order to our Webhook Invoice Created, but on this Webhook arrives only 10 items (line items)
Is there any limit on webhooks?
Hey! Taking over for my colleague. Let me catch up.
Yes webhooks embeded list object sends only 10 items. So you need to fetch more items using Stripe API. In your case you can refer to this API in order to fetch all the Invoice's Items:
https://stripe.com/docs/api/invoices/invoice_lines
You need to iterate over the pages if needed