commit 2e8d77ecc1233cfeea24af524dd1093b2455be9e parent 4b560ca0ecab706ea4a2df1e7647f77dd468262c Author: Christian Grothoff <christian@grothoff.org> Date: Mon, 1 Apr 2024 20:13:23 +0200 spec for exchange protocol v19 Diffstat:
| M | core/api-exchange.rst | | | 13 | +++++++++++-- |
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/core/api-exchange.rst b/core/api-exchange.rst @@ -3876,12 +3876,21 @@ typically also view the balance.) // Coin's public key, both ECDHE and EdDSA. coin_pub: CoinPublicKey; - // The total amount the original deposit was worth. + // The total amount the original deposit was worth, + // including fees and after applicable refunds. deposit_value: Amount; - // Applicable fees for the deposit. + // Applicable fees for the deposit, possibly + // reduced or waived due to refunds. deposit_fee: Amount; + // Refunds that were applied to the value of + // this coin. Optional. + // Since protocol **v19**. Before, refunds were + // incorrectly still included in the + // ``deposit_value`` (!). + refund_total?: Amount; + } .. http:get:: /deposits/$H_WIRE/$MERCHANT_PUB/$H_CONTRACT_TERMS/$COIN_PUB