Deactivate or activate a device
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
Bearer authentication of the form Bearer <token>, where token is your auth token.
Long-lived API token sent in the requestToken header. See API token authentication.
Request
The status to move the device to:
0: Inactive. Deactivates the device.1: Active. Activates a deactivated device.
Response
Response text for operation: ‘Success’ or ‘Declined’.
Code for the response. Learn more in API Response Codes.
Field not in use on this endpoint. It always returns 0.
Boolean indicating whether the operation was successful. A true value
indicates success. A false value indicates failure.