Skip to content
CryptTellerPublic

About

Script to create auto-sorting of payments based on key factors

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Payment Provider Ranking & Routing Analytics

A Python analytical prototype for ranking payment methods by reliability, scale, user coverage and recent performance.

The notebook processes more than 2.2 million transaction records and creates separate rankings for deposits and withdrawals by license, country and payment method.

Business question

When several payment methods are available for the same market, which provider should be prioritized?

A simple success-rate ranking can be misleading when sample sizes differ significantly. This project therefore combines conversion/success metrics with transaction volume, amount, user coverage and recent performance.

What the notebook does

  • Combines multiple transaction datasets into one analytical layer.
  • Cleans and standardizes payment-provider data.
  • Separates deposit and withdrawal behavior.
  • Calculates success ratios, transaction counts, amounts and unique-user coverage.
  • Aggregates performance by License × Country × Paymethod.
  • Builds a 15-day rolling performance view alongside historical performance.
  • Normalizes volume metrics with MinMaxScaler.
  • Applies configurable business weights to create provider scores.
  • Combines historical and recent scores, with greater weight on current performance.
  • Produces ranked payment-method candidates for each market.

Analytical approach

The model intentionally avoids optimizing on a single KPI.

Provider quality is treated as a multi-factor decision:

success rate + transaction volume + successful transactions + transaction amount + unique users + market share

Historical performance is combined with a rolling window so that a provider with strong long-term results can still be downgraded when recent performance deteriorates.

Scale

The notebook loads 2,238,596 rows before cleaning and works with more than 2 million transactions after preprocessing.

Tech

Python · pandas · NumPy · scikit-learn · MinMaxScaler · Matplotlib · Seaborn

Data note

The source Excel datasets are not included. This repository is a historical portfolio example of the ranking logic and analytical workflow.

Open the notebook

About

Script to create auto-sorting of payments based on key factors

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages