#IsmailSarikaya - amount connected account receives
1 messages ยท Page 1 of 1 (latest)
You can get the stripe fee for your payment intent by retrieving it and expanding I think charges.data.balance_transaction and then looking at the PaymentIntent's charges[0].balance_transaction field. https://stripe.com/docs/api/balance_transactions/object#balance_transaction_object-fee
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Which is to say that the Stripe Fee lives on a BalanceTransaction object that will itself lives on succeeded Charge objects.
And a PaymentIntent has a list of its charges, so you will want the fee on the BalanceTransaction on the first successful Charge of your PaymentIntent
Thank you so much ๐ .