From d7c8e4721489de4a1822c1ddf42f64b02173f44c Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 4 Sep 2020 00:14:41 +0530 Subject: wallet APIs for testing --- taler-wallet.rst | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'taler-wallet.rst') 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 ------------- -- cgit v1.2.3