Developer documentation
Integration guide
Start with simulated devices on your development machine. Your POS owns checkout decisions and the user interface.
Install the preview SDK
The SDK preview uses ESM packages with TypeScript declarations. When your organization receives approved packages, extract the SDK ZIP and install the supplied core tarball from your POS project. React integrations can also install the matching hooks tarball with React 18.2 or 19.
npm install ./dispensify-hardware-0.1.0.tgzUse the path to the extracted tarball. See the package’s release notes for its version and compatibility.
Read capabilities and status
Run this example from a Node.js ESM project with the simulator running. Query capabilities before selecting device operations.
import { createHardwareClient } from "@dispensify/hardware";
const hardware = createHardwareClient({
serviceUrl: "http://127.0.0.1:3758"
});
const capabilities = await hardware.getCapabilities();
const status = await hardware.getStatus();
On a commissioned kiosk the Windows hardware service uses port 3757. A browser POS needs an approved same-origin service integration. The simulator uses synthetic cash and inventory.
Run the offline simulator
Use Node.js 22.18 or later. Extract the offline kit, open its dispensify-hardware-simulator directory and install the included core SDK.
npm install --offline --no-save --package-lock=false --ignore-scripts ./packages/dispensify-hardware-0.1.0.tgz
npm startIn another terminal in the same directory, run npm run example. Open http://127.0.0.1:3759 and choose Open reference app to try a checkout. Stop the processes with Ctrl+C.
Get partner downloads
Your workspace lists approved releases, notes and checksums for your organization.
Open Development Platform →