Introduction

Energy is not only necessary for the survival and development of human society; it also has a significant impact on the stability and development of national economies (Guo et al. 2021). However, traditional energies such as fossil fuels are associated with issues of supply security, resource depletion, and environmental degradation (Mendonça et al. 2020). In addition, the carbon dioxide released by fossil fuel combustion has become the primary driver of global warming (Guo et al. 2021). In recent years, the world has reached a consensus on the reduction of carbon dioxide emissions, largely due to several imperatives, including the new 2030 Agenda for Sustainable Development (Fuso Nerini et al. 2018) and the Paris Agreement (Assi et al. 2021). Among important actions adopted, REC is an essential way of reducing carbon dioxide emissions for ensuring sustainability (Uzar 2020a; Akintande et al. 2020; Khribich et al. 2021; Chica-Olmo et al. 2020). However, the global consumption of renewable energy is still far from the target set by the Paris Agreement; therefore, increasing the consumption of renewable energy is necessary (Churchill et al. 2021).

Producing renewable energy requires massive investments (Hashemizadeh et al. 2021). Thus, many investors are reluctant to invest in renewable energy due to the high costs involved (Tsao et al. 2021). The decline in costs might play a significant role in the expansion of renewable energy technologies and the deployment of renewables (Timilsina 2021). Cost is considered one of the fundamental complications in choosing renewable energy (Hashemizadeh et al. 2021). Financially speaking, renewable energy projects are capital-intensive; thus, REC is constrained by financing sources (Ji and Zhang 2019). Furthermore, public investments cannot provide the funds required by renewable energy projects (Wang et al. 2021a). Therefore, REC is financial development driven in the long run (Eren et al. 2019).

In the past decade, financial services have undergone rapid innovations due to technological developments (Lucey et al. 2018; Xu et al. 2010, 2012). Digital finance technologies (e.g., the blockchain-facilitated services emphasized by the European Union and other global organizations) have made financial systems more accessible (Aziz and Naima 2021; Xu et al. 2019; Zhao et al. 2016). Among others, information technology (IT) is one type of technology that has facilitated market transformation (e.g., Chen et al. 2021; Lang and Li 2013; Lang et al. 2015; Pelaez and Lang 2016). In China, for example, digital finance has undergone rapid development in the past decade due to advancements in Big Data, cloud computing, and other forms of IT (Yu et al. 2020; Li et al. 2020). Between 2009 and 2018, the volume of China’s third-party mobile payment transactions increased from 39 billion yuan to 190.5 trillion yuan (Dong et al. 2020). Digital finance has not only become an indispensable part of China’s financial system (Li et al. 2020), it also helps decrease the degree of information asymmetry, increase trust between borrowers and savers, reduce borrowing costs, improve the availability of financial services, and narrow financing gaps (Qadir et al. 2021; Assi et al. 2021). Studies have also shown that access to digital finance can significantly increase household consumption (Song et al. 2020; Li et al. 2020).

However, to our knowledge, only a few studies have examined the impacts of digital finance on REC. Digital finance is not a supplementary tool for traditional finance methods; rather, it is a kind of facilitator that helps increase people’s motivation and capability in new types and targets of consumptions (Barbesino et al. 2005; Gomber et al. 2017; Hasan et al. 2020; Li et al. 2020; Ma and Liu 2017), such as REC. Thus, this topic should be researched systematically from diverse disciplines and economies at different life stages. To fill the research gap, the current study examines the impacts of digital finance on REC in China from 2011 to 2018, as well as deeply explores the influencing mechanisms involved. We adopted a two-way fixed effects model for the analyses.

The remainder of the paper is organized as follows. Literature review and theoretical mechanism section presents the relevant literature and theoretical mechanisms related to the connection between renewable energy consumption and digital finance. Data and methodology section describes the data and the research methodology. Empirical results section presents the empirical results. Conclusion section provides the conclusions.

Literature review and theoretical mechanism

Renewable energy consumption and its impacts

Most of the energy consumed by human society comes from fossil fuels, which are expected to continue to dominate the global energy structure for at least the next 30 years. However, the emission of carbon dioxide from fossil fuel consumption appears to be a major challenge to environmental sustainability (Assi et al. 2021). In the past two decades, the energy market has undergone a progressive energy transition (Creti and Nguyen 2018), and many countries are increasing their production of renewable energy (Guo et al. 2021). Various forms of renewable energy, such as wind, geothermal, solar, and biomass, are all strategic choices for achieving sustainable development goals (Burke and Stephens 2018; Cai and Menegaki 2019; Khribich et al. 2021). With significant global policy support and the reduction of associated costs, the share of renewable energy in the total energy consumed has increased year on year (Creti and Nguyen 2018; Berk et al. 2020).

As REC continues to increase, the nexus between such consumption and the economic impacts has attracted much research attention (Wang et al. 2021a). Related to this, Hamit-Haggar (2016) reported a cointegrated relationship between REC and economic growth. Akram et al. (2021) examined the heterogeneous impacts of energy efficiency and REC on the economic growth of the BRICS countries, that is, Brazil, Russia, India, China, and South Africa and found that economic growth is affected by REC and vice versa. Sharma et al. (2021) argued that the transition to renewable energy is not economically feasible in the short term; however, REC has a positive impact on economic growth after a certain period. Apart from its economic impacts, REC is crucial to reducing carbon dioxide emissions, fog, and haze, and can also promote green industrial development (Liu et al. 2021; Zeng et al. 2021). Moreover, renewable energy can reduce conventional energy use and help solve the global energy crisis (Zahari and Esa 2016; Elavarasan 2019).

Renewable energy consumption and its determinants

Many studies have focused on the determinants of REC. Macroeconomic and environmental variables, such as economic growth and carbon emissions, are essential factors that affect REC (Hashemizadeh et al. 2021; Uzar 2020b). Li and Leung (2021) have found that economic growth can increase REC in the long run, while Assi et al. (2021) have shown that economic growth increases REC when renewable energy activities drive economic growth. Past studies have also found conflicting results regarding the effect of carbon dioxide emissions on REC. In particular, some studies have reported that rising carbon dioxide emissions increase this consumption (e.g., Nguyen and Kakinaka 2019), while others have shown the opposite (e.g., Khan et al. 2020).

Social factors also affect REC. For instance, social development contributes significantly to REC in the long run (Khribich et al. 2021), while human capital has a significantly positive impact on REC in OECD economies (Yao et al. 2019). According to Uzar (2020b), institutional quality positively affects REC. Churchill et al. (2021) investigated income inequality and REC for a panel of 17 nations between 1995 and 2002 and found a negative relationship between the two.

Renewable energy can be considered a normal commodity, and the reduction in renewable energy generation cost has attracted private players to join the market (Tsao et al. 2021). Knowledge of renewable energy, environmental education, household income, and financial beliefs have been shown to be positively associated with renewable energy deployment, thus shaping the future of renewable energy adaptation (Liu et al. 2013; Fleiß et al. 2017; Al-Marri et al. 2018; Skordoulis et al. 2020). Enhancing knowledge and understanding of renewable energy environmental benefits is conducive to increasing renewable energy use. In fact, studies have shown that residents with higher income levels and greater financial belief about low-cost renewable energy use are more likely to use renewable energy (Liu et al. 2013; Fleiß et al. 2017).

However, financing is a significant hurdle in realizing the transition to renewable energy and climate change mitigation (Qadir et al. 2021; Elie et al. 2021). Renewable energy deployment requires massive financial support due to the high start-up costs and long payback periods of renewable energy projects (Asongu and Odhiambo 2021). Related to this, the development of the financial market can remove the constraints that restrict the financing of renewable energy and facilitate the transition from fossil fuels to renewable energy (Kimura et al. 2016; Best 2017). Thus, in the long run, REC is driven by financial development and increases with the availability of financial services and additional foreign capital flows into the economy (Eren et al. 2019; Qamruzzaman and Jianguo 2020). However, there is no consensus in the literature on the impacts of financial development on REC.

Among some studies that investigated this topic, Kim and Park (2016) concluded that improvements in financial sectors are a significant determinant of renewable energy deployment. Ji and Zhang (2019) reported that financial development is critical to the growth of renewable energy in China, with a contribution rate of 42.42%. Asongu and Odhiambo (2021) concluded that financial development can promote economic growth and, therefore, promote REC. Zhao et al. (2020) indicated that financial development is an essential factor driving REC in China, while Anton and Afloarei Nucu (2020) reported that the banking sector, bond market, and capital market have a positive impact on REC. Meanwhile, foreign direct investments (FDIs) are generally recognized as an essential source of financing (Paramati et al. 2016). In particular, Yilanci et al. (2019) reported that FDI inflows boost REC in China, while Paramati et al. (2016) found that both FDI inflows and the development of the stock market have a significant positive impact on REC. However, Wang et al. (2021a) and Assi et al. (2021) reported that financial development negatively impacts REC. Furthermore, Hashemizadeh et al. (2021) found a negative relationship between public debt and REC.

As mentioned previously, financial development is an important factor affecting REC. Financial development can fund research and development activities in the renewable energy field, which, in turn, encourage the development of innovations to find new sources of renewable energy, thus increasing REC (Assi et al. 2021; Wang et al. 2021a). Financial development reduces the investment costs of renewable energy investment projects (Shahbaz et al. 2021), making it possible to offer debt and equity funding to finance the renewables industry at lower costs. Furthermore, financial development is positively correlated with the volume of renewable energy investments (Köksal et al. 2021), thereby boosting the demand for renewable energy (Lahiani et al. 2021; Anton and Afloarei Nucu 2020). Financial development also plays an important role in allocating capital to the renewable energy sector, which can further promote constructing renewable infrastructures and increase REC (Assi et al. 2021).

Digital finance and renewable energy consumption

Digital finance is a convenient financial service that can be accessed via a mobile phone, a personal computer, or any other Internet-connected device (Ozili 2018; Gomber et al. 2017). With the deep integration between Internet technology and finance, and driven by emerging technologies such as Big Data and artificial intelligence, digital finance is gradually becoming an indispensable part of the financial system (Li et al. 2020; Yu et al. 2020). Digital finance includes various innovative products, such as online loans, mobile payments, Internet insurance, and Internet investment, thus affecting household consumption in many ways. Several studies have focused on the connection between digital finance and household consumption. Among others, digital finance enables the cascade of information to be strengthened through direct access to social networks (Meoli and Vismara 2021), increases the possibility of matching the financial demand side with the financial supply side, expands the channels for obtaining funds, and relieves households from credit constraints, thus increasing household consumption. It also promotes household consumption in other ways. For example, it combines emerging digital payment technology with mobile phone technology (Aziz and Naima 2021), which improves payment efficiency and reduces transaction time and costs. Additionally, digital finance upgrades the traditional insurance service mode and improves insurance accessibility. It can also expand the range of investment, increase the rates of investment returns, and promote the growth of household wealth (Li et al. 2020; Bollaert et al. 2021; Muganyi et al. 2021). Furthermore, Li et al. (2020) concluded that digital finance promotes household consumption. Similarly, Song et al. (2020) demonstrated that it promotes household consumption more than traditional finance and that it has the most significant impact on durable consumption.

The Chinese government has backed the opening of the power retail market since 2015. This strategy has benefited distribution generators, including solar photovoltaics (PV) producers (Zhang 2016). The proportion of distributed solar PV systems to the total cumulative capacity increased from 13% in 2016 to 31% in 2019 (Wang et al. 2021b). At present, there are three business models for household solar PV projects in China: self-sufficiency, selling electricity to the Power Grid, and selling the surplus to the Power Grid after consumption (Shuai et al. 2019). The investment costs for distributed solar PVs include initial investment costs, inverter replacement costs, and maintenance costs (Yang et al. 2020). Having a better economic situation that can afford the relatively high costs of distributed solar PV systems can provide a solid foundation for REC (Wang et al. 2021b). Related to this, digital finance provides an excellent channel for the public to invest in distributed solar PV projects (Zhang 2016), thus promoting REC.

However, there is a lack of research on the relationship between digital finance and REC. Furthermore, only a few empirical studies have explored the effects of economic growth, technological progress, and carbon emissions on REC in China. Therefore, this study aims to fill these research gaps. Its main objective is to empirically investigate whether digital finance promoted REC in China between 2011 and 2018 using a two-way fixed effects model. To make our results comparable to the literature, we use control variables, including economic growth, technological progress, and carbon dioxide emissions, to capture the effects of economics, technology, and the environment on REC. We demonstrate that digital finance is a crucial determinant of REC apart from economic, technological, and environmental factors. Digitization can bring new financial resources to the financial system and help increase the accessibility of financial services (Arner et al. 2020). Furthermore, it can reduce the cost of financial services and expand the breadth and depth of financial services. Therefore, we argue that digital finance reduces the financing constraints for renewable energy enterprises and consumers; thus, the development of digital finance can promote the use of renewable energy in China.

Theoretical mechanism

At present, renewable energy can be generated at households, villages, and buildings. The renewable energy supply depends heavily upon the rapid emergence of distributed energy systems (Tsao et al. 2021; Wolsink 2020). However, renewable energy products may not always be affordable to low-income households (IRENA and CPI 2020). Related to this, digital finance may influence REC via the following two pathways (Fig. 1).

Fig. 1
figure 1

Mediating effect mechanism

First, digital finance boosts REC by increasing loan scale. Chinese residents cannot easily obtain loans via traditional financial markets and often face liquidity constraints (Zhang et al. 2021). The FinTech has been found to provide new capital forms through digital loans (Croutzet and Dabbous 2021). Digital finance changed the traditional mode of credit services, relieved Chinese residents from the constraints of credit, and stimulated consumption (Li et al. 2020; Song et al. 2020). Meanwhile, one of the biggest obstacles to deploying renewable energy is its high upfront capital costs (Kim and Park 2016). A household’s ability to invest in and have access to renewable energy has been shown to increase with the widespread availability of credit (Kara et al. 2021). Developments in credit markets can increase the demand for renewable energy (Shahbaz et al. 2021). Therefore, digital finance can provide loans for people who are excluded from the traditional financial market, thereby boosting their ability to engage in REC.

Second, digital finance increases REC by improving income levels. The development of digital finance has greatly reduced information asymmetry, lowered transaction costs, improved the efficiency of financial services, and significantly promoted the upgrade of traditional financial companies. Digital finance can also increase the rate of return on investment and provide channels for residents to increase their property incomes (Li et al. 2020). Even though higher start-up and operating costs are financial obstacles that must be overcome in renewable energy investments (Eren et al. 2019), digital finance development can encourage renewable energy investment and renewable energy generation (Li et al. 2021). Citizen participation is also important in decentralized renewable energy infrastructures, especially within the context of solar and onshore wind energy (Yildiz 2014). Income is expected to contribute significantly to renewable energy investment and consumption. Therefore, by increasing residents’ disposable income, the development of digital finance promotes REC.

Data and methodology

Sample and data

In recent decades, China’s economic development has achieved remarkable results, and energy-intensive industries have played a vital role in this development (Huang et al. 2021). However, to achieve rapid economic growth, China consumes large amounts of fossil energy and emits massive amounts of carbon dioxide (Pei et al. 2019; Xue and Wang 2021). In 2007, China surpassed the United States to become the world’s largest emitter of carbon dioxide. Environmental pollution has thus become increasingly prominent in China, and the subsequent ecological deterioration causes large economic losses to the country every year (Han et al. 2021). Therefore, maintaining environmental sustainability has become a fundamental challenge for China (Gan et al. 2020). Meanwhile, the reduction of the country’s carbon emissions has become a focus of the international community. In response, Chinese policymakers have implemented a series of measures to reduce carbon dioxide emissions (Wang et al. 2018). For example, on June 30, 2015, the Chinese government implemented the “Enhanced Actions on Climate Change” policy, which aims to reduce China’s carbon intensity in 2030 by about 60–65% lower than that in 2005 (Hou et al. 2018). REC plays a prominent role in China’s strategy for reducing carbon emissions (Bao and Xu 2019). Since 2000, the Chinese government has accelerated the adoption of renewable energy and has identified the renewable energy industry as one of its seven “strategic emerging industries” (Cheng and Yao 2021; Yu et al. 2021b; Cui et al. 2021). With the development of China’s renewable energy industry, the country has increased its exportation of renewable energy products (Jing et al. 2020). However, the diffusion of renewable energy technologies in the country remains slow, investments in renewable energy are relatively low compared to most developed countries, and the share of renewable energy remains small (Chen and Lin 2020). Thus, the national government has pledged to increase the share of renewable energy in the country to 50% by 2030 (Wang et al. 2021a). Indeed, there is an urgent need to promote the development of renewable energy in China, as increasing its share in total energy consumption is essential for reducing carbon dioxide emissions and maintaining long- and short-term sustainable development (Wang et al. 2021a; Zaman et al. 2021). Therefore, this paper selects China as its sample country.

For this study, we use panel data from 30 Chinese provinces, autonomous regions, and municipalities (except for Tibet, Hong Kong, Macao, and Taiwan) from 2011 to 2018. The sample period of 2011–2018 is selected based on the availability of digital finance data. The sample provinces include Beijing, Fujian, Guangdong, Hainan, Hebei, Jiangsu, Liaoning, Shandong, Shanghai, Tianjin, Zhejiang, Anhui, Guangxi, Heilongjiang, Henan, Hubei, Hunan, Inner Mongolia, Jiangxi, Jilin, Shanxi, Chongqing, Gansu, Guizhou, Ningxia, Qinghai, Shanxi, Sichuan, Xinjiang, and Yunnan.

The explained variable is the per capita REC. The total electricity generation (kWh) from renewable energy, including solar, wind, and nuclear power, is used to measure REC. Data on REC and population are collected from the China Energy Statistics Yearbook (various issues) and China Statistical Yearbook (various issues).

The core explanatory variable is digital finance. We use the provincial digital finance indexes developed by the Institute of Digital Finance of Peking University, the Shanghai Finance Institute, and the Ant Financial Services Group to reflect the development of digital finance in China (Li et al. 2020; Guo et al. 2020). Given that digital finance in the country has three levels, we not only examine the impact of the general index of digital finance (GDF) on REC but the impacts of different indexes of digital finance on REC as well. We achieve the latter by using second-level indexes, including coverage-breadth index of digital finance (BDF) and a use-depth index of digital finance (DDF), and third-level indexes, including a payment index of digital finance (PDF), a credit index of digital finance (CDF), and an insurance index of digital finance (IDF).

Economic growth and technological progress are used as control variables, as these are the primary factors that affect REC. When regional economic growth is higher, the economic cost required to develop renewable energy is more likely to decrease, which is conducive to the promotion of REC (Wang and Wang 2020). Technological progress is a significant driver of the increase in renewable energy supply and is crucial for the development and consumption of renewable energy (Zheng et al. 2021). In this study, the per capita GDP (PGDP) and the number of patent applications (TP) are used to measure economic growth and technological progress, respectively. These figures are collected from the China Statistical Yearbook (various issues).

Additionally, as higher carbon dioxide emissions may lead to better emissions reduction policies, which encourage REC (Nguyen and Kakinaka 2019), we use carbon dioxide emissions as another control variable for REC. Carbon dioxide emissions data are collected from the China Emission Accounts and Datasets.

Loan scale and income level are used as mediation variables. Specifically, the per capita loans and per capita disposable income of residents are used to depict loan scale and income level, respectively. The data on loans, per capita disposable income, and population are collected from the China Statistical Yearbook (various issues). As the data on the per capita disposable income of residents are incomplete, we replace them with data on the per capita disposable income of urban residents.

Table 1 shows a summary of the descriptive statistics of the variables. For example, REC ranges 0–4134.078, with a mean of 422.164 and a standard deviation of 628.879, while the GDF ranges 18.33–377.73, with a mean of 188.186 and a standard deviation of 84.980.

Table 1 Summary statistics

According to previous studies, REC is influenced by digital finance, economic growth, technological progress, and carbon dioxide emissions. To ensure data stability, all data are processed logarithmically. Table 2 shows the results of the multicollinearity analyses of lnREC, lnGDF, lnPGDP, lnTP, and lnCO2; the correlations are small and acceptable, and there is no multicollinearity problem in the data. Moreover, lnBDF, lnDDF, lnPDF, lnCDF, and lnIDF have no multicollinearity problems with lnREC, lnPGDP, lnTP, and lnCO2.

Table 2 Multicollinearity analysis of independent variables

Methodology

The optimal model of panel data estimation is selected by the F-test and Hausman’s specification test. F-tests are performed to identify the suitable model (pooled regression vs. fixed effects) for estimation. The values of the F-tests are significant at the 1% level, and the fixed effects model is a better estimation. Hausman’s tests are performed to identify the suitable model (fixed effects vs. random effects) for estimation. The null-hypothesis of difference in coefficients is not systematic (random effects) in the Hausman test and is thus rejected. The results show that the fixed effects model best fits the data. Therefore, we use the following basic model to test the impact of digital finance on REC:

$${lnREC}_{it}={\beta }_{0}+{\beta }_{1}{lnDF}_{it}{+\beta }_{2}ln{PGDP}_{it}{+\beta }_{3}{lnTP}_{it}{+\beta }_{4}{lnCO}_{2it}+{\mu }_{i}+{\gamma }_{i}+{\varepsilon }_{it},$$
(1)

where the subscripts i and t denote the province and year, respectively; β1, β2, β3, and β4 are the parameters to be estimated; β0is a constant; μi represents an unknown province-specific constant; γi represents an unknown year-specific constant; and εit is a random error term that captures factors not included in the model variables, which affect REC. The results are estimated with a two-way fixed effects model that accounts for individual and year fixed effects.

Next, the following mediating model is constructed to further test whether digital finance can promote REC by affecting the loan scale and income level:

$${lnREC}_{it}={\beta }_{0}+{\beta }_{1}{lnDF}_{it}{+\beta }_{2}ln{PGDP}_{it}{+\beta }_{3}{lnTP}_{it}{+\beta }_{4}{lnCO}_{2it}+{\mu }_{i}+{\gamma }_{i}+{\varepsilon }_{it},$$
(2)
$${lnMED}_{it}={\alpha }_{0}+{\alpha }_{1}{lnDF}_{it}{+\alpha }_{2}ln{PGDP}_{it}{+\alpha }_{3}{lnTP}_{it}{+\alpha }_{4}{lnCO}_{2it}+{\mu }_{i}+{\gamma }_{i}+{\varepsilon }_{it},$$
(3)
$${lnREC}_{it}={\lambda }_{0}+{\lambda }_{1}{lnDF}_{it}{+{\lambda }_{2}{lnMED}_{it}+\lambda }_{3}ln{PGDP}_{it}{+\lambda }_{4}{lnTP}_{it}{+\lambda }_{5}{lnCO}_{2it}+{\mu }_{i}+{\gamma }_{i}+{\varepsilon }_{it}.$$
(4)

In the mediating models (2–4), loan scale and income level are mediation variables; β1 and λ1 represent the total impact and the direct impact of digital finance on REC, respectively; α1 measures the impact of digital finance on loan scale and income level; and λ2 measures the impact of loan scale and income level on REC after controlling for digital finance. If the value of λ1 is lower than β1, loan scale and income level may serve as mediators in digital finance to boost REC. Furthermore, this indicates that there is a partial mediation effect.

Empirical results

Main estimation results

Table 3 reports the regression results for digital finance and REC in which the fixed effects model has been chosen by the F-test statistics and Hausman’s statistics. As shown in Table 3, the coefficient of digital finance significantly influences REC. In column (1), the coefficient of GDF is 0.968, indicating that digital finance promotes REC in China.

Table 3 Main estimation results

We also use the second- and third-level indexes of digital finance to examine the impact of digital finance on REC. The second-level indexes results are shown in columns (2) and (3). As can be seen, the coefficients of the BDF and the DDF are 0.632 and 1.289, respectively. This shows that the coverage breadth and usage depth of digital finance can promote REC.

The results for the third-level indexes are shown in columns (4)–(6). As can be seen, the coefficient of PDF is significant at 0.637. This indicates that digital finance facilitates the use of payment services, thus promoting REC. The coefficient of CDF is significant at 0.769. This indicates that digital finance promotes the acquisition of credit services, thereby promoting REC. The coefficient of IDF is significant at 0.005, thereby indicating that digital finance in insurance has little impact on REC. Overall, these results indicate that digital finance in credit has the most significant impact on REC.

The coefficients of PGDP are all significant and positive; thus indicating, that economic growth significantly improves REC. Furthermore, the higher the GDP per capita, the higher the level of REC will be. The coefficients of technological progress are all positive and significant, suggesting that technological progress can promote REC. However, the coefficients of CO2 are insignificant, as shown in columns (1)–(5), suggesting that the impact of carbon dioxide emissions on REC is non-existent.

Mechanism results

This section explores the possible channels and mechanisms through which digital finance may affect REC. The results shown in Main estimation results section indicate that, overall, digital finance has a positive impact on REC. Digital finance may influence REC through two channels: one is driven by loan scale, and the other is driven by income level. The larger the scale of credit, the better access companies and consumers are likely to have to avail of less costly financial capital. In turn, this can relieve them from the constraints of finance and boost the demand for renewable energy. Furthermore, as the development of digital finance broadens investment channels, this leads to higher-yielding digital financial products that promote investment and income for residents and subsequently increase REC. Therefore, we choose loan scale and income level as the mediation variables.

We use Eqs. (24) to estimate the mediation effect. The results are shown in Table 4. In general, digital finance is shown to indirectly affect REC via loan scale and income level. Columns (1–3) show the loan scale mediation effect, while columns (4–6) show the income level mediation effect. As can be seen, the coefficients of digital finance on REC (1.385, column [1]) and loan scale (0.128, column [2]) indicate that digital finance has positive impacts on REC and loan scale, respectively. Furthermore, the coefficient of digital finance on REC in column (3) is 1.109 (lower than that in column [1]), indicating that loan scale has a partial mediation effect. The result of the Sobel mediation effect test shows that 19.96% of the effect of digital finance on REC occurs through the scaling-up of loans. The coefficients of digital finance on income level (1.385 and 0.157 in columns [4] and [5], respectively) both indicate that the former positively affects the latter. The coefficient of digital finance on REC in column (6) is 1.108 (lower than that in column [4]), which shows that income level has a partial mediation effect. The result of the Sobel mediation shows that 20% of the effect of digital finance on REC is due to increasing income. Therefore, the mechanism results prove that loan scale and income level serve as mediation variables in the promoting effect of digital finance on REC.

Table 4 Mediation effects

Robustness checks

In this section, wind energy consumption is used as an alternative to REC for robustness testing. As data on wind energy consumption in China are only available from 2013, we examine the impact of digital finance on wind energy consumption from 2013 to 2018. The regression results are shown in Table 5. Columns (1–3) show the impacts of GDF, BDF, and DDF on wind energy consumption, respectively. As can be seen, the regression coefficients in columns (1–3) are all significantly positive, indicating that the higher the level of digital finance development, the higher the consumption of wind energy. Columns (4–6) show the impacts of PDF, CDF, and IDF on wind energy consumption. The results indicate that the regression coefficient of credit is significantly positive, whereas the regression coefficients of payment and insurance are insignificant. Thus, credit has the most significant impact on wind energy consumption. The results are consistent with Main estimation results.

Table 5 Robustness tests

Conclusion

The transition to renewable energy is essential in reducing the environmental pollution and climate change caused by fossil fuel consumption (Fan and Hao 2020; Huang et al. 2020). Public acceptance of renewable energy technologies and the consumption of renewable energy are affected by many factors (Irfan et al. 2021). Related to this, the development of finance plays a vital role in the consumption of renewable energy (Ali et al. 2018). The development of science and technology promotes the integration of finance and digital information. In recent years, digital finance has developed rapidly and has brought tremendous changes to human lives. Understanding the impact of digital finance on REC may provide an opportunity to promote the consumption of renewable energy. Therefore, this paper examines the influence of digital finance on REC in China from 2011 to 2018 and the underlying mechanisms. The results suggest that digital finance, as well as its coverage breadth and usage depth, significantly improved REC in China over the study period and that digital finance in the area of credit had the most significant impact. Moreover, the findings suggest that loan scale and income level are the main mediation variables, through which digital finance affects REC. These findings can help policymakers in developing economies, such as China, conceptualize strategies to promote the development of the renewable energy sector and the deployment of renewable energy, especially via digital finance.

We use a two-way fixed effects model to examine the impact of digital finance on REC. The results show that digital finance, as well as its coverage breadth and usage depth has a substantial positive impact on REC and that credit-based digital financial services have a greater impact on it than payment and insurance-based digital financial services. Thus, our findings reinforce the benefits of developing digital finance by indicating that such development can overcome the challenges of financing renewable energy and increasing REC. The results also suggest that the government should implement digital finance policies to acquire additional funding for renewable energy projects, which can increase REC. Additionally, the government should increase digital financial support for renewable energy projects and design innovative digital financial products to promote the development and consumption of renewable energy through efficient and low-cost financing channels (Yu et al. 2021a; Wang et al. 2021a; Polzin and Sanders 2020). Moreover, given the uneven development of digital finance across China, the government must promote the rapid development of digital finance in underdeveloped areas (Bai et al. 2021).

We use mediating models with loan scale and income level as mediation variables to investigate the mechanism and channels through which digital finance improves REC. The results show that the development of digital finance stimulates REC by increasing digital loans for the latter. Furthermore, the development of digital finance promotes the growth of residents’ incomes by expanding their available investment channels, thereby increasing REC. Hence, it may be beneficial for policymakers and governments to collaboratively develop policies that can increase digital loans and residents’ income, which, in turn, can lead to increased REC.

We also demonstrate that economic development and technological progress positively affect REC, suggesting that maintaining moderate economic growth and promoting technological progress is of great significance in promoting the latter. The demand for renewable energy is expected to increase in the future alongside economic development and technological progress. Therefore, governments must promote economic growth and increase the demand for renewable energy. Governments should also provide incentives to promote renewable energy technologies and remove the technical barriers that prohibit consumers from consuming renewable energy (Mendonça et al. 2020; Olanrewaju et al. 2019).

Notably, cost may be another mediating variable explaining the effect of digital finance on REC. However, due to the lack of cost data, cost is not analyzed in the mediating effect mechanism in this paper. Thus, we will select a more appropriate cost indicator of the mediating effect mechanism in our future research. Furthermore, we recommended future studies to incorporate heterogeneity analyses, which may produce more accurate results.