summaryrefslogtreecommitdiff
path: root/operate-merchant.rst
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-09-25 21:59:09 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-09-25 21:59:09 +0200
commit5bacf0624caaa59f2f7fb3a08d1101b80008d273 (patch)
treedbbd5461bdd4d588d4033d8f7eb5fd94f890791f /operate-merchant.rst
parent2a099a13b2024da454e26f6df2f969731e163d21 (diff)
downloaddocs-5bacf0624caaa59f2f7fb3a08d1101b80008d273.tar.gz
docs-5bacf0624caaa59f2f7fb3a08d1101b80008d273.tar.bz2
docs-5bacf0624caaa59f2f7fb3a08d1101b80008d273.zip
how to add exchanges for a merchant
Diffstat (limited to 'operate-merchant.rst')
-rw-r--r--operate-merchant.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/operate-merchant.rst b/operate-merchant.rst
index 2bb28d21..418534be 100644
--- a/operate-merchant.rst
+++ b/operate-merchant.rst
@@ -79,6 +79,22 @@ possible in two ways:
Exchanges
---------
+The options `uri` and `master_key`, under section `[merchant-exchange-MYEXCHANGE]`, let
+the merchant add the exchange `MYEXCHANGE` among the exchanges the merchant wants to work
+with. `MYEXCHAGE` is just a mnemonic name chosen by the merchant (which is not currently used
+in any computation), and the merchant can add as many exchanges as it is needed.
+`uri` is the exchange's base URL. Please note that a valid `uri` complies with the following
+pattern::
+
+ schema://hostname/
+
+`master_key` is the base32 encoding of the exchange's master key (see :ref:`/keys <keys>`).
+In our demo, we use the following configuration::
+
+ [merchant-exchange-test]
+ URI = https://exchange.test.taler.net/
+ MASTER_KEY = CQQZ9DY3MZ1ARMN5K1VKDETS04Y2QCKMMCFHZSWJWWVN82BTTH00
+
------
Keying
------