summaryrefslogtreecommitdiff
path: root/taler-wallet.rst
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2020-04-28 10:00:31 -0300
committerTorsten Grote <t@grobox.de>2020-04-28 10:00:31 -0300
commitc811b1a396f2edf1239e2bbc6364d5ea1f2f3556 (patch)
treeeaa52b38087321f511c008f8f5b7273effeee22d /taler-wallet.rst
parent856a101e5ff8f6a7d199da9b59e9e559c5cbf5e0 (diff)
downloaddocs-c811b1a396f2edf1239e2bbc6364d5ea1f2f3556.tar.gz
docs-c811b1a396f2edf1239e2bbc6364d5ea1f2f3556.tar.bz2
docs-c811b1a396f2edf1239e2bbc6364d5ea1f2f3556.zip
add confirmation flag to wallet API withdrawal transaction
Diffstat (limited to 'taler-wallet.rst')
-rw-r--r--taler-wallet.rst9
1 files changed, 7 insertions, 2 deletions
diff --git a/taler-wallet.rst b/taler-wallet.rst
index 6223512f..8c2d7eba 100644
--- a/taler-wallet.rst
+++ b/taler-wallet.rst
@@ -142,8 +142,13 @@ Transactions are all operations or events that are affecting the balance.
// Exchange that was withdrawn from.
exchangeBaseUrl: string;
- // If the withdrawal is pending, this can include a Url for extra user confirmation.
- bankWithdrawConfirmUrl?: string;
+ // true if the bank has confirmed the withdrawal, false if not.
+ // An unconfirmed withdrawal usually requires user-input and should be highlighted in the UI.
+ // See also bankConfirmationUrl below.
+ confirmed: boolean;
+
+ // If the withdrawal is unconfirmed, this can include a URL for user initiated confirmation.
+ bankConfirmationUrl?: string;
// Amount that has been subtracted from the reserve's balance for this withdrawal.
amountRaw: Amount;