diff --git a/internal/interface/controller/http/wallet_client/controllers.go b/internal/interface/controller/http/wallet_client/controllers.go index e27a754..ae61e5a 100644 --- a/internal/interface/controller/http/wallet_client/controllers.go +++ b/internal/interface/controller/http/wallet_client/controllers.go @@ -153,6 +153,12 @@ func (receiver *WalletController) GetPaymentLinkBankCard(ctx context.Context, re Email: auth.Login, Phone: auth.PhoneNumber, }, + Items: []*treasurer.Item{&treasurer.Item{ + Description: "Пополнение пользовательского баланса платформы Pena Hub", + Quantity: fmt.Sprintf("%.2f",float64(request.Body.Amount)/100), + Currency: "RUB", + Money: fmt.Sprintf("%.2f",float64(request.Body.Amount)/100), + }}, }, }) if err != nil { @@ -178,6 +184,12 @@ func (receiver *WalletController) GetPaymentLinkYooMoney(ctx context.Context, re Email: auth.Login, Phone: auth.PhoneNumber, }, + Items: []*treasurer.Item{&treasurer.Item{ + Description: "Пополнение пользовательского баланса платформы Pena Hub", + Quantity: fmt.Sprintf("%.2f",float64(request.Body.Amount)/100), + Currency: "RUB", + Money: fmt.Sprintf("%.2f",float64(request.Body.Amount)/100), + }}, }, }) if err != nil { @@ -203,6 +215,12 @@ func (receiver *WalletController) GetPaymentLinkSberPay(ctx context.Context, req Email: auth.Login, Phone: auth.PhoneNumber, }, + Items: []*treasurer.Item{&treasurer.Item{ + Description: "Пополнение пользовательского баланса платформы Pena Hub", + Quantity: fmt.Sprintf("%.2f",float64(request.Body.Amount)/100), + Currency: "RUB", + Money: fmt.Sprintf("%.2f",float64(request.Body.Amount)/100), + }}, }, }) if err != nil { @@ -228,6 +246,12 @@ func (receiver *WalletController) GetPaymentLinkTinkoff(ctx context.Context, req Email: auth.Login, Phone: auth.PhoneNumber, }, + Items: []*treasurer.Item{&treasurer.Item{ + Description: "Пополнение пользовательского баланса платформы Pena Hub", + Quantity: fmt.Sprintf("%.2f",float64(request.Body.Amount)/100), + Currency: "RUB", + Money: fmt.Sprintf("%.2f", float64(request.Body.Amount)/100), + }}, }, }) if err != nil { @@ -253,6 +277,12 @@ func (receiver *WalletController) GetPaymentLinkSBP(ctx context.Context, request Email: auth.Login, Phone: auth.PhoneNumber, }, + Items: []*treasurer.Item{&treasurer.Item{ + Description: "Пополнение пользовательского баланса платформы Pena Hub", + Quantity: fmt.Sprintf("%.2f", float64(request.Body.Amount)/100), + Currency: "RUB", + Money: fmt.Sprintf("%.2f", float64(request.Body.Amount)/100), + }}, }, }) if err != nil { @@ -278,6 +308,12 @@ func (receiver *WalletController) GetPaymentLinkB2B(ctx context.Context, request Email: auth.Login, Phone: auth.PhoneNumber, }, + Items: []*treasurer.Item{&treasurer.Item{ + Description: "Пополнение пользовательского баланса платформы Pena Hub", + Quantity: fmt.Sprintf("%.2f",float64(request.Body.Amount)/100), + Currency: "RUB", + Money: fmt.Sprintf("%.2f",float64(request.Body.Amount)/100), + }}, }, }) if err != nil {