Overview
Aida is Yuno’s machine learning-based payment orchestration engine. It analyzes transaction patterns, provider performance, and card-level data to automatically route payments to the provider most likely to approve each transaction at the lowest cost. This guide walks you through implementing Aida from initial setup to full production optimization.How Aida Works
Aida uses a multi-factor ML model trained on your transaction history to predict approval probability for each provider on every transaction:Prediction Factors
Prerequisites
Before enabling Aida, ensure your account meets these requirements:Training Period Setup
Aida needs a baseline period to learn your transaction patterns before it can make optimized routing decisions.Phase 1: Baseline Collection (Days 1-30)
1
Enable data collection
Navigate to Settings > Smart Routing > Aida and enable Baseline Collection Mode.In this mode, Aida observes your transactions and builds its prediction models without changing any routing decisions. Your existing routing rules remain in full control.
2
Verify data quality
After 7 days, check Dashboard > AI > Aida > Training Status to confirm:
- Transaction data is flowing correctly
- Provider responses are being captured
- BIN data is being extracted
- Decline codes are being categorized
If training status shows gaps in data collection, verify that all providers are returning standard response codes and that your Yuno integration is passing all recommended fields.
3
Review baseline metrics
At day 30, Aida generates a baseline report showing:
Phase 2: Shadow Mode (Days 31-45)
In shadow mode, Aida makes routing recommendations alongside your existing rules, but does not execute them. This allows you to compare Aida’s predicted routing against your actual routing decisions.1
Enable shadow mode
In Settings > Smart Routing > Aida, switch from Baseline Collection to Shadow Mode.
2
Review shadow recommendations
Check Dashboard > AI > Aida > Shadow Analysis to see:
- What percentage of transactions Aida would have routed differently
- Predicted approval rate improvement
- Estimated cost impact
- Specific transaction examples where Aida’s choice differs
3
Validate predictions
Compare Aida’s predicted outcomes against actual results. A healthy shadow period shows:
Performance Baselines
Establish clear baselines before activating Aida to measure its impact accurately.Metrics to Capture
A/B Testing: Control vs. Treatment
The safest way to activate Aida is through a controlled A/B test that gradually shifts traffic.1
Configure traffic split
In Settings > Smart Routing > Aida, set up an A/B test:
Start with a conservative split (70/30 or 80/20) to limit exposure while gathering statistically significant data.
2
Define success criteria
Set clear criteria for declaring the test a success:
3
Run the test
Allow the test to run until both groups reach sufficient transaction volume:
4
Analyze and expand
Review results in Dashboard > AI > Aida > A/B Test Results:
- If treatment outperforms: increase to 50/50, then 30/70, then 0/100
- If results are neutral: extend test duration or review model training data
- If treatment underperforms: pause Aida, review configuration, retrain
Interpreting the Aida Analytics Dashboard
Access Aida analytics at Dashboard > AI > Aida > Performance.Key Panels
Provider Performance Analytics
Aida generates provider-specific insights that help you evaluate your provider portfolio:Custom Rules vs. Aida
Aida and custom routing rules can coexist. Understand the precedence:The recommended approach is to use custom rules for business constraints (e.g., “PIX must route to Provider X”) and let Aida optimize within unconstrained segments (e.g., “for Brazil card payments, Aida chooses the best provider”).
Example: Hybrid Configuration
When to Enable/Disable Aida Features
Monitoring and Alerting
Set up these alerts to monitor Aida’s performance:
Configure alerts in Dashboard > AI > Aida > Alerts.