#yvan_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/1466395299370111090
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hey there! could you share an example Event ID (evt_123) for one of these events, so I can take a look at your account's configuration?
the steps may vary slightly depending on some things like your API version
evt_1SumLeGml2SnDiQD3gSCCRfM
thanks!
I use the Java sdk with the version 28.2.0
on that version, you can do the following:
- Retrieve the Dispute's
payment_intentand expand the PaymentIntent'sinvoice - Check the Invoice's
subscriptionproperty to get the Subscription ID
https://docs.stripe.com/api/disputes/object#dispute_object-payment_intent
https://docs.stripe.com/api/expanding_objects
https://docs.stripe.com/api/payment_intents/object?lang=curl&api-version=2024-06-20#payment_intent_object-invoice
https://docs.stripe.com/api/invoices/object#invoice_object-subscription
on newer API versions (post-2025-03-31.basil), the invoice property is no longer available on the PaymentIntent object, so you'd need to use the Invoice Payments API to get the Invoice ID from the PaymentIntent object
Thanks!