Yimaru-BackEnd/internal/router/router.chapa.go

38 lines
723 B
Go

package router
// @title FortuneBet Chapa API
// import (
// "github.com/SamuelTariku/FortuneBet-Backend/internal/services/wallet"
// "github.com/gofiber/fiber/v2"
// )
// func ChapaRoutes(app *fiber.App) {
// chapaRouter := app.Group("/api/v1/chapa")
// chapaRouter.Post("/payments/initialize",
// wallet.InitializePayment,
// )
// chapaRouter.Get("/payments/verify/:tx_ref",
// wallet.VerifyTransaction,
// )
// chapaRouter.Post("/payments/callback",
// wallet.ReceiveWebhook,
// )
// chapaRouter.Get("/banks",
// wallet.GetBanks,
// )
// chapaRouter.Post("/transfers",
// wallet.CreateTransfer,
// )
// chapaRouter.Get("/transfers/:transfer_ref",
// wallet.VerifyTransfer,
// )
// }