summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorMS <ms@taler.net>2020-08-25 19:17:05 +0200
committerMS <ms@taler.net>2020-08-25 19:17:05 +0200
commit182b22d39d685c00012367bf74e767f3b74e61a0 (patch)
treef8d4431176fd52134f868693dfd58aa17ed3998d /core
parentf4dbe12c3d8f659890a93e566a46738911157c14 (diff)
downloaddocs-182b22d39d685c00012367bf74e767f3b74e61a0.tar.gz
docs-182b22d39d685c00012367bf74e767f3b74e61a0.tar.bz2
docs-182b22d39d685c00012367bf74e767f3b74e61a0.zip
avoid signed amounts
Diffstat (limited to 'core')
-rw-r--r--core/api-bank-access.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/core/api-bank-access.rst b/core/api-bank-access.rst
index a80c9da..215c516 100644
--- a/core/api-bank-access.rst
+++ b/core/api-bank-access.rst
@@ -45,9 +45,11 @@ name and account password, at least in the GNU Taler demo bank implementation.
.. ts:def:: BankAccountBalanceResponse
interface BankAccountBalanceResponse {
- // Amount with plus or minus sign, representing the current
- // available account balance.
- balance: SignedAmount;
+ // Current amount; can be debit.
+ balance: Amount;
+
+ // Indicates whether the amount refers to a debit or credit value.
+ credit_debit_indicator: string; // "credit" and "debit" values allowed.
}