summaryrefslogtreecommitdiff
path: root/gnu-taler-error-codes
diff options
context:
space:
mode:
Diffstat (limited to 'gnu-taler-error-codes')
-rw-r--r--gnu-taler-error-codes/registry.rec17
1 files changed, 16 insertions, 1 deletions
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec
index b0ebb9f..a7ee5c8 100644
--- a/gnu-taler-error-codes/registry.rec
+++ b/gnu-taler-error-codes/registry.rec
@@ -1282,6 +1282,11 @@ Name: MERCHANT_GENERIC_TEMPLATE_UNKNOWN
Description: The backend could not find the template(id) because it is not exist.
HttpStatus: 404
+Value: 2019
+Name: MERCHANT_GENERIC_WEBHOOK_UNKNOWN
+Description: The backend could not find the webhook(id) because it is not exist.
+HttpStatus: 404
+
# 2100-2499: public API
# 2100-2149: get orders endpoint
@@ -1765,10 +1770,20 @@ HttpStatus: 200
Value: 2850
Name: MERCHANT_PRIVATE_POST_TEMPLATES_CONFLICT_TEMPLATE_EXISTS
-Description: The template ID exists.
+Description: The template ID already exists.
+HttpStatus: 409
+
+
+# 2900-2949: webhook operations
+
+Value: 2900
+Name: MERCHANT_PRIVATE_POST_WEBHOOKS_CONFLICT_WEBHOOK_EXISTS
+Description: The webhook ID elready exists.
HttpStatus: 409
+
+
# 3000 - 3999: Reserved for auditor
# 3000 - 3099: Reserved for AUDITOR_GENERIC