Initial commit

This commit is contained in:
2026-01-19 12:12:29 +07:00
commit 2072052437
42 changed files with 5450 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
package payment
import "github.com/gin-gonic/gin"
// PaymentHandler defines the interface for payment operations
type PaymentHandler interface {
CreatePayment(c *gin.Context)
}
// CreatePaymentRequest defines the payload for creating a payment
type CreatePaymentRequest struct {
PlanID string `json:"plan_id" binding:"required"`
Amount float64 `json:"amount" binding:"required"`
}