Device/getDeviceHealth
Terminal Health Check
Verify the terminal is reachable and ready to accept transactions.
GET
/v1/device/healthReturns the current health, battery, connectivity, and firmware of the terminal. Call this before initiating a sale to confirm the terminal is reachable and ready. In cloud mode the call is routed through Atlas infrastructure, so the response also reflects relay and WAN health — not just the local terminal state.
Response
application/json
connectedbooleanrequiredWhether the terminal is connected and operational.
Example: true
terminalIdstringrequiredTerminal identifier (TID).
Example: "TID-00012345"
serialNumberstringDevice serial number.
Example: "SN-9876543210"
firmwareVersionstringCurrent firmware version.
Example: "1.4.2"
batteryLevelintegernullableBattery level percentage (null for mains-powered terminals).
Example: 87
connectivityobjectNetwork connectivity details.
methodenumConnectivity method.
WIFICELLULARETHERNETUSBsignalStrengthintegernullableSignal strength in dBm (null for wired).
networkNamestringnullableNetwork SSID or name.
lastTransactionTimestring · ISO 8601nullableTimestamp of the last completed transaction.
uptimeintegerTerminal uptime in seconds since last boot.
Example: 86400
commerce-api/openapi.yaml · getDeviceHealth