#cristiancalara_api
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/1340963421256028262
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, sorry and yes we automatically marked $0 Invoice as paid. There isn't a way to change that behavior unfortunately
Hey, any way I could forbid / throw an error when $0 invoices are created? Or somehow make it impossible to do?
Hmm you could call Retrieve Invoice API with its Id (in_1QoAi3HJPsRoAov9ZGuQ40RM in this case) and check its status
before calling the Update API
FWIW, we didn't automatically mark this as paid. Your integration made an API call to trigger that: https://dashboard.stripe.com/logs/req_lv28Qm5foj0sQR
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 should be a window between creation and finalization where you can edit the invoice: https://docs.stripe.com/invoicing/integration/workflow-transitions#finalized
Ah, I see. Not sure how I missed that. Thanks!