API Reference
Implement UseOneID consent workflows directly with our granular REST endpoints reference playground.
Identity & 1-Click Reusable Onboarding
Real-time account detection, government registry checks, 3D face liveness, and document OCR.
/v1/verify/lookup-userChecks whether a customer is already enrolled in the UseOneID digital vault. Supports querying multiple identifiers simultaneously (email, phone, NIN, BVN, or passport) in a single request. If verified, pass the matched identifier via login_hint and flow=reuse to /oauth/authorize for instant 2-second 3D face verification.
// Send individual fields or an identifiers array in a single call:
{
"email": "buyer@example.com",
"phone": "+2348012345678",
"nin": "12345678901",
"bvn": "22233344455",
"passportNumber": "A12345678",
"country": "NG"
}{
"found": true,
"user": {
"maskedName": "J••• D•••",
"tier": "Tier 2 Government Verified",
"hasKyc": true,
"hasEnrolledBiometrics": true,
"documentExpired": false,
"reuseEligible": true,
"expiryWarning": null,
"isPartnerMember": false,
"targetAudience": "consumer"
}
}/v1/verify/initiateInitiate a dynamic verification workflow redirect token. Returns a secure checkout URL to present to the user.
{
"client_id": "your_client_id",
"verification_level": "standard",
"requested_fields": ["name", "dob"]
}
{
"verify_url": "https://verify.useoneid.com/...",
"session_id": "sess_abc123"
}
/v1/verify/sessions/{id}Audit current check status verification payloads and facial validation mismatch reports.
id: "sess_sandbox_abc123"
{
"session_id": "sess_abc123",
"status": "Success",
"confidence_score": 97
}
/v1/users/lookupPerform a direct query lookup to retrieve the verified identity profiles of a customer using biometric matches, national registry records, or telephone indices.
{
"nin_hash": "2a9e3d8f1b4c9e8a7b6c5d4e3f2a1b0c9d8e7f6a5b4c3d2e1f0a9b8c7d6e5f4a",
"liveness_verified": true
}{
"user_id": "usr_9f8d7c6b",
"name": "Adeboye Kosoko",
"dob": "1994-08-15",
"tier": "Tier 3",
"verified_at": "2026-03-12T14:22:00Z"
}/v1/verify/biometricAnalyzes camera capture frames for ISO 30107-3 compliant passive liveness (blink, head tilt, micro-texture reflection) and computes a 128-dimensional biometric vector against enrolled credentials.
{
"session_id": "sess_89a0b1c2",
"image_data": "data:image/jpeg;base64,...",
"liveness_challenge": "blink_and_turn"
}{
"success": true,
"liveness_passed": true,
"confidence_score": 98.4,
"anti_spoofing": {
"presentation_attack": false,
"deepfake_probability": 0.001,
"mask_detected": false
}
}/v1/ocr/smart-extractExtract structured identity fields from international passports (ICAO Doc 9303 TD1/TD2/TD3), state driver's licenses, and national IDs across 190+ jurisdictions using multimodal visual intelligence.
{
"image_base64": "data:image/jpeg;base64,...",
"document_type": "passport",
"country_code": "NG"
}{
"success": true,
"document_type": "passport",
"fields": {
"full_name": "CHUKWUEMEKA OBI",
"document_number": "A09182736",
"date_of_birth": "1991-05-20",
"expiry_date": "2029-05-19",
"nationality": "NGA"
},
"mrz_verified": true,
"tamper_detected": false
}/v1/consumer/bvn/linkAllows an authenticated consumer to optionally link their 11-digit BVN to upgrade to Tier 3. Cross-matches Full Name and Date of Birth against the live NIBSS/CBN registry and stores only an irreversible SHA-256 hash (zero raw BVN stored).
{
"bvn": "22233344455",
"consent": true
}{
"success": true,
"tier": "tier_3",
"bvnLast4": "4455",
"bvnVerifiedAt": "2026-11-22T01:00:00.000Z",
"message": "BVN verified and linked. Your UseOneID vault has been upgraded to Tier 3."
}Business & Corporate Compliance (KYB)
Automated commercial registry lookup, tax compliance verification, and live director identity resolution.
/v1/verify/kybVerify registered corporate files, business status, registered address, tax TIN, and director profiles directly from the Corporate Affairs Commission (CAC) and international commercial registries.
{
"rc_number": "RC1829381",
"company_name": "Lekki Prime Properties Ltd",
"tin": "12345678-0001",
"verify_directors": true,
"unravel_ubo": true,
"screen_aml": true
}{
"success": true,
"company_name": "Lekki Prime Properties Ltd",
"rc_number": "RC1829381",
"status": "active",
"registered_address": "12 Admiralty Way, Lekki Phase 1, Lagos",
"directors": [
{
"name": "Babatunde Adeleke",
"kyc_status": "verified",
"kyc_tier": "tier_3",
"shareholding": "60%"
}
],
"tin_verified": true,
"risk_tier": "low",
"signature": "rsa_sha256:..."
}/v1/verify/kyb/director-authGenerates an encrypted, time-limited delegation link dispatched to a company director via email or SMS. Allows the director to authenticate and bind their authority to an enterprise application.
{
"sessionId": "sess_kyb_9812",
"directorId": "dir_001",
"directorName": "Babatunde Adeleke",
"rcNumber": "RC1829381",
"companyName": "Lekki Prime Properties Ltd",
"deliveryChannel": "email",
"destination": "babatunde@lekki-prime.com"
}{
"success": true,
"delegation_token": "del_eyJhbGciOi...",
"auth_url": "https://auth.useoneid.com/kyb/director-consent?token=del_eyJhb...",
"expires_in": 86400,
"dispatched_to": "babatunde@lekki-prime.com"
}/v1/verify/rkybInstantly verifies an already-approved corporate entity by RC/BN number or business_id in under 200ms without re-uploading CAC or MEMART filings. Returns an RS256-signed Reusable KYB Compliance Certificate.
{
"rc_number": "RC1829381"
}{
"success": true,
"reused": true,
"session_id": "rkyb_cid_a442_1795308000000",
"environment": "production",
"latency_ms": 48,
"business": {
"business_id": "kyb_uuid_...",
"rc_number": "RC1829381",
"company_name": "Lekki Prime Properties Ltd",
"tin": "12345678-0001",
"directors": [],
"corporate_documents": []
},
"signed_certificate": "eyJhbGciOiJSUzI1NiJ9..."
}Trust, Risk & Fraud Defense Shield
Zero-knowledge age assurance, carrier intelligence, global sanctions screening, and device telemetry.
/v1/verify/age-assuranceVerify user age eligibility without exposing or storing their underlying date of birth. Returns a cryptographically signed RS256 attestation token.
{
"token": "eyUseOneID...",
"required_age": 18,
"scope": "age_over_18"
}{
"success": true,
"is_eligible": true,
"required_age": 18,
"assertion_token": "eyAgeAssertion...",
"confidence": 0.99,
"timestamp": "2026-11-27T21:45:30.389Z"
}/v1/verify/phone-riskInspect phone numbers for recent SIM swap activity (last 72h), VOIP / virtual PBX routing, porting anomalies, and line disconnection status across 800+ global carriers.
{
"phone": "+2348012345678",
"country_code": "NG"
}{
"success": true,
"phone": "+2348012345678",
"carrier": "MTN Nigeria",
"line_type": "mobile",
"is_voip": false,
"sim_swap_detected": false,
"risk_score": 12,
"recommendation": "allow"
}/v1/verify/aml-watchlistScreen natural persons and corporate directors against OFAC, UN Security Council, EU CFSP, UK HMT, and domestic Politically Exposed Persons (PEP) lists.
{
"name": "Alex Johnson",
"country": "NG",
"fuzzy_threshold": 0.85
}{
"success": true,
"total_hits": 0,
"screened_at": "2026-11-27T21:45:30.389Z",
"matches": [],
"risk_rating": "clean",
"assertion_hash": "sha256:7f8a9b..."
}/v1/verify/addressValidates residential addresses using automated utility bill OCR (<180 days freshness) and live GPS geofencing (<250m accuracy) compliant with CBN Tier 3 guidelines.
{
"session_id": "sess_addr_9012",
"method": "hybrid",
"declared_address": "12 Admiralty Way, Lekki Phase 1, Lagos",
"latitude": 6.4474,
"longitude": 3.4723,
"bill_document_url": "https://storage.useoneid.com/bills/bill_102.pdf"
}{
"success": true,
"address_verified": true,
"match_confidence": 0.94,
"geofence_distance_meters": 38,
"bill_issue_date": "2026-02-15",
"freshness_days": 62,
"tier": "Tier 3 Address Verified"
}/v1/verify/device-riskPartner-authenticated device and network signals. The server returns its own risk decision. A client-supplied score is not accepted.
{
"device_fingerprint": "dfp_example",
"user_id": "the UseOneID user id"
}{
"success": true,
"data": {
"risk": {
"score": 0,
"trust_score": 100,
"decision": "allow"
}
}
}/v1/risk/eventsOne endpoint for every app. Send a catalog event_type. The server applies the score change and ignores any risk_weight in the body. Read the same person with GET /v1/risk/score?user_id=.
{
"app_id": "your_client_id",
"user_identifier": "the UseOneID user id",
"event_type": "DELIVERY_FAILED",
"metadata": { "order_id": "ORD-5542" }
}{
"success": true,
"user_id": "the UseOneID user id",
"event_type": "DELIVERY_FAILED",
"delta": 15,
"risk_score": 15,
"band": "elevated"
}/v1/transactions/monitorEvaluates transactions in real time against jurisdiction-aware CTR thresholds (US, EU, UK, NG, KE, ZA, GH, FATF), structuring/smurfing, rapid pass-through, fan-in/fan-out, cross-platform account-farming velocity, and zero-PII hashed mule destination graphs. Returns allow, step_up (with 2-second 3D Biometric Step-Up URL), hold, or block plus an RS256-signed decision token.
{
"transaction_id": "tx_90218",
"user_id": "usr_abc123",
"amount": 4850000,
"currency": "NGN",
"direction": "outbound",
"country": "NG",
"counterparty_id": "0123456789:058",
"channel": "bank_transfer"
}{
"success": true,
"transaction_id": "tx_90218",
"decision": "step_up",
"risk_score": 68,
"triggered_rules": ["CTR_STRUCTURING_NEAR_THRESHOLD", "RAPID_PASS_THROUGH"],
"step_up_url": "https://useoneid.com/oauth/authorize?client_id=...&flow=reuse&scope=openid+profile+kyc+biometric_step_up",
"decision_token": "eyJhbGciOiJSUzI1NiIs..."
}/v1/transactions/alertsQuery flagged transactions by decision (step_up, hold, block) for compliance review and SAR/STR filing.
?decision=block&limit=50
{
"success": true,
"count": 1,
"alerts": [
{
"transactionId": "tx_90218",
"amount": 4850000,
"currency": "NGN",
"decision": "block",
"riskScore": 86,
"triggeredRules": ["MULE_DESTINATION_CONVERGENCE"]
}
]
}/v1/verify/humanVerify that an actor is a unique real human (stopping AI bot farms, Sybil promo abuse, fake reviews, and ticket scalping). Issues a signed RS256 proof_token and a zero-PII uniqueness_hash.
{
"user_id": "usr_abc123",
"action_scope": "promo_claim",
"require_biometric": true
}{
"success": true,
"is_human": true,
"biometric_verified": true,
"uniqueness_hash": "pop_91a8f3e2c7...",
"proof_token": "eyJhbGciOiJSUzI1NiIs..."
}/v1/trust-seal/{clientId}Returns live cryptographic KYB verification status for a UseOneID partner. Public verification certificate is also served at /verify/seal/{clientId}.
clientId: "cid_live_acme_01"
{
"verified": true,
"business_name": "Acme Africa Ltd",
"kyb_status": "Approved",
"verification_url": "https://useoneid.com/verify/seal/cid_live_acme_01"
}/v1/consumer/freezeFreezes or unfreezes a consumer's identity across all connected partner apps, instantly revokes bound KYA™ AI agents, and broadcasts HMAC-signed identity.frozen / identity.unfrozen webhooks.
{
"action": "freeze",
"reason": "Lost mobile device"
}{
"success": true,
"frozen": true,
"revoked_agents": 1,
"notified_partners": 4
}Legal & Electronic Contracting
Cryptographically sealed electronic signatures, SHA-256 non-repudiation seals, and evidence certificates.
/v1/partner/signaturesExecute an immutable, cryptographically sealed digital contract. Generates a SHA-256 non-repudiation digest and legal certificate compliant with Evidence Act 2023 §84 & eIDAS standards.
{
"document_title": "Tenancy Agreement - Flat 4B Lekki",
"signer_email": "tenant@example.com",
"document_content": "The tenant hereby enters into the standard lease agreement..."
}{
"success": true,
"message": "Digital contract successfully recorded with cryptographic non-repudiation.",
"signature": {
"id": "sig_92a8b7c6",
"document_name": "Tenancy Agreement - Flat 4B Lekki",
"signer_email": "tenant@example.com",
"status": "Completed",
"sha256_hash": "ba498e3d17e6de0ea198e9d05148543934984b4dddc470a35be10c62fba55d74",
"created_at": "2026-11-27T21:45:30.389Z"
}
}/v1/partner/signaturesRetrieve all cryptographically sealed contracts executed by or issued to your partner workspace, including verification status and SHA-256 digests.
?search=tenant@example.com&status=Completed
{
"success": true,
"signatures": [
{
"id": "sig_92a8b7c6",
"documentName": "Tenancy Agreement - Flat 4B Lekki",
"signerEmail": "tenant@example.com",
"status": "Completed",
"hash": "ba498e3d17e6de0ea198e9d05148543934984b4dddc470a35be10c62fba55d74",
"createdAt": "2026-11-27T21:45:30.389Z"
}
],
"stats": {
"total": 1,
"completed": 1,
"pending": 0,
"revoked": 0
}
}Autonomous AI Agent Authority (KYA™ Protocol)
Cryptographic agent passports, enforceable spending limits, Model Context Protocol (MCP) gateway, and emergency kill-switch.
/v1/kya/bindProgrammatically bind an autonomous AI agent to a verified individual or enterprise account with strict spending boundaries, permissible tool actions, an agent_did, and a portable W3C Verifiable Credential 2.0 backed by did:web:useoneid.com. agent_id must be globally unique (a duplicate returns 409 Conflict). Use duration_days 1-365, or 0 for never-expires-until-revoked. Sub-agents use parent_agent_id (max depth 3).
{
"agent_id": "acme_procure_v1",
"agent_name": "Procurement Agent",
"spending_limit": "$1000/month",
"allowed_actions": ["data:read", "contract:review"],
"duration_days": 30
}{
"success": true,
"status": "BOUND_AND_ACTIVE",
"issuer_did": "did:web:useoneid.com",
"agent_did": "did:web:useoneid.com:agents:acme_procure_v1",
"data": {
"agent_id": "acme_procure_v1",
"kya_token": "eyJ...",
"token_type": "Bearer+KYA"
},
"verifiable_credential": {
"@context": ["https://www.w3.org/ns/credentials/v2"],
"type": ["VerifiableCredential", "AgentDelegationCredential"]
}
}/v1/kya/verifyVerifies an AI agent's cryptographic delegation token, live revocation status, velocity anomalies, and remaining spending cap headroom in real time. Metered at $0.02/check in Production (free in Sandbox).
{
"kya_token": "eyJhbGciOiJSUzI1NiIs...",
"requested_action": "escrow:transact",
"amount": 250,
"currency": "USD"
}{
"valid": true,
"authorized": true,
"agent_id": "acme_procure_v1",
"remaining_budget_usd": 750,
"revoked": false
}/.well-known/did.jsonPublic W3C DID Core 1.0 document exposing UseOneID's RS256 public verification key (JsonWebKey2020) and live KYA control plane service endpoints for independent offline credential verification.
None required (public discovery endpoint).
{
"id": "did:web:useoneid.com",
"verificationMethod": [
{ "id": "did:web:useoneid.com#key-1", "type": "JsonWebKey2020" }
]
}Document Forensics & Anti-Tampering
Binary PDF & EXIF/XMP manipulation detection, cross-account recycled template SHA-256 radar, and Production Vision AI financial balance math reconciliation.
/v1/verify/document-forensicsAnalyzes uploaded bank statements, payslips, utility bills, invoices, tax certificates, and corporate filings (max 10 MB). Returns an RS256-signed forensics_token, verdict (authentic | suspicious | forged), risk score (0-100), risk indicators, and positive trust indicators. Metered at $0.45/check in Production, free in Sandbox.
{
"document_base64": "data:application/pdf;base64,JVBERi0xLjcK...",
"document_type": "bank_statement",
"expected_holder_name": "Ada Lovelace",
"user_id": "usr_987654",
"run_vision_ai": true
}{
"success": true,
"session_id": "dfx_1795799100_a1b2c3",
"verdict": "authentic",
"tamper_score": 0,
"file_type": "pdf",
"indicators": [],
"trust_indicators": [
{ "code": "TYPICAL_INTERNAL_STRUCTURE", "title": "Document has typical internal structure" },
{ "code": "TRUSTED_FONTS", "title": "Trusted fonts" },
{ "code": "NO_METADATA_MODIFICATION", "title": "No modification in document metadata" }
],
"forensics_token": "eyJhbGciOiJSUzI1NiIs..."
}/v1/kya/mcpJSON-RPC 2.0 gateway enabling Claude Desktop, Cursor, and Windsurf AI agents to query verified identity state and execute authorized actions under policy boundaries.
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "verify_authority",
"arguments": {
"agent_token": "kya_eyPassport...",
"requested_amount": 250
}
},
"id": 1
}{
"jsonrpc": "2.0",
"result": {
"authorized": true,
"remaining_budget": "750_USD",
"assertion_seal": "sha256:88ab7c..."
},
"id": 1
}/v1/kya/revokeInstantly revoke an autonomous AI agent authority passport. By default all of its sub-agents are revoked too; pass cascade=false to revoke only this agent. The record stores who revoked it, when, and why.
{
"agent_id": "acme_procure_v1",
"reason": "Anomaly detected: unusual transaction velocity",
"cascade": true
}{
"success": true,
"data": {
"agent_id": "acme_procure_v1",
"status": "REVOKED",
"revocation_timestamp": "2026-11-27T21:45:30.389Z",
"cascade_revoked_subagents": [],
"total_cascade_revoked": 0
}
}System Utilities & Diagnostics
/v1/healthVerify UseOneID internal registry microservice status and edge availability.
None required.
{
"status": "healthy",
"timestamp": "2026-11-27T21:45:30.389Z"
}Error Codes & Troubleshooting
List of response payloads returned by our check servers during validations.
