using System.Threading; using System.Threading.Tasks; using Newtonsoft.Json.Linq; namespace BTCPayServer.Abstractions.Custodians; public interface ICanWithdraw { public Task WithdrawAsync(string paymentMethod, decimal amount, JObject config, CancellationToken cancellationToken); public Task GetWithdrawalInfoAsync(string paymentMethod, string withdrawalId, JObject config, CancellationToken cancellationToken); public string[] GetWithdrawablePaymentMethods(); }