square.onTerminalRefundCreated subscribes to terminal.refund.created for the selected seller. It requires PAYMENTS_READ.
Example
automations/square-on-terminal-refund-created.automation.ts
Event
A TerminalRefund request was created. The signal resolves to the officialSquare.TerminalRefundCreatedEvent payload with type narrowed to terminal.refund.created.