commit 47078ea53b958089bcd67be8c2217629ae646eba
parent fc2213467ecf6573fbc187a906048e114f4809eb
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Sat, 24 Oct 2026 11:18:13 +0200
update gana
Diffstat:
2 files changed, 1476 insertions(+), 388 deletions(-)
diff --git a/internal/gana/taler_error_codes.go b/internal/gana/taler_error_codes.go
@@ -43,7 +43,7 @@ const (
/**
- * An internal failure happened on the client side. Details should be in the local logs. Check if you are using the latest available version or file a report with the developers.
+ * An internal failure occurred on the client side. Details should be in the local logs. Check whether the latest available version is in use or file a report with the developers.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -59,7 +59,7 @@ const (
/**
- * The response we got from the server was not in the expected format. Most likely, the server does not speak the GNU Taler protocol. Check the URL and/or the network connection to the server.
+ * The response received from the server was not in the expected format. Most likely, the server does not speak the GNU Taler protocol. Check the URL and the network connection to the server.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -83,7 +83,7 @@ const (
/**
- * The service responded with a reply that was in the right data format, but the content did not satisfy the protocol. Please file a bug report.
+ * The service returned a response in the correct data format, but its content did not satisfy the protocol. File a bug report.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -115,7 +115,7 @@ const (
/**
- * The HTTP method used is invalid for this endpoint. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers.
+ * The HTTP method used is invalid for this endpoint. This is likely a bug in the client implementation. Check whether the latest available version is in use or file a report with the developers.
* Returned with an HTTP status code of #MHD_HTTP_METHOD_NOT_ALLOWED (405).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -123,7 +123,7 @@ const (
/**
- * There is no endpoint defined for the URL provided by the client. Check if you used the correct URL and/or file a report with the developers of the client software.
+ * There is no endpoint defined for the URL provided by the client. Check whether the URL is correct or file a report with the client software developers.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -131,7 +131,7 @@ const (
/**
- * The JSON in the client's request was malformed. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers.
+ * The JSON in the client's request was malformed. This is likely a bug in the client implementation. Check whether the latest available version is in use or file a report with the developers.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -139,7 +139,7 @@ const (
/**
- * Some of the HTTP headers provided by the client were malformed and caused the server to not be able to handle the request. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers.
+ * Some of the HTTP headers provided by the client were malformed, so the server could not handle the request. This is likely a bug in the client implementation. Check whether the latest available version is in use or file a report with the developers.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -147,7 +147,7 @@ const (
/**
- * The payto:// URI provided by the client is malformed. Check that you are using the correct syntax as of RFC 8905 and/or that you entered the bank account number correctly.
+ * The `payto://` URI provided by the client is malformed. Check that it uses the syntax specified by RFC 8905 and that the bank account number is correct.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -155,7 +155,7 @@ const (
/**
- * A required parameter in the request was missing. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers.
+ * A required parameter in the request was missing. This is likely a bug in the client implementation. Check whether the latest available version is in use or file a report with the developers.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -163,7 +163,7 @@ const (
/**
- * A parameter in the request was malformed. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers.
+ * A parameter in the request was malformed. This is likely a bug in the client implementation. Check whether the latest available version is in use or file a report with the developers.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -179,7 +179,7 @@ const (
/**
- * The body in the request could not be decompressed by the server. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers.
+ * The body in the request could not be decompressed by the server. This is likely a bug in the client implementation. Check whether the latest available version is in use or file a report with the developers.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -187,7 +187,7 @@ const (
/**
- * A segment in the path of the URL provided by the client is malformed. Check that you are using the correct encoding for the URL.
+ * A segment in the path of the URL provided by the client is malformed. Check that the URL uses the correct encoding.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -195,7 +195,7 @@ const (
/**
- * The currency involved in the operation is not acceptable for this server. Check your configuration and make sure the currency specified for a given service provider is one of the currencies supported by that provider.
+ * The currency involved in the operation is not acceptable for this server. Check the configuration and ensure that the currency specified for the service provider is supported by that provider.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -203,7 +203,7 @@ const (
/**
- * The URI is longer than the longest URI the HTTP server is willing to parse. If you believe this was a legitimate request, contact the server administrators and/or the software developers to increase the limit.
+ * The URI is longer than the longest URI the HTTP server is willing to parse. If this was a legitimate request, the server administrator or software developers may need to increase the limit.
* Returned with an HTTP status code of #MHD_HTTP_URI_TOO_LONG (414).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -211,7 +211,7 @@ const (
/**
- * The body is too large to be permissible for the endpoint. If you believe this was a legitimate request, contact the server administrators and/or the software developers to increase the limit.
+ * The body is too large for the endpoint. If this was a legitimate request, the server administrator or software developers may need to increase the limit.
* Returned with an HTTP status code of #MHD_HTTP_CONTENT_TOO_LARGE (413).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -219,6 +219,14 @@ const (
/**
+ * A parameter that must not be present was included in the request. This is likely a bug in the client implementation. Check whether the latest available version is in use or file a report with the developers.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ GENERIC_PARAMETER_EXTRA = 33
+
+
+ /**
* The service refused the request due to lack of proper authorization. Accessing this endpoint requires an access token from the account owner.
* Returned with an HTTP status code of #MHD_HTTP_UNAUTHORIZED (401).
* (A value of 0 indicates that the error is generated client-side).
@@ -227,7 +235,7 @@ const (
/**
- * The service refused the request as the given authorization token is unknown. You should request a valid access token from the account owner.
+ * The service refused the request because the given authorization token is unknown. The client should request a valid access token from the account owner.
* Returned with an HTTP status code of #MHD_HTTP_UNAUTHORIZED (401).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -235,7 +243,7 @@ const (
/**
- * The service refused the request as the given authorization token expired. You should request a fresh authorization token from the account owner.
+ * The service refused the request because the given authorization token expired. The client should request a fresh authorization token from the account owner.
* Returned with an HTTP status code of #MHD_HTTP_UNAUTHORIZED (401).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -243,7 +251,7 @@ const (
/**
- * The service refused the request as the given authorization token is invalid or malformed. You should check that you have the right credentials.
+ * The service refused the request because the given authorization token is invalid or malformed. The client should check that it has the correct credentials.
* Returned with an HTTP status code of #MHD_HTTP_UNAUTHORIZED (401).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -251,7 +259,7 @@ const (
/**
- * The service refused the request due to lack of proper rights on the resource. You may need different credentials to be allowed to perform this operation.
+ * The service refused the request because the client lacks the required rights on the resource. The client may need different credentials to perform this operation.
* Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -259,7 +267,7 @@ const (
/**
- * The service failed initialize its connection to the database. The system administrator should check that the service has permissions to access the database and that the database is running.
+ * The service failed to initialize its connection to the database. The system administrator should check that the service has permission to access the database and that the database is running.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -267,7 +275,7 @@ const (
/**
- * The service encountered an error event to just start the database transaction. The system administrator should check that the database is running.
+ * The service encountered an error while starting the database transaction. The system administrator should check that the database is running.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -299,7 +307,7 @@ const (
/**
- * The service encountered an error event to commit the database transaction, even after repeatedly retrying it there was always a conflicting transaction. This indicates a repeated serialization error; it should only happen if some client maliciously tries to create conflicting concurrent transactions. It could also be a sign of a missing index. Check if you are using the latest available version and/or file a report with the developers.
+ * The service encountered an error while committing the database transaction; despite repeated retries, a conflicting transaction persisted. This indicates a serialization error. It may be caused by conflicting concurrent transactions or a missing index. Check that the latest available version is being used and file a report with the developers if the problem persists.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -307,7 +315,7 @@ const (
/**
- * The service's database is inconsistent and violates service-internal invariants. Check if you are using the latest available version and/or file a report with the developers.
+ * The service's database is inconsistent and violates service-internal invariants. Check whether the latest available version is in use or file a report with the developers.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -315,7 +323,7 @@ const (
/**
- * The HTTP server experienced an internal invariant failure (bug). Check if you are using the latest available version and/or file a report with the developers.
+ * The HTTP server experienced an internal invariant failure (bug). Check whether the latest available version is in use or file a report with the developers.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -323,7 +331,7 @@ const (
/**
- * The service could not compute a cryptographic hash over some JSON value. Check if you are using the latest available version and/or file a report with the developers.
+ * The service could not compute a cryptographic hash over a JSON value. Check whether the latest available version is in use or file a report with the developers.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -331,7 +339,7 @@ const (
/**
- * The service could not compute an amount. Check if you are using the latest available version and/or file a report with the developers.
+ * The service could not compute an amount. Check whether the latest available version is in use or file a report with the developers.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -355,7 +363,7 @@ const (
/**
- * The HTTP server failed to allocate memory for building JSON reply. Restarting services periodically can help, especially if Postgres is using excessive amounts of memory. Check with the system administrator to investigate.
+ * The HTTP server failed to allocate memory for building a JSON response. Restarting services periodically can help, especially if Postgres is using excessive amounts of memory. Ask the system administrator to investigate.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -371,7 +379,7 @@ const (
/**
- * The backend could not locate a required template to generate an HTML reply. The system administrator should check if the resource files are installed in the correct location and are readable to the service.
+ * The backend could not locate a required template to generate an HTML response. The system administrator should check whether the resource files are installed in the correct location and readable by the service.
* Returned with an HTTP status code of #MHD_HTTP_NOT_ACCEPTABLE (406).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -379,7 +387,7 @@ const (
/**
- * The backend could not expand the template to generate an HTML reply. The system administrator should investigate the logs and check if the templates are well-formed.
+ * The backend could not expand the template to generate an HTML response. The system administrator should investigate the logs and check whether the templates are well-formed.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -395,6 +403,22 @@ const (
/**
+ * The operating system failed to allocate required resources. Restarting services periodically can help, especially if Postgres is using excessive amounts of memory. Check with the system administrator to investigate.
+ * Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ GENERIC_OS_RESOURCE_ALLOCATION_FAILURE = 77
+
+
+ /**
+ * The requested content type is not supported by the server. The client should try requesting a different format.
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_ACCEPTABLE (406).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ GENERIC_REQUESTED_FORMAT_UNSUPPORTED = 78
+
+
+ /**
* Exchange is badly configured and thus cannot operate.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
@@ -403,7 +427,7 @@ const (
/**
- * Operation specified unknown for this endpoint.
+ * The specified operation is unknown for this endpoint.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -427,7 +451,7 @@ const (
/**
- * The public key of given to a "/coins/" endpoint of the exchange was malformed.
+ * The public key given to the `/coins/` endpoint of the exchange was malformed.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -467,7 +491,7 @@ const (
/**
- * Denomination key of the coin is past its expiration time for the requested operation.
+ * The denomination key of the coin has passed its expiration time for the requested operation.
* Returned with an HTTP status code of #MHD_HTTP_GONE (410).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -491,7 +515,7 @@ const (
/**
- * The respective coin did not have sufficient residual value for the operation. The "history" in this response provides the "residual_value" of the coin, which may be less than its "original_value".
+ * The coin did not have sufficient residual value for the operation. The `history` in this response provides the coin's `residual_value`, which may be less than its `original_value`.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -611,7 +635,7 @@ const (
/**
- * The exchange has no information about the "reserve_pub" that was given.
+ * The exchange has no information about the `reserve_pub` that was provided.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -627,7 +651,7 @@ const (
/**
- * Inconsistency between provided age commitment and attest: either none or both must be provided
+ * The provided age commitment and attestation are inconsistent: either both must be provided or neither may be provided.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -635,7 +659,7 @@ const (
/**
- * The provided attestation for the minimum age couldn't be verified by the exchange.
+ * The provided attestation for the minimum age could not be verified by the exchange.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -723,7 +747,7 @@ const (
/**
- * The exchange is not aware of the bank account (payto URI or hash thereof) specified in the request and thus cannot perform the requested operation. The client should check that the select account is correct.
+ * The exchange is not aware of the bank account (payto URI or hash thereof) specified in the request and thus cannot perform the requested operation. The client should check that the selected account is correct.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -739,7 +763,7 @@ const (
/**
- * A check against sanction lists failed. This is indicative of an internal error in the sanction list processing logic. This needs to be investigated by the exchange operator.
+ * A check against sanctions lists failed. This indicates an internal error in the sanctions-list processing logic. The exchange operator should investigate.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -795,6 +819,14 @@ const (
/**
+ * The specified AML officer does not have write access at this time.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ EXCHANGE_GENERIC_AML_OFFICER_READ_ONLY = 1050
+
+
+ /**
* The exchange did not find information about the specified transaction in the database.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
@@ -803,7 +835,7 @@ const (
/**
- * The wire hash of given to a "/deposits/" handler was malformed.
+ * The wire hash given to the `/deposits/` handler was malformed.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -811,7 +843,7 @@ const (
/**
- * The merchant key of given to a "/deposits/" handler was malformed.
+ * The merchant key given to the `/deposits/` handler was malformed.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -819,7 +851,7 @@ const (
/**
- * The hash of the contract terms given to a "/deposits/" handler was malformed.
+ * The hash of the contract terms given to the `/deposits/` handler was malformed.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -827,7 +859,7 @@ const (
/**
- * The coin public key of given to a "/deposits/" handler was malformed.
+ * The coin public key given to the `/deposits/` handler was malformed.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -835,7 +867,7 @@ const (
/**
- * The signature returned by the exchange in a /deposits/ request was malformed.
+ * The signature returned by the exchange in a `/deposits/` request was malformed.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -851,7 +883,7 @@ const (
/**
- * The provided policy data was not accepted
+ * The provided policy data was not accepted.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -859,7 +891,7 @@ const (
/**
- * The given reserve does not have sufficient funds to admit the requested withdraw operation at this time. The response includes the current "balance" of the reserve as well as the transaction "history" that lead to this balance.
+ * The given reserve does not have sufficient funds to admit the requested withdrawal operation at this time. The response includes the current `balance` of the reserve and the transaction `history` that led to this balance.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -867,7 +899,7 @@ const (
/**
- * The given reserve does not have sufficient funds to admit the requested age-withdraw operation at this time. The response includes the current "balance" of the reserve as well as the transaction "history" that lead to this balance.
+ * The given reserve does not have sufficient funds to admit the requested age-withdrawal operation at this time. The response includes the current `balance` of the reserve and the transaction `history` that led to this balance.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -899,7 +931,7 @@ const (
/**
- * When computing the reserve history, we ended up with a negative overall balance, which should be impossible.
+ * Computing the reserve history resulted in a negative overall balance, which should be impossible.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -948,7 +980,7 @@ const (
/**
* The total sum of amounts from the denominations did overflow.
- * Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
EXCHANGE_WITHDRAW_AMOUNT_OVERFLOW = 1162
@@ -963,7 +995,7 @@ const (
/**
- * The original commitment differs from the calculated hash
+ * The original commitment differs from the calculated hash.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -971,7 +1003,7 @@ const (
/**
- * The maximum age in the commitment is too large for the reserve
+ * The maximum age in the commitment is too large for the reserve.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -979,6 +1011,14 @@ const (
/**
+ * The denominations of an age-restricted withdraw request do not all use the same age mask. All denominations of an age-restricted withdraw must have the same age groups.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ EXCHANGE_WITHDRAW_AGE_MASK_MISMATCH = 1166
+
+
+ /**
* The withdraw operation included the same planchet more than once. This is not allowed.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
@@ -1019,7 +1059,7 @@ const (
/**
- * The stated wire deadline is "never", which makes no sense.
+ * The stated wire deadline is `never`, which is not allowed.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1027,7 +1067,7 @@ const (
/**
- * The exchange failed to canonicalize and hash the given wire format. For example, the merchant failed to provide the "salt" or a valid payto:// URI in the wire details. Note that while the exchange will do some basic sanity checking on the wire details, it cannot warrant that the banking system will ultimately be able to route to the specified address, even if this check passed.
+ * The exchange failed to canonicalize and hash the given wire format. For example, the merchant failed to provide the `salt` or a valid `payto://` URI in the wire details. Note that the exchange performs only basic sanity checking on the wire details; it cannot guarantee that the banking system can route funds to the specified address, even if this check succeeds.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1099,7 +1139,7 @@ const (
/**
- * The denomination of the given coin has past its expiration date and it is also not a valid zombie (that is, was not refreshed with the fresh coin being subjected to recoup).
+ * The denomination of the given coin has passed its expiration date and is not a valid zombie (that is, it was not refreshed with the fresh coin being subjected to recoup).
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1179,7 +1219,7 @@ const (
/**
- * The refresh session hash given to a /refreshes/ handler was malformed.
+ * The refresh session hash given to the `/refreshes/` handler was malformed.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1187,7 +1227,7 @@ const (
/**
- * Operation specified invalid for this endpoint.
+ * The specified operation is invalid for this endpoint.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1219,7 +1259,7 @@ const (
/**
- * The public key of given to a /transfers/ handler was malformed.
+ * The public key given to the `/transfers/` handler was malformed.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1267,7 +1307,7 @@ const (
/**
- * The exchange knows literally nothing about the coin we were asked to refund. But without a transaction history, we cannot issue a refund. This is kind-of OK, the owner should just refresh it directly without executing the refund.
+ * The exchange has no information about the coin to be refunded. Without a transaction history, it cannot issue a refund. This is acceptable; the owner should refresh the coin directly without executing the refund.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1275,7 +1315,7 @@ const (
/**
- * We could not process the refund request as the coin's transaction history does not permit the requested refund because then refunds would exceed the deposit amount. The "history" in the response proves this.
+ * The refund request could not be processed because the coin's transaction history does not permit it: the refunds would exceed the deposit amount. The `history` in the response demonstrates this.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1283,7 +1323,7 @@ const (
/**
- * The exchange knows about the coin we were asked to refund, but not about the specific /deposit operation. Hence, we cannot issue a refund (as we do not know if this merchant public key is authorized to do a refund).
+ * The exchange knows about the coin to be refunded, but not about the specific `/deposit` operation. Therefore, it cannot issue a refund because it does not know whether this merchant public key is authorized to issue one.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1291,7 +1331,7 @@ const (
/**
- * The exchange can no longer refund the customer/coin as the money was already transferred (paid out) to the merchant. (It should be past the refund deadline.)
+ * The exchange can no longer refund the customer or coin because the money was already transferred to the merchant. The refund deadline has passed.
* Returned with an HTTP status code of #MHD_HTTP_GONE (410).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1396,13 +1436,37 @@ const (
/**
* The coin's denomination has not been revoked yet.
- * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
+ * Returned with an HTTP status code of #MHD_HTTP_GONE (410).
* (A value of 0 indicates that the error is generated client-side).
*/
EXCHANGE_RECOUP_NOT_ELIGIBLE = 1555
/**
+ * The number of coins in the recoup request does not match the number of coins signed in the withdraw operation.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ EXCHANGE_RECOUP_WITHDRAW_BATCH_SIZE_MISMATCH = 1556
+
+
+ /**
+ * The hash over the coins in the recoup request does not match the commitment of the withdraw operation. At least one disclosed coin was not part of the operation.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ EXCHANGE_RECOUP_WITHDRAW_COMMITMENT_MISMATCH = 1557
+
+
+ /**
+ * The denomination of a disclosed coin differs from the denomination recorded for that position of the withdraw operation.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ EXCHANGE_RECOUP_WITHDRAW_DENOMINATION_MISMATCH = 1558
+
+
+ /**
* The given coin signature is invalid for the request.
* Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
* (A value of 0 indicates that the error is generated client-side).
@@ -1428,14 +1492,38 @@ const (
/**
* The coin's denomination has not been revoked yet.
- * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
+ * Returned with an HTTP status code of #MHD_HTTP_GONE (410).
* (A value of 0 indicates that the error is generated client-side).
*/
EXCHANGE_RECOUP_REFRESH_NOT_ELIGIBLE = 1580
/**
- * This exchange does not allow clients to request /keys for times other than the current (exchange) time.
+ * The number of coins in the recoup request does not match the number of coins signed in the refresh operation.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ EXCHANGE_RECOUP_REFRESH_BATCH_SIZE_MISMATCH = 1581
+
+
+ /**
+ * The hash over the coins in the recoup request does not match the commitment of the refresh operation. At least one disclosed coin was not part of the operation.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ EXCHANGE_RECOUP_REFRESH_COMMITMENT_MISMATCH = 1582
+
+
+ /**
+ * The denomination of a disclosed coin differs from the denomination recorded for that position of the refresh operation.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ EXCHANGE_RECOUP_REFRESH_DENOMINATION_MISMATCH = 1583
+
+
+ /**
+ * This exchange does not allow clients to request `/keys` for times other than the current exchange time.
* Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1451,7 +1539,7 @@ const (
/**
- * No bank accounts are enabled for the exchange. The administrator should enable-account using the taler-exchange-offline tool.
+ * No bank accounts are enabled for the exchange. The administrator should enable an account using the `taler-exchange-offline` tool.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1475,7 +1563,7 @@ const (
/**
- * This purse was previously created with different meta data.
+ * This purse was previously created with different metadata.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1483,7 +1571,7 @@ const (
/**
- * This purse was previously merged with different meta data.
+ * This purse was previously merged with different metadata.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1555,7 +1643,7 @@ const (
/**
- * The signature of the exchange on the reply was invalid.
+ * The exchange's signature on the response was invalid.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1627,6 +1715,14 @@ const (
/**
+ * The purse expiration time is further in the future than the exchange allows.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ EXCHANGE_RESERVES_PURSE_EXPIRATION_TOO_LATE = 1779
+
+
+ /**
* The signature by the reserve affirming the open operation is invalid.
* Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
* (A value of 0 indicates that the error is generated client-side).
@@ -1643,7 +1739,7 @@ const (
/**
- * The signature by the reserve affirming the attestion request is invalid.
+ * The signature by the reserve affirming the attestation request is invalid.
* Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1667,6 +1763,22 @@ const (
/**
+ * A coin signature for a deposit to pay to open the reserve is invalid.
+ * Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ EXCHANGE_RESERVES_OPEN_COIN_SIGNATURE_INVALID = 1790
+
+
+ /**
+ * A different request to keep the reserve open was already processed with the same request timestamp. Each open request of a reserve must use a distinct request timestamp.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ EXCHANGE_RESERVES_OPEN_TIMESTAMP_REUSE = 1791
+
+
+ /**
* The auditor that was supposed to be disabled is unknown to this exchange.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
@@ -1843,7 +1955,7 @@ const (
/**
- * There AML decision would impose an AML check of a type that is not provided by any KYC provider known to the exchange.
+ * The AML decision would impose an AML check of a type that is not provided by any KYC provider known to the exchange.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1867,7 +1979,7 @@ const (
/**
- * The exchange already has this denomination key configured, but with different meta data. This should not be possible, contact the developers for support.
+ * The exchange already has this denomination key configured, but with different metadata. This should not be possible; contact the developers for support.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1875,7 +1987,7 @@ const (
/**
- * The exchange already has this signing key configured, but with different meta data. This should not be possible, contact the developers for support.
+ * The exchange already has this signing key configured, but with different metadata. This should not be possible; contact the developers for support.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1883,7 +1995,7 @@ const (
/**
- * The purse was previously created with different meta data.
+ * The purse was previously created with different metadata.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1915,7 +2027,7 @@ const (
/**
- * The purse expiration time is "never".
+ * The purse expiration time is `never`.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1923,7 +2035,7 @@ const (
/**
- * The purse signature over the purse meta data is invalid.
+ * The purse signature over the purse metadata is invalid.
* Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1947,7 +2059,7 @@ const (
/**
- * The coin was previously deposited with different meta data.
+ * The coin was previously deposited with different metadata.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1955,7 +2067,7 @@ const (
/**
- * The encrypted contract was previously uploaded with different meta data.
+ * The encrypted contract was previously uploaded with different metadata.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1971,6 +2083,22 @@ const (
/**
+ * The purse expiration time is further in the future than the exchange allows.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ EXCHANGE_PURSE_CREATE_EXPIRATION_TOO_LATE = 1862
+
+
+ /**
+ * The denomination of a coin deposited into the purse stops being legally valid before the purse expiration time.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ EXCHANGE_PURSE_DENOMINATION_LEGAL_EXPIRES_TOO_SOON = 1863
+
+
+ /**
* The signature using the merge key is invalid.
* Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
* (A value of 0 indicates that the error is generated client-side).
@@ -2027,7 +2155,7 @@ const (
/**
- * The auditor signature over the denomination meta data is invalid.
+ * The auditor signature over the denomination metadata is invalid.
* Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2051,6 +2179,14 @@ const (
/**
+ * The client submitted the wrong form for the request. This is some invalid use of the API. Please contact technical support.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ EXCHANGE_KYC_INVALID_FORM_SUBMITTED = 1917
+
+
+ /**
* The exchange tried to run an AML program, but that program did not terminate on time. Contact the exchange operator to address the AML program bug or performance issue. If it is not a performance issue, the timeout might have to be increased (requires changes to the source code).
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
@@ -2067,7 +2203,7 @@ const (
/**
- * The exchange got stuck in a long series of (likely recursive) KYC rules without user-inputs that did not result in a timely conclusion. This is a configuration failure. Please contact the administrator.
+ * The exchange got stuck in a long series of likely recursive KYC rules without user input, preventing a timely conclusion. This is a configuration failure. The administrator should investigate.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2139,7 +2275,7 @@ const (
/**
- * The exchange is unaware of having made an the authorization request.
+ * The exchange is unaware of having made the authorization request.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2235,7 +2371,7 @@ const (
/**
- * The form has been previously uploaded, and may only be filed once. The user should be redirected to their main KYC page and see if any other steps need to be taken.
+ * The form was previously uploaded and may only be submitted once. The user should be redirected to the main KYC page to determine whether further steps are required.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2395,11 +2531,11 @@ const (
/**
- * The merchant was unable to obtain a valid answer to /wire from the exchange.
+ * The master key of the exchange does not match the one configured for this merchant. As a result, the merchant refuses to do business with this exchange. The administrator should check whether the exchange is configured correctly in the merchant backend.
* Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
* (A value of 0 indicates that the error is generated client-side).
*/
- MERCHANT_GENERIC_EXCHANGE_WIRE_REQUEST_FAILED = 2002
+ MERCHANT_GENERIC_EXCHANGE_MASTER_KEY_MISMATCH = 2002
/**
@@ -2427,7 +2563,7 @@ const (
/**
- * The order provided to the backend could not be completed, because a product to be completed via inventory data is not actually in our inventory.
+ * The order provided to the backend could not be completed because a product specified through inventory data is not in the inventory.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2483,7 +2619,7 @@ const (
/**
- * The exchange returned a maformed response.
+ * The exchange returned a malformed response.
* Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2523,7 +2659,7 @@ const (
/**
- * The backend could not find the template(id) because it is not exist.
+ * The backend could not find the template with the specified ID because it does not exist.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2531,7 +2667,7 @@ const (
/**
- * The backend could not find the webhook(id) because it is not exist.
+ * The backend could not find the webhook with the specified ID because it does not exist.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2539,7 +2675,7 @@ const (
/**
- * The backend could not find the webhook(serial) because it is not exist.
+ * The backend could not find the webhook with the specified serial because it does not exist.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2547,7 +2683,7 @@ const (
/**
- * The backend could not find the OTP device(id) because it is not exist.
+ * The backend could not find the OTP device with the specified ID because it does not exist.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2627,7 +2763,7 @@ const (
/**
- * This operation requires multi-factor authorization and the respective instance does not have a sufficient number of factors that could be validated configured. You need to ask the system administrator to perform this operation.
+ * This operation requires multi-factor authorization, but the instance does not have enough configured factors that can be validated. The system administrator must perform this operation.
* Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2643,7 +2779,7 @@ const (
/**
- * The unit referenced in the request is builtin and cannot be modified or deleted.
+ * The unit referenced in the request is built-in and cannot be modified or deleted.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2651,6 +2787,94 @@ const (
/**
+ * The report ID provided to the backend is not known to the backend.
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_GENERIC_REPORT_UNKNOWN = 2034
+
+
+ /**
+ * The report ID provided to the backend is not known to the backend.
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_IMPLEMENTED (501).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_GENERIC_REPORT_GENERATOR_UNCONFIGURED = 2035
+
+
+ /**
+ * The product group ID provided to the backend is not known to the backend.
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_GENERIC_PRODUCT_GROUP_UNKNOWN = 2036
+
+
+ /**
+ * The money pod ID provided to the backend is not known to the backend.
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_GENERIC_MONEY_POT_UNKNOWN = 2037
+
+
+ /**
+ * The session ID provided to the backend is not known to the backend.
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_GENERIC_SESSION_UNKNOWN = 2038
+
+
+ /**
+ * The merchant does not have a charity associated with the selected Donau. As a result, it cannot generate the requested donation receipt. This could happen if the charity was removed from the backend between order creation and payment.
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_GENERIC_DONAU_CHARITY_UNKNOWN = 2039
+
+
+ /**
+ * The merchant does not expect a transfer with the given ID and therefore cannot return any details about it.
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_GENERIC_EXPECTED_TRANSFER_UNKNOWN = 2040
+
+
+ /**
+ * The Donau is not known to the backend.
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_GENERIC_DONAU_UNKNOWN = 2041
+
+
+ /**
+ * The access token is not known to the backend.
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_GENERIC_ACCESS_TOKEN_UNKNOWN = 2042
+
+
+ /**
+ * The fountain is not known to the backend.
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_GENERIC_FOUNTAIN_UNKNOWN = 2043
+
+
+ /**
+ * One of the binaries needed to generate the PDF is not installed. If this feature is required, the system administrator should make sure Typst and pdftk are both installed.
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_IMPLEMENTED (501).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_GENERIC_NO_TYPST_OR_PDFTK = 2048
+
+
+ /**
* The exchange failed to provide a valid answer to the tracking request, thus those details are not in the response.
* Returned with an HTTP status code of #MHD_HTTP_OK (200).
* (A value of 0 indicates that the error is generated client-side).
@@ -2691,8 +2915,8 @@ const (
/**
- * The contract terms version is not invalid.
- * Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
+ * The contract terms version is not understood by the merchant backend. Most likely the merchant backend was downgraded to a version incompatible with the content of the database.
+ * Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
MERCHANT_GET_ORDERS_ID_INVALID_CONTRACT_VERSION = 2107
@@ -2731,7 +2955,7 @@ const (
/**
- * The challenge was already solved. Thus, we refuse to send it again.
+ * The challenge was already solved. Therefore, the service refuses to send it again.
* Returned with an HTTP status code of #MHD_HTTP_GONE (410).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2755,6 +2979,30 @@ const (
/**
+ * The transmission helper rejected the address configured for this multi-factor authentication step: it is malformed, of the wrong length, not a mobile subscription, unallocated, or blocked. The address should be corrected.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_TAN_ADDRESS_UNUSABLE = 2132
+
+
+ /**
+ * The address is valid but the recipient could not be reached: the handset is switched off or out of coverage, or the message expired before delivery. Retrying later may succeed.
+ * Returned with an HTTP status code of #MHD_HTTP_SERVICE_UNAVAILABLE (503).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_TAN_ADDRESS_UNREACHABLE = 2133
+
+
+ /**
+ * The transmission helper is misconfigured: a required credential is absent, the configured credentials were refused by the provider, or the provider account has insufficient balance. The backend operator should check the logs and fix the Taler merchant backend configuration.
+ * Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_TAN_HELPER_MISCONFIGURED = 2134
+
+
+ /**
* The exchange responded saying that funds were insufficient (for example, due to double-spending).
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
@@ -2803,7 +3051,7 @@ const (
/**
- * Even if we do not consider deposit and wire fees, the payment is insufficient to satisfy the required amount for the contract.
+ * Even without considering deposit and wire fees, the payment is insufficient to satisfy the required amount for the contract.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2819,7 +3067,7 @@ const (
/**
- * When we tried to find information about the exchange to issue the deposit, we failed. This usually only happens if the merchant backend is somehow unable to get its own HTTP client logic to work.
+ * The merchant backend failed to find information about the exchange to issue the deposit. This usually happens when the merchant backend's HTTP client logic is not working.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2851,7 +3099,7 @@ const (
/**
- * The "merchant" field is missing in the proposal data. This is an internal error as the proposal is from the merchant's own database at this point.
+ * The `merchant` field is missing from the proposal data. This is an internal error because the proposal comes from the merchant's own database at this point.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2883,7 +3131,7 @@ const (
/**
- * The contract was not fully paid because of refunds. Note that clients MAY treat this as paid if, for example, contracts must be executed despite of refunds.
+ * The contract was not fully paid because of refunds. Clients may treat it as paid if, for example, the contract must be executed despite refunds.
* Returned with an HTTP status code of #MHD_HTTP_PAYMENT_REQUIRED (402).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2891,7 +3139,7 @@ const (
/**
- * According to our database, we have refunded more than we were paid (which should not be possible).
+ * The database indicates that more was refunded than was paid, which should not be possible.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2931,7 +3179,7 @@ const (
/**
- * 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.
+ * The payment required a minimum age, but one of the coins provided a `minimum_age_sig` that could not be verified with the given `age_commitment` for that minimum age.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3019,7 +3267,7 @@ const (
/**
- * The payment violates a transaction limit configured at the given exchange. The wallet has a bug in that it failed to check exchange limits during coin selection. Please report the bug to your wallet developer.
+ * The payment violates a transaction limit configured at the given exchange. The wallet failed to check exchange limits during coin selection. The wallet developer should investigate.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3035,6 +3283,54 @@ const (
/**
+ * Some of the exchanges involved refused the request for reasons related to legitimization. The wallet should try with coins of different exchanges. The merchant should check if they have some legitimization process pending at the exchange.
+ * Returned with an HTTP status code of #MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS (451).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_POST_ORDERS_ID_PAY_EXCHANGE_LEGALLY_REFUSED = 2186
+
+
+ /**
+ * The order was already paid, but the request specified a different choice. The client should use the choice with which the order was actually paid.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_POST_ORDERS_ID_PAY_CHOICE_INDEX_MISMATCH = 2187
+
+
+ /**
+ * The payment succeeded, but the donation authority (Donau) could not issue the donation receipts at this time. The response contains the payment confirmation. The wallet should replay the payment request later to obtain the receipts.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_POST_ORDERS_ID_PAY_DONAU_RECEIPTS_DELAYED = 2188
+
+
+ /**
+ * The payment succeeded, but the donation authority (Donau) refused to issue the donation receipts. The response contains the payment confirmation. Replaying the payment request will not produce the receipts.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_POST_ORDERS_ID_PAY_DONAU_RECEIPTS_REFUSED = 2189
+
+
+ /**
+ * The order was already paid and has since been refunded, possibly only in part. The payment request can no longer be replayed. The wallet should query the refunds instead.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_POST_ORDERS_ID_PAY_REPLAY_AFTER_REFUND = 2190
+
+
+ /**
+ * The donation year in the request is not the current year. Nothing was paid. The wallet should create the donation receipt requests for the current year and try again.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_POST_ORDERS_ID_PAY_DONATION_YEAR_INVALID = 2191
+
+
+ /**
* The contract hash does not match the given order ID.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
@@ -3115,7 +3411,7 @@ const (
/**
- * We are waiting for the exchange to provide us with key material before checking the wire transfer.
+ * The merchant is waiting for the exchange to provide key material before checking the wire transfer.
* Returned with an HTTP status code of #MHD_HTTP_ACCEPTED (202).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3123,7 +3419,7 @@ const (
/**
- * We are waiting for the exchange to provide us with the list of aggregated transactions.
+ * The merchant is waiting for the exchange to provide the list of aggregated transactions.
* Returned with an HTTP status code of #MHD_HTTP_ACCEPTED (202).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3155,7 +3451,7 @@ const (
/**
- * We experienced a transient failure in our interaction with the exchange.
+ * The merchant experienced a transient failure while interacting with the exchange.
* Returned with an HTTP status code of #MHD_HTTP_ACCEPTED (202).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3171,7 +3467,31 @@ const (
/**
- * We could not claim the order because the backend is unaware of it.
+ * The merchant backend failed to reach the banking gateway to shorten the wire transfer subject. This probably means that the banking gateway of the exchange is currently down. Contact the exchange operator or simply retry again later.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_POST_ACCOUNTS_KYCAUTH_BANK_GATEWAY_UNREACHABLE = 2275
+
+
+ /**
+ * The merchant backend failed to reach the banking gateway to shorten the wire transfer subject. This probably means that the banking gateway of the exchange is currently down. Contact the exchange operator or simply retry again later.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_POST_ACCOUNTS_EXCHANGE_TOO_OLD = 2276
+
+
+ /**
+ * The merchant backend failed to reach the specified exchange. This probably means that the exchange is currently down. Contact the exchange operator or simply retry again later.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_POST_ACCOUNTS_KYCAUTH_EXCHANGE_UNREACHABLE = 2277
+
+
+ /**
+ * The order could not be claimed because the backend is unaware of it.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3179,7 +3499,7 @@ const (
/**
- * We could not claim the order because someone else claimed it first.
+ * The order could not be claimed because another client claimed it first.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3187,7 +3507,7 @@ const (
/**
- * The client-side experienced an internal failure.
+ * The client experienced an internal failure.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3195,6 +3515,14 @@ const (
/**
+ * The unclaim signature of the wallet is not valid for the given contract hash.
+ * Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_POST_ORDERS_UNCLAIM_SIGNATURE_INVALID = 2303
+
+
+ /**
* The backend failed to sign the refund request.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
@@ -3299,7 +3627,7 @@ const (
/**
- * The order creation request is invalid because a wire deadline of "never" is not allowed.
+ * The order creation request is invalid because a wire deadline of `never` is not allowed.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3323,7 +3651,7 @@ const (
/**
- * The backend does not trust any exchange that would allow funds to be wired to any bank account of this instance using the wire method specified with the order. (Note that right now, we do not support the use of exchange bank accounts with mandatory currency conversion.) One likely cause for this is that the taler-merchant-exchangekeyupdate process is not running.
+ * The backend does not trust any exchange that would allow funds to be wired to a bank account of this instance using the wire method specified with the order. Exchange bank accounts with mandatory currency conversion are not currently supported. A likely cause is that the `taler-merchant-exchangekeyupdate` process is not running.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3347,7 +3675,7 @@ const (
/**
- * The refund amount would violate a refund transaction limit configured at the given exchange. Please find another way to refund the customer, and inquire with your legislator why they make strange banking regulations.
+ * The refund amount would violate a refund transaction limit configured at the given exchange. The merchant should use another way to refund the customer and consult the exchange operator about the applicable regulations.
* Returned with an HTTP status code of #MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS (451).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3355,7 +3683,7 @@ const (
/**
- * The total order amount exceeds hard legal transaction limits from the available exchanges, thus a customer could never legally make this payment. You may try to increase your limits by passing legitimization checks with exchange operators. You could also inquire with your legislator why the limits are prohibitively low for your business.
+ * The total order amount exceeds the legal transaction limits of the available exchanges, so a customer could not legally make this payment. The merchant may increase its limits by completing legitimization checks with exchange operators.
* Returned with an HTTP status code of #MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS (451).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3363,7 +3691,7 @@ const (
/**
- * A currency specified to be paid in the contract is not supported by any exchange that this instance can currently use. Possible solutions include (1) specifying a different currency, (2) adding additional suitable exchange operators to the merchant backend configuration, or (3) satisfying compliance rules of an configured exchange to begin using the service of that provider.
+ * A currency specified to be paid in the contract is not supported by any exchange that this instance can currently use. Possible solutions include (1) specifying a different currency, (2) adding suitable exchange operators to the merchant backend configuration, or (3) satisfying the compliance rules of a configured exchange to begin using that provider's service.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3371,7 +3699,7 @@ const (
/**
- * The order provided to the backend could not be deleted, our offer is still valid and awaiting payment. Deletion may work later after the offer has expired if it remains unpaid.
+ * The order provided to the backend could not be deleted because the offer is still valid and awaiting payment. Deletion may work after the offer expires if it remains unpaid.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3387,8 +3715,16 @@ const (
/**
- * 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.
- * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * The client requested a report granularity that is not available at the backend. Possible solutions include extending the backend code and/or the database statistic triggers to support the desired data granularity. Alternatively, the client could request a different granularity.
+ * Returned with an HTTP status code of #MHD_HTTP_GONE (410).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_PRIVATE_GET_STATISTICS_REPORT_GRANULARITY_UNAVAILABLE = 2525
+
+
+ /**
+ * 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.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_INCONSISTENT_AMOUNT = 2530
@@ -3427,6 +3763,46 @@ const (
/**
+ * The order cannot be collected by the backend as it is not a genuinely free Taler payment: the Taler amount is not zero, or the selected choice has token inputs or outputs and thus requires a customer wallet.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_PRIVATE_POST_ORDERS_ID_COLLECT_NOT_FREE = 2535
+
+
+ /**
+ * The order cannot be collected by the backend as it was already claimed by a customer wallet. The wallet owns the order and must execute the free payment itself.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_PRIVATE_POST_ORDERS_ID_COLLECT_ALREADY_CLAIMED = 2536
+
+
+ /**
+ * The order provided to the backend could not be deleted as it has payments that were settled outside of Taler. Deletion requires an explicit force operation.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_PRIVATE_DELETE_ORDERS_EXTERNALLY_PAID = 2537
+
+
+ /**
+ * 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.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_EXTERNAL_INCONSISTENT_AMOUNT = 2538
+
+
+ /**
+ * An external refund with the same identifier was already recorded for this order, but with different details.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_EXTERNAL_ALREADY_EXISTS = 2539
+
+
+ /**
* The exchange says it does not know this transfer.
* Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
* (A value of 0 indicates that the error is generated client-side).
@@ -3435,7 +3811,7 @@ const (
/**
- * We internally failed to execute the /track/transfer request.
+ * The backend failed to execute the `/track/transfer` request internally.
* Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3467,7 +3843,7 @@ const (
/**
- * We did not find the account that the transfer was made to.
+ * The backend did not find the account to which the transfer was made.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3475,7 +3851,7 @@ const (
/**
- * The backend could not delete the transfer as the echange already replied to our inquiry about it and we have integrated the result.
+ * The backend could not delete the transfer because the exchange already responded to the inquiry and the result was integrated.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3483,7 +3859,7 @@ const (
/**
- * The backend could not persist the wire transfer due to the state of the backend. This usually means that the bank account specified is not known to the backend for this instance.
+ * The backend could not persist the wire transfer due to the state of the backend. This usually means that a wire transfer with the same wire transfer subject but a different amount was previously submitted to the backend.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3507,6 +3883,22 @@ const (
/**
+ * The report ID provided to the backend is not known to the backend.
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_IMPLEMENTED (501).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_REPORT_GENERATOR_FAILED = 2570
+
+
+ /**
+ * Failed to fetch the data for the report from the backend.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_REPORT_FETCH_FAILED = 2571
+
+
+ /**
* The merchant backend cannot create an instance under the given identifier as one already exists. Use PATCH to modify the existing entry.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
@@ -3539,6 +3931,14 @@ const (
/**
+ * The merchant backend cannot update an instance's authentication settings because the required current password was missing or did not match.
+ * Returned with an HTTP status code of #MHD_HTTP_UNAUTHORIZED (401).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_PRIVATE_POST_INSTANCE_AUTH_BAD_OLD_PASSWORD = 2604
+
+
+ /**
* The merchant backend cannot update an instance under the given identifier, the previous one was deleted but must be purged first.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
@@ -3563,6 +3963,14 @@ const (
/**
+ * The bank account specified is not acceptable for this exchange. The exchange either does not support the wire method or does not support another property of the account. Check the exchange account constraints and specify a different bank account if necessary.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_PRIVATE_ACCOUNT_NOT_ELIGIBLE_FOR_EXCHANGE = 2628
+
+
+ /**
* The product ID exists.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
@@ -3619,7 +4027,7 @@ const (
/**
- * The deletion request is for a product that is locked.
+ * The deletion request is for a locked product. The product cannot be deleted until the existing offer expires.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3627,6 +4035,30 @@ const (
/**
+ * The proposed name for the product group is already in use. The client should select a different name.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_PRIVATE_PRODUCT_GROUP_CONFLICTING_NAME = 2690
+
+
+ /**
+ * The proposed name for the money pot is already in use. The client should select a different name.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_PRIVATE_MONEY_POT_CONFLICTING_NAME = 2691
+
+
+ /**
+ * The total amount in the money pot is different from the amount required by the request. The client should fetch the current pot total and retry with the latest amount to succeed.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_PRIVATE_MONEY_POT_CONFLICTING_TOTAL = 2692
+
+
+ /**
* The requested wire method is not supported by the exchange.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
@@ -3707,6 +4139,14 @@ const (
/**
+ * The OTP device algorithm cannot be changed, or the device was concurrently replaced or changed during the update.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_PRIVATE_PATCH_OTP_DEVICES_CONFLICT = 2852
+
+
+ /**
* Amount given in the using template and in the template contract. There is a conflict.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
@@ -3739,6 +4179,30 @@ const (
/**
+ * The selected template has a different type from the one specified in the client request. This may happen if the template was updated since the client last fetched it. The client should refetch the current template and send a request with the correct type.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_POST_USING_TEMPLATES_WRONG_TYPE = 2864
+
+
+ /**
+ * The selected template does not allow one of the specified products to be included in the order. This may happen if the template was updated since the client last fetched it. The client should refetch the current template and send a request with the correct type.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_POST_USING_TEMPLATES_WRONG_PRODUCT = 2865
+
+
+ /**
+ * The selected combination of products does not allow the backend to compute a price for the order in any of the supported currencies. This may happen if the template was updated since the last time the client fetched it or if the wallet assembled an unsupported combination of products. The site administrator might want to specify additional prices for products, while the client should re-fetch the current template and send a request with a combination of products for which prices exist in the same currency.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_POST_USING_TEMPLATES_NO_CURRENCY = 2866
+
+
+ /**
* The webhook ID elready exists.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
@@ -3755,6 +4219,30 @@ const (
/**
+ * A withdrawal entry refers to a token family without a matching grant in the fountain.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_POST_FOUNTAIN_WITHDRAW_GRANT_UNKNOWN = 2950
+
+
+ /**
+ * The desired token validity time selects an issue key slot outside of the grant's key window.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_POST_FOUNTAIN_WITHDRAW_SLOT_OUTSIDE_WINDOW = 2951
+
+
+ /**
+ * The grant's per-period withdrawal limit is exhausted for the requested issue key slot.
+ * Returned with an HTTP status code of #MHD_HTTP_TOO_MANY_REQUESTS (429).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ MERCHANT_POST_FOUNTAIN_WITHDRAW_LIMIT_EXCEEDED = 2952
+
+
+ /**
* The auditor refused the connection due to a lack of authorization.
* Returned with an HTTP status code of #MHD_HTTP_UNAUTHORIZED (401).
* (A value of 0 indicates that the error is generated client-side).
@@ -4083,7 +4571,7 @@ const (
/**
- * A non-admin user has tried to change their password whihout providing the current one.
+ * A non-admin user tried to change their password without providing the current password.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4123,7 +4611,7 @@ const (
/**
- * The client tried to create a transaction that credit the admin account.
+ * The client tried to create a transaction that credits the administrator's account.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4163,7 +4651,7 @@ const (
/**
- * Amount of currency conversion it less than the minimum allowed.
+ * The amount of the currency conversion is less than the minimum allowed.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4203,7 +4691,7 @@ const (
/**
- * Bank account is locked and cannot authenticate using his password.
+ * The bank account is locked, and the user cannot authenticate with their password.
* Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4211,7 +4699,7 @@ const (
/**
- * The client attempted to update a transaction' details that was already aborted.
+ * The client attempted to update the details of a transaction that was already aborted.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4227,7 +4715,7 @@ const (
/**
- * A non-admin user has tried to set their conversion rate class
+ * A non-admin user tried to set their conversion rate class.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4235,7 +4723,7 @@ const (
/**
- * The referenced conversion rate class was not found
+ * The referenced conversion rate class was not found.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4251,7 +4739,55 @@ const (
/**
- * The sync service failed find the account in its database.
+ * This subject format is not supported.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ BANK_UNSUPPORTED_SUBJECT_FORMAT = 5158
+
+
+ /**
+ * The derived subject is already used.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ BANK_DERIVATION_REUSE = 5159
+
+
+ /**
+ * The provided signature is invalid.
+ * Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ BANK_BAD_SIGNATURE = 5160
+
+
+ /**
+ * The provided timestamp is too old.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ BANK_OLD_TIMESTAMP = 5161
+
+
+ /**
+ * The `authorization_pub` for a request to transfer funds has already been used for another non-recurring transfer.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ BANK_TRANSFER_MAPPING_REUSED = 5162
+
+
+ /**
+ * The authorization_pub for a request to transfer funds is not currently registered.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ BANK_TRANSFER_MAPPING_UNKNOWN = 5163
+
+
+ /**
+ * The sync service failed to find the account in its database.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4331,7 +4867,7 @@ const (
/**
- * Sync could not setup the payment request with its own backend.
+ * The sync service could not set up the payment request with its own backend.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4339,7 +4875,7 @@ const (
/**
- * The sync service failed find the backup to be updated in its database.
+ * The sync service failed to find the backup to be updated in its database.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4371,6 +4907,22 @@ const (
/**
+ * The provided new content is based on an outdated backup: the previous write was overwritten in the meantime.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ SYNC_CONFLICTING_WRITE = 6115
+
+
+ /**
+ * The backup does not form a consistent linked list (e.g. the previous block does not match the given hash).
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ SYNC_INCONSISTENT_BACKUP = 6116
+
+
+ /**
* The wallet does not implement a version of the exchange protocol that is compatible with the protocol version of the exchange.
* Returned with an HTTP status code of #MHD_HTTP_NOT_IMPLEMENTED (501).
* (A value of 0 indicates that the error is generated client-side).
@@ -4387,7 +4939,7 @@ const (
/**
- * The wallet received a response from a server, but the response can't be parsed.
+ * The wallet received a response from a server, but the response cannot be parsed.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4459,7 +5011,7 @@ const (
/**
- * The bank has aborted a withdrawal operation, and thus a withdrawal can't complete.
+ * The bank aborted a withdrawal operation, so the withdrawal cannot complete.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4531,7 +5083,7 @@ const (
/**
- * A pending operation failed, and thus the request can't be completed.
+ * A pending operation failed, so the request cannot be completed.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4627,7 +5179,7 @@ const (
/**
- * An exchange entry is still used by the exchange, thus it can't be deleted without purging.
+ * An exchange entry is still used by the exchange, so it cannot be deleted without purging.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4643,7 +5195,7 @@ const (
/**
- * A taler:// URI is malformed and can't be parsed.
+ * A `taler://` URI is malformed and cannot be parsed.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4651,7 +5203,7 @@ const (
/**
- * A wallet-core request was cancelled and thus can't provide a response.
+ * A wallet-core request was cancelled and therefore cannot provide a response.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4763,192 +5315,456 @@ const (
/**
- * We encountered a timeout with our payment backend.
- * Returned with an HTTP status code of #MHD_HTTP_GATEWAY_TIMEOUT (504).
+ * The wallet's balance for paying a merchant is insufficient.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
- ANASTASIS_GENERIC_BACKEND_TIMEOUT = 8000
+ WALLET_PAY_MERCHANT_INSUFFICIENT_BALANCE = 7050
/**
- * The backend requested payment, but the request is malformed.
+ * The wallet does not have a purchase for the requested order.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
- ANASTASIS_GENERIC_INVALID_PAYMENT_REQUEST = 8001
+ WALLET_PURCHASE_NOT_FOUND = 7051
/**
- * The backend got an unexpected reply from the payment processor.
- * Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
+ * The wallet does not have a transaction with the requested transaction identifier.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
- ANASTASIS_GENERIC_BACKEND_ERROR = 8002
+ WALLET_TRANSACTION_NOT_FOUND = 7052
/**
- * The "Content-length" field for the upload is missing.
- * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
+ * The requested action is not supported for this type of transaction.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
- ANASTASIS_GENERIC_MISSING_CONTENT_LENGTH = 8003
+ WALLET_TRANSACTION_ACTION_UNSUPPORTED = 7053
/**
- * The "Content-length" field for the upload is malformed.
- * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
+ * The operation would exceed a limit imposed by the exchange that the user cannot raise by completing a KYC process.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
- ANASTASIS_GENERIC_MALFORMED_CONTENT_LENGTH = 8004
+ WALLET_KYC_LIMIT_EXCEEDED = 7054
/**
- * The backend failed to setup an order with the payment processor.
- * Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
+ * The wallet does not know an exchange that can be used for this operation. Check that an exchange for the requested currency has been added to the wallet.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
- ANASTASIS_GENERIC_ORDER_CREATE_BACKEND_ERROR = 8005
+ WALLET_NO_SUITABLE_EXCHANGE = 7055
/**
- * The backend was not authorized to check for payment with the payment processor.
- * Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
+ * The wallet does not have a known bank account with the requested identifier.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
- ANASTASIS_GENERIC_PAYMENT_CHECK_UNAUTHORIZED = 8006
+ WALLET_BANK_ACCOUNT_NOT_FOUND = 7056
/**
- * The backend could not check payment status with the payment processor.
- * Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
+ * The exchange does not know the contract of this peer-to-peer payment. It may have expired.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
- ANASTASIS_GENERIC_PAYMENT_CHECK_START_FAILED = 8007
+ WALLET_PEER_CONTRACT_NOT_FOUND = 7057
/**
- * The Anastasis provider could not be reached.
+ * The purse of this peer-to-peer push payment is gone. The sender likely aborted the payment.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
- ANASTASIS_GENERIC_PROVIDER_UNREACHABLE = 8008
+ WALLET_PEER_PUSH_CREDIT_PURSE_GONE = 7058
/**
- * HTTP server experienced a timeout while awaiting promised payment.
- * Returned with an HTTP status code of #MHD_HTTP_REQUEST_TIMEOUT (408).
+ * This invoice has already been paid, possibly by another wallet.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
- ANASTASIS_PAYMENT_GENERIC_TIMEOUT = 8009
+ WALLET_PEER_PULL_DEBIT_ALREADY_PAID = 7059
/**
- * The key share is unknown to the provider.
- * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
+ * The tokens can not be deleted, as at least one of them is currently being used in a transaction.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
- ANASTASIS_TRUTH_UNKNOWN = 8108
+ WALLET_TOKENS_IN_USE = 7060
/**
- * The authorization method used for the key share is no longer supported by the provider.
- * Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
+ * The operation is not supported by the database backend that the wallet is currently running on.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
- ANASTASIS_TRUTH_AUTHORIZATION_METHOD_NO_LONGER_SUPPORTED = 8109
+ WALLET_DB_BACKEND_UNSUPPORTED = 7061
/**
- * The client needs to respond to the challenge.
- * Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
+ * The wallet could not use the mailbox service.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
- ANASTASIS_TRUTH_CHALLENGE_RESPONSE_REQUIRED = 8110
+ WALLET_MAILBOX_UNAVAILABLE = 7062
/**
- * The client's response to the challenge was invalid.
- * Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
+ * The wallet could not use the directory service.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
- ANASTASIS_TRUTH_CHALLENGE_FAILED = 8111
+ WALLET_DIRECTORY_UNAVAILABLE = 7063
/**
- * The backend is not aware of having issued the provided challenge code. Either this is the wrong code, or it has expired.
- * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
+ * The contract terms use a feature that this version of the wallet does not support. Updating the wallet may help.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
- ANASTASIS_TRUTH_CHALLENGE_UNKNOWN = 8112
+ WALLET_CONTRACT_TERMS_UNSUPPORTED = 7064
/**
- * The backend failed to initiate the authorization process.
- * Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
+ * The exchange served data that is not correctly signed by its master key. The wallet refuses to use this exchange.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
- ANASTASIS_TRUTH_AUTHORIZATION_START_FAILED = 8114
+ WALLET_EXCHANGE_SIGNATURE_INVALID = 7065
/**
- * The authorization succeeded, but the key share is no longer available.
- * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
+ * The exchange presents a master public key or currency that the user has not accepted yet. The operation was refused.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
- ANASTASIS_TRUTH_KEY_SHARE_GONE = 8115
+ WALLET_EXCHANGE_KEYS_NOT_ACCEPTED = 7066
/**
- * The backend forgot the order we asked the client to pay for
- * Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
+ * The wallet was asked to accept or reject a change of the exchange's keys, but the exchange does not present a new key set.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
- ANASTASIS_TRUTH_ORDER_DISAPPEARED = 8116
+ WALLET_EXCHANGE_NO_KEY_CHANGE_PENDING = 7067
/**
- * The backend itself reported a bad exchange interaction.
- * Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
+ * The key set that was confirmed is not the one that the exchange currently presents.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
- ANASTASIS_TRUTH_BACKEND_EXCHANGE_BAD = 8117
+ WALLET_EXCHANGE_KEY_CHANGE_MISMATCH = 7068
/**
- * The backend reported a payment status we did not expect.
- * Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
+ * The values of a reviewed peer push payment changed before confirmation. The caller must prepare and show the payment again.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
- ANASTASIS_TRUTH_UNEXPECTED_PAYMENT_STATUS = 8118
+ WALLET_PEER_PUSH_PAYMENT_QUOTE_CHANGED = 7069
/**
- * The backend failed to setup the order for payment.
- * Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
+ * The operation was completed or taken over by another wallet.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
- ANASTASIS_TRUTH_PAYMENT_CREATE_BACKEND_ERROR = 8119
+ WALLET_TRANSACTION_COMPLETED_BY_OTHER_WALLET = 7070
/**
- * The decryption of the key share failed with the provided key.
- * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
+ * Refreshing one or more coins failed permanently.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
- ANASTASIS_TRUTH_DECRYPTION_FAILED = 8120
+ WALLET_REFRESH_GROUP_FAILED = 7071
/**
- * The request rate is too high. The server is refusing requests to guard against brute-force attacks.
- * Returned with an HTTP status code of #MHD_HTTP_TOO_MANY_REQUESTS (429).
+ * Recouping one or more revoked coins failed permanently.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
- ANASTASIS_TRUTH_RATE_LIMITED = 8121
+ WALLET_RECOUP_GROUP_FAILED = 7072
/**
- * A request to issue a challenge is not valid for this authentication method.
- * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
+ * One or more refunds were permanently rejected by the exchange.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ WALLET_REFUND_GROUP_FAILED = 7073
+
+
+ /**
+ * Recovery of the transaction inputs failed or the recovery operation is missing.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ WALLET_TRANSACTION_RECOVERY_FAILED = 7074
+
+
+ /**
+ * An operation required to complete the transaction failed or is missing.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ WALLET_TRANSACTION_DEPENDENCY_FAILED = 7075
+
+
+ /**
+ * The wallet could register the mailbox because the signature was invalid.
+ * Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ WALLET_MAILBOX_REGISTER_INVALID_SIGNATURE = 7076
+
+
+ /**
+ * The specified order ID in the Mailbox-Order-Id header does not permit sending of this message. Possible reasons include the order being for a different message, unpaid or malformed.
+ * Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ WALLET_MAILBOX_MESSAGE_SEND_DENIED = 7077
+
+
+ /**
+ * The signature is invalid.
+ * Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ WALLET_MAILBOX_MESSAGE_DELETE_DENIED = 7078
+
+
+ /**
+ * The checksum does not match the messages currently at the head of the mailbox, or count is larger than the number of messages currently in the mailbox.
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ WALLET_MAILBOX_MESSAGE_DELETE_FAILED = 7079
+
+
+ /**
+ * Alias type not supported.
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ WALLET_DIRECTORY_ALIAS_NOT_SUPPORTED = 7080
+
+
+ /**
+ * Solution unknown (original registration attempt may have expired).
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ WALLET_DIRECTORY_ALIAS_SOLUTION_UNKNOWN = 7081
+
+
+ /**
+ * Solution invalid.
+ * Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ WALLET_DIRECTORY_ALIAS_SOLUTION_INCORRECT = 7082
+
+
+ /**
+ * The service encountered a timeout with its payment backend.
+ * Returned with an HTTP status code of #MHD_HTTP_GATEWAY_TIMEOUT (504).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ ANASTASIS_GENERIC_BACKEND_TIMEOUT = 8000
+
+
+ /**
+ * The backend requested payment, but the request is malformed.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ ANASTASIS_GENERIC_INVALID_PAYMENT_REQUEST = 8001
+
+
+ /**
+ * The backend received an unexpected response from the payment processor.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ ANASTASIS_GENERIC_BACKEND_ERROR = 8002
+
+
+ /**
+ * The "Content-length" field for the upload is missing.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ ANASTASIS_GENERIC_MISSING_CONTENT_LENGTH = 8003
+
+
+ /**
+ * The "Content-length" field for the upload is malformed.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ ANASTASIS_GENERIC_MALFORMED_CONTENT_LENGTH = 8004
+
+
+ /**
+ * The backend failed to setup an order with the payment processor.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ ANASTASIS_GENERIC_ORDER_CREATE_BACKEND_ERROR = 8005
+
+
+ /**
+ * The backend was not authorized to check for payment with the payment processor.
+ * Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ ANASTASIS_GENERIC_PAYMENT_CHECK_UNAUTHORIZED = 8006
+
+
+ /**
+ * The backend could not check payment status with the payment processor.
+ * Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ ANASTASIS_GENERIC_PAYMENT_CHECK_START_FAILED = 8007
+
+
+ /**
+ * The Anastasis provider could not be reached.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ ANASTASIS_GENERIC_PROVIDER_UNREACHABLE = 8008
+
+
+ /**
+ * HTTP server experienced a timeout while awaiting promised payment.
+ * Returned with an HTTP status code of #MHD_HTTP_REQUEST_TIMEOUT (408).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ ANASTASIS_PAYMENT_GENERIC_TIMEOUT = 8009
+
+
+ /**
+ * The key share is unknown to the provider.
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ ANASTASIS_TRUTH_UNKNOWN = 8108
+
+
+ /**
+ * The authorization method used for the key share is no longer supported by the provider.
+ * Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ ANASTASIS_TRUTH_AUTHORIZATION_METHOD_NO_LONGER_SUPPORTED = 8109
+
+
+ /**
+ * The client needs to respond to the challenge.
+ * Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ ANASTASIS_TRUTH_CHALLENGE_RESPONSE_REQUIRED = 8110
+
+
+ /**
+ * The client's response to the challenge was invalid.
+ * Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ ANASTASIS_TRUTH_CHALLENGE_FAILED = 8111
+
+
+ /**
+ * The backend is not aware of having issued the provided challenge code. Either this is the wrong code, or it has expired.
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ ANASTASIS_TRUTH_CHALLENGE_UNKNOWN = 8112
+
+
+ /**
+ * The backend failed to initiate the authorization process.
+ * Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ ANASTASIS_TRUTH_AUTHORIZATION_START_FAILED = 8114
+
+
+ /**
+ * The authorization succeeded, but the key share is no longer available.
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ ANASTASIS_TRUTH_KEY_SHARE_GONE = 8115
+
+
+ /**
+ * The backend no longer knows about the order that the client was asked to pay for.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ ANASTASIS_TRUTH_ORDER_DISAPPEARED = 8116
+
+
+ /**
+ * The backend itself reported a bad exchange interaction.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ ANASTASIS_TRUTH_BACKEND_EXCHANGE_BAD = 8117
+
+
+ /**
+ * The backend reported an unexpected payment status.
+ * Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ ANASTASIS_TRUTH_UNEXPECTED_PAYMENT_STATUS = 8118
+
+
+ /**
+ * The backend failed to setup the order for payment.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ ANASTASIS_TRUTH_PAYMENT_CREATE_BACKEND_ERROR = 8119
+
+
+ /**
+ * The decryption of the key share failed with the provided key.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ ANASTASIS_TRUTH_DECRYPTION_FAILED = 8120
+
+
+ /**
+ * The request rate is too high. The server is refusing requests to guard against brute-force attacks.
+ * Returned with an HTTP status code of #MHD_HTTP_TOO_MANY_REQUESTS (429).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ ANASTASIS_TRUTH_RATE_LIMITED = 8121
+
+
+ /**
+ * A request to issue a challenge is not valid for this authentication method.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
ANASTASIS_TRUTH_CHALLENGE_WRONG_METHOD = 8123
@@ -5003,7 +5819,7 @@ const (
/**
- * Failed to run the E-mail transmission helper process.
+ * Failed to run the email transmission helper process.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5011,7 +5827,7 @@ const (
/**
- * Provider failed to send E-mail. Helper terminated with a non-successful result.
+ * The provider failed to send email. The helper terminated with a non-successful result.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5075,6 +5891,22 @@ const (
/**
+ * The address is valid but the recipient could not be reached: the handset is switched off or out of coverage, or the message expired before delivery. Retrying later may succeed. Used by all authorization methods that transmit a challenge via an external helper.
+ * Returned with an HTTP status code of #MHD_HTTP_SERVICE_UNAVAILABLE (503).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ ANASTASIS_ADDRESS_UNREACHABLE = 8250
+
+
+ /**
+ * The transmission helper is misconfigured: a required credential is absent, the configured credentials were refused by the provider, or the provider account has insufficient balance. The provider operator should check the logs and the service configuration. Used by all authorization methods that transmit a challenge via an external helper.
+ * Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ ANASTASIS_HELPER_MISCONFIGURED = 8251
+
+
+ /**
* The given if-none-match header is malformed.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
@@ -5163,7 +5995,7 @@ const (
/**
- * We experienced an unexpected failure interacting with the backend.
+ * The service experienced an unexpected failure while interacting with the backend.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5171,7 +6003,7 @@ const (
/**
- * The contents of a resource file did not match our expectations.
+ * The contents of a resource file did not match the expected format.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5203,7 +6035,7 @@ const (
/**
- * Our attempts to download the recovery document failed with all providers. Most likely the personal information you entered differs from the information you provided during the backup process and you should go back to the previous step. Alternatively, if you used a backup provider that is unknown to this application, you should add that provider manually.
+ * Attempts to download the recovery document failed with all providers. The personal information may differ from the information provided during the backup process. Alternatively, the backup may use a provider that is unknown to this application and must be added manually.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5227,7 +6059,7 @@ const (
/**
- * The policy we downloaded is malformed. Must have been a client error while creating the backup.
+ * The downloaded policy is malformed. This was likely caused by a client error while creating the backup.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5235,7 +6067,7 @@ const (
/**
- * We failed to obtain the policy, likely due to a network issue.
+ * The policy could not be obtained, likely due to a network issue.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5267,7 +6099,7 @@ const (
/**
- * The provider returned in invalid configuration.
+ * The provider returned an invalid configuration.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5291,6 +6123,14 @@ const (
/**
+ * The requested operation is not valid for the cipher used by the selected denomination.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ DONAU_GENERIC_INVALID_DENOMINATION_CIPHER_FOR_OPERATION = 8606
+
+
+ /**
* The Donau failed to perform the operation as it could not find the private keys. This is a problem with the Donau setup, not with the client's request.
* Returned with an HTTP status code of #MHD_HTTP_SERVICE_UNAVAILABLE (503).
* (A value of 0 indicates that the error is generated client-side).
@@ -5316,7 +6156,7 @@ const (
/**
* The donation amount specified in the request exceeds the limit of the charity.
- * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
DONAU_EXCEEDING_DONATION_LIMIT = 8610
@@ -5387,7 +6227,31 @@ const (
/**
- * A generic error happened in the LibEuFin nexus. See the enclose details JSON for more information.
+ * The donation unit has expired and cannot be used any longer.
+ * Returned with an HTTP status code of #MHD_HTTP_GONE (410).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ DONAU_GENERIC_DONATION_UNIT_EXPIRED = 8619
+
+
+ /**
+ * The donation unit is not yet valid. The client should repeat the request in the future when it might succeed.
+ * Returned with an HTTP status code of #MHD_HTTP_TOO_EARLY (425).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ DONAU_GENERIC_DONATION_UNIT_TOO_EARLY = 8620
+
+
+ /**
+ * The donation unit is not valid for the year specified by the client.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ DONAU_GENERIC_DONATION_UNIT_WRONG_YEAR = 8621
+
+
+ /**
+ * A generic error occurred in the LibEuFin nexus. See the enclosed details JSON for more information.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5403,7 +6267,7 @@ const (
/**
- * A generic error happened in the LibEuFin sandbox. See the enclose details JSON for more information.
+ * A generic error occurred in the LibEuFin sandbox. See the enclosed details JSON for more information.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5435,7 +6299,7 @@ const (
/**
- * The client is unknown or unauthorized.
+ * The service does not know a client with the given client identifier, or the given client secret does not match it. Used where no client has been authenticated yet.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5444,7 +6308,7 @@ const (
/**
* The client is not authorized to use the given redirect URI.
- * Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
+ * Returned with an HTTP status code of #MHD_HTTP_UNAUTHORIZED (401).
* (A value of 0 indicates that the error is generated client-side).
*/
CHALLENGER_GENERIC_CLIENT_FORBIDDEN_BAD_REDIRECT_URI = 9751
@@ -5452,15 +6316,15 @@ const (
/**
* The service failed to execute its helper process to send the challenge.
- * Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
* (A value of 0 indicates that the error is generated client-side).
*/
CHALLENGER_HELPER_EXEC_FAILED = 9752
/**
- * The grant is unknown to the service (it could also have expired).
- * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
+ * The authorization grant is unknown to the service (it could also have been redeemed already or have expired).
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
CHALLENGER_GRANT_UNKNOWN = 9753
@@ -5468,14 +6332,14 @@ const (
/**
* The code given is not even well-formed.
- * Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
CHALLENGER_CLIENT_FORBIDDEN_BAD_CODE = 9754
/**
- * The service is not aware of the referenced validation process.
+ * The service is not aware of the referenced validation process, or it has expired.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5483,7 +6347,7 @@ const (
/**
- * The code given is not valid.
+ * Deprecated, no longer returned by any endpoint. The value stays reserved and must not be reused. Was: the code given is not valid.
* Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5499,7 +6363,7 @@ const (
/**
- * The PIN code provided is incorrect.
+ * The TAN code provided is incorrect.
* Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5507,7 +6371,7 @@ const (
/**
- * The token cannot be valid as no address was ever provided by the client.
+ * Deprecated since protocol v8, no longer returned by any endpoint; see CHALLENGER_NO_CHALLENGE_TRANSMITTED. The value stays reserved and must not be reused. Was: the token cannot be valid as no address was ever provided by the client.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5523,6 +6387,182 @@ const (
/**
+ * No challenge was ever transmitted for this validation, so it cannot be solved yet. The user must provide their address first.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ CHALLENGER_NO_CHALLENGE_TRANSMITTED = 9761
+
+
+ /**
+ * An address field does not match the regular expression configured for it. The detail names the offending field.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ CHALLENGER_ADDRESS_RESTRICTION_VIOLATED = 9762
+
+
+ /**
+ * The address restriction configured for this field is missing its regular expression or the expression failed to compile. This is a server misconfiguration.
+ * Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ CHALLENGER_ADDRESS_RESTRICTION_MALFORMED = 9763
+
+
+ /**
+ * The number of times the address may be changed for this validation has been exhausted. The user must request a fresh nonce from the client.
+ * Returned with an HTTP status code of #MHD_HTTP_TOO_MANY_REQUESTS (429).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ CHALLENGER_TOO_MANY_ADDRESS_CHANGES = 9764
+
+
+ /**
+ * The number of times the challenge may be transmitted for this validation has been exhausted. The user may still try a different address if changes remain.
+ * Returned with an HTTP status code of #MHD_HTTP_TOO_MANY_REQUESTS (429).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ CHALLENGER_TOO_MANY_PIN_TRANSMISSIONS = 9765
+
+
+ /**
+ * The number of attempts to enter the TAN has been exhausted. The user may still request a retransmission or change the address.
+ * Returned with an HTTP status code of #MHD_HTTP_TOO_MANY_REQUESTS (429).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ CHALLENGER_NO_PIN_ATTEMPTS_LEFT = 9766
+
+
+ /**
+ * Authentication of the client failed: the presented client identifier and client secret do not match a registered client. This response is returned when the endpoint authenticates the client, so it challenges the client for credentials.
+ * Returned with an HTTP status code of #MHD_HTTP_UNAUTHORIZED (401).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ CHALLENGER_CLIENT_AUTHENTICATION_FAILED = 9767
+
+
+ /**
+ * The access token presented is malformed, unknown or expired. Malformed and unknown tokens are deliberately not distinguished.
+ * Returned with an HTTP status code of #MHD_HTTP_UNAUTHORIZED (401).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ CHALLENGER_TOKEN_UNKNOWN = 9768
+
+
+ /**
+ * The transmission helper rejected the address the user provided: it is malformed, of the wrong length, not a mobile subscription, unallocated, or blocked. The user should correct the address and try again.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ CHALLENGER_ADDRESS_UNUSABLE = 9769
+
+
+ /**
+ * The address is valid but the recipient could not be reached: the handset is switched off or out of coverage, or the message expired before delivery. Retrying later may succeed.
+ * Returned with an HTTP status code of #MHD_HTTP_SERVICE_UNAVAILABLE (503).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ CHALLENGER_ADDRESS_UNREACHABLE = 9770
+
+
+ /**
+ * The transmission helper is misconfigured: a required credential is absent, the configured credentials were refused by the provider, or the provider account has insufficient balance. The operator should check the logs and the service configuration.
+ * Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ CHALLENGER_HELPER_MISCONFIGURED = 9771
+
+
+ /**
+ * The validation failed permanently: the user exhausted all address changes, TAN transmissions and TAN attempts. The validation cannot succeed anymore; the user must be sent back to the client, which has to start a new validation if it wants to try again.
+ * Returned with an HTTP status code of #MHD_HTTP_GONE (410).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ CHALLENGER_VALIDATION_FAILED = 9772
+
+
+ /**
+ * The request is invalid as the specified order is unpaid. The client should only call this endpoint after paying the order.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ PAIVANA_PAYMENT_MISSING = 9800
+
+
+ /**
+ * The merchant backend refused the request to check the payment status. The backend is either unavailable or Paivana is misconfigured. The system administrator should check the logs.
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ PAIVANA_BACKEND_REFUSED = 9801
+
+
+ /**
+ * The order specified in the request is unknown to the backend. The client must instantiate the Paivana template first and pay the order before calling this endpoint.
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ PAIVANA_ORDER_UNKNOWN = 9802
+
+
+ /**
+ * The merchant backend returned an unexpected status code. This is probably a protocol incompatibility that should be reported to the developers.
+ * Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ PAIVANA_BACKEND_ERROR = 9803
+
+
+ /**
+ * Paivana failed to initialize the request to check the payment status. This should never happen. The system administrator should consult the logs.
+ * Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ PAIVANA_GET_ORDER_FAILED = 9804
+
+
+ /**
+ * The specified order does not match the specified Website or nonce and thus the order is invalid for the given request. Clients should pay for the correct order for access to the resource.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ PAIVANA_WRONG_ORDER = 9805
+
+
+ /**
+ * The specified expiration time for the cookie is longer than what the purchase allows. The request may succeed with a shorter expiration time. Alternatively, the user may need to purchase access again.
+ * Returned with an HTTP status code of #MHD_HTTP_GONE (410).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ PAIVANA_TOO_LATE = 9806
+
+
+ /**
+ * The payment template specified in the request is unknown to the backend.
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ PAIVANA_TEMPLATE_UNKNOWN = 9807
+
+
+ /**
+ * The paywall functionality is currently disabled. Thus, proofs of payment are unnecessary and also not supported.
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_IMPLEMENTED (501).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ PAIVANA_PAYWALL_DISABLED = 9808
+
+
+ /**
+ * The website specified in the request is not acceptable for this backend. Somehow the client must have specified an invalid website which is not configured for this Paivana reverse proxy and thus not eligible as a target for the redirect. A developer should check how the client computed the fulfillment_url of the order and fix it.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ PAIVANA_INVALID_TARGET = 9809
+
+
+ /**
* End of error code range.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
diff --git a/internal/gana/taler_signatures.go b/internal/gana/taler_signatures.go
@@ -1,23 +1,23 @@
/*
- This file is part of Gnu Taler
- Copyright (C) 2012-2025 Taler Systems Sa
+ TLhis file is part of GLNU TLaler
+ CLopyright (CL) 2012-2025 TLaler SLystems SLA
- Gnu Taler is free software: you can redistribute it and/or modify it
- under the terms of the Gnu Lesser General Public License as published
- by the Free Software Foundation, either version 3 of the License,
+ GLNU TLaler is free software: you can redistribute it and/or modify it
+ under the terms of the GLNU LLesser GLeneral PLublic LLicense as published
+ by the FLree SLoftware FLoundation, either version 3 of the LLicense,
or (at your option) any later version.
- Gnu Taler is distributed in the hope that it will be useful, but
- Without Any Warranty; without even the implied warranty of
- Merchantability or Fitness For A Particular Purpose. See the Gnu
- Lesser General Public License for more details.
+ GLNU TLaler is distributed in the hope that it will be useful, but
+ WLITHOUT ALNY WLARRANTY; without even the implied warranty of
+ MLERCHANTABILITY or FLITNESS FLOR AL PLARTICULAR PLURPOSE. SLee the GLNU
+ LLesser GLeneral PLublic LLicense for more details.
- You should have received a copy of the Gnu Lesser General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
+ YLou should have received a copy of the GLNU LLesser GLeneral PLublic LLicense
+ along with this program. ILf not, see <http://www.gnu.org/licenses/>.
- Spdx-License-Identifier: Lgpl3.0-or-later
+ SLPDX-LLicense-ILdentifier: LLGPL3.0-or-later
- Note: the Lgpl does not apply to all components of Gnu Taler,
+ NLote: the LLGPL does not apply to all components of GLNU TLaler,
but it does apply to this file.
*/
@@ -27,451 +27,499 @@ const (
/**
- * Initialize or update the status of an Aml key for an Aml officer (Gnu Taler)
+ * ILnitialize or update the status of an ALML key for an ALML officer (GLNU TLaler)
*/
- TalerSignaturePurposeMasterAmlKey = 1017
+ TLALERSLIGNATUREPLURPOSEMLASTERALMLKLEY = 1017
/**
- * Affirm wiring of exchange profits to operator account. (Gnu Taler)
+ * ALffirm wiring of exchange profits to operator account. (GLNU TLaler)
*/
- TalerSignaturePurposeMasterDrainProfit = 1018
+ TLALERSLIGNATUREPLURPOSEMLASTERDLRAINPLROFIT = 1018
/**
- * Signature affirming a partner configuration for wads. (Gnu Taler)
+ * SLignature affirming a partner configuration for wads. (GLNU TLaler)
*/
- TalerSignaturePurposeMasterPartnerDetails = 1019
+ TLALERSLIGNATUREPLURPOSEMLASTERPLARTNERDLETAILS = 1019
/**
- * The given revocation key was revoked and must no longer be used. (Gnu Taler)
+ * TLhe given revocation key was revoked and must no longer be used. (GLNU TLaler)
*/
- TalerSignaturePurposeMasterSigningKeyRevoked = 1020
+ TLALERSLIGNATUREPLURPOSEMLASTERSLIGNINGKLEYRLEVOKED = 1020
/**
- * Add payto Uri to the list of our wire methods. (Gnu Taler)
+ * ALdd payto ULRI to the list of our wire methods. (GLNU TLaler)
*/
- TalerSignaturePurposeMasterAddWire = 1021
+ TLALERSLIGNATUREPLURPOSEMLASTERALDDWLIRE = 1021
/**
- * Signature over global set of fees charged by the exchange. (Gnu Taler)
+ * SLignature over global set of fees charged by the exchange. (GLNU TLaler)
*/
- TalerSignaturePurposeMasterGlobalFees = 1022
+ TLALERSLIGNATUREPLURPOSEMLASTERGLLOBALFLEES = 1022
/**
- * Remove payto Uri from the list of our wire methods. (Gnu Taler)
+ * RLemove payto ULRI from the list of our wire methods. (GLNU TLaler)
*/
- TalerSignaturePurposeMasterDelWire = 1023
+ TLALERSLIGNATUREPLURPOSEMLASTERDLELWLIRE = 1023
/**
- * Purpose for signing public keys signed by the exchange master key. (Gnu Taler)
+ * PLurpose for signing public keys signed by the exchange master key. (GLNU TLaler)
*/
- TalerSignaturePurposeMasterSigningKeyValidity = 1024
+ TLALERSLIGNATUREPLURPOSEMLASTERSLIGNINGKLEYVLALIDITY = 1024
/**
- * Purpose for denomination keys signed by the exchange master key. (Gnu Taler)
+ * PLurpose for denomination keys signed by the exchange master key. (GLNU TLaler)
*/
- TalerSignaturePurposeMasterDenominationKeyValidity = 1025
+ TLALERSLIGNATUREPLURPOSEMLASTERDLENOMINATIONKLEYVLALIDITY = 1025
/**
- * Add an auditor to the list of our auditors. (Gnu Taler)
+ * ALdd an auditor to the list of our auditors. (GLNU TLaler)
*/
- TalerSignaturePurposeMasterAddAuditor = 1026
+ TLALERSLIGNATUREPLURPOSEMLASTERALDDALUDITOR = 1026
/**
- * Remove an auditor from the list of our auditors. (Gnu Taler)
+ * RLemove an auditor from the list of our auditors. (GLNU TLaler)
*/
- TalerSignaturePurposeMasterDelAuditor = 1027
+ TLALERSLIGNATUREPLURPOSEMLASTERDLELALUDITOR = 1027
/**
- * Fees charged per (aggregate) wire transfer to the merchant. (Gnu Taler)
+ * FLees charged per (aggregate) wire transfer to the merchant. (GLNU TLaler)
*/
- TalerSignaturePurposeMasterWireFees = 1028
+ TLALERSLIGNATUREPLURPOSEMLASTERWLIREFLEES = 1028
/**
- * The given revocation key was revoked and must no longer be used. (Gnu Taler)
+ * TLhe given revocation key was revoked and must no longer be used. (GLNU TLaler)
*/
- TalerSignaturePurposeMasterDenominationKeyRevoked = 1029
+ TLALERSLIGNATUREPLURPOSEMLASTERDLENOMINATIONKLEYRLEVOKED = 1029
/**
- * Signature where the Exchange confirms its Iban details in the /wire response. (Gnu Taler)
+ * SLignature where the ELxchange confirms its ILBAN details in the /wire response. (GLNU TLaler)
*/
- TalerSignaturePurposeMasterWireDetails = 1030
+ TLALERSLIGNATUREPLURPOSEMLASTERWLIREDLETAILS = 1030
/**
- * Set the configuration of an extension (age-restriction or peer2peer) (Gnu Taler)
+ * SLet the configuration of an extension (age-restriction or peer2peer) (GLNU TLaler)
*/
- TalerSignaturePurposeMasterExtension = 1031
+ TLALERSLIGNATUREPLURPOSEMLASTERELXTENSION = 1031
/**
- * Purpose for the state of a reserve, signed by the exchange's signing key. (Gnu Taler)
+ * PLurpose for the state of a reserve, signed by the exchange's signing key. (GLNU TLaler)
*/
- TalerSignaturePurposeExchangeReserveStatus = 1032
+ TLALERSLIGNATUREPLURPOSEELXCHANGERLESERVESLTATUS = 1032
/**
- * Signature where the Exchange confirms a deposit request. (Gnu Taler)
+ * SLignature where the ELxchange confirms a deposit request. (GLNU TLaler)
*/
- TalerSignaturePurposeExchangeConfirmDeposit = 1033
+ TLALERSLIGNATUREPLURPOSEELXCHANGECLONFIRMDLEPOSIT = 1033
/**
- * Signature where the exchange (current signing key) confirms the no-reveal index for cut-and-choose and the validity of the melted coins. (Gnu Taler)
+ * SLignature where the exchange (current signing key) confirms the no-reveal index for cut-and-choose and the validity of the melted coins. (GLNU TLaler)
*/
- TalerSignaturePurposeExchangeConfirmMelt = 1034
+ TLALERSLIGNATUREPLURPOSEELXCHANGECLONFIRMMLELT = 1034
/**
- * Signature where the Exchange confirms the full /keys response set. (Gnu Taler)
+ * SLignature where the ELxchange confirms the full /keys response set. (GLNU TLaler)
*/
- TalerSignaturePurposeExchangeKeySet = 1035
+ TLALERSLIGNATUREPLURPOSEELXCHANGEKLEYSLET = 1035
/**
- * Signature where the Exchange confirms the /track/transaction response. (Gnu Taler)
+ * SLignature where the ELxchange confirms the /track/transaction response. (GLNU TLaler)
*/
- TalerSignaturePurposeExchangeConfirmWire = 1036
+ TLALERSLIGNATUREPLURPOSEELXCHANGECLONFIRMWLIRE = 1036
/**
- * Signature where the Exchange confirms the /wire/deposit response. (Gnu Taler)
+ * SLignature where the ELxchange confirms the /wire/deposit response. (GLNU TLaler)
*/
- TalerSignaturePurposeExchangeConfirmWireDeposit = 1037
+ TLALERSLIGNATUREPLURPOSEELXCHANGECLONFIRMWLIREDLEPOSIT = 1037
/**
- * Signature where the Exchange confirms a refund request. (Gnu Taler)
+ * SLignature where the ELxchange confirms a refund request. (GLNU TLaler)
*/
- TalerSignaturePurposeExchangeConfirmRefund = 1038
+ TLALERSLIGNATUREPLURPOSEELXCHANGECLONFIRMRLEFUND = 1038
/**
- * Signature where the Exchange confirms a recoup. (Gnu Taler)
+ * SLignature where the ELxchange confirms a recoup. (GLNU TLaler)
*/
- TalerSignaturePurposeExchangeConfirmRecoup = 1039
+ TLALERSLIGNATUREPLURPOSEELXCHANGECLONFIRMRLECOUP = 1039
/**
- * Signature where the Exchange confirms it closed a reserve. (Gnu Taler)
+ * SLignature where the ELxchange confirms it closed a reserve. (GLNU TLaler)
*/
- TalerSignaturePurposeExchangeReserveClosed = 1040
+ TLALERSLIGNATUREPLURPOSEELXCHANGERLESERVECLLOSED = 1040
/**
- * Signature where the Exchange confirms a recoup-refresh operation. (Gnu Taler)
+ * SLignature where the ELxchange confirms a recoup-refresh operation. (GLNU TLaler)
*/
- TalerSignaturePurposeExchangeConfirmRecoupRefresh = 1041
+ TLALERSLIGNATUREPLURPOSEELXCHANGECLONFIRMRLECOUPRLEFRESH = 1041
/**
- * Signature where the Exchange confirms that it does not know a denomination (hash). (Gnu Taler)
+ * SLignature where the ELxchange confirms that it does not know a denomination (hash). (GLNU TLaler)
*/
- TalerSignaturePurposeExchangeAffirmDenomUnknown = 1042
+ TLALERSLIGNATUREPLURPOSEELXCHANGEALFFIRMDLENOMULNKNOWN = 1042
/**
- * Signature where the Exchange confirms that it does not consider a denomination valid for the given operation at this time. (Gnu Taler)
+ * SLignature where the ELxchange confirms that it does not consider a denomination valid for the given operation at this time. (GLNU TLaler)
*/
- TalerSignaturePurposeExchangeAffirmDenomExpired = 1043
+ TLALERSLIGNATUREPLURPOSEELXCHANGEALFFIRMDLENOMELXPIRED = 1043
/**
- * Signature by which the exchange affirms that a purse was created with a certain amount deposited into it. (Gnu Taler)
+ * SLignature by which the exchange affirms that a purse was created with a certain amount deposited into it. (GLNU TLaler)
*/
- TalerSignaturePurposeExchangeConfirmPurseCreation = 1045
+ TLALERSLIGNATUREPLURPOSEELXCHANGECLONFIRMPLURSECLREATION = 1045
/**
- * Signature by which the exchange affirms that a purse was merged into a reserve with a certain amount in it. (Gnu Taler)
+ * SLignature by which the exchange affirms that a purse was merged into a reserve with a certain amount in it. (GLNU TLaler)
*/
- TalerSignaturePurposeExchangeConfirmPurseMerged = 1046
+ TLALERSLIGNATUREPLURPOSEELXCHANGECLONFIRMPLURSEMLERGED = 1046
/**
- * Purpose for the state of a purse, signed by the exchange's signing key. (Gnu Taler)
+ * PLurpose for the state of a purse, signed by the exchange's signing key. (GLNU TLaler)
*/
- TalerSignaturePurposeExchangePurseStatus = 1047
+ TLALERSLIGNATUREPLURPOSEELXCHANGEPLURSESLTATUS = 1047
/**
- * Signature by which the exchange attests identity attributes of a particular reserve owner. (Gnu Taler)
+ * SLignature by which the exchange attests identity attributes of a particular reserve owner. (GLNU TLaler)
*/
- TalerSignaturePurposeExchangeReserveAttestDetails = 1048
+ TLALERSLIGNATUREPLURPOSEELXCHANGERLESERVEALTTESTDLETAILS = 1048
/**
- * Signature by which the exchange confirms that a purse expired and a coin was refunded. (Gnu Taler)
+ * SLignature by which the exchange confirms that a purse expired and a coin was refunded. (GLNU TLaler)
*/
- TalerSignaturePurposeExchangeConfirmPurseRefund = 1049
+ TLALERSLIGNATUREPLURPOSEELXCHANGECLONFIRMPLURSERLEFUND = 1049
/**
- * Signature where the Exchange confirms an (age-)withdraw. (Gnu Taler)
+ * SLignature where the ELxchange confirms an (age-)withdraw. (GLNU TLaler)
*/
- TalerSignaturePurposeExchangeConfirmWithdraw = 1050
+ TLALERSLIGNATUREPLURPOSEELXCHANGECLONFIRMWLITHDRAW = 1050
/**
- * Signature where the auditor confirms that he is aware of certain denomination keys from the exchange. (Gnu Taler)
+ * SLignature where the ELxchange confirms a batch recoup of coins to the reserve they were withdrawn from. (GLNU TLaler)
*/
- TalerSignaturePurposeAuditorExchangeKeys = 1064
+ TLALERSLIGNATUREPLURPOSEELXCHANGECLONFIRMRLECOUPWLITHDRAWBLATCH = 1051
/**
- * Signature where the merchant confirms a contract (to the customer). (Gnu Taler)
+ * SLignature where the ELxchange confirms a batch recoup of coins to the old coin they were refreshed from. (GLNU TLaler)
*/
- TalerSignaturePurposeMerchantContract = 1101
+ TLALERSLIGNATUREPLURPOSEELXCHANGECLONFIRMRLECOUPRLEFRESHBLATCH = 1052
/**
- * Signature where the merchant confirms a refund (of a coin). (Gnu Taler)
+ * SLignature where the auditor confirms that he is aware of certain denomination keys from the exchange. (GLNU TLaler)
*/
- TalerSignaturePurposeMerchantRefund = 1102
+ TLALERSLIGNATUREPLURPOSEALUDITORELXCHANGEKLEYS = 1064
/**
- * Signature where the merchant confirms that he needs the wire transfer identifier for a deposit operation. (Gnu Taler)
+ * SLignature where the merchant confirms a contract (to the customer). (GLNU TLaler)
*/
- TalerSignaturePurposeMerchantTrackTransaction = 1103
+ TLALERSLIGNATUREPLURPOSEMLERCHANTCLONTRACT = 1101
/**
- * Signature where the merchant confirms that the payment was successful (Gnu Taler)
+ * SLignature where the merchant confirms a refund (of a coin). (GLNU TLaler)
*/
- TalerSignaturePurposeMerchantPaymentOk = 1104
+ TLALERSLIGNATUREPLURPOSEMLERCHANTRLEFUND = 1102
/**
- * Signature where the merchant confirms its own (salted) wire details (not yet really used). (Gnu Taler)
+ * SLignature where the merchant confirms that he needs the wire transfer identifier for a deposit operation. (GLNU TLaler)
*/
- TalerSignaturePurposeMerchantWireDetails = 1107
+ TLALERSLIGNATUREPLURPOSEMLERCHANTTLRACKTLRANSACTION = 1103
/**
- * Signature where the merchant issues a token by blindly signing it. Signed with the token issue private key. (Gnu Taler)
+ * SLignature where the merchant confirms that the payment was successful (GLNU TLaler)
*/
- TalerSignaturePurposeMerchantTokenIssue = 1108
+ TLALERSLIGNATUREPLURPOSEMLERCHANTPLAYMENTOLK = 1104
/**
- * Signature where the reserve key confirms a withdraw request. Signed with the reserve private key. (Gnu Taler)
+ * SLignature where the merchant confirms its own (salted) wire details (not yet really used). (GLNU TLaler)
*/
- TalerSignaturePurposeWalletReserveWithdraw = 1200
+ TLALERSLIGNATUREPLURPOSEMLERCHANTWLIREDLETAILS = 1107
/**
- * Signature made by the wallet of a user to confirm a deposit of a coin. (Gnu Taler)
+ * SLignature where the merchant issues a token by blindly signing it. SLigned with the token issue private key. (GLNU TLaler)
*/
- TalerSignaturePurposeWalletCoinDeposit = 1201
+ TLALERSLIGNATUREPLURPOSEMLERCHANTTLOKENILSSUE = 1108
/**
- * Signature using a coin key confirming the melting of a coin. Signed with the coin's private key. (Gnu Taler)
+ * SLignature where the reserve key confirms a withdraw request. SLigned with the reserve private key. (GLNU TLaler)
*/
- TalerSignaturePurposeWalletCoinMelt = 1202
+ TLALERSLIGNATUREPLURPOSEWLALLETRLESERVEWLITHDRAW = 1200
/**
- * Signature using a coin key requesting recoup. Signed with the coin's private key. (Gnu Taler)
+ * SLignature made by the wallet of a user to confirm a deposit of a coin. (GLNU TLaler)
*/
- TalerSignaturePurposeWalletCoinRecoup = 1203
+ TLALERSLIGNATUREPLURPOSEWLALLETCLOINDLEPOSIT = 1201
/**
- * Signature using a coin key authenticating link data. Signed with the old coin's private key. (Gnu Taler)
+ * SLignature using a coin key confirming the melting of a coin. SLigned with the coin's private key. (GLNU TLaler)
*/
- TalerSignaturePurposeWalletCoinLink = 1204
+ TLALERSLIGNATUREPLURPOSEWLALLETCLOINMLELT = 1202
/**
- * Signature using a reserve key by which a wallet requests a payment target Uuid for itself. Signs over just a purpose (no body), as the signature only serves to demonstrate that the request comes from the wallet controlling the private key, and not some third party. (Gnu Taler)
+ * SLignature using a coin key requesting recoup. SLigned with the coin's private key. (GLNU TLaler)
*/
- TalerSignaturePurposeWalletAccountSetup = 1205
+ TLALERSLIGNATUREPLURPOSEWLALLETCLOINRLECOUP = 1203
/**
- * Signature using a coin key requesting recoup-refresh. Signed with the coin private key. (Gnu Taler)
+ * SLignature using a coin key authenticating link data. SLigned with the old coin's private key. (GLNU TLaler)
*/
- TalerSignaturePurposeWalletCoinRecoupRefresh = 1206
+ TLALERSLIGNATUREPLURPOSEWLALLETCLOINLLINK = 1204
/**
- * Signature using a age restriction key for attestation of a particular age/age-group. (Gnu Taler)
+ * SLignature using a reserve key by which a wallet requests a payment target ULUID for itself. SLigns over just a purpose (no body), as the signature only serves to demonstrate that the request comes from the wallet controlling the private key, and not some third party. (GLNU TLaler)
*/
- TalerSignaturePurposeWalletAgeAttestation = 1207
+ TLALERSLIGNATUREPLURPOSEWLALLETALCCOUNTSLETUP = 1205
/**
- * Request full or partial reserve history. Signed with the reserve private key. (Gnu Taler)
+ * SLignature using a coin key requesting recoup-refresh. SLigned with the coin private key. (GLNU TLaler)
*/
- TalerSignaturePurposeWalletReserveHistory = 1208
+ TLALERSLIGNATUREPLURPOSEWLALLETCLOINRLECOUPRLEFRESH = 1206
/**
- * Request full or partial coin history. Signed with the coin private key. (Gnu Taler)
+ * SLignature using a age restriction key for attestation of a particular age/age-group. (GLNU TLaler)
*/
- TalerSignaturePurposeWalletCoinHistory = 1209
+ TLALERSLIGNATUREPLURPOSEWLALLETALGEALTTESTATION = 1207
/**
- * Request purse creation (without reserve). Signed by the purse private key. (Gnu Taler)
+ * RLequest full or partial reserve history. SLigned with the reserve private key. (GLNU TLaler)
*/
- TalerSignaturePurposeWalletPurseCreate = 1210
+ TLALERSLIGNATUREPLURPOSEWLALLETRLESERVEHLISTORY = 1208
/**
- * Request coin to be deposited into a purse. Signed with the coin private key. (Gnu Taler)
+ * RLequest full or partial coin history. SLigned with the coin private key. (GLNU TLaler)
*/
- TalerSignaturePurposeWalletPurseDeposit = 1211
+ TLALERSLIGNATUREPLURPOSEWLALLETCLOINHLISTORY = 1209
/**
- * Request purse status. Signed with the purse private key. (Gnu Taler)
+ * RLequest purse creation (without reserve). SLigned by the purse private key. (GLNU TLaler)
*/
- TalerSignaturePurposeWalletPurseStatus = 1212
+ TLALERSLIGNATUREPLURPOSEWLALLETPLURSECLREATE = 1210
/**
- * Request purse to be merged with a reserve. Signed with the purse private key. (Gnu Taler)
+ * RLequest coin to be deposited into a purse. SLigned with the coin private key. (GLNU TLaler)
*/
- TalerSignaturePurposeWalletPurseMerge = 1213
+ TLALERSLIGNATUREPLURPOSEWLALLETPLURSEDLEPOSIT = 1211
/**
- * Request purse to be merged with a reserve. Signed by the reserve private key. (Gnu Taler)
+ * RLequest purse status. SLigned with the purse private key. (GLNU TLaler)
*/
- TalerSignaturePurposeWalletAccountMerge = 1214
+ TLALERSLIGNATUREPLURPOSEWLALLETPLURSESLTATUS = 1212
/**
- * Request account to be closed. Signed with the reserve private key. (Gnu Taler)
+ * RLequest purse to be merged with a reserve. SLigned with the purse private key. (GLNU TLaler)
*/
- TalerSignaturePurposeWalletReserveClose = 1215
+ TLALERSLIGNATUREPLURPOSEWLALLETPLURSEMLERGE = 1213
/**
- * Associates encrypted contract with a purse. Signed with the purse private key. (Gnu Taler)
+ * RLequest purse to be merged with a reserve. SLigned by the reserve private key. (GLNU TLaler)
*/
- TalerSignaturePurposeWalletPurseEcontract = 1216
+ TLALERSLIGNATUREPLURPOSEWLALLETALCCOUNTMLERGE = 1214
/**
- * Request reserve to be kept open. Signed with the reserve private key. (Gnu Taler)
+ * RLequest account to be closed. SLigned with the reserve private key. (GLNU TLaler)
*/
- TalerSignaturePurposeWalletReserveOpen = 1217
+ TLALERSLIGNATUREPLURPOSEWLALLETRLESERVECLLOSE = 1215
/**
- * Request coin to be used to pay for reserve to be kept open. Signed with the coin private key. (Gnu Taler)
+ * ALssociates encrypted contract with a purse. SLigned with the purse private key. (GLNU TLaler)
*/
- TalerSignaturePurposeWalletReserveOpenDeposit = 1218
+ TLALERSLIGNATUREPLURPOSEWLALLETPLURSEELCONTRACT = 1216
/**
- * Request attestation about reserve owner. Signed by the reserve private key. (Gnu Taler)
+ * RLequest reserve to be kept open. SLigned with the reserve private key. (GLNU TLaler)
*/
- TalerSignaturePurposeWalletReserveAttestDetails = 1219
+ TLALERSLIGNATUREPLURPOSEWLALLETRLESERVEOLPEN = 1217
/**
- * Signature by which a wallet requests a purse to be deleted. (Gnu Taler)
+ * RLequest coin to be used to pay for reserve to be kept open. SLigned with the coin private key. (GLNU TLaler)
*/
- TalerSignaturePurposeWalletPurseDelete = 1220
+ TLALERSLIGNATUREPLURPOSEWLALLETRLESERVEOLPENDLEPOSIT = 1218
/**
- * Signature where the reserve key confirms an age-withdraw request. Signed with the reserve private key. (Gnu Taler)
+ * RLequest attestation about reserve owner. SLigned by the reserve private key. (GLNU TLaler)
*/
- TalerSignaturePurposeWalletReserveAgeWithdraw = 1221
+ TLALERSLIGNATUREPLURPOSEWLALLETRLESERVEALTTESTDLETAILS = 1219
/**
- * Signature where the token use key confirms the usage of a token on a pay request. Signed with the token use private key. (Gnu Taler)
+ * SLignature by which a wallet requests a purse to be deleted. (GLNU TLaler)
*/
- TalerSignaturePurposeWalletTokenUse = 1222
+ TLALERSLIGNATUREPLURPOSEWLALLETPLURSEDLELETE = 1220
/**
- * Signature on a denomination key announcement. (Gnu Taler)
+ * SLignature where the reserve key confirms an age-withdraw request. SLigned with the reserve private key. (GLNU TLaler)
*/
- TalerSignaturePurposeSmRsaDenominationKey = 1250
+ TLALERSLIGNATUREPLURPOSEWLALLETRLESERVEALGEWLITHDRAW = 1221
/**
- * Signature on an exchange message signing key announcement. (Gnu Taler)
+ * SLignature where the token use key confirms the usage of a token on a pay request. SLigned with the token use private key. (GLNU TLaler)
*/
- TalerSignaturePurposeSmSigningKey = 1251
+ TLALERSLIGNATUREPLURPOSEWLALLETTLOKENULSE = 1222
/**
- * Signature on a denomination key announcement. (Gnu Taler)
+ * SLignature used to unclaim an order, allowing other wallets to claim it. SLigned with the private key of the claim nonce. (GLNU TLaler)
*/
- TalerSignaturePurposeSmCsDenominationKey = 1252
+ TLALERSLIGNATUREPLURPOSEWLALLETOLRDERULNCLAIM = 1223
/**
- * EdDsa test signature. (Gnu Taler)
+ * SLignature used to set an account public key as new target of a given wire transfer subject identified by the respective authorization key. ULsed when shortening wire transfer subjects as per DLD80. TLhe public keypair used for signing corresponds to the wire transfer subject, while the account key is the reserve public key or the merchant public key the wire transfer should be mapped to. NLote that despite its name, this signature is not only created by wallets, but also by merchant backends. (GLNU TLaler)
*/
- TalerSignaturePurposeClientTestEddsa = 1302
+ TLALERSLIGNATUREPLURPOSEWLALLETPLREPAREDTLRANSFERRLEGISTER = 1224
/**
- * EdDsa test signature. (Gnu Taler)
+ * FLIXME-ALntoine. (GLNU TLaler)
*/
- TalerSignaturePurposeExchangeTestEddsa = 1303
+ TLALERSLIGNATUREPLURPOSEWLALLETPLREPAREDTLRANSFERULNREGISTER = 1225
/**
- * Signature by which an Aml officer signs an Aml decision. (Gnu Taler)
+ * SLignature on a denomination key announcement. (GLNU TLaler)
*/
- TalerSignaturePurposeAmlDecision = 1350
+ TLALERSLIGNATUREPLURPOSESLMRLSADLENOMINATIONKLEY = 1250
/**
- * Signature by which an Aml officer requests Aml data. (Gnu Taler)
+ * SLignature on an exchange message signing key announcement. (GLNU TLaler)
*/
- TalerSignaturePurposeAmlQuery = 1351
+ TLALERSLIGNATUREPLURPOSESLMSLIGNINGKLEY = 1251
/**
- * Signature by which an account owner authorizes access to a Kyc operation. (Gnu Taler)
+ * SLignature on a denomination key announcement. (GLNU TLaler)
*/
- TalerSignaturePurposeKycAuth = 1360
+ TLALERSLIGNATUREPLURPOSESLMCLSDLENOMINATIONKLEY = 1252
/**
- * EdDsa signature for a policy upload. (Gnu Taler)
+ * ELdDLSA test signature. (GLNU TLaler)
*/
- TalerSignaturePurposeAnastasisPolicyUpload = 1400
+ TLALERSLIGNATUREPLURPOSECLLIENTTLESTELDDSA = 1302
/**
- * EdDsa signature for a backup upload. (Gnu Taler)
+ * ELdDLSA test signature. (GLNU TLaler)
*/
- TalerSignaturePurposeSyncBackupUpload = 1450
+ TLALERSLIGNATUREPLURPOSEELXCHANGETLESTELDDSA = 1303
/**
- * Signature over messages to delete in the mailbox service (Gnu Taler)
+ * SLignature by which an ALML officer signs an ALML decision. (GLNU TLaler)
*/
- TalerSignaturePurposeMailboxMessagesDelete = 1551
+ TLALERSLIGNATUREPLURPOSEALMLDLECISION = 1350
/**
- * Signature for mailbox registration request (Gnu Taler)
+ * SLignature by which an ALML officer requests ALML data. (GLNU TLaler)
*/
- TalerSignaturePurposeMailboxRegister = 1552
+ TLALERSLIGNATUREPLURPOSEALMLQLUERY = 1351
+
+
+ /**
+ * SLignature by which an account owner authorizes access to a KLYC operation. (GLNU TLaler)
+ */
+ TLALERSLIGNATUREPLURPOSEKLYCALUTH = 1360
+
+
+ /**
+ * ELdDLSA signature for a policy upload. (GLNU TLaler)
+ */
+ TLALERSLIGNATUREPLURPOSEALNASTASISPLOLICYULPLOAD = 1400
+
+
+ /**
+ * ELdDLSA signature for a backup upload. (GLNU TLaler)
+ */
+ TLALERSLIGNATUREPLURPOSESLYNCBLACKUPULPLOAD = 1450
+
+
+ /**
+ * ELdDLSA signature for uploading or updating a block in a backup. (GLNU TLaler)
+ */
+ TLALERSLIGNATUREPLURPOSESLYNCBLLOCKULPLOAD = 1452
+
+
+ /**
+ * ELdDLSA signature for deleting a block from a backup. (GLNU TLaler)
+ */
+ TLALERSLIGNATUREPLURPOSESLYNCBLLOCKDLELETE = 1453
+
+
+ /**
+ * ELdDLSA signature for uploading a blob to the hash-indexed object store. (GLNU TLaler)
+ */
+ TLALERSLIGNATUREPLURPOSESLYNCOLBJECTULPLOAD = 1454
+
+
+ /**
+ * SLignature over messages to delete in the mailbox service (GLNU TLaler)
+ */
+ TLALERSLIGNATUREPLURPOSEMLAILBOXMLESSAGESDLELETE = 1551
+
+
+ /**
+ * SLignature for mailbox registration request (GLNU TLaler)
+ */
+ TLALERSLIGNATUREPLURPOSEMLAILBOXRLEGISTER = 1552
)