#ferdi.stz

1 messages · Page 1 of 1 (latest)

vague nightBOT
alpine otter
#

hi! hmm, not sure really. Are you asking if you can get a report from us with that information, or how to call the API to get the raw data and build your own report?

lyric jackal
#

Both would be fine! I dont mind builiding my own report. I saw that the on platform report gives me the fee breakdown but I didnt see a column to distinguish between connect account that incurred the fee with the transactions

alpine otter
#

you could try seeing if any of the reports on https://stripe.com/docs/reports/report-types#connect give what you need

for doing it yourself, well generally you can do something like call the List PaymentIntents API, and expand to get the fees : https://stripe.com/docs/expand/use-cases#stripe-fee-for-payment . You should know from each PaymentIntent which connected account was involved, for example if you're using Destination Charges(sounds like it?) then the transfer_data[destination] field is set on the PaymentIntent object, so you look at that plus the details of the charge.balance_transaction.fee_details fee and you have what you need to attribute/build reports.