square webhook payment.update types code example Example: square webhook payment.update types APPROVED, COMPLETED, CANCELED, or FAILED.