From fea01d27b88400b8c7a08069b9fc27f7bef9e2da Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 8 Oct 2023 11:48:01 +0200 Subject: -more DD51-related updates --- core/api-corebank.rst | 17 +++++------------ 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 -- cgit v1.2.3