aboutsummaryrefslogtreecommitdiff
path: root/gnu-taler-error-codes/registry.rec
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2022-03-15 17:06:55 +0100
committerÖzgür Kesim <oec-taler@kesim.org>2022-03-15 17:06:55 +0100
commit3454c60abebb6f49e5adfd0c2f67571aca637dd7 (patch)
treef89a7c89c94cec0476ad73a51158dda4332d69bf /gnu-taler-error-codes/registry.rec
parent048ad729b3177a5de1726517bc905e6cd7688d0d (diff)
downloadgana-3454c60abebb6f49e5adfd0c2f67571aca637dd7.tar.gz
gana-3454c60abebb6f49e5adfd0c2f67571aca637dd7.zip
[TALER merchant] added error codes for age restriction in the merchant
Diffstat (limited to 'gnu-taler-error-codes/registry.rec')
-rw-r--r--gnu-taler-error-codes/registry.rec15
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec
index 701c316..70e09d7 100644
--- a/gnu-taler-error-codes/registry.rec
+++ b/gnu-taler-error-codes/registry.rec
@@ -1061,6 +1061,21 @@ Name: MERCHANT_POST_ORDERS_ID_PAY_EXCHANGE_FAILED
1061Description: The payment failed at the exchange. 1061Description: The payment failed at the exchange.
1062HttpStatus: 502 1062HttpStatus: 502
1063 1063
1064Value: 2171
1065Name: TALER_EC_MERCHANT_POST_ORDERS_ID_PAY_AGE_COMMITMENT_MISSING
1066Description: The payment required a minimum age but one of the coins (of a denomination with support for age restriction) did not provide any age_commitment.
1067HttpStatus: 400
1068
1069Value: 2172
1070Name: TALER_EC_MERCHANT_POST_ORDERS_ID_PAY_AGE_COMMITMENT_SIZE_MISMATCH
1071Description: The payment required a minimum age but one of the coins provided an age_commitment that contained a wrong number of public keys compared to the number of age groups defined in the denomination of the coin.
1072HttpStatus: 400
1073
1074Value: 2173
1075Name: TALER_EC_MERCHANT_POST_ORDERS_ID_PAY_AGE_VERIFICATION_FAILED
1076Description: The payment required a minimum age but one of the coins provided a minimum_age_sig that couldn't be verified with the given age_commitment for that particular minimum age.
1077HttpStatus: 400
1078
1064# 2200-2249: post orders ID paid endpoint 1079# 2200-2249: post orders ID paid endpoint
1065 1080
1066Value: 2200 1081Value: 2200