summaryrefslogtreecommitdiff
path: root/core/api-exchange.rst
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2022-10-03 12:10:32 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2022-10-03 12:10:32 +0200
commit6aefda6fecd2c50092c1868d7ba62254ccc21460 (patch)
treefa9734f67689ae76ab958811f3c67c501cce6b19 /core/api-exchange.rst
parentd11dcd09387cfe55de15d68ee1a595e1d2a54928 (diff)
downloaddocs-6aefda6fecd2c50092c1868d7ba62254ccc21460.tar.gz
docs-6aefda6fecd2c50092c1868d7ba62254ccc21460.tar.bz2
docs-6aefda6fecd2c50092c1868d7ba62254ccc21460.zip
-fix missing fields and wrong interface names for batch deposits
Diffstat (limited to 'core/api-exchange.rst')
-rw-r--r--core/api-exchange.rst9
1 files changed, 6 insertions, 3 deletions
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index 69cdcb21..6985e4f9 100644
--- 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;