summaryrefslogtreecommitdiff
path: root/core/api-merchant.rst
diff options
context:
space:
mode:
Diffstat (limited to 'core/api-merchant.rst')
-rw-r--r--core/api-merchant.rst11
1 files changed, 8 insertions, 3 deletions
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index ceebd005..b5931a65 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -146,18 +146,23 @@ such as the implemented version of the protocol and the currency used.
// supported currencies and how to render them.
currency: string;
- // How wallets should render currencies supported
+ // How services should render currencies supported
// by this backend. Maps
// currency codes (e.g. "EUR" or "KUDOS") to
// the respective currency specification.
// All currencies in this map are supported by
- // the backend.
+ // the backend. Note that the actual currency
+ // specifications are a *hint* for applications
+ // that would like *advice* on how to render amounts.
+ // Applications *may* ignore the currency specification
+ // if they know how to render currencies that they are
+ // used with.
currencies: { currency : CurrencySpecification};
// Array of exchanges trusted by the merchant.
// Since protocol v6.
exchanges: ExchangeConfigInfo[];
-
+
}
.. ts:def:: ExchangeConfigInfo