#rust_api

1 messages ¡ Page 1 of 1 (latest)

hard driftBOT
#

👋 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/1466455797826453712

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

sweet scarab
#

Object IDs are immutable.

visual sedge
#

im not able to view this customer's logs

#

wihtin the UI how does the customer go about deleting the invoice and recreating with the same invoice number ?

#

also, to accesss these logs do i need to change my permission scope for connected accounts ?

sweet scarab
#

Are you a platform controlling acct_1D1yZlDYJeYaANwC or something else?

visual sedge
#

yeah they're one of my connected users

#

do you need my platform acc id too ?

sweet scarab
#

This request was made by the account holder using their own dashboard so I don't know if you'd be able to see it through Connect scope.

But to answer your question, you can create a revised invoice through the dashboard as shown here - https://docs.stripe.com/invoicing/invoice-edits

visual sedge
#

got it, ty

#

but shouldn't the invoice still exist

#

i just tested in sandboxs and im able to view the newly edited invoice as well as the previous voided one

sweet scarab
#

So the invoice that was deleted is different from the one that was revised

visual sedge
#

If i query for a deleted invoice, do i get a response back saying the invoice was deleted ?

#

iirc customers have a deleted field but not sure about invoices

sweet scarab
#

I don't believe the Invoice object has a deleted field no but you can just try it out and see

visual sedge
#

is there a webhook event to notify if a invoice was d eleted ?

#

my app requires me to keep my data fresh so if theres a way to gaurentee if an invoice was deleted, that'd be great

#

nvm i see invoice.deleted

#

looks like that would be sufficient ?