taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit d549dbba535dda3538fd08149111da956ff0c04e
parent b9041ff37b7d47722ef7c2a257481259dfd29e58
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 28 Sep 2025 22:18:07 +0200

api change for #10427

Diffstat:
Mcore/api-merchant.rst | 17+++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/core/api-merchant.rst b/core/api-merchant.rst @@ -341,8 +341,8 @@ Requesting challenges **Response:** - :http:statuscode:`204 No Content`: - The TAN code has been sent. + :http:statuscode:`200 Ok`: + The TAN code has been sent. The body will be a `ChallengeRequestResponse`. :http:statuscode:`404 Not Found`: The challenge was not found. Returned with ``TALER_EC_MERCHANT_TAN_CHALLENGE_UNKNOWN``. @@ -357,6 +357,19 @@ Requesting challenges TAN transmition via ``tan_channel`` failed. Returned with ``TALER_EC_MERCHANT_MFA_HELPER_EXEC_FAILED``. + **Details:** + + .. ts:def:: ChallengeRequestResponse + + interface ChallengeRequestResponse { + // How long does the client have to solve the + // challenge. + solve_expiration: Timestamp; + + // What is the earlist time at which the client + // may request a new challenge to be transmitted? + earliest_retransmission: Timestamp; + } Solving challenges ^^^^^^^^^^^^^^^^^^