#KarlS-transactions

1 messages ยท Page 1 of 1 (latest)

steep spade
#

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

dreamy lynx
#

So I'm looking at the Payment UI in the Stripe Dashboard. There you can filter by status: failed, success, etc..

steep spade
#

Gotcha! So that's actually retrieving Payment Intents, not Balance transactions

dreamy lynx
#

ok, so the BalancTransactionList class is not the right class to use?

steep spade
#

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...

dreamy lynx
#

ok, thx. I'm looking at PaymentIntentService as we speak.

steep spade
#

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

dreamy lynx
#

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.

steep spade
#

๐Ÿ‘ Yeah that should work!

dreamy lynx
#

that?

steep spade
#

Yup!