commit 794201a4f098e778cb9dd48ac6e3bc5d17844d0d parent 60b071096b1b26da6b2aa5810ae906a27467bcce Author: Christian Grothoff <christian@grothoff.org> Date: Thu, 1 Feb 2024 23:20:42 +0100 allow strings to be used in TOTP protocol specs; bump protocol to v7 Diffstat:
| M | core/api-merchant.rst | | | 9 | +++++---- |
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst @@ -3145,10 +3145,11 @@ to validate that a customer made a payment. otp_key: string; // Algorithm for computing the POS confirmation. - // 0: No algorithm (no pos confirmation will be generated) - // 1: Without amounts (typical OTP device) - // 2: With amounts (special-purpose OTP device) - otp_algorithm: Integer; + // "NONE" or 0: No algorithm (no pos confirmation will be generated) + // "TOTP_WITHOUT_PRICE" or 1: Without amounts (typical OTP device) + // "TOTP_WITH_PRICE" or 2: With amounts (special-purpose OTP device) + // The "String" variants are supported @since protocol v7. + otp_algorithm: Integer | String; // Counter for counter-based OTP devices. otp_ctr?: Integer;