import { Router, type IRouter } from 'express'; import { handleMercadoPagoWebhook } from '../controllers/webhook.controller.js'; const router: IRouter = Router(); // Public endpoint — no auth middleware router.post('/mercadopago', handleMercadoPagoWebhook); export { router as webhookRoutes };