Skip to main content
square.onInvoiceRefunded subscribes to invoice.refunded for the selected seller. It requires INVOICES_READ.

Example

automations/square-on-invoice-refunded.automation.ts

Event

A refund was processed for an invoice. The signal resolves to the official Square.InvoiceRefundedEvent payload with type narrowed to invoice.refunded.