summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2017-06-14 15:13:13 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2017-06-14 15:13:13 +0200
commitd7e7cf517a253aa22351fc62cf7e4cd7da5f50dc (patch)
tree0fe7343b089686b344981967e228c4c3dbf49525
parent19633bedbb494dc268646f6bad0d8820defaebe2 (diff)
downloadexchange-d7e7cf517a253aa22351fc62cf7e4cd7da5f50dc.tar.gz
exchange-d7e7cf517a253aa22351fc62cf7e4cd7da5f50dc.tar.bz2
exchange-d7e7cf517a253aa22351fc62cf7e4cd7da5f50dc.zip
error code for merchant's /refund
-rw-r--r--src/include/taler_error_codes.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index 5100ba5f5..a1356102d 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -1292,6 +1292,13 @@ enum TALER_ErrorCode
*/
TALER_EC_REFUND_ORDER_ID_UNKNOWN = 2601,
+ /**
+ * The amount to be refunded is inconsistent: either is lower than
+ * the previous amount being awarded, or it is too big to be paid back.
+ * In this second case, the fault stays on the business dept. side.
+ */
+ TALER_EC_REFUND_INCONSISTENT_AMOUNT = 2602,
+
/* ********** /test API error codes ************* */
/**