Skip to main content
square.cancelPaymentByIdempotencyKey cancels (voids) a payment identified by the idempotency key that is specified in the request.

Example

automations/square-cancel-payment-by-idempotency-key.automation.ts

Inputs

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

Output

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