commit 3273debb32a00825e7c77b8468d09d070ff8f9cd
parent ec36a2cfe8a5f83b21e5f36abb0a281a123dca22
Author: Sebastian <sebasjm@gmail.com>
Date: Tue, 4 Apr 2023 15:25:59 -0300
libeufin confirmation url documentation about new behavior
Diffstat:
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/core/api-bank-integration.rst b/core/api-bank-integration.rst
@@ -112,6 +112,7 @@ for the withdrawal operation (the ``wopid``) to interact with the withdrawal ope
// URL that the user needs to navigate to in order to
// complete some final confirmation (e.g. 2FA).
+ // It may contain withdrawal operation id
confirm_transfer_url?: string;
// Wire transfer types supported by the bank.
@@ -160,5 +161,6 @@ for the withdrawal operation (the ``wopid``) to interact with the withdrawal ope
// complete some final confirmation (e.g. 2FA).
//
// Only applicable when ``transfer_done`` is ``false``.
+ // It may contain withdrawal operation id
confirm_transfer_url?: string;
}
diff --git a/manpages/libeufin-sandbox.1.rst b/manpages/libeufin-sandbox.1.rst
@@ -71,6 +71,15 @@ config
This command takes argument ``NAME`` and creates a demobank with that name.
Option ``--currency CUR`` (default: ``EUR``) specifes another currency.
+Option ``--captcha-url $URL`` specifies where the wallet user is going
+to be redirected to confirm the withdrawal operation. This $URL should
+point to the bank frontend. More precisely to the UI that let the user
+finish a withdrawal operation that needs to be confirmed. Example of
+this value may be "https://bank.domain/#/operation/{wopid}" where
+"https://bank.domain" returns the demobank SPA and the demobank view under
+the route "/operation/{wopid}" will show the status of the operation id {wopid}.
+Note that "{wopid}" is literally in the --captcha-url config and replaced in
+runtime by the sandbox server.
Option ``--bank-debt-limit N`` (default: 1000000) specifies that
the bank debt limit should be N (units of currency).
Similarly, option ``--users-debt-limit N`` (default: 1000) specifies