commit 834b30278f265c2334099ad81d1ee51980d099be parent 5bd341b983246b66ccbe8a8fdd4a684bd813be4b Author: Christian Grothoff <christian@grothoff.org> Date: Wed, 25 Mar 2026 00:09:01 +0100 try to fix formatting Diffstat:
| M | core/api-merchant.rst | | | 46 | +++++++++++++++++++++++----------------------- |
1 file changed, 23 insertions(+), 23 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst @@ -230,37 +230,37 @@ remain absolutely unchanged. preventing the request from being completed for a while. In this case, repeating the request with a different body may still be allowed! - .. ts:def:: ChallengeResponse +.. ts:def:: ChallengeResponse - // @since v21 - interface ChallengeResponse { - // List of challenge IDs that must be solved before the - // client may proceed. - challenges: Challenge[]; + // @since v21 + interface ChallengeResponse { + // List of challenge IDs that must be solved before the + // client may proceed. + challenges: Challenge[]; - // True if **all** challenges must be solved (AND), false if - // it is sufficient to solve one of them (OR). - combi_and: boolean; + // True if **all** challenges must be solved (AND), false if + // it is sufficient to solve one of them (OR). + combi_and: boolean; - } + } - .. ts:def:: Challenge +.. ts:def:: Challenge - interface Challenge { - // Unique identifier of the challenge to solve to run this protected - // operation. - challenge_id: string; + interface Challenge { + // Unique identifier of the challenge to solve to run this protected + // operation. + challenge_id: string; - // Channel of the last successful transmission of the TAN challenge. - tan_channel: TanChannel; + // Channel of the last successful transmission of the TAN challenge. + tan_channel: TanChannel; - // Info of the last successful transmission of the TAN challenge. - // Hint to show to the user as to where the challenge was - // sent or what to use to solve the challenge. May not - // contain the full address for privacy. - tan_info: string; + // Info of the last successful transmission of the TAN challenge. + // Hint to show to the user as to where the challenge was + // sent or what to use to solve the challenge. May not + // contain the full address for privacy. + tan_info: string; - } + } Requesting challenges ^^^^^^^^^^^^^^^^^^^^^