$284K
$47K
312
42 bps
7
$47K/mo
$564K /yr
89
28.5%
+9 bps
72/100
+8pts
38
EUR/NGN
85bps
EUR/USD
12bps
EUR/GBP
$18.2M
1,423
$12.8M
847
+$3,240
LIVE
API Status
Operational
99.97% uptime
Avg Response
23ms
Requests Today
14.2K
| Method | Endpoint | Description | Speed |
|---|---|---|---|
| POST | /v1/config | - | |
| POST | /v1/transactions | <100ms | |
| POST | /v1/transactions/batch | <30s | |
| GET | /v1/recommend | <25ms | |
| GET | /v1/clients/{id}/profile | <100ms | |
| GET | /v1/portfolio/summary | <200ms | |
| PUT | /v1/clients/{id}/override | <50ms | |
| PUT | /v1/clients/{id}/meta | <50ms | |
| GET | /v1/corridors | <200ms | |
| GET | /v1/health | <5ms |
POST /v1/config
{
"base_spreads": {
"tier_1": 10, // major currencies (bps)
"tier_2": 20, // ILS
"tier_3": 30, // emerging markets
"non_trading_hours": 50 // weekends & holidays
},
"guardrails": {
"max_widen_bps": 25, // max increase
"max_tighten_bps": -15, // max decrease
"min_confidence": 0.50, // below this = no change
"risk_flag_action": "alert_only"
},
"webhook_url": "https://your-platform.com/webhooks/optimizer"
}
POST /v1/transactions
{
"transaction_id": "tx_8f3a2b1c", // dedup key
"client_id": "cli_anon_4821", // anonymous hash
"timestamp": "2026-03-22T14:32:00Z",
"amount": 25000.00,
"currency_from": "EUR",
"currency_to": "ILS",
"deal_type": "payout", // payout|payin|exchange|hedge
"spread_charged": 0.0045, // markup applied (45bps)
"channel": "api", // api|dashboard
"settlement": "T+1", // same_day|T+1|T+2
"beneficiary_country": "IL" // ISO 3166-1 alpha-2
}
POST /v1/transactions/batch
{
"transactions": [
{ "transaction_id": "tx_001", "client_id": "cli_anon_4821", ... },
{ "transaction_id": "tx_002", "client_id": "cli_anon_4821", ... },
// up to 10,000 per request
]
}
GET /v1/recommend P99 < 25ms
GET /v1/recommend?client_id=cli_anon_4821&pair=EUR/ILS&amount=25000&type=payout
// Response
{
"client_id": "cli_anon_4821",
"adjustment_bps": 12, // positive = widen, negative = tighten
"direction": "widen", // widen|tighten|hold
"confidence": 0.87, // 0-1, below 0.5 = insufficient data
"base_spread_bps": 45, // your configured base
"recommended_spread_bps": 57, // base + adjustment = final spread
"signals_active": 3, // signals firing for this client
"ttl_seconds": 300, // cache this for 5 min
"fallback": false // true = not enough history
}
GET /v1/clients/{id}/profile
// Response
{
"client_id": "cli_anon_4821",
"overall_score": 73,
"dimensions": {
"price_sensitivity": 18,
"volume_value": 72,
"behavioral_pattern": 81,
"corridor_complexity": 65,
"risk_profile": 22
},
"active_signals": [ 1, 6, 9, 14, 21 ],
"risk_flags": [],
"monthly_trend": { "volume": "growing", "margin": "stable" }
}
GET /v1/portfolio/summary
// Response
{
"period": "2026-03",
"total_volume": 67400000,
"revenue_captured": 284000,
"revenue_on_table": 47000,
"avg_margin_bps": 42,
"optimal_margin_bps": 51,
"clients_underpriced": 89,
"clients_overpriced": 34,
"clients_optimal": 189,
"risk_flags_active": 7,
"active_clients": 312
}
PUT /v1/clients/{id}/override
// Lock a client at a fixed adjustment
{
"action": "lock", // lock|unlock
"adjustment_bps": 0, // fixed value while locked
"reason": "Strategic client - manual pricing"
}
PUT /v1/clients/{id}/meta
// All fields optional - unlocks Enhanced Tier signals
{
"risk_tier": "enhanced",
"products_active": ["wallets", "payments", "fx", "hedging"],
"has_negotiated": false,
"has_committed_volume": true,
"avg_balance_usd": 250000,
"is_referrer": false,
"has_limit_orders": false
}
GET /v1/corridors
GET /v1/health
{
"status": "healthy",
"uptime": "99.97%",
"latency_ms": { "p50": 8, "p99": 23, "p999": 47 }
}
7
5
12
2