#yuichi-hamamoto_webhooks

1 messages ยท Page 1 of 1 (latest)

pearl cryptBOT
#

๐Ÿ‘‹ 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.

twilit kindle
#

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

tranquil moon
#

then if I wanna know how much was paid, should I just look at total then?

twilit kindle
#

Oh, wait. You're not using that version so you can just check paid_out_of_band: true

twilit kindle
tranquil moon
#

but if it's false, amount_paid will be filled

twilit kindle
#

Yes, exactly

tranquil moon
#

But the article you sent me says paid_out_of_band will be removed?

#

So I guess I should just look at total?

twilit kindle
#

Ignore the article. It's irrelevant for your scenario as you're not using that API version

tranquil moon
#

Can you think of the case where total and amount_paid would be different?

twilit kindle
#

Not in your API version, no

tranquil moon
#

so I should just use total not amount_paid

pearl cryptBOT
tranquil moon
#

thx

sinful umbra
#

๐Ÿ‘‹ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!