summaryrefslogtreecommitdiff
path: root/api-merchant.rst
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-12-14 19:53:21 +0100
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-12-14 19:53:21 +0100
commitc4043f4f7fa869379a122b74be5a38f2c2dfb930 (patch)
tree05da99d9ae567adc22cca90d8e6ae10e7a7831bb /api-merchant.rst
parent14fc58c63ca29a82ad426a20c3c9c6f6032de369 (diff)
downloaddocs-c4043f4f7fa869379a122b74be5a38f2c2dfb930.tar.gz
docs-c4043f4f7fa869379a122b74be5a38f2c2dfb930.tar.bz2
docs-c4043f4f7fa869379a122b74be5a38f2c2dfb930.zip
Error codes list
Diffstat (limited to 'api-merchant.rst')
-rw-r--r--api-merchant.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/api-merchant.rst b/api-merchant.rst
index c79e34c0..345aa1e6 100644
--- a/api-merchant.rst
+++ b/api-merchant.rst
@@ -291,7 +291,7 @@ The following API are made available by the merchant's `backend` to the merchant
// A /deposit response matching `coin_pub` showing that the
// exchange accepted `coin_pub` for `amount_with_fee`.
- exchange_deposit_proof: DepositSuccess; // FIXME: define/link-to this object
+ exchange_deposit_proof: DepositSuccess;
// Offset in the `exchange_transfer_proof` where the
// exchange's response fails to match the `exchange_deposit_proof`.
@@ -595,8 +595,8 @@ The `contract` must have the following structure:
// Exchanges that the merchant accepts even if it does not accept any auditors that audit them.
exchanges: Exchange[];
- // Map from label to a location
- locations: { [label: string]: Location }; // FIXME make 'Location' clickable
+ // Map from labels to locations
+ locations: { [label: string]: [location: Location], ... };
}
The wallet must select a exchange that either the mechant accepts directly by listing it in the exchanges arry, or for which the merchant accepts an auditor that audits that exchange by listing it in the auditors array.
@@ -649,8 +649,8 @@ The `contract` must have the following structure:
}
- .. _Location:
.. _tsref-type-Location:
+ .. _Location:
.. code-block:: ts
interface Location {