diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2023-10-08 11:48:01 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2023-10-08 11:48:01 +0200 |
commit | fea01d27b88400b8c7a08069b9fc27f7bef9e2da (patch) | |
tree | afc38649fc1b6d3115110c219c6b3416f7371881 | |
parent | 215a455a313ed492b8fcfc45686dd032d952a029 (diff) | |
download | docs-fea01d27b88400b8c7a08069b9fc27f7bef9e2da.tar.gz docs-fea01d27b88400b8c7a08069b9fc27f7bef9e2da.tar.bz2 docs-fea01d27b88400b8c7a08069b9fc27f7bef9e2da.zip |
-more DD51-related updates
-rw-r--r-- | core/api-corebank.rst | 17 | ||||
-rw-r--r-- | core/api-merchant.rst | 2 |
2 files changed, 6 insertions, 13 deletions
diff --git a/core/api-corebank.rst b/core/api-corebank.rst index 4310e5fe..86288540 100644 --- a/core/api-corebank.rst +++ b/core/api-corebank.rst @@ -78,21 +78,14 @@ Config // are not supported and return 404. have_cashout?: boolean; + // How the bank SPA should render the currency. + currency: CurrencySpecification; + // Fiat currency. That is the currency in which // cash-out operations ultimately wire money. // Only applicable if have_cashout=true. - fiat_currency?: string; - - // How many digits should the amounts be rendered - // with by default. Small capitals should - // be used to render fractions beyond the number - // given here (like on gas stations). - currency_fraction_digits: number; - - // How many decimal digits an operation can - // have. Wire transfers with more decimal - // digits will not be accepted. - currency_fraction_limit: number; + fiat_currency?: CurrencySpecification; + } diff --git a/core/api-merchant.rst b/core/api-merchant.rst index f68c8123..44e5023c 100644 --- a/core/api-merchant.rst +++ b/core/api-merchant.rst @@ -146,7 +146,7 @@ such as the implemented version of the protocol and the currency used. currency: string; // How wallets should render currencies supported - // by this backend. Maps + // by this backend. Maps // currency codes (e.g. "EUR" or "KUDOS") to // the respective currency specification. // All currencies in this map are supported by |