#wolfborg_docs
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1338854075290222662
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
For a balance transaction object what are the conditions that would cause "stripe_fx_fee" and "tax_fee" to be charged/populated?, I checked a few of our payments (incl. ones in different currency) but could only find "stripe_fee" in all of them.
I saw tax_fee and stripe_fx_fee could be one of the balance transaction types that we can expect https://docs.stripe.com/api/balance_transactions/object#balance_transaction_object-type
So wanted to know if they are applicable per payment, for example a successful payment intent
that is for a particular paymanet intent charge, would we be able to know the stripe_fx_fee and tax_fee, or is it not relevant in the context of a charge?
I don't think there's a clear way to map those extra fees to a particular PaymentIntent/Charge.
Do you have example of Balance Tx of those types on your account?
No, I don't have an example. Just wanted to get an idea of the total fee involved for a payment intent charge.
Also what does **fee_details.type ** of "tax" mean? Would we see that in a balance transaction of type "charge"? https://docs.stripe.com/api/balance_transactions/object#balance_transaction_object-fee_details-type
Right now we use the balance_txn object associated with a payment intent to show details regarding the fee collected by stripe for that payment, and we are only considering fee_details.type=stripe_fee. So wanted to know if we should also check for fee_details.type=tax and add that as well
Yes, as part of a Stripe Fee, a tax for Stripe services will be charge, and it will be displayed as an item in the fee_details.
In order to get the amount of the fee, you should sum all the items in fee_details regardless of the type.
ok, thanks
But why would it be that all the payment intent charges I checked only had the "stripe_fee" type in the fee_details array, I could not find "tax" type
Are you looking in Live mode?
yes
I am not sure, might be country-specific issue. I would suggest asking Stripe Support, as my engineering team doesn't know much about fees/taxes etc.
https://support.stripe.com/?contact=true