#niceone_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1261339405558480978
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi ๐ I don't believe you can void an Invoice that has already been paid. Are you seeing something different when you try to do that in testmode?
Yup, paid Invoices don't support any additional actions:
https://docs.stripe.com/invoicing/overview#invoice-statuses
so what this one means https://docs.stripe.com/api/invoices/send
"Mark a finalized invoice as void."
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ah ok it means open state
Yup, that's open, which can be voided. In that case the Invoice just sort of gets set aside. Payments don't happen, but it isn't deleted either.
If an Invoice hasn't been finalized yet (is still in a draft state), then it can't be voided. Instead you can delete the draft.
ok
and if I sent void for invoice in draft or paid state then I receive some error in response?
Yup