#Sangeeta
1 messages · Page 1 of 1 (latest)
Hi there, you might want to use pagination (https://stripe.com/docs/api/pagination?lang=php#pagination) to retrieve more paymentintnets
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 want to get all type of transactions for example failed , completed , incomplete
This API returns all paymentIntents, regardless of status. There's a possibility that the first few paymentIntents returned from this API are all succeeded, so you might want to use pagination to retrieve more paymentIntents
Okay but
in stripe not giving incomplete payments?
And please send the api url
here we get the response
There's no incomplete status in API. The dashboard shows a paymentIntent incomplete if there's no payment attempt to it.
for await (const payment of stripe.paymentIntents.list({limit: 100})) {
// Do something with the paymentIntent
}```
This is how you perform auto pagination in paymentIntents list API