using BTCPayServer.Client.JsonConverters; using Newtonsoft.Json; namespace BTCPayServer.Client.Models { public class ApiKeyData { public string ApiKey { get; set; } public string Label { get; set; } [JsonProperty(ItemConverterType = typeof(PermissionJsonConverter))] public Permission[] Permissions { get; set; } } }