With the development of information technology modern customers can make payments for any purchase with no barriers. However, it also brings about some potential financial harms. In fact, the seller cannot check whether the buyer is the cardholder due to the fact that both of them are not necessarily present at the place of purchase. Accordingly, frauds involving credit card use are becoming increasingly. In this study, we focus on how to detect this kind of fraud with machine learning, namely Artificial Neural Network and Support Vector Machine modes. Then, some com-parisons between the effectiveness of the two methods with the Paysim dataset. The results showed that the artificial neural network model was better with an accuracy of 99%).