diff options
author | Antoine A <> | 2024-01-05 18:15:39 +0000 |
---|---|---|
committer | Antoine A <> | 2024-01-05 18:15:39 +0000 |
commit | e6a0200c2106c679b0d016f834d569c9e2d44a5b (patch) | |
tree | e32ac96dd8fda1e39e500f0aa82bcbb4bd04221b | |
parent | 71e91ceec9f1c2252bf3a71fd87e9e88e96e01c4 (diff) | |
download | docs-e6a0200c2106c679b0d016f834d569c9e2d44a5b.tar.gz docs-e6a0200c2106c679b0d016f834d569c9e2d44a5b.tar.bz2 docs-e6a0200c2106c679b0d016f834d569c9e2d44a5b.zip |
Bring back the 4 call design
-rw-r--r-- | core/api-corebank.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/api-corebank.rst b/core/api-corebank.rst index 1a41e96a..2ef23096 100644 --- a/core/api-corebank.rst +++ b/core/api-corebank.rst @@ -996,7 +996,7 @@ Cashouts Solves the ``CHALLENGE_ID`` challenge and performs the protected operation. - When the challenge is confirmed, this endpoint returns the same response as the protected one. The responses listed below only apply if the confirmation fails. + When the challenge is confirmed, you can call the protected endpoint again with ``CHALLENGE_ID`` in the ``X-Challenge-Id`` HTTP header and an empty request body. **Request:** @@ -1009,10 +1009,12 @@ Cashouts **Response:** + :http:statuscode:`204 No Content`: + The challenge is confirmed. :http:statuscode:`401 Unauthorized`: Invalid credentials or missing rights. :http:statuscode:`404 Not Found`: - * ``TALER_EC_BANK_CHALLENGE_NOT_FOUND`` The challenge was not found. + The challenge was not found. :http:statuscode:`409 Conflict`: * ``TALER_EC_BANK_TAN_CHALLENGE_FAILED`` : wrong TAN. * ``TALER_EC_BANK_TAN_CHALLENGE_EXPIRED`` : expired TAN. |