#Cheqo
1 messages ยท Page 1 of 1 (latest)
Hello ๐
From the snippet and the description you've provided it sounds like you're using destination charges correct?
yes
If so, in that case platform is responsible for the Stripe fees.
https://stripe.com/docs/connect/destination-charges#flow-of-funds-app-fee
If you want the connected account to pay the stripe fees then you'd want to increase your application fees to cover the stripe fee amount
OR if you want to split 50/50 then you'd want to increase your application fee to cover half of stripe fee amount
so I assume there is no method such as pass_stripe_fees_to_connected_account?
not really, no.
is that just for express accounts or there isnt any at all?
There isn't any way at all. You can either
1/ You start by looking at the card itself and the country and brand properties. This allows you to detect the type of card and then know the pricing that will be applied. Based on that, you calculate the fee and you increase or decrease your application fee accordingly.
OR
2/ You charge the default large application fee first. Once the charge is made, you look at the fee we charged and you then refund the extra amount on the fee automatically: https://stripe.com/docs/api#create_fee_refund. While this works it is confusing, especially when doing some reporting.
is there any method or helper functions available to get the actual fee amount (I think there are so many factors such as currency conversion fees, subscription fees)?
There isn't a way unfortunately.
There aren't any APIs or helpers that would calculate the actual fee amount. The reason behind that is that it all happens in real-time when the charge goes through the networks and all..
Okay, so just to be sure, I can use application_fee_percent: 10 to take 10% right?
I'm asking, because docs always display application_fee_amount instead:
const paymentIntent = await stripe.paymentIntents.create({
amount: 1000,
currency: 'gbp',
application_fee_amount: 123,
transfer_data: {
destination: '{{CONNECTED_STRIPE_ACCOUNT_ID}}',
},
});
That example is when you create a PaymentIntent vs your usage is for a subscription correct?
yeah, but both of these fields are universal?
Not sure I understand what you mean by universal.
But for your usecase (a subscription), yes application_fee_percent is fine. It should work as intended
Okay thats great, thank you
NP! ๐ Happy to help