#atul-pagination
1 messages ยท Page 1 of 1 (latest)
You can refer to the pagination doc here: https://stripe.com/docs/api/pagination
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
i am using
stripe.paymentIntents.list({cystomer: 'cutomer_id'})
Our libraries also support auto-pagination, so that you don't have to manual paginated: https://stripe.com/docs/api/pagination/auto
starting_after will be the last object ID of the previous page
I'd recommend watching the video here for the implementation: https://stripe.com/docs/videos/developer-foundations?video=pagination&lang=node
Alternatively, I'd recommend auto-pagination, so that you don't have to handle starting_after yourself
It'll be the last object ID (pi_xxx) for starting_after. Please take a look at this video that explains how to pass starting_after in details: https://stripe.com/docs/videos/developer-foundations?video=pagination