Check for valid callback source address

This commit is contained in:
2026-03-14 16:16:10 +03:00
parent e4bfb49f21
commit b2566813ac
5 changed files with 43 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ import (
"payouts/internal/config"
"payouts/internal/models"
"payouts/internal/service/database/orm"
yookassaConf "payouts/internal/service/yookassa/config"
)
var Module = fx.Options(
@@ -27,6 +28,7 @@ func WithContext(ctx context.Context) Optional {
type Service interface {
CreatePayout(models.PayoutReq, *orm.User, ...Optional)
GetConfig() yookassaConf.YooKassa
}
type Param struct {