square.onEvent subscribes to every current Square webhook event for the selected seller. It requests the combined OAuth permissions needed to deliver all supported event types.
Example
automations/square-on-event.automation.ts
Event
The signal resolves to the officialSquare.Event payload. Use a semantic trigger such as square.onPaymentCreated when you want a payload narrowed to one exact event interface.