app.post("/webhooks/contro", (req, res) => {
const eventType = req.headers["x-contro-event"];
if (eventType === "kyc_session.failed") {
const { kycSessionId, externalUserId } = req.body;
// Notify the user that KYC failed and they may need to retry
}
res.status(200).send("OK");
});