Skip to main content
square.onDeviceCreated subscribes to device.created for the selected seller. It requires DEVICES_READ.

Example

automations/square-on-device-created.automation.ts

Event

A new Square Terminal was created. This means the Square Terminal has been associated with the given seller’s account. The signal resolves to the official Square.DeviceCreatedEvent payload with type narrowed to device.created.