veli routes

This commit is contained in:
Yared Yemane 2025-05-24 19:51:21 +03:00
parent ee07d469eb
commit 69218ee893

View File

@ -177,8 +177,12 @@ func (a *App) initAppRoutes() {
group.Get("/chapa/transfers/verify/:transfer_ref", h.VerifyTransfer)
//Alea Play Virtual Game Routes
group.Get("/alea-games/launch", a.authMiddleware, h.LaunchAleaGame)
group.Post("/webhooks/alea-games", a.authMiddleware, h.HandleAleaCallback)
group.Get("/alea-play/launch", a.authMiddleware, h.LaunchAleaGame)
group.Post("/webhooks/alea-play", a.authMiddleware, h.HandleAleaCallback)
//Veli Virtual Game Routes
group.Get("/veli-games/launch", a.authMiddleware, h.LaunchVeliGame)
group.Post("/webhooks/veli-games", a.authMiddleware, h.HandleVeliCallback)
// Transactions /transactions
a.fiber.Post("/transaction", a.authMiddleware, h.CreateTransaction)