summaryrefslogtreecommitdiff
path: root/core/api-bank.rst
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-01-16 18:25:11 +0100
committerFlorian Dold <florian.dold@gmail.com>2020-01-16 18:25:11 +0100
commit9401b426c6e67f539f03ec98fe7123ae96a3185f (patch)
tree8938bdc89073a314d23a980d51ef1aeeeb6fb921 /core/api-bank.rst
parentb9f0924f01a217b4731721670bc9042f70824cad (diff)
downloaddocs-9401b426c6e67f539f03ec98fe7123ae96a3185f.tar.gz
docs-9401b426c6e67f539f03ec98fe7123ae96a3185f.tar.bz2
docs-9401b426c6e67f539f03ec98fe7123ae96a3185f.zip
long polling for the bank
Diffstat (limited to 'core/api-bank.rst')
-rw-r--r--core/api-bank.rst9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/api-bank.rst b/core/api-bank.rst
index 5bcd24a3..7fc1255b 100644
--- a/core/api-bank.rst
+++ b/core/api-bank.rst
@@ -39,6 +39,14 @@ for the withdrawal operation (the ``wopid``) to interact with the withdrawal ope
Query information about a withdrawal operation, identified by the ``wopid``.
+ **Request**
+
+ :query long_poll_ms:
+ *Optional.* If specified, the bank will wait up to ``long_poll_ms``
+ milliseconds for completion of the transfer before sending the HTTP
+ response. A client must never rely on this behavior, as the bank may
+ return a response immediately.
+
**Response**
:status 200 OK:
@@ -86,7 +94,6 @@ for the withdrawal operation (the ``wopid``) to interact with the withdrawal ope
:status 200 OK:
The bank has accepted the withdrawal operation parameters chosen by the wallet.
The response is a `BankWithdrawalOperationPostResponse`.
-
:status 404 Not Found:
The bank does not know about a withdrawal operation with the specified ``wopid``.