From 182b22d39d685c00012367bf74e767f3b74e61a0 Mon Sep 17 00:00:00 2001 From: MS Date: Tue, 25 Aug 2020 19:17:05 +0200 Subject: avoid signed amounts --- core/api-bank-access.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'core') diff --git a/core/api-bank-access.rst b/core/api-bank-access.rst index a80c9da0..215c5163 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. } -- cgit v1.2.3