#oh-balancetransaction-morequestions

1 messages · Page 1 of 1 (latest)

stuck lindenBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

pale umbra
#

oh-balancetransaction-morequestions

#

amount is the amount of the BalanceTransaction, it's before fees.

wind bronze
#

Hello again

pale umbra
#

Hello again! I do think it's time for you to test all of this end to end in Test mode. This is a lot of extremely specific questions about stuff that can be confirmed in real time by using our API yourself

wind bronze
#

I know it's before stripe fee, but it's before other fee as well, like customer paid tax?
Cause I looked at doc the tax fee is only referring to tax on stripe collected fee

tax_fee
Taxes collected by Stripe to be remitted to the appropriate local governments. Typically, this is a tax on Stripe fees.

pale umbra
#

That fee is about our fee, has nothing to do with the customer tax.

wind bronze
#

Okay, let me test it out, just want to know before that, is the amount includes customer paid tax and invoice-level discount applied, is that right?

pale umbra
#

I don't understand the words and the way you are describing things unfortunately. The problem is that our API has a lot of API resources that each represent different things. A BalanceTransaction has nothing to do with the Customer or its tax or what they see. It's purely about the money movement in your account.

I'm sorry, but I think it really is time to spend a while testing this end to end, printing each object and understanding their relationship to each other because they each describe different things.

If you charge a Customer for $100 with a $20 tax so a total of $120 then the Invoice and Checkout Session have the tax/product breakdown. The PaymentIntent or Charge object do not, they just have the total amount that is being charged ($120). And the BalanceTransaction represents the money moving into your account, this has the amount of the real transaction for example after currency exchange (which is common).

wind bronze
#

Okay thank you, that makes a lot of sense.

#

👍

pale umbra
#

I wish we had some kind of "those are all the objects and how to understand them" but in the meantime the best option is to use Expand to get multiple objects at once and then dump them to try and make sense of them