taler-exchange-wire-gateway-client.1.rst (4668B)
1 taler-exchange-wire-gateway-client(1) 2 ##################################### 3 4 .. only:: html 5 6 Name 7 ==== 8 9 **taler-exchange-wire-gateway-client** - trigger a transfer at the bank (or obtain transaction history) 10 11 Synopsis 12 ======== 13 14 **taler-exchange-wire-gateway-client** 15 [**-a** *VALUE* | **--amount=**\ \ *VALUE*] 16 [**-b** *URL* | **--bank=**\ \ *URL*] 17 [**-C** *ACCOUNT* | **--credit=**\ \ *ACCOUNT*] 18 [**-c** *FILENAME* | **--config=**\ \ *FILENAME*] 19 [**-D** *ACCOUNT* | **--debit=**\ \ *ACCOUNT*] 20 [**-h** | **--help**] 21 [**-i** | **--credit-history**] 22 [**-L** *LOGLEVEL* | **--loglevel=**\ \ *LOGLEVEL*] 23 [**-l** *FILENAME* | **--logfile=**\ \ *FILENAME*] 24 [**-o** | **--debit-history**] 25 [**-p** *PASSPHRASE* | **--pass=**\ \ *PASSPHRASE*] 26 [**-S** *STRING* | **--subject=**\ \ *STRING*] 27 [**-s** *ACCOUNT-SECTION* | **--section=**\ \ *ACCOUNT-SECTION*] 28 [**-u** *USERNAME* | **--user=**\ \ *USERNAME*] 29 [**-v** | **--version**] 30 [**-w** *ROW* | **--since-when=**\ \ *ROW*] 31 32 Description 33 =========== 34 35 **taler-exchange-wire-gateway-client** is a command-line tool to trigger bank transfers or 36 inspect wire transfers for exchange accounts using the wire API. The tool is 37 expected to be used during testing or for diagnostics. 38 39 You can do one of the following four operations during one invocation. 40 41 (1) Execute wire transfer from the exchange to consumer account (**-C**). 42 (2) Execute wire transfer from consumer account to the exchange (**-D**). 43 (3) Inspect credit history of the exchange (**-i**). 44 (4) Inspect debit history of the exchange (**-o**). 45 46 Doing more than one of these at a time will result in an error. Note, 47 however, that the **-C** and **-D** options also can be used to act as filters 48 on transaction history operations. 49 50 51 Options 52 ======= 53 54 **-a** *VALUE* \| **--amount=**\ \ *VALUE* 55 Amount to transfer. Given in the Taler-typical format of 56 CURRENCY:VALUE.FRACTION. 57 58 **-b** *URL* \| **--bank=**\ \ *URL* 59 URL at which the bank is operation. Conflicts with **-s**. 60 61 **-C** *ACCOUNT* \| **--credit=**\ \ *ACCOUNT* 62 When doing a wire transfer from the exchange, the money should be credited to *ACCOUNT*. 63 Specifies the payto:// URI of the account. Can also be used as a filter by credit 64 account when looking at transaction histories. 65 66 **-c** *FILENAME* \| **--config=**\ \ *FILENAME* 67 Use the given configuration file. 68 69 **-D** *ACCOUNT* \| **--debit=**\ \ *ACCOUNT* 70 When doing a wire transfer to the exchange, the *ACCOUNT* is to be debited. 71 Specifies the payto:// URI of the account. Can also be used as a filter by debit 72 account when looking at transaction histories. 73 74 **-h** \| **--help** 75 Print short help on options. 76 77 **-i** \| **--credit-history** 78 Obtain credit history of the exchange. Conflicts with **-o**. 79 80 **-L** *LOGLEVEL* \| **--loglevel=**\ \ *LOGLEVEL* 81 Specifies the log level to use. Accepted values are: ``DEBUG``, ``INFO``, 82 ``WARNING``, ``ERROR``. 83 84 **-l** *FILENAME* \| **--logfile=**\ \ *FILENAME* 85 Send logging output to *FILENAME*. 86 87 **-o** \| **--debit-history** 88 Obtain debit history of the exchange. Conflicts with **-i**. 89 90 **-p** *PASSPHRASE* \| **--pass=**\ \ *PASSPHRASE* 91 Specifies the pass phrase for authentication. Conflicts with **-s**. 92 93 **-S** *SUBJECT* \| **--subject=**\ \ *SUBJECT* 94 Use *SUBJECT* for the wire transfer subject. Must be a reserve public key for credit operations and a wire transfer identifier for debit operations. If not specified, a random value will be generated instead. 95 96 **-s** *ACCOUNT_SECTION* \| **--section=**\ \ *ACCOUNT-SECTION* 97 Obtain exchange account information from the *ACCOUNT-SECTION* of the configuration. The argument must be a ``[exchange-accountcredentials-$NAME]`` section name and thus start with the ``exchange-accountcredentials-`` prefix. Conflicts with **-u**, **-p** and **-b**. Note that either **-b** or **-s** must be specified. 98 99 **-u** *USERNAME* \| **--user=**\ \ *USERNAME* 100 Specifies the username for authentication. Optional and conflicts with **-s**. If neither **-u** nor **-s** are used, we will attempt to talk to the bank without authentication. 101 102 **-v** \| **--version** 103 Print version information. 104 105 **-w** *ROW* \| **--since-when=**\ \ *ROW* 106 Specifies a *ROW* from which the history should be obtained. If not given, the 10 youngest transactions are returned. 107 108 109 See Also 110 ======== 111 112 taler-exchange.conf(5), https://docs.taler.net/core/api-wire.html#wire-transfer-test-apis 113 114 Bugs 115 ==== 116 117 Report bugs by using https://bugs.taler.net/ or by sending electronic 118 mail to <taler@gnu.org>