commit 2e3a25d1afc40d9cb0cc241dd5febc715cb19d3e
parent acee4a35377e7562935e6b13620bf57a151a5bf4
Author: bohdan-potuzhnyi <bohdan.potuzhnyi@gmail.com>
Date: Sun, 26 Jul 2026 18:35:16 +0200
new EC
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec
@@ -2332,7 +2332,7 @@ HttpStatus: 410
Value: 2530
Name: MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_INCONSISTENT_AMOUNT
-Description: The amount to be refunded is inconsistent: either is lower than the previous amount being awarded, or it exceeds the original price paid by the customer.
+Description: The requested cumulative Taler refund is inconsistent: it is lower than the amount already awarded, exceeds the amount paid through Taler, or would make the combined Taler and external refunds exceed the full order total.
HttpStatus: 409
Value: 2531
@@ -2375,6 +2375,10 @@ Name: MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_EXTERNAL_INCONSISTENT_AMOUNT
Description: The external refund could not be recorded as the cumulative externally refunded amount would exceed the full order total minus the amount already refunded through Taler.
HttpStatus: 409
+Value: 2539
+Name: MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_EXTERNAL_ALREADY_EXISTS
+Description: An external refund with the same identifier was already recorded for this order, but with different details.
+HttpStatus: 409
# 2550-2569: transfer operations