treasurer/internal/models/payment_request.go

13 lines
508 B
Go
Raw Normal View History

2025-06-02 14:39:46 +00:00
package models
// надо разобраться с дженериками что вообзе за ЬДЬДВЬДыв
type PaymentRequest struct {
UserID string `json:"userId"`
ClientIP string `json:"clientIp"`
PaymentMethod PaymentType `json:"paymentMethod"`
Amount int64 `json:"amount"`
Currency string `json:"currency"`
ReturnURL string `json:"returnUrl"`
CallbackHostGRPC []string `json:"callbackHostGrpc,omitempty"`
}