#_Giulio-transfers
1 messages ยท Page 1 of 1 (latest)
When you list transfers you can specify a destination (see https://stripe.com/docs/api/transfers/list#list_transfers-destination) which you would set to the connected account ID
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Which fees are you referring to?
both stripe fees and application fees
Plus I would ask you one more thing. ID verification is included in the Express account link onboarding? I know with Standard Account the only possible way to verify a connected account would be logging in and uploading documents directly from Stripe dashboard. It's the same for Express ones? Or do they have that process included in the Onboarding?
Sorry are you still available?
Yeah, sorry - got pulled into something. Give me a minute
I believe ID verification would also be covered in express onboarding
In regards to your fees question - transfers don't really work like that. They aren't tied to specific fees. What exactly are you trying to do?
Thanks. So I have a Xamount buyer-seller transaction where buyer pays with card and Im an intermediate part which takes fees. Then we would have Stripe fees as part of the transaction. I know that if I structure a direct charge seller would directly pay Stripe fees, right? Then I can send back to my platform conn. acct. the fees I would grab with application_fee_amount. So the seller gets X (amount buyer paid) - Stripe fees - My platform fees, and I get My platform fees. So I'm trying to figure out how to get a recap of this transaction, including both Stripe fees and My platform fees seller paid for
Plus, I'm using stripe.checkout.Session.create to initialize this transaction
So your goal here is to retrieve all the fees that were paid on Direct Charges by a connect account?
Yeos
Yes
for every "transaction"
Imagine "user 1" connect acct.
I would like to have something like
user 1 received 89 of the 100 buyer sent with transaction1. 11 were paid in fees, 5 to Stripe 6 to My Platform
user 1 received 50 of the 55buyer sent with transaction2. 5 were paid in fees, 2 to Stripe 3 to My Platform
And so on
Would that be achievable?
Gotcha, so instead I would suggest that you retrieve the Balance Transactions that are on the connected account.
The Balance Transaction object should reflect the fee breakdown in fee_details https://stripe.com/docs/api/balance_transactions/object#balance_transaction_object-fee_details
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I see, that's interesting
Do you know how could I relate the call to a specific connect acct?
You would make this call directly as the specific connect account using the Stripe-Account header
So something like:
stripe.BalanceTransaction.list(
"conn_acct_id"
limit=3
)
No, you'd want it to look more like this:
stripe.BalanceTransaction.list(
stripe_account="conn_acct_id"
limit=3
)
Ok, would I be able to pass that? Because I dont see it as an allowed parameter
How much do you know about the Stripe-Account header? I'd suggest taking a look at https://stripe.com/docs/connect/authentication#stripe-account-header - we give examples of how to do it
๐ Yeah try it out and let us know if you run into issues!
Yes I will. How should be that set up? It's just a var?
That I should pass in the API req.?
You need to pass in the connected account ID as a string - if you want to store that in a var that's up to you, but if you're just testing it out it's not requried