Skip to main content
square.onInvoiceScheduledChargeFailed subscribes to invoice.scheduled_charge_failed for the selected seller. It requires INVOICES_READ.

Example

automations/square-on-invoice-scheduled-charge-failed.automation.ts

Event

A scheduled automatic payment has failed. The signal resolves to the official Square.InvoiceScheduledChargeFailedEvent payload with type narrowed to invoice.scheduled_charge_failed.