PAYMENT SCENARIOS
After the Payment
Handle webhook events
2min
triggering actions with webhooks how to use webhooks to respond to offline payment events a webhook is an http endpoint that receives events from stripe webhooks allow you to be notified about payment events that happen outside of your payment flow such as successful payments (payment intent succeeded) disputed payments (charge dispute created) available balance in your stripe account (balance available) you can use the dashboard for one off actions like refunding a payment or updating a customerβs information, while webhooks help you scale your payments integration and process large volumes of business critical events build your own webhook you can build a webhook handler on your own server to manage all your offline payment flows start by exposing an endpoint that can receive requests from stripe and use the cli to locally test your integration each request from stripe contains an event https //docs stripe com/api/events/object object with a reference to the object on stripe that was modified