diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-09-03 22:44:24 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-09-03 22:44:24 +0530 |
commit | cf4a5858e3902e86f80066a28ca1579a121d05e7 (patch) | |
tree | e0af84637fc79db26a5bb5f9b7ef8689511568d1 /core/api-bank-access.rst | |
parent | ec6251dc560372d35e1a40fbad786dc74fd5a378 (diff) | |
download | docs-cf4a5858e3902e86f80066a28ca1579a121d05e7.tar.gz docs-cf4a5858e3902e86f80066a28ca1579a121d05e7.tar.bz2 docs-cf4a5858e3902e86f80066a28ca1579a121d05e7.zip |
bank access api
Diffstat (limited to 'core/api-bank-access.rst')
-rw-r--r-- | core/api-bank-access.rst | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/core/api-bank-access.rst b/core/api-bank-access.rst index d7ad027f..aa5248f5 100644 --- a/core/api-bank-access.rst +++ b/core/api-bank-access.rst @@ -45,15 +45,11 @@ name and account password, at least in the GNU Taler demo bank implementation. .. ts:def:: BankAccountBalanceResponse interface BankAccountBalanceResponse { - // Current amount, interpretation depends - // on the credit_debit_indicator. - amount: Amount; - - // Indicates whether the amount refers to a debit or credit value. - credit_debit_indicator: string; // "credit" and "debit" values allowed. - - // DEPRECATED: Alias for "amount", will be removed soon. - balance: Amount; + // Available balance on the account. + balance: { + amount: Amount; + credit_debit_indicator: "credit" | "debit"; + }; } |