#ash4cord_webhooks
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/1415923206233260033
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- voidmonk_api, 21 hours ago, 32 messages
- voidmonk_webhooks, 1 day ago, 13 messages
- voidmonk_api, 2 days ago, 17 messages
hello! Gimme a while to take a look!
the charge.succeeded should still be a Charge object, with this event, you should use the corresponding payment_intent To get the Invoice id, you now need to make another request to retrieve the Invoice Payment using https://docs.stripe.com/api/invoice-payment/list?api-version=2025-08-27.preview&rds=1#list_invoice_payments-payment-payment_intent
so use charge.PaymentIntentId to get the InvoicePayment which has the invoice
and expand "data.invoice" in InvoicePayment, I suppose?
yep, that sounds about right, give it a try and let me know if you're still running into issues
it works, hoping that a charge.PaymentIntentId will always exist for once-off payments/charges and recurring invoice charges
it should!