Integration & JSON API
Integrate the Fujitsu F56 with your platform
The F56 is a multi-cassette dispenser, and it reaches your application as the same JSON contract the rest of the dispenser family uses. The SDK handles the device protocol and cassette model underneath; your platform calls readiness, dispense, purge, and reset operations over HTTP.
That means a platform already integrating one Fujitsu model adds the F56 without new device code. The response envelope stays identical, so the error handling you wrote for dispensing is the error handling you keep.
See the JSON API and examples in every languageimport requests
BASE = "http://localhost:8080"
# Confirm the F56 can serve the transaction before the cash step starts.
status = requests.get(
f"{BASE}/api/hardware/cash-dispenser/check-dispenser",
timeout=10,
).json()
if status["code"] != "0000":
raise RuntimeError(f"F56 not ready: {status['message']}")
# Dispense the requested amount.
result = requests.post(
f"{BASE}/api/hardware/cash-dispenser/dispense-amount",
json={"amount": "5000"},
timeout=30,
).json()
if result["code"] != "0000":
raise RuntimeError(f"Dispense failed: {result['message']}")















