app.post("/webhooks/contro", (req, res) => {
const eventType = req.headers["x-contro-event"];
if (eventType === "balance.top_up") {
const { transactionId, amount, ref } = req.body;
// Record the top-up in your system
}
res.status(200).send("OK");
});