add some
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled

This commit is contained in:
guwandyk committed 2026-09-19 04:47:43 +05:00
1 parent 6c7c402390
commit 599c12ef87
9 files changed
+68 -25

No files matched your search

+4
View File
@@ -12,6 +12,9 @@ import (
// Sber orders have no GBÜS fee but add a USD-denominated TVEB fee (shown
// both as-is and converted to TMT) and also show the RUB rate for
// reference, using their own SberBankFeeTmt instead of BankFeeTmt.
// PayableToday is false on Saturday/Sunday (Asia/Ashgabat) - GBÜS/the bank
// does not process payouts on weekends, so the frontend should disable the
// Pay action rather than let the request fail.
type PaymentQuoteDTO struct {
Type string `json:"type"`
ExchangeRateUsd float64 `json:"exchangeRateUsd"`
@@ -21,6 +24,7 @@ type PaymentQuoteDTO struct {
TvebFeeUsd *float64 `json:"tvebFeeUsd,omitempty"`
TvebFeeTmt *float64 `json:"tvebFeeTmt,omitempty"`
MaxAmountTmt float64 `json:"maxAmountTmt"`
PayableToday bool `json:"payableToday"`
}
// PayOrderDTO starts a payout attempt for a visa/master/sber order.