#Peter Silie
1 messages · Page 1 of 1 (latest)
Hi there
The fee details are on the balance transaction object: https://stripe.com/docs/api/balance_transactions/object?lang=node#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.
Thanks a lot!
Sure!
What is that id? "txn_---"
Yep
In my checkout.session.completed I got the "id" and the "payment_intent". Is it one of these?
The balance transaction is on the Charge object which is on the PaymentIntent. So you want to retrieve the PaymentIntent and expand the Charge and Balance Transaction and you will see it
balance_transaction: https://stripe.com/docs/api/charges/object#charge_object-balance_transaction