Initial commit - Horux Despachos NL
This commit is contained in:
9
apps/api/src/routes/webhook.routes.ts
Normal file
9
apps/api/src/routes/webhook.routes.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
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 };
|
||||
Reference in New Issue
Block a user