commit 6aefda6fecd2c50092c1868d7ba62254ccc21460
parent d11dcd09387cfe55de15d68ee1a595e1d2a54928
Author: Özgür Kesim <oec-taler@kesim.org>
Date: Mon, 3 Oct 2022 12:10:32 +0200
-fix missing fields and wrong interface names for batch deposits
Diffstat:
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
@@ -2530,7 +2530,7 @@ denomination.
.. ts:def:: BatchDepositRequest
- interface DepositRequest {
+ interface BatchDepositRequest {
// The merchant's account details.
merchant_payto_uri: string;
@@ -2543,6 +2543,9 @@ denomination.
// details are never disclosed to the exchange.
h_contract_terms: HashCode;
+ // The list of coins that are going to be deposited with this Request.
+ coins: BatchDepositRequestCoin[];
+
// Timestamp when the contract was finalized.
timestamp: Timestamp;
@@ -2560,9 +2563,9 @@ denomination.
refund_deadline?: Timestamp;
}
- .. ts:def:: DepositRequest
+ .. ts:def:: BatchDepositRequestCoin
- interface DepositRequest {
+ interface BatchDepositRequestCoin {
// EdDSA public key of the coin being deposited.
coin_pub: EddsaPublicKey;