From 20f8eb7a72e2160409f0f78264ec5198e9caa193 Mon Sep 17 00:00:00 2001 From: priscilla Date: Tue, 29 Nov 2022 07:47:52 -0500 Subject: update --- gnu-taler-error-codes/registry.rec | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'gnu-taler-error-codes/registry.rec') 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 -- cgit v1.2.3