I am using Stripe in my application and I use the payment intent id also as the identifier to store my customer order details. I wrote a webhook endpoint in order to change customer order status and I would like to test locally first.
How can I trigger payment_intent.succeeded event with a specific payment_intent id so that I can find my customer order from the database?