diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-05-01 19:21:50 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-05-01 19:21:50 +0200 |
commit | 7de324667a1e82cc5fdde856476b81b73b63cbf9 (patch) | |
tree | 8807fee57b1641e7caf8e8864a6570398412446f /core/api-exchange.rst | |
parent | 86274e64807f70386baea68557b9b8535d5fdf24 (diff) | |
download | docs-7de324667a1e82cc5fdde856476b81b73b63cbf9.tar.gz docs-7de324667a1e82cc5fdde856476b81b73b63cbf9.tar.bz2 docs-7de324667a1e82cc5fdde856476b81b73b63cbf9.zip |
document exchange protocol v8
Diffstat (limited to 'core/api-exchange.rst')
-rw-r--r-- | core/api-exchange.rst | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/core/api-exchange.rst b/core/api-exchange.rst index 536458ec..5fe560a3 100644 --- a/core/api-exchange.rst +++ b/core/api-exchange.rst @@ -631,7 +631,7 @@ denomination. interface DepositRequest { // Amount to be deposited, can be a fraction of the // coin's total value. - f: Amount; + 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. @@ -1354,10 +1354,6 @@ Refunds // must be larger than the refund fee. refund_amount: Amount; - // Refund fee associated with the given coin. - // must be smaller than the refund amount. - refund_fee: Amount; - // SHA-512 hash of the contact of the merchant with the customer. h_contract_terms: HashCode; @@ -1386,4 +1382,9 @@ Refunds // explicitly as the client might otherwise be confused by clock skew as to // which signing key was used. exchange_pub: EddsaPublicKey; + + // Refund fee charged by the exchange for the given coin. + // must be smaller than the refund amount. + refund_fee: Amount; + } |