How much to refund, in the smallest currency unit (cents). At most the
payment total minus what is already refunded. currency defaults to the
client's defaultCurrency and must match the payment's.
Required. Square refunds once per key, so a retry with the same key cannot refund twice. At most 45 characters.
The payment to refund.
OptionalreasonWhy the payment is refunded, shown to the seller.
Options for
refunds.refundPayment().