Expand description
§Verifex
Official Rust SDK for the Verifex sanctions screening API.
Screen persons and entities against OFAC, UN, EU, UK + 23 more sanctions lists and 878K+ PEPs in a single API call.
§Quick Start
use verifex::{Verifex, ScreenRequest};
#[tokio::main]
async fn main() -> Result<(), verifex::VerifexError> {
let client = Verifex::new("vfx_your_api_key");
let result = client.screen(ScreenRequest {
name: "Vladimir Putin".into(),
..Default::default()
}).await?;
if result.is_clear() {
println!("No sanctions match");
} else {
println!("Risk: {} ({} matches)", result.risk_level, result.total_matches);
}
Ok(())
}Structs§
- ApiKey
Created - Returned when a new API key is created.
- ApiKey
Info - API key metadata.
- Batch
Screen Result - Result of batch screening.
- Daily
Usage - Usage for a single day.
- Health
Response - API health status.
- List
Info - Per-source list metadata.
- Match
- A single sanctions list match.
- Screen
Request - Request to screen a single entity.
- Screen
Result - Result of screening a single entity.
- Usage
Stats - API usage statistics.
- Verifex
- Verifex sanctions screening API client.
Enums§
- Verifex
Error - Errors returned by the Verifex SDK.