hpp #1
@ -185,7 +185,7 @@ type CreatePaymentRequest struct {
|
||||
|
||||
type CreatePaymentOrderItemRequest struct {
|
||||
OrderItemID uuid.UUID `json:"order_item_id" validate:"required"`
|
||||
Amount float64 `json:"amount" validate:"required,min=0"`
|
||||
Amount float64 `json:"amount" validate:"min=0"`
|
||||
}
|
||||
|
||||
type PaymentResponse struct {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user