summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-03-11 13:52:47 +0100
committerFlorian Dold <florian.dold@gmail.com>2018-03-11 13:53:03 +0100
commitb0c905dfc1270a8e6fa578dbcbdda14448546e7e (patch)
tree0e9604ff8e8fc852163b9d9da66c13c71fb8c90c /doc
parent75a7824617512013527c917fb9f1f12f8938bc94 (diff)
downloadmerchant-b0c905dfc1270a8e6fa578dbcbdda14448546e7e.tar.gz
merchant-b0c905dfc1270a8e6fa578dbcbdda14448546e7e.tar.bz2
merchant-b0c905dfc1270a8e6fa578dbcbdda14448546e7e.zip
clarify amounts
Diffstat (limited to 'doc')
-rw-r--r--doc/merchant-api.content.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/merchant-api.content.texi b/doc/merchant-api.content.texi
index 73d612af..b14427f6 100644
--- a/doc/merchant-api.content.texi
+++ b/doc/merchant-api.content.texi
@@ -236,7 +236,7 @@ following fields must be given:
@itemize
@item @var{amount}: The amount to be paid, as a string in the format
-@code{CURRENCY:VALUE}, for example @code{EUR:10} for 10 Euros or
+@code{CURRENCY:DECIMAL_VALUE}, for example @code{EUR:10} for 10 Euros or
@code{KUDOS:1.5} for 1.5 KUDOS.
@item @var{summary}: A human-readable summary for what the payment is about,
@@ -433,6 +433,8 @@ callbacks that do more than just showing and hiding elements.
A Taler order can specify many details about the payment.
This section describes each of the fields in depth.
+Financial amounts are always specified as a string in the format @code{"CURRENCY:DECIMAL_VALUE"}.
+
@table @var
@item amount
@cindex amount