#GomuGomu88-calculate-fee
1 messages · Page 1 of 1 (latest)
Hi 👋 calculating the Stripe fees will be a bit tricky if the percentage can fluctuate.
If you're using separate charges and transfers, do you need to know the Stripe fees before you place the payment, or just before you start making the transfers?
before making transfers
Gotcha. So prior to making the transfer you can check the Charge that is associated with the Payment Intent that you created:
https://stripe.com/docs/api/payment_intents/object#payment_intent_object-charges
and from there you can find the related Balance Transaction:
https://stripe.com/docs/api/charges/object#charge_object-balance_transaction
which has fee and fee_details objects to explain the fees for the charge:
https://stripe.com/docs/api/balance_transactions/object#balance_transaction_object-fee