From c811b1a396f2edf1239e2bbc6364d5ea1f2f3556 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Tue, 28 Apr 2020 10:00:31 -0300 Subject: add confirmation flag to wallet API withdrawal transaction --- taler-wallet.rst | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'taler-wallet.rst') 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; -- cgit v1.2.3