#mkato_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/1349483283020382269
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there!
We only generate the url for the Hosted Invoice Page when the Invoice is finalized, as we document in the api reference: https://docs.stripe.com/api/invoices/object#invoice_object-hosted_invoice_url
Thanks for your reply.
if we finalized the invoice, will the invoice be sent to the customer immediately? or can we send it after using sendInvoice API.
Its up to you; there is a setting in the dashboard at https://dashboard.stripe.com/settings/billing/automatic that reads "
Send finalized invoices and credit notes to customers" - if you have that turned on, then Invoices will be sent upon finalization
If you wish, you can turn that off and then make use of the "Send an invoice for manual payment" endpoint, as you mentioned.
ok, I'll try and use finalize invoice API to get generated host URL
I have one more question.
If the invoice is finalized, is it possible to update or delete it? for example, changing the purchase's price or unit.
I understand it is not possible to do any action after sending the invoice but is it possible to do it before that?
The possible actions per status are here: https://docs.stripe.com/invoicing/overview
some changes can be made, it cannot be deleted