diff options
author | Antoine A <> | 2023-11-21 15:00:56 +0000 |
---|---|---|
committer | Antoine A <> | 2023-11-21 15:00:56 +0000 |
commit | ab497d1e773ede40fdcacf5d3aa1611683ffabd3 (patch) | |
tree | b336e2a79863ee1bebe172c32a9db228b9604df7 /core | |
parent | 5d74b713adf13e611dd2c67948d0cb48c8eb08b5 (diff) | |
download | docs-ab497d1e773ede40fdcacf5d3aa1611683ffabd3.tar.gz docs-ab497d1e773ede40fdcacf5d3aa1611683ffabd3.tar.bz2 docs-ab497d1e773ede40fdcacf5d3aa1611683ffabd3.zip |
Fix currency and currency_specification
Diffstat (limited to 'core')
-rw-r--r-- | core/api-bank-conversion-info.rst | 10 | ||||
-rw-r--r-- | core/api-corebank.rst | 7 |
2 files changed, 13 insertions, 4 deletions
diff --git a/core/api-bank-conversion-info.rst b/core/api-bank-conversion-info.rst index 12f9b6b7..78af513b 100644 --- a/core/api-bank-conversion-info.rst +++ b/core/api-bank-conversion-info.rst @@ -52,10 +52,16 @@ is used by wallets for withdrawals that involve a currency conversion. name: "taler-conversion-info"; // Currency used by this bank. - regional_currency: CurrencySpecification; + regional_currency: string; + + // How the bank SPA should render this currency. + regional_currency_specification: CurrencySpecification; // External currency used during conversion. - fiat_currency: CurrencySpecification; + fiat_currency: string; + + // How the bank SPA should render this currency. + fiat_currency_specification: CurrencySpecification; // Extra conversion rate information. // Only present if server opts in to report the static conversion rate. diff --git a/core/api-corebank.rst b/core/api-corebank.rst index 7d4a25f1..1a0bae01 100644 --- a/core/api-corebank.rst +++ b/core/api-corebank.rst @@ -88,9 +88,12 @@ Config // If 'true' account can delete themselves // If 'false' only the admin can delete accounts allow_deletions: boolean; - + // Currency used by this bank. - currency: CurrencySpecification; + currency: string; + + // How the bank SPA should render this currency. + currency_specification: CurrencySpecification; } |