From 9182352e42c530328e105b355c7e63b475195b26 Mon Sep 17 00:00:00 2001 From: jackstar12 Date: Sun, 15 Sep 2024 22:05:08 +0200 Subject: [PATCH] feat: add `Message` to `PayDetails` can be useful for node implementations to return additional information about the payment --- src/BTCPayServer.Lightning.Common/PayResponse.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/BTCPayServer.Lightning.Common/PayResponse.cs b/src/BTCPayServer.Lightning.Common/PayResponse.cs index 73cf2615..6ec1086d 100644 --- a/src/BTCPayServer.Lightning.Common/PayResponse.cs +++ b/src/BTCPayServer.Lightning.Common/PayResponse.cs @@ -56,5 +56,7 @@ public class PayDetails [JsonConverter(typeof(NBitcoin.JsonConverters.UInt256JsonConverter))] public uint256 PaymentHash { get; set; } + + public string Message { get; set; } } }