476 B
476 B
POS-004 — Architect
Feature
POS API Phase 1: config, stores, terminals, sessions routes.
Design
Routes: GET/POST /pos/admin/stores, GET/POST /pos/admin/terminals, GET/pos/terminals/me, POST /pos/terminals/bind, GET /pos/config, GET /pos/sessions/me, POST /pos/sessions, POST /pos/sessions/:id/close. Auth: requireRole('admin') for admin routes; requireAnyRole(['admin','pos_manager','pos_cashier']) for terminal routes. Rate limits applied via existing framework.