summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-03-03 11:37:24 +0100
committerChristian Grothoff <christian@grothoff.org>2024-03-03 11:37:24 +0100
commit5cebfc318511380fdb40aa63f112886045e4828a (patch)
tree21104a790e6b9ad875c415e1383f63039fef2a04
parentc54c4c15ebb35282c4107f81a002ee97c428caea (diff)
downloaddocs-5cebfc318511380fdb40aa63f112886045e4828a.tar.gz
docs-5cebfc318511380fdb40aa63f112886045e4828a.tar.bz2
docs-5cebfc318511380fdb40aa63f112886045e4828a.zip
improve v10 spec
-rw-r--r--core/api-merchant.rst11
1 files changed, 8 insertions, 3 deletions
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;
}