summaryrefslogtreecommitdiff
path: root/manpages/taler-merchant-setup-reserve.1.rst
blob: 317c340ce4d9fbbdd3bcad8585101b3d999948f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
taler-merchant-setup-reserve(1)
###############################


.. only:: html

  Name
  ====

  **taler-merchant-setup-reserve** - setup reserve for tipping


Synopsis
========

**taler-merchant-setup-reserve** [*options*]


Description
===========

**taler-merchant-setup-reserve** is a command line tool to setup a reserve
(creating the private reserve key) and obtaining the wire transfer information
from the exchange needed to fill the reserve.


Options
=======

**-A** *USERNAME:PASSWORD* \| **––auth=**\ \ *USERNAME:PASSWORD*
   Use ``USERNAME`` and ``PASSWORD`` for HTTP client authentication.
   The ":" must be present as a separator.
   Note that this form of authentication has nothing to do with the TLS client
   certificate authentication supported with the ``-C``, ``-k`` and ``-p`` options.
   The ``PASSWORD`` given to this option is given to the server!

**-a** *VALUE* \| **––amount=**\ \ *VALUE*
   Mandatory.
   Amount to be transferred to the reserve.

**-C** *CERTFILE* \| **––cert=**\ \ *CERTFILE*
   The specified ``CERTFILE`` contains a TLS client certificate to be used to
   authenticate the client. See also ``-t``.

**-e** *URL* \| **––exchange-url=**\ \ *URL*
   Mandatory.
   Use ``URL`` for the exchange base URL.
   This is the exchange where the reserve will be created.
   The currency used in the amount specification must be offered by this exchange.

**-k** *KEYFILE* \| **––key=**\ \ *KEYFILE*
   The specified ``KEYFILE`` contains a TLS client private key to be used to
   authenticate the client. See also ``-p`` and ``-C``.

**-m** *URL* \| **––merchant-url=**\ \ *URL*
   Mandatory.
   Use ``URL`` as the merchant base URL.
   Should include the path to the instance if the reserve is to be
   created for a non-default instance.

**-p** *KEYFILEPASSPHRASE* \| **––pass=**\ \ *KEYFILEPASSPHRASE*
   The specified ``KEYFILEPASSPHRASE`` is to be used to decrypt the KEYFILE.
   See also ``-k``. Not to be confused with ``-A``.
   The ``KEYFILEPASSPHRASE`` given here is only used locally to decrypt the KEYFILE.

**-t** *CERTTYPE* \| **––type=**\ \ *CERTTYPE*
   The specified CERTFILE contains a TLS client certificate of ``CERTTYPE``.
   Default is ``PEM``. See also ``-C``.

**-w** *METHOD* \| **––wire-method=**\ \ *METHOD*
   Mandatory.
   Which wire method should be used.
   Needed to select the wire transfer method of the exchange.
   The method must be supported by the exchange.
   Typical values would be ``iban`` or ``x-taler-bank``.

**-c** *FILENAME* \| **––config=**\ \ *FILENAME*
   Use the configuration and other resources for the merchant to
   operate from ``FILENAME``.

**-h** \| **––help**
   Print short help on options.

**-v** \| **––version**
   Print version information.

**-l** *LF* \| **––logfile=**\ \ *LF*
   Sends logs to file whose path is ``LF``.

**-L** *LOGLEVEL* \| **––log=**\ \ *LOGLEVEL*
   Use loglevel ``LOGLEVEL``.


See Also
========

taler-merchant-dbinit(1), taler.conf(5)


Bugs
====

Report bugs by using https://bugs.taler.net/ or by sending electronic
mail to <taler@gnu.org>.