summaryrefslogtreecommitdiff
path: root/taler-mcig.rst
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2021-03-26 14:12:07 -0400
committerThien-Thi Nguyen <ttn@gnuvola.org>2021-03-26 14:13:53 -0400
commitb3df4cf18decb81ed16dac1f46c861dd29d689fe (patch)
treee427b0cbe789e4dcd9127b983358a967d31abb48 /taler-mcig.rst
parentfef6a3eb8b34c88ba7a9a274844969baee899f15 (diff)
downloaddocs-b3df4cf18decb81ed16dac1f46c861dd29d689fe.tar.gz
docs-b3df4cf18decb81ed16dac1f46c861dd29d689fe.tar.bz2
docs-b3df4cf18decb81ed16dac1f46c861dd29d689fe.zip
update timestamp values in example to use ‘{ "t_ms": NUMBER }’ format; add note
Diffstat (limited to 'taler-mcig.rst')
-rw-r--r--taler-mcig.rst10
1 files changed, 6 insertions, 4 deletions
diff --git a/taler-mcig.rst b/taler-mcig.rst
index 3a67b784..cbdc3452 100644
--- a/taler-mcig.rst
+++ b/taler-mcig.rst
@@ -461,10 +461,10 @@ The backend returns ``200 OK`` with body:
"description": "Beethoven Sonatas"
}
],
- "timestamp": "2021/03/23 22:14:25",
- "refund_deadline": "2021/03/23 22:14:25",
- "pay_deadline": "2021/03/23 22:15:25",
- "wire_transfer_deadline": "2021/03/23 22:16:25",
+ "timestamp": { "t_ms": 1616537665000 },
+ "refund_deadline": { "t_ms": 1616537665000 },
+ "pay_deadline": { "t_ms": 1616537725000 },
+ "wire_transfer_deadline": { "t_ms": 1616537785000 },
"merchant_pub": FIXME,
"merchant_base_url": "https://example.com/",
"merchant":
@@ -484,6 +484,8 @@ The backend returns ``200 OK`` with body:
Notes:
- The ``order_id`` value is the one given in the ``PostOrderResponse``.
+- The ``timestamp`` value represents 2021-03-23 22:14:25 UTC
+ in milliseconds after the epoch.
- The ``refund_deadline`` value is the same as the ``timestamp`` value
(no refunds possible).
- The ``pay_deadline`` value is one minute after the ``timestamp`` value.