summaryrefslogtreecommitdiff
path: root/core/taler-uri.rst
diff options
context:
space:
mode:
Diffstat (limited to 'core/taler-uri.rst')
-rw-r--r--core/taler-uri.rst20
1 files changed, 17 insertions, 3 deletions
diff --git a/core/taler-uri.rst b/core/taler-uri.rst
index dd45611e..7b897ba1 100644
--- 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,11 +121,25 @@ 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.
+---------------------
+Peer-to-peer payments
+---------------------
+
+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
----------------