aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/taler_signatures.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h
index ed680bcf9..181c50169 100644
--- a/src/include/taler_signatures.h
+++ b/src/include/taler_signatures.h
@@ -1275,6 +1275,25 @@ struct TALER_ReserveCloseConfirmationPS
};
+/**
+ * Used by the merchant to confirm with a signature that the refund has
+ * been successfully done. Even though the frontend doesn't usually do crypto,
+ * this signature may turn useful in court.
+ */
+struct TALER_MerchantRefundConfirmationPS
+{
+ /**
+ * Set TALER_SIGNATURE_REFUND_OK.
+ */
+ struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
+
+ /**
+ * Hashed order id; in case frontend wants to check it.
+ */
+ struct GNUNET_HashCode h_order_id GNUNET_PACKED;
+
+};
+
GNUNET_NETWORK_STRUCT_END
#endif