diff options
-rw-r--r-- | core/api-exchange.rst | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/core/api-exchange.rst b/core/api-exchange.rst index 670789f4..2f4ac95c 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. |