diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-09-04 00:14:41 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-09-04 00:14:41 +0530 |
commit | d7c8e4721489de4a1822c1ddf42f64b02173f44c (patch) | |
tree | cb782362422ecc176905606945eeaedb65d6b079 /taler-wallet.rst | |
parent | 81b4ec7f342e77a3306024d50f5ceee5ee89c50b (diff) | |
download | docs-d7c8e4721489de4a1822c1ddf42f64b02173f44c.tar.gz docs-d7c8e4721489de4a1822c1ddf42f64b02173f44c.tar.bz2 docs-d7c8e4721489de4a1822c1ddf42f64b02173f44c.zip |
wallet APIs for testing
Diffstat (limited to 'taler-wallet.rst')
-rw-r--r-- | taler-wallet.rst | 38 |
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 ------------- |