From 9401b426c6e67f539f03ec98fe7123ae96a3185f Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 16 Jan 2020 18:25:11 +0100 Subject: long polling for the bank --- core/api-bank.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'core/api-bank.rst') 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``. -- cgit v1.2.3