diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-03-03 11:53:52 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-03-03 11:53:52 +0100 |
commit | 3c9d0e7b78014d448d7be0bbee3c1e83e9baa473 (patch) | |
tree | cbbac337ab7ba01858c04c5b9dbb2e62c09f5073 /src/include | |
parent | ed0a15461984c963d25478d820feb2827f7886a1 (diff) |
implement #8357
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_merchant_service.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/src/include/taler_merchant_service.h b/src/include/taler_merchant_service.h index 78212d86..448b8ba4 100644 --- a/src/include/taler_merchant_service.h +++ b/src/include/taler_merchant_service.h @@ -34,7 +34,7 @@ /** * Library version (in hex) for compatibility tests. */ -#define TALER_MERCHANT_SERVICE_VERSION 0x00090402 +#define TALER_MERCHANT_SERVICE_VERSION 0x00090403 /** @@ -4269,9 +4269,14 @@ struct TALER_MERCHANT_OtpDeviceGetResponse const char *otp_device_description; /** - * OTP device key. + * POS confirmation text with OTP codes that + * would be returned for a purchase over the + * amount given in the query for the respective + * time and algorithm. NULL if the confirmation + * could not be computed based on the query and + * OTP algorithm. */ - const char *otp_key; + const char *otp_code; /** * current counter. @@ -4283,6 +4288,12 @@ struct TALER_MERCHANT_OtpDeviceGetResponse */ enum TALER_MerchantConfirmationAlgorithm otp_alg; + /** + * Timestamp in second used to compute + * @e otp_code. + */ + uint64_t otp_timestamp_s; + } ok; } details; |