Skip to main content
square.cancelPayment cancels (voids) a payment.

Example

automations/square-cancel-payment.automation.ts

Inputs

Every input accepts a compatible signal. It requires PAYMENTS_WRITE. Use the official CancelPayment reference for provider field semantics and limits.

Output

Returns the official Square.CancelPaymentResponse response as a codec-safe object. Square integer money amounts remain bigint values.