#codyellow
1 messages · Page 1 of 1 (latest)
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?
ah I was thinking more of the latter
I dont' see an option to filter by transfer_data.destination https://stripe.com/docs/search#query-fields-for-charges
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
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
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.