summaryrefslogtreecommitdiff
path: root/gnu-taler-error-codes/registry.rec
diff options
context:
space:
mode:
authorpriscilla <priscilla.huang@efrei.net>2022-11-29 07:47:52 -0500
committerpriscilla <priscilla.huang@efrei.net>2022-11-29 07:47:52 -0500
commit20f8eb7a72e2160409f0f78264ec5198e9caa193 (patch)
tree8b891c62be312c2deffd0d607111a5175a94854c /gnu-taler-error-codes/registry.rec
parentb971fd44ebf51a9c403dbbff144b43e73aa02c6c (diff)
Diffstat (limited to 'gnu-taler-error-codes/registry.rec')
-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