commit d7c8e4721489de4a1822c1ddf42f64b02173f44c
parent 81b4ec7f342e77a3306024d50f5ceee5ee89c50b
Author: Florian Dold <florian.dold@gmail.com>
Date: Fri, 4 Sep 2020 00:14:41 +0530
wallet APIs for testing
Diffstat:
1 file changed, 38 insertions(+), 0 deletions(-)
diff --git a/taler-wallet.rst b/taler-wallet.rst
@@ -545,6 +545,24 @@ Add Exchange
On success, the response is an `ExchangeListItem`.
+Force Exchange Update
+~~~~~~~~~~~~~~~~~~~~~
+
+:Name: ``"forceExchangeUpdate"``
+:Description:
+ Force updating an exchange.
+ Re-queries current cryptographic key material, wire information
+ and terms of service from the exchange.
+:Request:
+ .. ts:def:: ExchangeForceUpdateRequest
+
+ interface ExchangeForceUpdateRequest {
+ exchangeBaseUrl: string;
+ }
+:Response:
+ On success, the response is an `ExchangeListItem`.
+
+
Get Terms of Service
~~~~~~~~~~~~~~~~~~~~
@@ -952,6 +970,26 @@ Dump all coins to JSON
}>;
}
+
+Suspend/unsuspend a coin
+~~~~~~~~~~~~~~~~~~~~~~~~
+
+A suspended coin will not be used by the wallet for payments.
+This functionality is only used for testing.
+
+:Name: ``"setCoinSuspended"``
+:Description:
+ Make a test payment with existing funds.
+:Request:
+ .. ts:def:: SetCoinSuspendedRequest
+
+ interface SetCoinSuspendedRequest {
+ coinPub: string;
+ suspended: boolean;
+ }
+:Request:
+ On success, the response is an empty object.
+
Global Errors
-------------