#Syed Shahzaib
1 messages ยท Page 1 of 1 (latest)
I am using php sdk
Hi there ๐ you'll want to look at the Balance Transaction object that is associated with the payment. It will contain information about the fees charged in fee and fee_details.
To get to that object you'll look at the latest_charge on the Payment Intent to find the associated Charge:
https://stripe.com/docs/api/payment_intents/object#payment_intent_object-latest_charge
Then the balance_transaction field on the Charge will point to the associated Balance Transaction:
https://stripe.com/docs/api/charges/object#charge_object-balance_transaction
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thank you I have my answer
Happy to help!