From 5cebfc318511380fdb40aa63f112886045e4828a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 3 Mar 2024 11:37:24 +0100 Subject: improve v10 spec --- core/api-merchant.rst | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'core/api-merchant.rst') diff --git a/core/api-merchant.rst b/core/api-merchant.rst index ca0cd351..00e4a7f6 100644 --- a/core/api-merchant.rst +++ b/core/api-merchant.rst @@ -2762,9 +2762,14 @@ to validate that a customer made a payment. // Will match the ``faketime`` argument of the // query if one was present, otherwise the current // time at the backend. - otp_timestamp?: Integer; + // + // Available since protocol **v10**. + otp_timestamp: Integer; - // Current OTP code of the device. + // Current OTP confirmation string of the device. + // Matches exactly the string that would be returned + // as part of a payment confirmation for the given + // amount and time (so may contain multiple OTP codes). // // If the ``otp_algorithm`` is time-based, the code is // returned for the current time, or for the ``faketime`` @@ -2784,7 +2789,7 @@ to validate that a customer made a payment. // ``otp_algorithm`` and matching client query arguments. // // Available since protocol **v10**. - otp_code?: Integer; + otp_code?: String; } -- cgit v1.2.3