summaryrefslogtreecommitdiff
path: root/taler-wallet.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-10 22:33:37 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-10 22:33:37 +0200
commita5a19f26f05c2bb1edf5e85001be56619d0740a1 (patch)
treef921ce408dbcc4f06d4bf2be3cef9dc8efee0f14 /taler-wallet.rst
parente1ba8dad8c87f23bbbfc917ef5e7718ca6ce3065 (diff)
parentc2bd5b95d3a32eeedb4cf0d9dbd15d0cd7191f8e (diff)
downloaddocs-a5a19f26f05c2bb1edf5e85001be56619d0740a1.tar.gz
docs-a5a19f26f05c2bb1edf5e85001be56619d0740a1.tar.bz2
docs-a5a19f26f05c2bb1edf5e85001be56619d0740a1.zip
Merge branch 'master' of git+ssh://git.taler.net/docs
Diffstat (limited to 'taler-wallet.rst')
-rw-r--r--taler-wallet.rst58
1 files changed, 58 insertions, 0 deletions
diff --git a/taler-wallet.rst b/taler-wallet.rst
index ed08136..8d348ef 100644
--- a/taler-wallet.rst
+++ b/taler-wallet.rst
@@ -398,6 +398,64 @@ Refunds
contractTermsHash: string;
}
+Exchange Management: List Exchanges
+-----------------------------------
+
+:name: ``"listExchanges"``
+:description:
+ List all exchanges.
+:cli:
+ ``taler-wallet-cli exchanges list``
+:response:
+ .. ts:def:: ExchangesListRespose
+
+ interface ExchangesListRespose {
+ exchanges: ExchangeListItem[];
+ }
+
+ .. ts:def:: ExchangeListItem
+
+ interface ExchangeListItem {
+ exchangeBaseUrl: string;
+ currency: string;
+ paytoUris: string[];
+ }
+
+Exchange Management: Add Exchange
+---------------------------------
+
+:name: ``"addExchange"``
+:description:
+ Add an exchange.
+:cli:
+ ``taler-wallet-cli exchanges add $URL``
+:request:
+ .. ts:def:: ExchangeAddRequest
+
+ interface ExchangeAddRequest {
+ exchangeBaseUrl: string;
+ }
+:response:
+ On success, the response is an empty object.
+
+Withdrawal: Get Manual Withdrawal Info
+--------------------------------------
+
+:name: ``"getWithdrawalDetailsForAmount"``
+:description:
+ Get information about fees and exchange for a manual withdrawal of a given amount.
+:cli:
+ ``taler-wallet-cli advanced manual-withdrawal-details $URL $AMOUNT``
+:request:
+ .. ts:def:: GetManualWithdrawalDetailsRequest
+
+ interface ExchangeAddRequest {
+ exchangeBaseUrl: string;
+ amount: string;
+ }
+:response:
+ An ``ExchangeWithdrawDetails`` object (to be documented, see `here
+ <https://git.taler.net/wallet-core.git/tree/src/types/walletTypes.ts#n61>`__).
Integration Tests
=================