#yuichi-hamamoto_webhooks
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/1397497938439180399
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Because it was paid out of band here: https://dashboard.stripe.com/test/logs/req_KZUlFvNHI0FiNb
This has always been the case โ amount_paid would be 0 when marked as such. There was previously a paid_out_of_band property on the invoice to help you differentiate, but that was removed in a recent API release: https://docs.stripe.com/changelog/basil/2025-03-31/add-support-for-multiple-partial-payments-on-invoices
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
then if I wanna know how much was paid, should I just look at total then?
Oh, wait. You're not using that version so you can just check paid_out_of_band: true
Yes, if paid_out_of_band: true then just look at total
but if it's false, amount_paid will be filled
Yes, exactly
But the article you sent me says paid_out_of_band will be removed?
So I guess I should just look at total?
Ignore the article. It's irrelevant for your scenario as you're not using that API version
Can you think of the case where total and amount_paid would be different?
Not in your API version, no
so I should just use total not amount_paid
Yes
thx
๐ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!