Files
payouts/internal/service/yookassa/config/yookassa.go
2026-03-19 00:09:25 +03:00

28 lines
449 B
Go

package config
import "time"
type YooKassa struct {
BaseUrl string
Timeout time.Duration
Retry Retry
Test bool
CheckAllowedCallbackAddress bool
AllowedCallbackSubnets []string
ApiBaseKey string
ApiBaseSecret string
ApiPaymentKey string
ApiPaymentSecret string
CallbackProcessTimeout time.Duration
}
type Retry struct {
Enabled bool
Count int
WaitTime time.Duration
MaxWaitTime time.Duration
}