Updated on 2026-08-14

This commit is contained in:
Tangem 2025-09-17 15:41:40 +03:00
parent c45301b490
commit 380e7ef082
12 changed files with 108 additions and 24 deletions

View file

@ -261,7 +261,7 @@ internal class DefaultOnrampRepository(
storeOnrampPairs(pairs = onrampPairs.await(), providers = providers.await())
}
override suspend fun hasMercuryoSepaMethod(
override suspend fun hasSepaMethod(
userWallet: UserWallet,
currency: OnrampCurrency,
country: OnrampCountry,
@ -278,7 +278,7 @@ internal class DefaultOnrampRepository(
appPreferencesStore = appPreferencesStore,
),
body = OnrampPairsRequest(
fromCurrencyCode = currency.code,
fromCurrencyCode = EUR_CURRENCY_CODE,
countryCode = country.code,
to = listOf(
OnrampDestinationDTO(
@ -599,5 +599,6 @@ internal class DefaultOnrampRepository(
const val REDIRECT_URL = "https://tangem.com/onramp"
const val SEPA_METHOD_ID = "sepa"
const val EUR_CURRENCY_CODE = "EUR"
}
}