#KarlS-transactions
1 messages ยท Page 1 of 1 (latest)
Quick clarifying question - are you trying to retrieve Payments (like Charges or Payment Intents) or Balance Transactions? I ask because I wouldn't expect a failed Payment to actually result in a balance transaction, since there's no change to the Stripe Account balance
So I'm looking at the Payment UI in the Stripe Dashboard. There you can filter by status: failed, success, etc..
Gotcha! So that's actually retrieving Payment Intents, not Balance transactions
ok, so the BalancTransactionList class is not the right class to use?
No, that will only get you payments that were successful (and therefore changed your Stripe balance). Let me think about the best way for you to do this...
ok, thx. I'm looking at PaymentIntentService as we speak.
Looking at our API, there isn't really a smart/easy way of doing this - your best option would be to retrieve ALL payment intents, and doing the filtering on your end to determine their status
that is totally fine, I don't mind. I'm just going to persist useful information to our system.
flatten it out, so to speak.
๐ Yeah that should work!
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
that?
Yup!