pos_ingest_transaction
Overlay a POS transaction onto camera footage to attach sales or refund data. Provide camera ID, transaction details, and confirm to create the event.
Instructions
Ingest a POS transaction overlay onto camera footage.
Route: POST /v1/pos/cameras/{id}/transactions (Fabric proxy).
WARNING: creates a footage overlay event with no documented rollback. This has its own
confirmation boundary and an idempotency guard; the POS write is never auto-retried.
host: console name, ID, or composite ID (MAC:numericId format).
camera_id: REQUIRED. Obtain it from list_cameras (its id field).
transaction: REQUIRED posTransactionRequest object. Must include type
('sale'|'refund'), externalId (per-camera unique idempotency/dedup key), and
amount; optional currency/lineItems/location/paymentTypes/timestamp pass through.
confirm: must be true to execute. Governed by UNIFI_PROTECT_MUTATIONS_ENABLED.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| confirm | No | ||
| camera_id | Yes | ||
| transaction | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||