How to handle Stripe webhooks inside of Strapi

along with the default route

const { createCoreRouter } = require(“@strapi/strapi”).factories;
const defaultRouter = createCoreRouter(“api::commande.commande”);

const customRoutes = require(“./WebhookRoute”);

const customRouter = (innerRouter, extraRoutes = ) => {
let routes;
return {
get prefix() {
return innerRouter.prefix;
},
get routes() {
if (!routes) {
routes = innerRouter.routes.concat(extraRoutes);
}
return routes;
},
};
};

module.exports = customRouter(defaultRouter, customRoutes.routes);