commit 02c968dd3ff5ca6b19a45f7a4e8e3b1be1ec67dd
parent ca29bdf8d02bef1e5474b21293ecf4d6c3ea4e2f
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Thu, 31 Aug 2023 00:06:42 +0200
-new OTP ecs
Diffstat:
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec
@@ -1425,6 +1425,11 @@ Name: MERCHANT_GENERIC_PENDING_WEBHOOK_UNKNOWN
Description: The backend could not find the webhook(serial) because it is not exist.
HttpStatus: 404
+Value: 2021
+Name: MERCHANT_GENERIC_OTP_DEVICE_UNKNOWN
+Description: The backend could not find the OTP device(id) because it is not exist.
+HttpStatus: 404
+
# 2100-2499: public API
# 2100-2149: get orders endpoint
@@ -1979,13 +1984,18 @@ Name: MERCHANT_PRIVATE_GET_ORDERS_ID_AMOUNT_ARITHMETIC_FAILURE
Description: The merchant backend encountered a failure in computing the deposit total.
HttpStatus: 200
-# 2850-2899: template operations
+# 2850-2899: template and OTP device operations
Value: 2850
Name: MERCHANT_PRIVATE_POST_TEMPLATES_CONFLICT_TEMPLATE_EXISTS
Description: The template ID already exists.
HttpStatus: 409
+Value: 2851
+Name: MERCHANT_PRIVATE_POST_OTP_DEVICES_CONFLICT_OTP_DEVICE_EXISTS
+Description: The OTP device ID already exists.
+HttpStatus: 409
+
Value: 2860
Name: MERCHANT_POST_USING_TEMPLATES_AMOUNT_CONFLICT_TEMPLATES_CONTRACT_AMOUNT
Description: Amount given in the using template and in the template contract. There is a conflict.