#codyellow

1 messages · Page 1 of 1 (latest)

paper novaBOT
uneven dirge
#

When you say "related to a connected account" what do you mean? Do you mean all charges that were created directly on a specific connected account (using the Stripe-Account header), or do you mean destination charges that were created on the platform but set transfer_data.destination?

nova cairn
#

ah I was thinking more of the latter

uneven dirge
#

Yeah I don't think there's an easy way to get this from the platform - you have to list all charges and filter yourself or add some helpful metadata that you can use for searching

A potential alternative is that you can still list all charges on the connected account and expand source_transfer.source_transaction to see what the original charge on the platform was

nova cairn
#

From a list of charges.. is it also possible to expand the associated payouts? I'm mostly just looking to get the date of the payout for each charge as well

I can see the payout ID is listed in a "connections" setting at this page https://dashboard.stripe.com/test/connect/accounts/acct_1LpQhTRfYCk8Ir9W/payments/py_1MfEHbRfYCk8Ir9WJIkDRlDn

but I don't see anything in the charge object for a payout ID

paper novaBOT
rugged citrus
#

Charge to Payout is a bit hard to pull. Payout, depends on automatic or not, may not even have the bundled Charge Id

#

Going back to your question, have you tried Listing all Transfer, and circle back to the related Charge on Platform?