# webhooks

Paired with Rachel today on what webhooks are and how they are integrated into our codebase. They are a type of API that is driven by events rather than requests. It allows one program to send data to another as soon as a particular event takes place. so in our code, the webhook is listening for changes to a customers credit card, and instead of making an API call, the event is triggered and then updates automatically. 

here is the ticket that we paired on for testing the new webhook - https://github.com/homechef/mealhand/pull/22494
