summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-04-04 15:25:59 -0300
committerSebastian <sebasjm@gmail.com>2023-04-04 15:26:23 -0300
commit3273debb32a00825e7c77b8468d09d070ff8f9cd (patch)
tree0f42ec4f54bb0cfcc1ef1f59c0e05df04c75f07d
parentec36a2cfe8a5f83b21e5f36abb0a281a123dca22 (diff)
downloaddocs-3273debb32a00825e7c77b8468d09d070ff8f9cd.tar.gz
docs-3273debb32a00825e7c77b8468d09d070ff8f9cd.tar.bz2
docs-3273debb32a00825e7c77b8468d09d070ff8f9cd.zip
libeufin confirmation url documentation about new behavior
-rw-r--r--core/api-bank-integration.rst2
-rw-r--r--manpages/libeufin-sandbox.1.rst9
2 files changed, 11 insertions, 0 deletions
diff --git a/core/api-bank-integration.rst b/core/api-bank-integration.rst
index 5ed98be1..940f1796 100644
--- 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
index fc1c7f3d..56711f64 100644
--- 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