#Sangeeta

1 messages · Page 1 of 1 (latest)

dreamy vaultBOT
elfin willow
sand wharf
#

i want to get all type of transactions for example failed , completed , incomplete

elfin willow
#

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

sand wharf
#

Okay but

#

in stripe not giving incomplete payments?

#

And please send the api url

#

here we get the response

elfin willow
#

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
sand wharf
#

Okay i 'll check then reply you

#

okay thanks