#gorleg
1 messages · Page 1 of 1 (latest)
Just to confirm - you're using application_fee_amount and not transfer_data[amount] , right?
It looked from the documentation that we need to declare the service-providing user's account under on_behalf_of rather than as transfer_data[destination], which implied to me that we should be collecting our platform's fee via application_fee_amount. Is that correct?
We are happy to do whichever is the best flow here. We are more concerned with showing our service providers an accurate quote on our website (e.g. "you will receive <x> for this service")
(our service providers can be located anywhere in the world)
Not quite - I'm talking about transfer_data[amount] , which should work seamlessly with on_behalf_of
Oh, fantastic. I hadn't seen this in the documentation, my apologies. So to confirm, if we declare a payment intent where:
- the service provider's Connect account is listed under the
on_behalf_ofattribute - their "cut" is described under
transfer_data[amount]
This will have the effect of them receiving the amount described, work globally, and have my application be responsible for paying any of stripe's fees?
Yup!
But also just to clarify - whatyou have currently should be working as well
The fee should be coming out of the Application Fee, not from the connected account
You can see a chart showing the flow of funds here https://stripe.com/docs/connect/destination-charges#application-fee
Will the stripe api throw an error if we charge an application fee that is less than stripes fee?
I don't believe so, but let me double check
I'd seen this, but had trouble following the flow of events. I wasn't sure how to compare the various txn_00<x> tables
Hmm... give me a minute, I'm testing some things on my end and I think I see what you're talking about with the Stripe fee
Okay I was wrong earlier - I had thought the fees would be the same if on_behalf_of was used with application fees, but you were right. The fee is pulled from the connected account
But the transfer_data[amount] solution I mentioned should definitely work for you
When I use the NodeJS SDK with transfer_data[amount], it also requires that I input the Connect user's account id as the transfer_data[destination] field. If I declare their account both in transfer_data[destination] and in on_behalf_of, will that work just fine? I can't tell from the docs if that is ok, or if that is me using payment intents in two conflicting flows.
Yup it should work!
great - i really appreciate all the help Karbi!
happy to help!