summaryrefslogtreecommitdiff
path: root/core/api-exchange.rst
diff options
context:
space:
mode:
Diffstat (limited to 'core/api-exchange.rst')
-rw-r--r--core/api-exchange.rst9
1 files changed, 6 insertions, 3 deletions
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index 4057af74..7384a9fd 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -78,7 +78,8 @@ possibly by using HTTPS.
// Name of the protocol.
name: "taler-exchange";
- // Currency supported by this exchange.
+ // Currency supported by this exchange, given
+ // as a currency code ("USD" or "EUR").
currency: string;
// How wallets should render this currency.
@@ -92,10 +93,12 @@ possibly by using HTTPS.
.. ts:def:: CurrencySpecification
interface CurrencySpecification {
- // Name of the currency.
+ // Name of the currency. Like "US Dollar".
name: string;
- // Code of the currency
+ // Code of the currency.
+ // Deprecated in protocol v18 for the exchange
+ // and in protocol v6 for the merchant.
currency: string;
// how many digits the user may enter after the decimal_separator