summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-01-18 17:03:22 +0100
committerFlorian Dold <florian@dold.me>2021-01-18 17:03:22 +0100
commit66834b8db2102e142f7acd103cc9667a02949562 (patch)
tree0de02e4d10c94085c0c737660805baebe9d972d4
parenta7f964d3440a5f8cbb877b0081209befac4a6476 (diff)
downloaddocs-66834b8db2102e142f7acd103cc9667a02949562.tar.gz
docs-66834b8db2102e142f7acd103cc9667a02949562.tar.bz2
docs-66834b8db2102e142f7acd103cc9667a02949562.zip
document wire field
-rw-r--r--core/api-exchange.rst11
1 files changed, 7 insertions, 4 deletions
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index 670789f..2f4ac95 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -1155,10 +1155,13 @@ denomination.
// coin's total value.
contribution: Amount;
- // The merchant's account details. This must be a JSON object whose format
- // must correspond to one of the supported wire transfer formats of the exchange.
- // See `wireformats`.
- wire: object;
+ // The merchant's account details.
+ // The salt is used to hide the payto_uri from customers
+ // that learn the h_wire of the merchant.
+ wire: {
+ payto_uri: string;
+ salt: HashCode;
+ };
// SHA-512 hash of the merchant's payment details from ``wire``. Although
// strictly speaking redundant, this helps detect inconsistencies.