up
This commit is contained in:
@@ -18,6 +18,8 @@ func RutasPublicas(web fiber.Router) {
|
||||
// ─── Webhooks públicos (sin autenticación) ────────────────────────────
|
||||
// Bold requiere respuesta HTTP 200 rápida, sin middleware de sesión.
|
||||
web.Post("/webhooks/bold", apiControllers.BoldWebhook)
|
||||
// dLocal requiere respuesta HTTP 200 inmediata.
|
||||
web.Post("/webhooks/dlocal", apiControllers.DlocalWebhook)
|
||||
|
||||
// ─── Página de confirmación de pago ───────────────────────────────────
|
||||
web.Get("/pago-exitoso", apiControllers.PagoExitosoPage)
|
||||
|
||||
@@ -138,6 +138,8 @@ func UserRoutes(app fiber.Router) {
|
||||
// dLocal
|
||||
protected.Get("/pasarelas/dlocal/config", controllers.GetDlocalConfigAPI)
|
||||
protected.Post("/pasarelas/dlocal/save", controllers.SaveDlocalConfigWeb)
|
||||
protected.Get("/pasarelas/dlocal/logs", controllers.DlocalPaymentLogs)
|
||||
protected.Post("/pasarelas/dlocal/registro-pago", apiControllers.DlocalRegistrarPago)
|
||||
// Bold API (crear link, consultar estado)
|
||||
protected.Post("/pasarelas/bold/crear-link", apiControllers.BoldCreatePaymentLink)
|
||||
protected.Get("/pasarelas/bold/link/:linkID", apiControllers.BoldGetLinkStatus)
|
||||
|
||||
Reference in New Issue
Block a user