#Mohammmed-paymentintent
1 messages · Page 1 of 1 (latest)
can you check this pi_3L5qOKBZmWAkNUab0EEfL4xq
this payment intent I created and authorized 300 AED
than captured 200 AED,
the balance_transaction contain fee of 10.14 AED
but the dashboard contain fee of 7.14 AED
how I can now how much stripe really take for partial capturing ?
Thanks! Give me a few minutes to look into this.
The PaymentIntent pi_3L5qOKBZmWAkNUab0EEfL4xq has this charge: ch_3L5qOKBZmWAkNUab05dMp2ey
And this charge has this balance transaction: txn_3L5qOKBZmWAkNUab0yaEIJsb
And this balance transaction has a 7.14 AED fee. You can see the details of this in your dashboard:
yes
but I am asking if there is a way to get this value using the api
"balance_transaction":{"id":"txn_3L5qOKBZmWAkNUab0yaEIJsb","object":"balance_transaction","amount":30000,"available_on":1654646400,"created":1654085474,"currency":"aed","description":"Payment Charge for abdur@demo.com","exchange_rate":null,"fee":1019,"fee_details":[{"amount":49,"application":null,"currency":"aed","description":"VAT","type":"tax"},{"amount":970,"application":null,"currency":"aed","description":"Stripe processing fees","type":"stripe_fee"}],"net":28981,"reporting_category":"charge","source":"ch_3L5qOKBZmWAkNUab05dMp2ey","status":"pending","type":"charge"}
this the response I get when expand the balance_transaction object it says that the fee it's 10.19 which is the fee for 300 not 200
Hi there. Taking over for Soma as they have to step out. Give me one moment to catch up
sure, my friend
Checking with a colleague on this. Will get back to you
Ah so the reason is we do 2 balance transactions here. 1 for the full amount and 1 for the refund. This one is for the refund: txn_3L5qOKBZmWAkNUab0eWoHqNE
ok I am checking
You can get that second balance transaction through the refund linked on the charge object
you mean this?
I get
You cannot expand more than 4 levels of a property"
when I tried to expand
Hello 👋
Taking over here, yes you can't go deeper than 4 levels.
I'd recommend retrieving the refund separately and then expanding properties on it
ok thx