#vinko_best-practices
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1351539606432256062
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there ๐ do you have an example Invoice that you're trying to do this for that you can share?
Typically when looking up fee details, you'll find the Balance Transaction associated with the Payment Intent that processed the payment, and look at the fee and fee_details listed there:
https://docs.stripe.com/api/balance_transactions/object#balance_transaction_object-fee
But I'm less confident about whether that will include the additional fees for using Stripe Invoicing.
For example in_1QnJYhDoazGNhhko79Bqe1SX
Gotcha, so if you retrieve this series of objects, do the fee and fee_details fields give you what you're looking for?
- From the Invoice, find the associated Payment Intent: https://docs.stripe.com/api/invoices/object#invoice_object-payment_intent
- From the Payment Intent, find the associated Charge: https://docs.stripe.com/api/payment_intents/object#payment_intent_object-latest_charge
- From the Charge, find the associated Balance Transaction: https://docs.stripe.com/api/charges/object#charge_object-balance_transaction
- The Balance Transaction has the
feeandfee_detailsfields that I'm referring to.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Is there a way to check those objects in the Dashboard? I can't directly query prod from my setup
https://dashboard.stripe.com/balance/all-activity Here it seems I can see all activity
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
There I see the invoice plan fee as well as the payment fee - should both of those be listed on the object you refer to?