Skip to navigation

Deactivate or activate a device

View as MarkdownOpen in Claude

Deactivates or activates a semi-integrated or standalone device that Payabli manages, such as an AXIUM device. Set deviceStatus to 0 to deactivate the device, or to 1 to activate it again.

A deactivated device keeps its registration and history, but it refuses new sales and authorizations with error E7070. You can deactivate a device that’s Active or Pending, and activate a device that’s Inactive. Any other change returns 409.

To remove a device from its paypoint for good, unregister it instead. See Manage AXIUM devices.

Requires one of the device_operation, device_update, or pos_create permissions.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

OR
requestTokenstring

Long-lived API token sent in the requestToken header. See API token authentication.

Path parameters

entrystringRequired

The paypoint’s entrypoint identifier. Learn more

deviceIdstringRequired
The device's ID.

Request

This endpoint expects an object.
deviceStatusenumRequired

The status to move the device to:

  • 0: Inactive. Deactivates the device.
  • 1: Active. Activates a deactivated device.
Allowed values:

Response

Success
responseTextstring

Response text for operation: ‘Success’ or ‘Declined’.

responseDataobject
The device and its status after the request.
responseCodeintegerOptional

Code for the response. Learn more in API Response Codes.

pageIdentifierstringOptional
Auxiliary validation used internally by payment pages and components.
roomIdlongOptional

Field not in use on this endpoint. It always returns 0.

isSuccessbooleanOptional

Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error