diff options
Diffstat (limited to 'core/api-exchange.rst')
-rw-r--r-- | core/api-exchange.rst | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/core/api-exchange.rst b/core/api-exchange.rst index 3f0be5a1..1fa4b0b9 100644 --- a/core/api-exchange.rst +++ b/core/api-exchange.rst @@ -1645,16 +1645,11 @@ denomination. contribution: Amount; // The merchant's account details. + merchant_payto_uri: string; + // 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. - h_wire: HashCode; + // when computing the ``h_wire`` of the merchant. + wire_salt: WireSalt; // SHA-512 hash of the contract of the merchant with the customer. Further // details are never disclosed to the exchange. @@ -2481,8 +2476,8 @@ typically also view the balance.) // Public key of the merchant (identical for all deposits). merchant_pub: EddsaPublicKey; - // Hash of the wire details (identical for all deposits). - h_wire: HashCode; + // Hash of the payto:// account URI (identical for all deposits). + h_payto: PaytoHash; // Time of the execution of the wire transfer by the exchange. execution_time: Timestamp; |