This repository contains a simple implementation of a stripe webhook to capture events from stripe with Typescript, Koa and Node. Feel free to download this repo and make use of it. The status is still in progress because i am still looking for changes and improvements for this implementation.
Use stripe CLI to trigger stripe events and test this project locally before you start any implementation in your own project with live payments : https://stripe.com/docs/stripe-cli
More information about stripe webhooks can be found in the docs : https://stripe.com/docs/webhooks