#hmaxyz
1 messages · Page 1 of 1 (latest)
The public search doens't provide a way to do such a filter:
https://stripe.com/docs/search#query-fields-for-payment-intents
One option is to list all PaymentIntent and check one by one
Yeah, but I'm trying to avoid that
Is there any way I can filter Direct charge transactions?
Direct Charges are made on the Connect Accounts
There is no direct way to do this filter
👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
So the only option is to list all the transactions and do the filtering manually🤔
there's another way you can go at it
which is starting with transfers https://stripe.com/docs/api/transfers/list
and expanding on data.source_transaction.payment_intent https://stripe.com/docs/api/transfers/object#transfer_object-source_transaction
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ohh nice
but then you also have to filter the transactions that don't have a source_transaction
but we are not using transfer due limitations, currently we are only using parameter "on_behalf_of" for direct charges
these are not direct charges
these are destination charges with obo
a destination charge creates a transfer object for you
anytime that money flows from a Platform to a Connect Account a transfer is/has to be created
okay, that means I will be able to find them in transfers