> This is Payabli documentation. For a complete page index, fetch https://docs.payabli.com/llms.txt — append .md to any page URL for lightweight markdown. For section-level indexes, query parameters, and other AI-optimized access methods, see https://docs.payabli.com/ai-agents.md

## 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](/changelog/api-changelog/2026/11/17) and [November 18, 2026](/changelog/api-changelog/2026/11/18) and [November 30, 2026](/changelog/api-changelog/2026/11/30) 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.

```java
// 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.

#### Method signatures

```java
// 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`.

#### Method signatures

```java
// 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`.

### Typed errors for sending invoices and payment links

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