Check for a Windows POS update
The Windows POS asks on every start whether a newer published release exists. When available is true it downloads the package from download_path, checks size and sha256, and verifies signature with the public key built into the app before installing. The signature is made on the build machine, never on the server, so a package the server alone produced is rejected. mandatory is true when any release newer than current is mandatory: the till must not sell until it is installed. A key paired as a POS device may call this without the scope.
| Required scope | pos.cashiers.read |
| Success status | 200 |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| current * | query | string | The version installed on the till. |
Examples
Recorded from the test suite — these are real requests and their real responses.
curl -X GET 'https://api.flactrum.com/v1/pos/updates?current=1.0.0' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 200 · application/json
{
"data": {
"available": true,
"latest": "1.2.0",
"id": "01m43v0xr3383e53z0xs2tjpcm",
"version": "1.2.0",
"mandatory": true,
"notes": "Geçmiş siparişler ve iade/zayi",
"size": 9,
"sha256": "a6455ccc2e632702109f35f565588b6d85c56d5fe3e675bb96d6f7677a5fa365",
"signature": "MEYCIQDv0Gbmms9XsaGr6IJUfIxcPAO3wmyHq8TA2/tGX7DJVAIhAKE6gk5uEWc31YGxf24PN5KtnLATOp0HgWPJeGZ8VtVW",
"download_path": "/v1/pos/updates/01m43v0xr3383e53z0xs2tjpcm/download",
"published_at": "2026-10-04T16:12:47+00:00"
}
}
curl -X GET 'https://api.flactrum.com/v1/pos/updates?current=1.2.0' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 200 · application/json
{
"data": {
"available": false,
"latest": "1.2.0"
}
}
curl -X GET 'https://api.flactrum.com/v1/pos/updates?current=eski' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 400 · application/json
{
"error": {
"code": "bad_request",
"message": "The \"current\" version must look like 1.2.0."
}
}