Skip to navigation

v1.1.23

This release includes breaking changes. It makes the deposit date on batch detail records nullable, and adds methods for ordering devices and managing a device’s lifecycle. See November 17, 2026 and November 18, 2026 and November 30, 2026 for more information.

Nullable deposit date on batch details

BatchDetailResponseRecord.DepositDate is now DateTime? instead of required DateTime. While Payabli holds a payment, its deposit date is null. Code that assigns it to a DateTime stops compiling.

// Before
DateTime depositDate = record.DepositDate;
// After
DateTime? depositDate = record.DepositDate;
if (depositDate is DateTime date)
{
Console.WriteLine(date);
}

Device ordering

client.DeviceOrder is a new client with GetDeviceOrderingEnabledAsync, GetDeviceOrderCatalogAsync, GetDeviceOrderRecipientsAsync, SubmitDeviceOrderAsync, PayDeviceOrderAsync, GetDeviceOrderAsync, and CancelDeviceOrderAsync. SubmitDeviceOrderRequest.IdempotencyKey is sent as the Idempotency-Key header.

client.Query adds ListDeviceOrdersAsync and ListDeviceOrdersOrgAsync, which return QueryDeviceOrderResponse.

// client.DeviceOrder
WithRawResponseTask<DeviceOrderEnabledResponse> GetDeviceOrderingEnabledAsync(
string entry,
RequestOptions? options = null,
CancellationToken cancellationToken = default
);
WithRawResponseTask<DeviceOrderCatalogResponse> GetDeviceOrderCatalogAsync(
RequestOptions? options = null,
CancellationToken cancellationToken = default
);
WithRawResponseTask<DeviceOrderRecipientsResponse> GetDeviceOrderRecipientsAsync(
RequestOptions? options = null,
CancellationToken cancellationToken = default
);
WithRawResponseTask<DeviceOrderResponse> SubmitDeviceOrderAsync(
SubmitDeviceOrderRequest request,
RequestOptions? options = null,
CancellationToken cancellationToken = default
);
WithRawResponseTask<DeviceOrderResponse> PayDeviceOrderAsync(
string orderNumber,
PayDeviceOrderRequest request,
RequestOptions? options = null,
CancellationToken cancellationToken = default
);
WithRawResponseTask<DeviceOrderResponse> GetDeviceOrderAsync(
string orderNumber,
RequestOptions? options = null,
CancellationToken cancellationToken = default
);
WithRawResponseTask<DeviceOrderResponse> CancelDeviceOrderAsync(
string orderNumber,
CancelDeviceOrderRequest request,
RequestOptions? options = null,
CancellationToken cancellationToken = default
);
// client.Query
WithRawResponseTask<QueryDeviceOrderResponse> ListDeviceOrdersAsync(
string entry,
ListDeviceOrdersRequest request,
RequestOptions? options = null,
CancellationToken cancellationToken = default
);
WithRawResponseTask<QueryDeviceOrderResponse> ListDeviceOrdersOrgAsync(
int orgId,
ListDeviceOrdersOrgRequest request,
RequestOptions? options = null,
CancellationToken cancellationToken = default
);

Device lifecycle

client.Device adds UpdateStatusAsync, UnregisterAsync, and ForceUnregisterAsync, which return DeviceLifecycleResponse.

// client.Device
WithRawResponseTask<DeviceLifecycleResponse> UpdateStatusAsync(
string entry,
string deviceId,
DeviceStatusRequest request,
RequestOptions? options = null,
CancellationToken cancellationToken = default
);
WithRawResponseTask<DeviceLifecycleResponse> UnregisterAsync(
string entry,
string deviceId,
RequestOptions? options = null,
CancellationToken cancellationToken = default
);
WithRawResponseTask<DeviceLifecycleResponse> ForceUnregisterAsync(
string entry,
string deviceId,
RequestOptions? options = null,
CancellationToken cancellationToken = default
);

Webhook event types

NotificationStandardRequestContentEventType adds Deviceorderplaced, Deviceorderpaid, and Deviceorderstatuschanged.

client.Invoice.SendInvoiceAsync, client.PaymentLink.SendPayLinkFromIdAsync, and client.PaymentLink.PushPayLinkFromIdAsync now throw ForbiddenError for a 403 and TooManyRequestsError for a 429.