square.cancelPayment cancels (voids) a payment.
Example
automations/square-cancel-payment.automation.ts
Inputs
Every input accepts a compatible signal. It requiresPAYMENTS_WRITE.
Use the official CancelPayment reference for provider field semantics and limits.
Output
Returns the officialSquare.CancelPaymentResponse response as a codec-safe object. Square integer money amounts remain bigint values.