diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-01-16 18:25:11 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-01-16 18:25:11 +0100 |
commit | 9401b426c6e67f539f03ec98fe7123ae96a3185f (patch) | |
tree | 8938bdc89073a314d23a980d51ef1aeeeb6fb921 | |
parent | b9f0924f01a217b4731721670bc9042f70824cad (diff) | |
download | docs-9401b426c6e67f539f03ec98fe7123ae96a3185f.tar.gz docs-9401b426c6e67f539f03ec98fe7123ae96a3185f.tar.bz2 docs-9401b426c6e67f539f03ec98fe7123ae96a3185f.zip |
long polling for the bank
-rw-r--r-- | core/api-bank.rst | 9 |
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``. |