From 5bacf0624caaa59f2f7fb3a08d1101b80008d273 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Sun, 25 Sep 2016 21:59:09 +0200 Subject: how to add exchanges for a merchant --- api-exchange.rst | 1 + operate-merchant.rst | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/api-exchange.rst b/api-exchange.rst index 3087a8e8..dd145f8a 100644 --- a/api-exchange.rst +++ b/api-exchange.rst @@ -23,6 +23,7 @@ The API specified here follows the :ref:`general conventions ` for all details not specified in the individual requests. The :ref:`glossary` defines all specific terms used in this section. +.. _keys: ----------------------- Obtaining Exchange Keys ----------------------- 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 `). +In our demo, we use the following configuration:: + + [merchant-exchange-test] + URI = https://exchange.test.taler.net/ + MASTER_KEY = CQQZ9DY3MZ1ARMN5K1VKDETS04Y2QCKMMCFHZSWJWWVN82BTTH00 + ------ Keying ------ -- cgit v1.2.3