commit 33d99c3106d8f69335d358595c7628958fe089d2
parent 26016c8cc02139ee864e37b8e5ac0c511342a2c9
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 15 Nov 2022 16:09:54 +0100
-fix access control
Diffstat:
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/_static/sample-pos-config.json b/_static/sample-pos-config.json
@@ -1,7 +1,7 @@
{
"config": {
"base_url": "https://backend.demo.taler.net/instances/pos",
- "api_key": "sandbox"
+ "api_key": "secret-token:sandbox"
},
"categories": [
{
diff --git a/core/taler-uri.rst b/core/taler-uri.rst
@@ -68,7 +68,7 @@ The action ``withdraw`` is used to trigger a bank-integrated withdrawal operatio
taler://withdraw/{bank_host}{/bank_prefix_path*}/{withdrawal_uid}{#ssid}
-* ``bank_host`` is the hostname of the merchant.
+* ``bank_host`` is the hostname of the bank.
* ``bank_prefix_path`` is an optional list of path components that identifies the path prefix of the bank integration API base URL.
* ``withdrawal_uid`` is the unique ID of the withdrawal operation.
* ``ssid`` is the optional WLAN SSID that the bank (typically in an ATM scenario) can offer the wallet
@@ -121,8 +121,6 @@ a merchant and ask the user to accept/decline it.
* ``merchant_host`` is the hostname of the merchant.
* ``merchant_prefix_path`` is an optional list of path components that identifies the path prefix of the merchant base URL.
* ``tip_id`` uniquely identifies the tip.
-* ``insecure`` is an optional query parameter. When "1", the ``merchant_host`` is contacted via HTTP.
- When absent or "0", the ``merchant_host`` is contacted via HTTPS.
* ``ssid`` is the optional WLAN SSID that the merchant can offer the wallet to connect to for Internet connectivity.
@@ -130,13 +128,18 @@ a merchant and ask the user to accept/decline it.
Peer-to-peer payments
---------------------
-A ``taler://pay-push/{exchange_host}{/exchange_prefix_path*}/{contract_priv}`` URI
-instructs the wallet to accept a P2P push payment.
+A pay-push URI instructs the wallet to accept a P2P push payment.
+
+.. code:: none
+
+ taler://pay-push/{exchange_host}{/exchange_prefix_path*}/{contract_priv}
* ``exchange_host`` is the hostname of the exchange.
* ``exchange_prefix_path`` is an optional list of path components that identifies the path prefix of the exchange base URL.
* ``contract_priv`` is the private key of the peer push payment contract stored at the exchange
+FIXME: pay-pull URIs missing!
+
----------------
Adding exchanges
----------------