summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-09-04 00:14:41 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-09-04 00:14:41 +0530
commitd7c8e4721489de4a1822c1ddf42f64b02173f44c (patch)
treecb782362422ecc176905606945eeaedb65d6b079
parent81b4ec7f342e77a3306024d50f5ceee5ee89c50b (diff)
downloaddocs-d7c8e4721489de4a1822c1ddf42f64b02173f44c.tar.gz
docs-d7c8e4721489de4a1822c1ddf42f64b02173f44c.tar.bz2
docs-d7c8e4721489de4a1822c1ddf42f64b02173f44c.zip
wallet APIs for testing
-rw-r--r--taler-wallet.rst38
1 files changed, 38 insertions, 0 deletions
diff --git a/taler-wallet.rst b/taler-wallet.rst
index 7c77e6e4..ff50b0f4 100644
--- 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
-------------