#Syed Shahzaib

1 messages ยท Page 1 of 1 (latest)

ripe portalBOT
umbral crag
#

I am using php sdk

solemn osprey
#

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

umbral crag
#

Thank you I have my answer

solemn osprey
#

Happy to help!