#nachomahn

1 messages · Page 1 of 1 (latest)

final cloudBOT
zenith walrus
#

Unfortunately there is not a direct way to list them via the API but the Customer's page on your dashboard should show a list of related events

violet fog
#

Right now I'm trying to get a list of events for a customer and determine if it would be easier to use those events or invoices to determine how long that customer has not paid.

covert thicket
#

E.g. I am creating a payment intent and after I create an intent I want to find out how much will be stripe fee before I get call stripe.paymentIntents.capture

zenith walrus
zenith walrus
#

@violet fog it would likely be easier to list their invoices and see the last date on an invoice that was paid successfully. Our list invoices endpoint lets you filter by customer and status so you can look for just paid invoices for a certain customer https://stripe.com/docs/api/invoices/list

violet fog
#

Cool that was the feeling that I got.