summaryrefslogtreecommitdiff
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
parent856a101e5ff8f6a7d199da9b59e9e559c5cbf5e0 (diff)
downloaddocs-c811b1a396f2edf1239e2bbc6364d5ea1f2f3556.tar.gz
docs-c811b1a396f2edf1239e2bbc6364d5ea1f2f3556.tar.bz2
docs-c811b1a396f2edf1239e2bbc6364d5ea1f2f3556.zip
add confirmation flag to wallet API withdrawal transaction
-rw-r--r--taler-wallet.rst9
1 files changed, 7 insertions, 2 deletions
diff --git a/taler-wallet.rst b/taler-wallet.rst
index 6223512..8c2d7eb 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;