[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: currency_fraction_limit and currency
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: currency_fraction_limit and currency_fraction_digits spec, to be implemented in server and used by the bank SPA |
Date: |
Sun, 01 Oct 2023 05:29:59 +0200 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new f8b6782c currency_fraction_limit and currency_fraction_digits spec, to
be implemented in server and used by the bank SPA
f8b6782c is described below
commit f8b6782cd49169fffa35e4dc3062c900e1f60531
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Sun Oct 1 00:29:39 2023 -0300
currency_fraction_limit and currency_fraction_digits spec, to be
implemented in server and used by the bank SPA
---
core/api-corebank.rst | 45 ++++++++++++++++++++++++++++-----------------
1 file changed, 28 insertions(+), 17 deletions(-)
diff --git a/core/api-corebank.rst b/core/api-corebank.rst
index 214d8c6d..937b3664 100644
--- a/core/api-corebank.rst
+++ b/core/api-corebank.rst
@@ -61,28 +61,39 @@ Config
.. http:get:: /config
- **Response:**
+ **Response:**
- .. ts:def:: Config
+ .. ts:def:: Config
- interface Config {
- // Name of this API, always "taler-corebank".
- name: string;
+ interface Config {
+ // Name of this API, always "taler-corebank".
+ name: string;
- // API version in the form $n:$n:$n
- version: string;
+ // API version in the form $n:$n:$n
+ version: string;
- // If 'true', the server provides local currency
- // conversion support.
- // If missing or false, some parts of the API
- // are not supported and return 404.
- have_cashout?: boolean;
+ // If 'true', the server provides local currency
+ // conversion support.
+ // If missing or false, some parts of the API
+ // are not supported and return 404.
+ have_cashout?: boolean;
- // Fiat currency. That is the currency in which
- // cash-out operations ultimately wire money.
- // Only applicable if have_cashout=true.
- fiat_currency?: string;
- }
+ // 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;
+ }
Account Management
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-docs] branch master updated: currency_fraction_limit and currency_fraction_digits spec, to be implemented in server and used by the bank SPA,
gnunet <=