summaryrefslogtreecommitdiff
path: root/core/api-corebank.rst
diff options
context:
space:
mode:
Diffstat (limited to 'core/api-corebank.rst')
-rw-r--r--core/api-corebank.rst6
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.