taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit 66834b8db2102e142f7acd103cc9667a02949562
parent a7f964d3440a5f8cbb877b0081209befac4a6476
Author: Florian Dold <florian@dold.me>
Date:   Mon, 18 Jan 2021 17:03:22 +0100

document wire field

Diffstat:
Mcore/api-exchange.rst | 11+++++++----
1 file changed, 7 insertions(+), 4 deletions(-)

diff --git 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.