NeroPay Docs
API & Integrations

Cashiers and POS Staff

Commerce

Cashiers and POS Staff

Manage staff access data used by NeroPOS and terminal workflows.

CashiersPOS staffRoles

Cashiers and POS staff

MethodEndpointPurpose
GET/pos-staffsList POS staff.
POST/pos-staffsCreate POS staff.
PATCH/pos-staffs/{id}Update staff where enabled.
DELETE/pos-staffs/{id}Remove staff where enabled.
GET/cashiersList cashiers where enabled.
POST/cashiersCreate cashier where enabled.
ParameterTypeRequiredDescription
namestringYesStaff member display name.
emailemail stringOptionalStaff email address.
pinstringOptionalStaff PIN where your POS workflow supports it.
rolestringOptionalRole such as cashier, manager or staff.
is_activeboolean/integerOptionalWhether staff member is active.
 'POST',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . $secretKey,
        'Accept: application/json',
        'Content-Type: application/json',
        'X-NeroPay-Timestamp: ' . $timestamp,
        'X-NeroPay-Signature: ' . $signature,
        'Idempotency-Key: ' . bin2hex(random_bytes(16)),
    ],
    CURLOPT_POSTFIELDS => $rawBody,
]);

$response = curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);

echo $response;
{
  "success": true,
  "data": {
    "id": 1201,
    "name": "Alex Cashier",
    "email": "alex@example.com",
    "role": "cashier",
    "is_active": 1
  }
}
 true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . $secretKey,
        'Accept: application/json',
    ],
]);

$response = curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);

echo $response;
{
  "success": true,
  "data": [
    {
      "id": 1201,
      "name": "Alex Cashier",
      "role": "cashier",
      "is_active": 1
    }
  ]
}