app.post("/webhooks/contro", (req, res) => {
const eventType = req.headers["x-contro-event"];
if (eventType === "kyc_session.completed") {
const { kycSessionId, externalUserId } = req.body;
// The user passed KYC — you can now issue cards for them
}
res.status(200).send("OK");
});