diff options
author | Antoine A <> | 2023-11-10 13:58:21 +0000 |
---|---|---|
committer | Antoine A <> | 2023-11-10 13:58:48 +0000 |
commit | ff7e1ba5a2a19ad17e17881e2f84bd9187b123cb (patch) | |
tree | 7fc4f810b7cd0e3b54bd019d5db0f5200afc722e | |
parent | efa66fb8f0ce800be81044255ae3282832afeacf (diff) | |
download | docs-ff7e1ba5a2a19ad17e17881e2f84bd9187b123cb.tar.gz docs-ff7e1ba5a2a19ad17e17881e2f84bd9187b123cb.tar.bz2 docs-ff7e1ba5a2a19ad17e17881e2f84bd9187b123cb.zip |
Update bank spec
-rw-r--r-- | core/api-corebank.rst | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/core/api-corebank.rst b/core/api-corebank.rst index 8ba90d2d..f1208c78 100644 --- a/core/api-corebank.rst +++ b/core/api-corebank.rst @@ -762,7 +762,7 @@ Cashouts * ``TALER_EC_BANK_MISSING_TAN_INFO`` : the user did not share any contact data where to send the TAN via ``tan_channel``. * ``TALER_EC_BANK_UNALLOWED_DEBIT`` : the account does not have sufficient funds. :http:statuscode:`501 Not Implemented`: - The chosen ``tan_channel`` is not currently supported. + This server does not support conversion or the chosen ``tan_channel`` is not currently supported. :http:statuscode:`502 Bad Gateway`: TAN transmition via ``tan_channel`` failed. @@ -792,6 +792,8 @@ Cashouts The cashout operation was not found. :http:statuscode:`409 Conflict`: The cashout operation has been confirmed previously and can't be aborted. + :http:statuscode:`501 Not implemented`: + This server does not support conversion, client should check config response. .. _cashout-confirm: @@ -826,6 +828,8 @@ Cashouts * ``TALER_EC_BANK_BAD_CONVERSION`` : exchange rate has changed since operation creation. :http:statuscode:`429 Too many requests`: Too many failed confirmation attempts, a new TAN must be requested. + :http:statuscode:`501 Not implemented`: + This server does not support conversion, client should check config response. .. _circuit-cashout-details: @@ -841,8 +845,8 @@ Cashouts Response is a `CashoutStatusResponse`. :http:statuscode:`404 Not found`: The cashout operation was not found. - :http:statuscode:`503 Service unavailable`: - This server does not support cashout, client should check config response. + :http:statuscode:`501 Not implemented`: + This server does not support conversion, client should check config response. **Details:** @@ -888,8 +892,8 @@ Cashouts Response is a `Cashouts`. :http:statuscode:`204 No Content`: No cash-out operations were found. - :http:statuscode:`503 Service unavailable`: - This server does not support cashout, client should check config response. + :http:statuscode:`501 Not implemented`: + This server does not support conversion, client should check config response. **Details:** @@ -932,8 +936,8 @@ Cashouts Response is a `GlobalCashouts`. :http:statuscode:`204 No Content`: No cash-out operations were found. - :http:statuscode:`503 Service unavailable`: - This server does not support cashout, client should check config response. + :http:statuscode:`501 Not implemented`: + This server does not support conversion, client should check config response. **Details:** @@ -981,7 +985,7 @@ Cashouts :http:statuscode:`409 Conflict`: The amount is too small to be converted, either because it produces produce an amount less than zero, or because the server requires a higher minimum amount than that supplied. :http:statuscode:`501 Not implemented`: - This server does not support this conversion. + This server does not support conversion or this specific conversion is not currently supported. **Details:** @@ -1027,7 +1031,7 @@ Cashouts :http:statuscode:`409 Conflict`: The amount is too small to be converted, either because it produces produce an amount less than zero, or because the server requires a higher minimum amount than that supplied. :http:statuscode:`501 Not implemented`: - This server does not support this conversion. + This server does not support conversion or this specific conversion is not currently supported. **Details:** @@ -1077,13 +1081,9 @@ Monitor :http:statuscode:`200 OK`: The bank responds with `MonitorResponse`. - :http:statuscode:`400 Bad Request`: This error may indicate that the *which* parameter is not appropriate for the selected *timeframe*. For example, timeframe=month and which=20 would result in this error. - :http:statuscode:`503 Service unavailable`: - The bank doesn't have the conversion service. - **Details:** .. note:: |