Overview / Catalog / Cashiers who can sign in at a till

Cashiers who can sign in at a till

get https://api.flactrum.com/v1/pos/cashiers

Active users of the branch whose role allows POS sales, with a salted hash of their 6-character POS PIN so the till can verify sign-in offline. The PIN itself is never sent. A key paired as a POS device may call this without the scope.

Required scope pos.cashiers.read
Success status200

Parameters

NameInTypeDescription
branch query string Required unless the key is bound to a branch.

Examples

Recorded from the test suite — these are real requests and their real responses.

curl -X GET 'https://api.flactrum.com/v1/pos/cashiers' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Accept: application/json'

HTTP 200 · application/json

{
    "data": [
        {
            "id": "01m43mzg13trvbkf9v238ttpzr",
            "name": "Ayşe Yılmaz",
            "pin_salt": "0waShup8yzXIi0YK",
            "pin_hash": "6ea9428afe6a49f4cbaf48f1f67872ea0ea1061701ab605b0b07ba75571e8154",
            "permissions": [
                "pos.use",
                "pos.discount",
                "cash.void_refund",
                "cash.close",
                "table.transfer",
                "table.void"
            ]
        }
    ],
    "meta": {
        "count": 1,
        "pin_length": 6
    }
}