feat: add middleware to kyc route
This commit is contained in:
@@ -43,7 +43,6 @@ type OTPVerifyResponse struct {
|
||||
}
|
||||
|
||||
type KYCVerifyRequest struct {
|
||||
UserID string `json:"userId" validate:"required,uuid"`
|
||||
NationalID string `json:"nationalId" validate:"required"`
|
||||
BirthDate string `json:"birthDate" validate:"required"`
|
||||
}
|
||||
@@ -51,3 +50,9 @@ type KYCVerifyRequest struct {
|
||||
type KYCVerifyResponse struct {
|
||||
Message string `json:"message"`
|
||||
}
|
||||
|
||||
type APIResponse struct {
|
||||
Success bool `json:"success"`
|
||||
Message string `json:"message"`
|
||||
Data any `json:"data,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user