Skip to navigation

v1.0.27

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.getDepositDate() now returns Optional<OffsetDateTime> instead of OffsetDateTime. While Payabli holds a payment, its deposit date is null.

// Before
OffsetDateTime depositDate = record.getDepositDate();
// After
Optional<OffsetDateTime> depositDate = record.getDepositDate();
depositDate.ifPresent(System.out::println);

Device ordering

client.deviceOrder() is a new client with getDeviceOrderingEnabled, getDeviceOrderCatalog, getDeviceOrderRecipients, submitDeviceOrder, payDeviceOrder, getDeviceOrder, and cancelDeviceOrder. SubmitDeviceOrderRequest.builder() starts with idempotencyKey, which is sent as the Idempotency-Key header.

client.query() adds listDeviceOrders and listDeviceOrdersOrg, which return QueryDeviceOrderResponse.

Each method also has an overload without RequestOptions, and the methods that take a request object have one without it where the request is optional.

// client.deviceOrder()
public DeviceOrderEnabledResponse getDeviceOrderingEnabled(
String entry,
RequestOptions requestOptions
);
public DeviceOrderCatalogResponse getDeviceOrderCatalog(
RequestOptions requestOptions
);
public DeviceOrderRecipientsResponse getDeviceOrderRecipients(
RequestOptions requestOptions
);
public DeviceOrderResponse submitDeviceOrder(
SubmitDeviceOrderRequest request,
RequestOptions requestOptions
);
public DeviceOrderResponse payDeviceOrder(
String orderNumber,
PayDeviceOrderRequest request,
RequestOptions requestOptions
);
public DeviceOrderResponse getDeviceOrder(
String orderNumber,
RequestOptions requestOptions
);
public DeviceOrderResponse cancelDeviceOrder(
String orderNumber,
CancelDeviceOrderRequest request,
RequestOptions requestOptions
);
// client.query()
public QueryDeviceOrderResponse listDeviceOrders(
String entry,
ListDeviceOrdersRequest request,
RequestOptions requestOptions
);
public QueryDeviceOrderResponse listDeviceOrdersOrg(
int orgId,
ListDeviceOrdersOrgRequest request,
RequestOptions requestOptions
);

Device lifecycle

client.device() adds updateStatus, unregister, and forceUnregister, which return DeviceLifecycleResponse.

// client.device()
public DeviceLifecycleResponse updateStatus(
String entry,
String deviceId,
DeviceStatusRequest request,
RequestOptions requestOptions
);
public DeviceLifecycleResponse unregister(
String entry,
String deviceId,
RequestOptions requestOptions
);
public DeviceLifecycleResponse forceUnregister(
String entry,
String deviceId,
RequestOptions requestOptions
);

Webhook event types

NotificationStandardRequestContentEventType adds DEVICEORDERPLACED, DEVICEORDERPAID, and DEVICEORDERSTATUSCHANGED.

client.invoice().sendInvoice, client.paymentLink().sendPayLinkFromId, and client.paymentLink().pushPayLinkFromId now throw ForbiddenError for a 403 and TooManyRequestsError for a 429.