Skip to navigation

v1.0.24

This release adds methods for ordering devices and managing a device’s lifecycle, and lets the deposit date on batch detail records be null. 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. While Payabli holds a payment, its deposit date is null.

Device ordering

$client->deviceOrder is a new client with getDeviceOrderingEnabled, getDeviceOrderCatalog, getDeviceOrderRecipients, submitDeviceOrder, payDeviceOrder, getDeviceOrder, and cancelDeviceOrder. SubmitDeviceOrderRequest takes idempotencyKey, which is sent as the Idempotency-Key header.

$client->query adds listDeviceOrders and listDeviceOrdersOrg, which return ?QueryDeviceOrderResponse.

// $client->deviceOrder
public function getDeviceOrderingEnabled(
string $entry,
?array $options = null
): ?DeviceOrderEnabledResponse
public function getDeviceOrderCatalog(
?array $options = null
): ?DeviceOrderCatalogResponse
public function getDeviceOrderRecipients(
?array $options = null
): ?DeviceOrderRecipientsResponse
public function submitDeviceOrder(
SubmitDeviceOrderRequest $request,
?array $options = null
): ?DeviceOrderResponse
public function payDeviceOrder(
string $orderNumber,
PayDeviceOrderRequest $request,
?array $options = null
): ?DeviceOrderResponse
public function getDeviceOrder(
string $orderNumber,
?array $options = null
): ?DeviceOrderResponse
public function cancelDeviceOrder(
string $orderNumber,
CancelDeviceOrderRequest $request = new CancelDeviceOrderRequest(),
?array $options = null
): ?DeviceOrderResponse
// $client->query
public function listDeviceOrders(
string $entry,
ListDeviceOrdersRequest $request = new ListDeviceOrdersRequest(),
?array $options = null
): ?QueryDeviceOrderResponse
public function listDeviceOrdersOrg(
int $orgId,
ListDeviceOrdersOrgRequest $request = new ListDeviceOrdersOrgRequest(),
?array $options = null
): ?QueryDeviceOrderResponse

Device lifecycle

$client->device adds updateStatus, unregister, and forceUnregister, which return ?DeviceLifecycleResponse.

// $client->device
public function updateStatus(
string $entry,
string $deviceId,
DeviceStatusRequest $request,
?array $options = null
): ?DeviceLifecycleResponse
public function unregister(
string $entry,
string $deviceId,
?array $options = null
): ?DeviceLifecycleResponse
public function forceUnregister(
string $entry,
string $deviceId,
?array $options = null
): ?DeviceLifecycleResponse

Webhook event types

NotificationStandardRequestContentEventType adds the Deviceorderplaced, Deviceorderpaid, and Deviceorderstatuschanged cases.