gana

GNUnet Assigned Numbers Authority
Log | Files | Refs | README | LICENSE

commit 3454c60abebb6f49e5adfd0c2f67571aca637dd7
parent 048ad729b3177a5de1726517bc905e6cd7688d0d
Author: Özgür Kesim <oec-taler@kesim.org>
Date:   Tue, 15 Mar 2022 17:06:55 +0100

[TALER merchant] added error codes for age restriction in the merchant

Diffstat:
Mgnu-taler-error-codes/registry.rec | 15+++++++++++++++
1 file changed, 15 insertions(+), 0 deletions(-)

diff --git 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 Description: The payment failed at the exchange. HttpStatus: 502 +Value: 2171 +Name: TALER_EC_MERCHANT_POST_ORDERS_ID_PAY_AGE_COMMITMENT_MISSING +Description: 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. +HttpStatus: 400 + +Value: 2172 +Name: TALER_EC_MERCHANT_POST_ORDERS_ID_PAY_AGE_COMMITMENT_SIZE_MISMATCH +Description: 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. +HttpStatus: 400 + +Value: 2173 +Name: TALER_EC_MERCHANT_POST_ORDERS_ID_PAY_AGE_VERIFICATION_FAILED +Description: 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. +HttpStatus: 400 + # 2200-2249: post orders ID paid endpoint Value: 2200