With the development of QRIS, transaction traces that record user behaviour can be maintained, but retail merchants rarely utilise them to anticipate changing customer behaviour. In predicting the shift in user behaviour segments of QRIS at PMart, this study compares Extreme Gradient Boosting (XGBoost) and Support Vector Machine (SVM). Segments were formed using K-Means from RFM (Recency, Frequency, and Monetary), which were recalculated every month with a three-month window. The status of segment movement for the following month is up, stable, or down, and is predicted using dynamic RFM features and their derivatives. In the simulation data, which contains 66,158 transactions from 1,168 users, both models were validated temporally, tuned with Optuna, tested with the McNemar test and bootstrap, and explained with SHAP. Three active segments were formed, and only 63.3% of observations remained in their segments from month to month. XGBoost had a lower error (p < 0.001), but the macro-F1 difference was not significant. SVM achieved a macro-F1 of 0.612 and an MCC of 0.488. SVM is more sensitive to high-value users who are moving down the segment (recall 76.3% versus 60.7%). The explanations of both models are consistent; the main driving factors for segment migration are frequency, shopping trends, and frequency (Spearman ρ = 0.868). This framework can be used as a basis for an early warning system for customer retention in QRIS stores.
Copyrights © 2026