mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-27 07:57:33 +01:00
This allows external services to integrate with the payouts system to process payouts. This is also a step to allow plugins to provide payout processors. * It provides the payment proof through the greenfield payoust api. * It allows you to set the state of a payout outside of the usual flow: * When state is awaiting payment, allow setting to In progess or completed * When state is in progress, allow setting back to awaiting payment
13 lines
454 B
C#
13 lines
454 B
C#
namespace BTCPayServer.Data.Payouts.LightningLike
|
|
{
|
|
public class PayoutLightningBlob : IPayoutProof
|
|
{
|
|
public string PaymentHash { get; set; }
|
|
|
|
public static string PayoutLightningBlobProofType = "PayoutLightningBlob";
|
|
public string ProofType { get; } = PayoutLightningBlobProofType;
|
|
public string Link { get; } = null;
|
|
public string Id => PaymentHash;
|
|
public string Preimage { get; set; }
|
|
}
|
|
}
|