#sintonz-net amounts

1 messages · Page 1 of 1 (latest)

jade drift
#

That depends for each. Which are you interested in?

primal jackal
#

all of them

#

from each of those objects

jade drift
#

Have you tried looking for this so far and run in to issues?

primal jackal
#

i don't see anything in the subscription object for fee. invoice i see total, tax?

#

disputes and refunds i see nothing

#

brb

#

back

#

balance transactions object?

topaz sand
#

@primal jackal yes the BT object has all information about money movement including our fee if any so you look at the Charge or the Refund object and they both have a balance_transaction property that you can expand (https://stripe.com/docs/expand) to look at the fee for example

primal jackal
#

ooh ok so i would have to do the expand on the child refund object listing?

topaz sand
#

yes

#

though we don't refund our fee on Refund so there's no fee to look at

primal jackal
#

stripe.Refund.list(expand=['balance_transaction']).auto_paging_iter() ?

topaz sand
#

you want expand=['data.balance_transaction'] because it's a list endpoint

primal jackal
#

oh ok