commit 9401b426c6e67f539f03ec98fe7123ae96a3185f
parent b9f0924f01a217b4731721670bc9042f70824cad
Author: Florian Dold <florian.dold@gmail.com>
Date: Thu, 16 Jan 2020 18:25:11 +0100
long polling for the bank
Diffstat:
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git 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``.