commit 66a657b3220b1dbf0d0718d7f2c908755448f935
parent 0f050670c8f0f6a4e4afc74c4f966f455dbdebc6
Author: Torsten Grote <t@grobox.de>
Date: Fri, 15 May 2020 09:39:48 -0300
Clarify when to show zero balance currencies in new balance API
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/taler-wallet.rst b/taler-wallet.rst
@@ -94,6 +94,9 @@ Balances are the amounts of digital cash held by the wallet.
interface BalancesResponse {
// a list of balances sorted by currency.
// (currencies with shorter names first, then lexically ascending).
+ //
+ // Note: Even when a currency has no balance, but pending or past transactions,
+ // it should be included in this list with a balance of zero.
balances: Balance[];
}