Skip to main content

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:
Aida requires a minimum of two providers configured for the same payment method and country combination. With a single provider, there is no routing decision to optimize.

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

Export baseline metrics for at least 30 days before activating Aida. Use this data as your control group for before/after comparison.

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
Ramp up gradually over 2-3 weeks, monitoring at each stage.

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

Disable Aida routing during provider migrations or major integration changes. Aida’s models are trained on historical data and may make suboptimal decisions when provider behavior changes significantly.

Monitoring and Alerting

Set up these alerts to monitor Aida’s performance: Configure alerts in Dashboard > AI > Aida > Alerts.

FAQ

How long does Aida take to show results? Most merchants see measurable improvement within 2-4 weeks of activating Aida in live mode, following the 30-day baseline collection and 15-day shadow period. Does Aida work with a single provider? No. Aida requires at least two providers for the same payment method and country to make routing decisions. With a single provider, use Aida’s fraud scoring and decline analysis features instead. Can I override Aida’s routing decisions? Yes. Custom routing rules always take precedence over Aida. You can also exclude specific segments from Aida optimization. What happens if a provider goes down? Aida detects provider outages through real-time health monitoring and automatically redistributes traffic to healthy providers. Recovery is gradual to avoid overloading providers. Does Aida handle 3DS decisions? Aida can recommend whether to apply 3DS based on transaction risk and issuer preferences, but the final 3DS decision is governed by your security rules and regulatory requirements. How does Aida handle new payment methods? When you add a new payment method, Aida enters a learning period for that method. During this period, default routing rules apply until sufficient data is collected. Can I use Aida in sandbox? Aida’s shadow mode and baseline collection work in sandbox, but routing optimization requires production transaction volume for meaningful predictions. What data does Aida use? Aida uses transaction-level data including BIN, amount, currency, country, payment method, provider responses, and timestamps. It does not access or store raw card numbers, CVVs, or customer personal data.