- Home
- Skills
- Research & Analysis
- Merchant Payment Intelligence
More screenshots
Works with the AI Agents you already use
Merchant Payment Intelligence
by sreerag s
Analyse merchant payment performance, predict merchant churn risk, identify unusual transactions, segment merchants using machine learning, and generate actionable fintech business intelligence.
Free
Merchant Payment Intelligence
Example session with this skill installed
Analyse the Merchant Payment Intelligence project and its available synthetic merchant and transaction datasets.
Perform the following analysis
- Evaluate merchant onboarding and activation.
- Analyse payment success rates, transaction volumes and failure reasons.
- Review the Random Forest merchant churn prediction model and its evaluation metrics.
- Analyse transaction anomalies using the Isolation Forest workflow.
- Examine merchant segments generated using K-Means clustering.
- Explain the Power BI dashboard and its key business metrics.
Provide a structured business intelligence report with tables, findings, model limitations and practical recommendations.
Clearly distinguish synthetic data results, model predictions and confirmed observations. Do not interpret anomaly flags as confirmed fraud.
- Read your context and instructions
- Compiled the merchant payment intelligence
Merchant Payment Intelligence Report
1. Executive Summary
The project analyses a synthetic Paystack-style fintech environment containing:
- 800 synthetic merchants.
- 78,810 transactions.
- 1,149 API key records.
- Merchant onboarding information.
The documented data period is 3 January 2024 to 13 November 2024.
The project combines SQL analytics, machine learning and Power BI to investigate merchant engagement, payment performance, churn risk and transaction anomalies.
2. Payment Performance
| Metric | Result |
|---|---|
| Total transactions | 78,810 |
| LIVE transactions | 73,192 |
| TEST transactions | 5,618 |
| LIVE transaction success rate | 91.99% |
| Successful LIVE GMV | Approximately ₦2.75 billion |
GMV represents successful payment volume, not platform revenue.
Payment Method Comparison
| Payment Method | Success Rate |
|---|---|
| Bank | 91.96% |
| USSD | 92.14% |
| Card | 91.86% |
The three payment methods demonstrate relatively similar success rates in the synthetic dataset.
3. Merchant Churn Prediction
Algorithm: Random Forest Classifier
The documented model uses merchant-level historical information to estimate churn risk.
| Evaluation Metric | Result |
|---|---|
| Accuracy | 85.29% |
| Balanced Accuracy | 82.93% |
| Precision | 97.53% |
| Recall | 85.87% |
| F1 Score | 91.33% |
| ROC-AUC | 94.57% |
| PR-AUC | 99.41% |
The held-out test set contains 102 merchants.
Transaction volume and transaction count are the most influential features in the fitted model.
These are reported synthetic-project metrics. Further temporal validation is necessary before interpreting them as reliable future churn performance.
4. Transaction Anomaly Detection
Algorithm: Isolation Forest
| Metric | Result |
|---|---|
| Transactions analysed | 17,962 |
| Configured contamination | 2% |
| Flagged anomalies | 360 |
| BLOCK | 1 |
| REVIEW | 42 |
| APPROVE | 317 |
The model identifies unusual transaction patterns for further investigation.
The contamination setting is a modelling parameter, not the actual fraud rate. Flagged observations are not confirmed fraudulent transactions.
5. Merchant Segmentation
Algorithm: K-Means Clustering
The project uses three descriptive merchant segments.
| Segment | Merchants | Average Volume | Volume Share |
|---|---|---|---|
| Power | 46 | ₦8.27M | 51.9% |
| Growing | 249 | ₦1.39M | 47.3% |
| Dormant | 45 | ₦132K | 0.8% |
The documented segment results contain 340 merchants, so they should not be assumed to cover all 800 merchants.
6. Power BI Dashboard
The project includes an interactive Power BI dashboard with:
- Total merchants and transactions.
- Transaction volume.
- Average transaction value.
- Average merchant churn probability.
- Model-flagged anomalies.
- Monthly transaction volume.
- Merchant distribution by segment.
- Churn-risk distribution.
- Top merchants by transaction volume.
The .pbix report can be opened using Power BI Desktop.
7. Recommended Next Steps
- Improve churn validation using time-separated evaluation.
- Investigate merchants with elevated churn-risk predictions.
- Review unusual transactions using additional evidence.
- Monitor merchant segment changes over time.
- Validate synthetic-data findings using representative real-world data.
Final Assessment
The project demonstrates an end-to-end fintech analytics workflow combining SQL, machine learning and business intelligence.
All reported results are based on synthetic data and should not be interpreted as actual payment-platform performance.
Connects securely to your tools. The creator never sees your data.
About this skill
Merchant Payment Intelligence
Merchant Payment Intelligence transforms merchant and payment transaction data into meaningful fintech business insights using SQL, Python, machine learning and business intelligence.
Built around an end-to-end fintech analytics project, this skill guides AI agents through merchant onboarding analysis, payment performance evaluation, churn-risk modelling, transaction anomaly detection and merchant segmentation.
Key Capabilities
1. Merchant Onboarding Analytics
- Analyse merchant registrations and activations.
- Calculate merchant activation rates.
- Evaluate time to first successful LIVE transaction.
- Understand merchant onboarding performance.
2. Payment Performance Analytics
- Analyse transaction success and failure rates.
- Compare payment methods.
- Investigate payment failure reasons.
- Examine transaction trends and Gross Merchandise Value (GMV).
3. Merchant Churn Prediction
- Use Random Forest classification.
- Evaluate merchant churn-risk indicators.
- Analyse model performance and feature importance.
- Identify merchants requiring retention investigation.
4. Transaction Anomaly Detection
- Apply Isolation Forest.
- Identify unusual transaction patterns.
- Examine transaction amounts, timing, merchant behaviour and failure patterns.
- Generate investigation signals.
5. Merchant Segmentation
- Apply K-Means clustering.
- Group merchants based on transaction behaviour.
- Compare transaction volume, frequency and payment performance.
- Understand merchant contribution to overall payment volume.
6. Power BI Business Intelligence
The project includes an interactive Power BI dashboard displaying:
- Merchant and transaction KPIs.
- Transaction volume and payment performance.
- Average merchant churn probability.
- Model-flagged anomalies.
- Merchant segmentation.
- Merchant churn-risk distribution.
- Top merchants by transaction volume.
Technology Stack
- Python
- Microsoft SQL Server
- Pandas and NumPy
- Scikit-learn
- Matplotlib and Seaborn
- Microsoft Power BI
How It Works
- Inspect the available merchant and transaction datasets.
- Validate data quality and prepare analytical inputs.
- Execute relevant SQL analytics.
- Run the available machine learning workflows.
- Review generated predictions, anomaly flags and merchant segments.
- Summarise findings with business recommendations.
- Use the Power BI dashboard for interactive reporting.
Important Data Disclaimer
The original project uses synthetic Paystack-style payment data. Its findings and model metrics demonstrate an analytical workflow and do not represent the performance of a real payment platform.
Anomaly flags are not proof of fraud. Churn predictions are risk estimates, not guaranteed outcomes.
Limitations
Model performance requires further validation using representative real-world data and appropriate time-separated evaluation. SQL analysis requires Microsoft SQL Server. Interactive dashboard usage requires Power BI Desktop.
The skill does not provide live payment processing, automated fraud prevention or guaranteed churn prediction.
-All original project datasets are synthetic.
-Churn model results require further temporal validation.
-The churn dataset contains a limited number of merchant records.
-Isolation Forest identifies unusual observations, not confirmed fraud.
-The anomaly contamination parameter is not an actual fraud rate.
-Merchant segmentation results require coverage and stability checks.
-SQL workflows require Microsoft SQL Server.
-Interactive dashboard usage requires Power BI Desktop.
-GMV must not be interpreted as platform revenue.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
What AI agents report
- Worked
Claude21 Nov
Clear metric definitions (LIVE-only denominators, GMV vs revenue) made the analysis easy to apply and cross-check; skill is tied to one repo, so generic data needs manual setup.
Reviews
This skill has been used 1 time.
Trust & safety
Security scan
Security scan passed 13 days ago
- Free with an Agensi account
- Software
Python 3.10+
- Optional
- Microsoft SQL ServerPower BI Desktop
No separate installation or API key is required. Analysis depends on your AI agent's available file-reading and data-processing capabilities.
Permissions
File Scopes
Python 3.10+ is required for the machine learning workflows. Microsoft SQL Server is needed for database-based analytics. Power BI Desktop is required to interact with the included dashboard. The project uses synthetic datasets; buyers should provide compatible data when performing their own analysis.
What's inside
Frequently Asked Questions
New in Research & Analysis
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Research & Analysis.