summaryrefslogtreecommitdiff
path: root/core/api-merchant.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-04-01 11:27:32 +0200
committerChristian Grothoff <christian@grothoff.org>2021-04-01 11:27:32 +0200
commitb9d293ee25396118878faaf4d63219326ab6ebb5 (patch)
tree1c36ae71eb5847f67451558a85c150f611880641 /core/api-merchant.rst
parentae616b4113bdb07c9b67dca00e38d148ddc90474 (diff)
downloaddocs-b9d293ee25396118878faaf4d63219326ab6ebb5.tar.gz
docs-b9d293ee25396118878faaf4d63219326ab6ebb5.tar.bz2
docs-b9d293ee25396118878faaf4d63219326ab6ebb5.zip
update spec for #6816
Diffstat (limited to 'core/api-merchant.rst')
-rw-r--r--core/api-merchant.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index 90351cab..dfcec1b9 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -1686,9 +1686,9 @@ Inspecting orders
:query paid: *Optional*. If set to yes, only return paid orders, if no only unpaid orders. Do not give (or use "all") to see all orders regardless of payment status.
:query refunded: *Optional*. If set to yes, only return refunded orders, if no only unrefunded orders. Do not give (or use "all") to see all orders regardless of refund status.
:query wired: *Optional*. If set to yes, only return wired orders, if no only orders with missing wire transfers. Do not give (or use "all") to see all orders regardless of wire transfer status.
- :query date: *Optional.* Time threshold in human readable format (yyyy/MM/dd HH:mm:ss), see ``delta`` for its interpretation. Defaults to the oldest or most recent entry, depending on ``delta``.
+ :query date_ms: *Optional.* Non-negative date in milliseconds after the UNIX Epoc, see ``delta`` for its interpretation. If not specified, we default to the oldest or most recent entry, depending on ``delta``.
:query start: *Optional*. Row number threshold, see ``delta`` for its interpretation. Defaults to ``UINT64_MAX``, namely the biggest row id possible in the database.
- :query delta: *Optional*. takes value of the form ``N (-N)``, so that at most ``N`` values strictly older (younger) than ``start`` and ``date`` are returned. Defaults to ``-20`` to return the last 20 entries (before ``start`` and/or ``date``).
+ :query delta: *Optional*. takes value of the form ``N (-N)``, so that at most ``N`` values strictly older (younger) than ``start`` and ``date_ms`` are returned. Defaults to ``-20`` to return the last 20 entries (before ``start`` and/or ``date_ms``).
:query timeout_ms: *Optional*. Timeout in milliseconds to wait for additional orders if the answer would otherwise be negative (long polling). Only useful if delta is positive. Note that the merchant MAY still return a response that contains fewer than ``delta`` orders.
**Response:**