mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
19 lines
581 B
C#
19 lines
581 B
C#
|
#nullable enable
|
||
|
using System.Collections.Generic;
|
||
|
using System.Threading;
|
||
|
using System.Threading.Tasks;
|
||
|
using BTCPayServer.Client.Models;
|
||
|
|
||
|
namespace BTCPayServer.Client
|
||
|
{
|
||
|
public partial class BTCPayServerClient
|
||
|
{
|
||
|
public virtual async Task<IEnumerable<PayoutProcessorData>> GetPayoutProcessors(
|
||
|
CancellationToken token = default)
|
||
|
{
|
||
|
var response = await _httpClient.SendAsync(CreateHttpRequest("api/v1/payout-processors"), token);
|
||
|
return await HandleResponse<IEnumerable<PayoutProcessorData>>(response);
|
||
|
}
|
||
|
}
|
||
|
}
|