All work

Risk & Financial MLLeading CEE e-commerce platform

Credit scoring and automated limits for buy-now-pay-later

A production credit-scoring system sets eligibility and purchasing limits for a deferred-payment product. ROC-AUC is 0.93, and enabled customers generated nearly 10% of home-market monthly revenue.

ROC-AUC on customer-level default risk
0.93
of home-market monthly revenue from enabled customers
~10%

The problem

An e-commerce platform offers eligible customers deferred-payment and installment options. The product needed automated decisioning that could expand access to credit while keeping default exposure within strict risk limits. Predicting default was only part of the task. The system also had to support operational decisions: eligibility, purchasing limits, consolidation of accounts that belong to the same customer, and periodic limit updates across a large customer base.

What was built

The team built a production credit-scoring system that estimates customer-level default risk from purchasing behavior, payment history, previous credit activity, order characteristics and broader customer attributes. Probability outputs translate into operational risk segments and purchasing limits, with thresholds calibrated against the maximum level of acceptable credit losses.

Key engineering decisions:

  • Distributed feature engineering and preprocessing in PySpark
  • Temporal training and validation sets designed to prevent future-data leakage
  • Automated hyperparameter optimization and feature elimination
  • Multiple accounts resolved into consolidated customer identities
  • Kafka integration to send customer and limit updates to operational systems

Scores were recalculated weekly. Delta-based processing sent only new or modified decisions downstream, which reduced unnecessary data movement and simplified integration with the product's services. Feature-importance and threshold analysis supported explainability and validation.

Results

The model reached a ROC-AUC of 0.93 and was integrated into the product's decisioning process. The scoring system became a central component of the deferred-payment product in the platform's home market. Customers enabled through the product generated nearly 10% of the platform's home-market monthly revenue, which shows the model supported both risk control and commercial growth. The architecture was designed to support expansion to further markets and reuse across additional businesses and platforms.

Where it applies

The same end-to-end approach applies to any credit product that needs data engineering, statistical modeling, risk-policy calibration, production deployment and integration with transactional systems.

Delivered by Peak AI’s engineers, including in roles held before Peak AI. The organization is described rather than named, and sensitive details are left out.

Have a POC that needs to become a product?

Tell us what you are shipping. You will talk to the engineers who would build it.