taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit c811b1a396f2edf1239e2bbc6364d5ea1f2f3556
parent 856a101e5ff8f6a7d199da9b59e9e559c5cbf5e0
Author: Torsten Grote <t@grobox.de>
Date:   Tue, 28 Apr 2020 10:00:31 -0300

add confirmation flag to wallet API withdrawal transaction

Diffstat:
Mtaler-wallet.rst | 9+++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git 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;