In this paper we propose a two-stage credit risk scoring approach that can estimate the probability of default (PD) and profit of the loan, stage 1 is credit scoring and stage 2 is profit scoring. In stage 1, the stacked generalisation (stacking) approach is used to train the model. In stage 2, select the loans that are predicted to be non-default in the stage 1, generate a new data set, build a profit prediction model using the stacking algorithm, and introduce internal rate of return (IRR) as the measure of profitability. Finally, the profitability performance of the loan portfolio is studied based on the predicted value of profit. The experimental results show that the predictive performance of the two-stage credit risk modelling approach proposed in this study overcomes the existing methods, and can help investors choose the most profitable loans on the P2P platform.