I've always been a huge fan of how Stripe handles their webhooks. They are pretty much doing everything listed in your article.