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 requiresPAYMENTS_WRITE.
Use the official CancelPaymentByIdempotencyKey reference for provider field semantics and limits.
Output
Returns the officialSquare.CancelPaymentByIdempotencyKeyResponse response as a codec-safe object. Square integer money amounts remain bigint values.