Skip to main content
square.onPaymentUpdated subscribes to payment.updated for the selected seller. It requires PAYMENTS_READ.

Example

automations/square-on-payment-updated.automation.ts

Event

A Payment field was updated. For example, the payment.status or card_details.status field is updated when a payment is authorized, canceled, or completed. The signal resolves to the official Square.PaymentUpdatedEvent payload with type narrowed to payment.updated.