#Adil kadiyawala
1 messages · Page 1 of 1 (latest)
Hey, sure how can we help?
How can I get the Stripe processing fee and Net balance from paymentintent id?
Also main question is:
I want to transfer amount to connected account and also want to deduct the stripe processing fee from that connected account. so Is that possible?
For the main question: yes, you just need to calculate it based from the processing fee.
For the processing fee, it's available via the Balance Transaction, linked from the Charge inside a PaymentIntent
For main question:
How can I calculate it? can you please suggest me in brief?
My scenario is:
for example : Order Amount is = $100
I want to transfer 99% to connected account and 1% to Platform account.
So based on that I had store 1% value to "application_fee_amount" in paymentintent array and 99% to "transfer_data["destination"]" .
But in that case Stripe processing fee was deduct from main platform and main platform balance was showing in negative value
so what I need to do ?
https://stripe.com/docs/connect/destination-charges#flow-of-funds-app-fee
vs
https://stripe.com/docs/connect/destination-charges#flow-of-funds-amount
I recommend taking a look at these charts