#dack_bonjour-fee
1 messages ยท Page 1 of 1 (latest)
Hi there! The fee will be surfaced as a part of the balance_transaction object: https://stripe.com/docs/api/balance_transactions/object#balance_transaction_object-fee_details
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
but i need to retrieve it in a webhook with the payment_intent.succeeded event...how can i do it ? ๐
The PaymentIntent.succeeded webhook will have the charge within charges.data: https://stripe.com/docs/api/payment_intents/object#payment_intent_object-charges-data
The balance transaction will be associated with the charge
So based on the webhook you will retrieve the charge to access the balance transaction