Skip to main content
square.refundPayment refunds a payment.

Example

automations/square-refund-payment.automation.ts

Inputs

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

Output

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