#shaharyarilyas

1 messages · Page 1 of 1 (latest)

iron solarBOT
fickle yacht
#

There isn't a setting for that, but I think there are decent workarounds.

#

The first one that I can think of is that you can check the fee on the payment intent's balance transaction and then transfer that amount to the connected account

#

You can also try to estimate the stripe fee and then subtract that from your application fee. The formula will be a bit off sometimes but it may get you close enough so that on average your users are getting charged the proper amount https://support.stripe.com/questions/passing-the-stripe-fee-on-to-customers

frank skiff
#

Here, you can view my connected account transactions along with the Stripe fee for tap-to-pay. Additionally, I deduct an application fee from every transaction. My requirement is to paying this Stripe fee from the main platform account balance rather than the connected account balance.

fickle yacht
#

Unfortunately you can't do that directly, so the workaround would be compensating the connected account for the fee that they paid

frank skiff
#

Is there any webhook that triggers when a Stripe fee is deducted from my connected account? This would allow me to transfer that amount to my platform or to the connected account accordingly.

fickle yacht
#

I am not immediately sure but will look in to this. If you click on one of those Stripe Fee entries, does that fee have an ID that you can send me?

frank skiff
#

stripe fee row is disabled

fickle yacht
#

Gotcha, good to know. I am looking in to this further and will get back to you

frank skiff
#

Thanks, I'm waiting

fickle yacht
#

I think these would create BalanceTransaction objects, it looks like we don't have a specific event for balance transaction objects being created but we do have a balance.available event that triggers when your balance changes. So I think you could listen for balance.available events on your connected accounts and then list balance transactions on that account to look for fees related to Terminal https://stripe.com/docs/api/balance_transactions/object

#

Unfortunately it looks like we don't have a type enum for this type of fee, so I think you may have to check the transaction's description property to confirm it is from terminal. That is obviously a bit error prone because, while unlikely, the description on new transactions could change without warning. So I will put in feedback that we should have an easier way to check this programmatically, but I think for now checking the description would be the best way to check for these Terminal related stripe fees

frank skiff
#

Thanks a lot

#

One last question: Is there any webhook when balance transaction created?

fickle yacht
frank skiff
#

Got it
Thanks again