mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +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
14 lines
328 B
C#
14 lines
328 B
C#
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
using Newtonsoft.Json.Linq;
|
|
|
|
namespace BTCPayServer.Client.Models;
|
|
|
|
public class MarkPayoutRequest
|
|
{
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
public PayoutState State { get; set; } = PayoutState.Completed;
|
|
|
|
public JObject? PaymentProof { get; set; }
|
|
}
|