mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-06 18:41:12 +01:00
15 lines
511 B
C#
15 lines
511 B
C#
|
using System.Threading;
|
||
|
using System.Threading.Tasks;
|
||
|
using Newtonsoft.Json.Linq;
|
||
|
|
||
|
namespace BTCPayServer.Abstractions.Custodians;
|
||
|
|
||
|
public interface ICanWithdraw
|
||
|
{
|
||
|
public Task<WithdrawResult> WithdrawAsync(string paymentMethod, decimal amount, JObject config, CancellationToken cancellationToken);
|
||
|
|
||
|
public Task<WithdrawResult> GetWithdrawalInfoAsync(string paymentMethod, string withdrawalId, JObject config, CancellationToken cancellationToken);
|
||
|
|
||
|
public string[] GetWithdrawablePaymentMethods();
|
||
|
}
|