Working with webhooks gives me anxiety! 😰 Every api service has their own webhook implementation.
If something bad happens:
Is the webhook lost?
Can I replay the webhook?
Where is it logged so I can debug issues?
Do I have bad data now?
Save your webhooks by default! 😌
Here's an elegant implementation using single table inheritance.