API Reference
Compliance Oracle API
AML screening, Verification of Payee (VoP), and ESG scoring — FATF R16, SEPA VoP, MiCA, GENIUS Act. No human queues.
Multi-layer compliance oracle running before every payment: sanctions screening, behavioural analysis, counterparty network risk, and Verification of Payee (FATF R16). Signal weights self-calibrate per cohort. Ambiguous decisions route through an AI reasoning layer. No human queues.
Base URL: https://compliance.untitledfinancial.com
POST /vop/verify — VoP check
Section titled “POST /vop/verify — VoP check”Verify the identity of a payment counterparty before settlement. Costs $0.075 USDC via x402 on Base mainnet — pay via the X-PAYMENT header.
curl -X POST https://compliance.untitledfinancial.com/vop/verify \ -H "Content-Type: application/json" \ -H "X-PAYMENT: <base64-x402-payload>" \ -d '{ "walletAddress": "0xabc...", "submittedName": "Deutsche Bank AG", "submittedLei": "7LTWFZYICNSX8D621K86" }'Request fields:
| Field | Type | Required | Description |
|---|---|---|---|
walletAddress | string | Yes | Wallet address of the counterparty |
submittedName | string | Yes | Name as submitted by the payment initiator |
submittedLei | string | No | LEI of the counterparty (bypasses name matching if matched) |
Response:
{ "requestId": "550e8400-e29b-41d4-a716-446655440000", "result": "LEI_MATCH", "proceedSafe": true, "score": 100, "resolvedBy": "LEI_EXACT_MATCH", "registeredName": "Deutsche Bank Aktiengesellschaft", "registeredLei": "7LTWFZYICNSX8D621K86", "leiStatus": "ACTIVE", "message": "LEI verified and active. Identity confirmed.", "attestation": { "fatfR16Compliant": true, "regulatoryNote": "FATF R16 VoP satisfied via GLEIF-verified LEI exact match." }}Resolution tiers:
| Result | Score | Proceeds? | Meaning |
|---|---|---|---|
LEI_MATCH | 100 | ✅ | LEI matched exactly — name check skipped |
VERIFIED | 90–100 | ✅ | Strong name match |
PROCEED_HIGH_CONFIDENCE | 75–89 | ✅ | Good match, minor discrepancy noted |
PROCEED_FLAGGED | 55–74 | ✅ | Moderate match, flagged in attestation + AI assessment |
PROCEED_UNVERIFIED | 35–54 | ✅ | Low match, marked unverified + AI assessment |
NOT_REGISTERED | — | ✅ | Wallet not in registry — no identity to verify |
LEI_INACTIVE | 100 | ✅ | LEI matched but lapsed — warns counterparty |
BLOCKED | <35 | ❌ | Name mismatch below threshold — payment blocked |
The only hard block is BLOCKED — when names are so dissimilar the payment is likely misdirected. Every other result proceeds, with the degree of confidence recorded in the attestation.
Gray zone AI assessment — PROCEED_FLAGGED and PROCEED_UNVERIFIED results include a grayZoneReasoning field:
{ "grayZoneReasoning": { "assessment": "LIKELY_CORRECT", "confidence": "HIGH", "likelyCause": "Legal suffix difference — 'GmbH' vs 'GmbH & Co. KG'", "rationale": "The submitted name is a common shortened form of the registered legal name, consistent with standard German entity naming conventions.", "proceedRecommendation": "PROCEED", "processedAt": 1748123456 }}| Field | Values | Meaning |
|---|---|---|
assessment | LIKELY_CORRECT / UNCERTAIN / LIKELY_WRONG | AI judgment on whether the discrepancy is a legitimate name variant |
confidence | HIGH / MEDIUM / LOW | Confidence in the assessment |
likelyCause | string | Short phrase — most probable reason for the discrepancy |
rationale | string | 1–2 sentence explanation |
proceedRecommendation | PROCEED / PROCEED_WITH_CAUTION / MANUAL_REVIEW | Compliance recommendation |
Advisory only — never overrides proceedSafe. Timeout fallback: field omitted if AI call fails.
GET /vop/lookup/:wallet — Entity lookup
Section titled “GET /vop/lookup/:wallet — Entity lookup”Free. Returns the registered entity for a wallet address.
curl https://compliance.untitledfinancial.com/vop/lookup/0xabc...Response:
{ "walletAddress": "0xabc...", "legalName": "Deutsche Bank Aktiengesellschaft", "lei": "7LTWFZYICNSX8D621K86", "leiStatus": "ACTIVE", "aliases": ["Deutsche Bank", "DB"], "registeredAt": 1747267200}Returns 404 if the wallet is not registered.
GET /vop/history/:wallet — Audit history
Section titled “GET /vop/history/:wallet — Audit history”Free. Returns the last 50 VoP checks for a wallet.
curl https://compliance.untitledfinancial.com/vop/history/0xabc...GET /lei/:lei — LEI lookup
Section titled “GET /lei/:lei — LEI lookup”Free. Returns GLEIF data + all wallets registered under a given LEI.
curl https://compliance.untitledfinancial.com/lei/7LTWFZYICNSX8D621K86POST /register — Register a wallet (admin)
Section titled “POST /register — Register a wallet (admin)”Bearer-authenticated with ORACLE_SIGNING_KEY. LEI is optional — omit it to register as SELF_DECLARED. Provide it to verify against GLEIF and register as GLEIF_VERIFIED.
Registration types:
| Type | LEI required | VoP score | Use case |
|---|---|---|---|
SELF_DECLARED | No | Up to 100 (name match) | Self-onboarding without LEI |
GLEIF_VERIFIED | Yes | Up to 100 (LEI match) | Full institutional verification |
You can register as SELF_DECLARED now and upgrade to GLEIF_VERIFIED later by resubmitting with an LEI.
# SELF_DECLARED — no LEI requiredcurl -X POST https://compliance.untitledfinancial.com/register \ -H "Authorization: Bearer <signing-key>" \ -H "Content-Type: application/json" \ -d '{ "walletAddress": "0xabc...", "legalName": "Acme Corp", "country": "US", "aliases": ["Acme"] }'
# GLEIF_VERIFIED — with LEIcurl -X POST https://compliance.untitledfinancial.com/register \ -H "Authorization: Bearer <signing-key>" \ -H "Content-Type: application/json" \ -d '{ "walletAddress": "0xabc...", "lei": "7LTWFZYICNSX8D621K86", "legalName": "Deutsche Bank AG", "aliases": ["Deutsche Bank", "DB"] }'DELETE /register/:wallet — Deactivate (admin)
Section titled “DELETE /register/:wallet — Deactivate (admin)”Bearer-authenticated. Marks the registration inactive — does not delete audit records.
GET /.well-known/x402 — Payment discovery
Section titled “GET /.well-known/x402 — Payment discovery”Machine-readable x402 payment requirements for autonomous agents. Call once and cache.
{ "version": 1, "endpoints": { "POST /vop/verify": { "price": { "amount": "75000", "currency": "USDC", "decimals": 6 }, "network": "base", "facilitator": "https://x402.org/facilitator" }, "POST /stream/open": { "variableAmount": true, "minUsdc": 0.01, "maxUsdc": 10000, "unitTypes": ["second", "token", "call", "byte"], "network": "base", "facilitator": "https://x402.org/facilitator", "description": "Open a streaming micropayment session. Pay upfront for a credit bucket; service ticks units against the balance." } }}GET /openapi.json — OpenAPI 3.1 spec
Section titled “GET /openapi.json — OpenAPI 3.1 spec”Machine-readable schema.
Compliance coverage
Section titled “Compliance coverage”| Regulation | Status |
|---|---|
| FATF R16 (June 2025) | ✅ Satisfied when LEI match or score ≥ 75 |
| SEPA VoP (Oct 2025) | ✅ Name matching + LEI verification |
| EU Transfer of Funds Regulation (Travel Rule) | Automated identity-data check |
| US GENIUS Act (not yet in effect) | Automated checks mapped to its AML and identity requirements |
| MiFID II | Counterparty identity audit trail (record only) |
x402 payment (agents)
Section titled “x402 payment (agents)”VoP checks are priced at $0.075 USDC per call. The X-PAYMENT header carries a base64-encoded payment payload — settlement is verified atomically by the Coinbase x402 facilitator before the result is returned.
Query /.well-known/x402 to get payment requirements programmatically.
For agents integrated via the Integration API, this cost is bundled into the integration fee — no separate x402 payment required.
AML Oracle
Section titled “AML Oracle”Five compliance layers run before every payment. Internal-only — called by the Integration API; direct access requires X-Internal-Key.
POST /aml/screen
Section titled “POST /aml/screen”Screen a wallet before settlement. Returns a risk score, risk tier, action, and full signal breakdown.
curl -X POST https://compliance.untitledfinancial.com/aml/screen \ -H "X-Internal-Key: <internal-key>" \ -H "Content-Type: application/json" \ -d '{ "wallet": "0xabc...", "counterparty": "0xdef...", "amount": 50000, "currency": "USDC", "paymentId": "pay_xyz", "direction": "SEND" }'Response:
{ "wallet": "0xabc...", "riskScore": 18, "riskTier": "LOW", "action": "PROCEED", "signals": [], "sanctions": { "hit": false }, "profile": { "maturity": "ESTABLISHED", "txCount": 247, "txVolumeAvg": 42000, "riskScore": 12 }, "paymentId": "pay_xyz", "checkedAt": 1748123456}Risk tiers and actions:
| Score | Tier | Action |
|---|---|---|
| 0–24 | LOW | PROCEED |
| 25–49 | MEDIUM | PROCEED |
| 50–74 | HIGH | FLAG → AI reasoning pass |
| 75–100 | CRITICAL | BLOCK (immediate) |
Sanctions hit always → BLOCK regardless of behavioural score.
FLAG tier — AI reasoning pass
When action is FLAG (riskScore 50–74), the response includes a reasoning field from an AI reasoning pass:
{ "reasoning": { "recommendation": "PROCEED_WITH_REVIEW", "confidence": "HIGH", "rationale": "Single marginal signal on a mature wallet with 247 prior transactions. Pattern is not consistent with structuring or layering.", "keyFactors": ["established profile", "single low-severity signal", "no sanctions exposure"], "processedAt": 1748123456 }}If recommendation is ESCALATE_TO_BLOCK, action is overridden to BLOCK in the response. Advisory otherwise.
Signal weights — autonomous cohort calibration
Signals are scored using per-cohort weights that calibrate independently based on observed payment data, so a first-time counterparty and an established, high-volume one are screened differently:
| Cohort | Calibration behaviour |
|---|---|
UNKNOWN | Elevated caution — no prior history |
NEW | Elevated caution — limited history |
DEVELOPING | Global baseline weights |
ESTABLISHED | Reduced caution on signals with a strong track record |
Weights recalibrate periodically against a minimum sample size and drift-safety check. Sanctions-correlated signals are never reduced by calibration, regardless of cohort. Exact weight values, thresholds, and calibration cadence are proprietary.
GET /aml/profile/:wallet
Section titled “GET /aml/profile/:wallet”Returns the behavioural profile for a wallet — maturity, rolling stats, risk score.
curl https://compliance.untitledfinancial.com/aml/profile/0xabc... \ -H "X-Internal-Key: <internal-key>"Profile maturity:
| Maturity | Threshold |
|---|---|
UNKNOWN | No prior transactions |
NEW | < 10 transactions |
DEVELOPING | 10–99 transactions |
ESTABLISHED | ≥ 100 transactions |
GET /aml/events/:wallet
Section titled “GET /aml/events/:wallet”Returns the last 50 AML events (WARNING and above) for a wallet.
curl https://compliance.untitledfinancial.com/aml/events/0xabc... \ -H "X-Internal-Key: <internal-key>"ESG Scoring
Section titled “ESG Scoring”Entity-level ESG scores are computed by the Compliance Oracle and applied automatically on every payment. Direct access is free.
GET /esg/score/:lei
Section titled “GET /esg/score/:lei”Returns live E, S, G scores for an entity by LEI. Cache TTL: 7 days.
# Basic — returns score JSONcurl "https://compliance.untitledfinancial.com/esg/score/7LTWFZYICNSX8D621K86?name=Deutsche+Bank+AG"
# With AI narration — adds plain-language interpretation fieldcurl "https://compliance.untitledfinancial.com/esg/score/7LTWFZYICNSX8D621K86?name=Deutsche+Bank+AG&narrate=true"Parameters:
| Parameter | Required | Description |
|---|---|---|
name | Yes (unless entity is registered) | Legal name — used for regulatory data lookups |
country | No | ISO 2-letter country code (default: US) |
leiStatus | No | GLEIF LEI status (default: ISSUED) |
refresh | No | true to bypass cache and recompute |
narrate | No | true to add AI plain-language narration |
Response:
{ "lei": "7LTWFZYICNSX8D621K86", "entityName": "Deutsche Bank Aktiengesellschaft", "composite": 74, "environmental": 71, "social": 68, "governance": 85, "feeTier": "GOOD", "feeSurcharge": 0.0013, "coverage": "FULL", "computedAt": 1748123456, "expiresAt": 1748728256, "fromCache": false, "narration": "Deutsche Bank scores 74/100, placing it in the Good tier. Governance is the strongest pillar — active LEI, strong regulatory standing, and a compliant jurisdiction. Environmental and social scores are solid but leave room for improvement, with the social pillar slightly below governance on occupational and labour metrics."}ESG fee surcharge tiers:
| Score | Tier | ESG fee |
|---|---|---|
| 85–100 | EXCELLENT | Lowest |
| 70–84 | GOOD | Low |
| 50–69 | AVERAGE | Moderate |
| 30–49 | BELOW_AVERAGE | Elevated |
| 0–29 | POOR | Maximum |
AI narration (?narrate=true) — adds a narration string field: 2–3 sentences covering the overall picture, main pillar driver, and any notable risk or strength. ~$0.001 per call, 8s timeout, omitted on failure.
GET /esg/score/wallet/:wallet
Section titled “GET /esg/score/wallet/:wallet”Returns the ESG score for a wallet’s registered entity. Wallet must be registered with a LEI.
curl "https://compliance.untitledfinancial.com/esg/score/wallet/0xabc...?narrate=true"Returns 404 if the wallet is not registered or has no LEI.
Beneficial Ownership & PEP Screening
Section titled “Beneficial Ownership & PEP Screening”POST /compliance/ubo-chain
Section titled “POST /compliance/ubo-chain”Traverse the GLEIF beneficial ownership chain up to 3 levels (subject → direct parent → ultimate parent), with optional intermediates, and screen every node against the OpenSanctions global sanctions database. Returns FATF R.16 UBO attestation.
curl -X POST https://compliance.untitledfinancial.com/compliance/ubo-chain \ -H "Content-Type: application/json" \ -d '{ "lei": "7LTWFZYICNSX8D621K86", "deep": true }'| Field | Type | Description |
|---|---|---|
lei | string | 20-char GLEIF LEI of the subject entity |
deep | boolean | Include intermediate ownership nodes (default false) |
Response fields:
| Field | Description |
|---|---|
result | CLEAR / REVIEW_REQUIRED / BLOCKED |
chain | Array of ownership nodes — each with LEI, name, role, jurisdiction, and sanctions screen result |
sanctionsMatches | Matches at OpenSanctions score ≥ 0.70 |
fatfAttestation | FATF R.16 UBO attestation — beneficial owners identified, sanctions status, jurisdiction risk |
cachedAt | KV cache timestamp (24h TTL) |
Results are KV-cached per LEI for 24 hours. Requires re-run after ownership structure changes.
POST /compliance/pep-screen
Section titled “POST /compliance/pep-screen”Screen an individual against the OpenSanctions PEP (Politically Exposed Person) dataset. Required for FATF R.12/13 Enhanced Due Diligence triggers.
curl -X POST https://compliance.untitledfinancial.com/compliance/pep-screen \ -H "Content-Type: application/json" \ -d '{ "name": "Mario Draghi", "country": "IT", "position": "Former ECB President" }'| Field | Type | Description |
|---|---|---|
name | string | Full name of the individual |
country | string | ISO-2 country code (optional — narrows results) |
position | string | Known title or role (optional — used for match confidence) |
Response fields:
| Field | Description |
|---|---|
riskLevel | HIGH / MEDIUM / LOW / NONE |
pepMatches | Matches at OpenSanctions score ≥ 0.60, with position, country, and match confidence |
eddRequired | true if FATF R.12/13 EDD is triggered |
fatfR12 | FATF R.12 attestation |
cachedAt | KV cache timestamp (6h TTL) |
Regulatory Calendar
Section titled “Regulatory Calendar”GET /compliance/regulatory-calendar
Section titled “GET /compliance/regulatory-calendar”Upcoming and in-effect regulatory obligations across MiCA, SFDR, CSRD, GENIUS Act, and FATF. Static reference updated with each DPX release.
curl https://compliance.untitledfinancial.com/compliance/regulatory-calendarReturns 16 events with: framework, event name, effective date, jurisdictions, summary, and dpxAlignment — the specific DPX feature addressing each obligation.
Frameworks covered:
| Framework | Coverage |
|---|---|
| MiCA | White paper, authorisation and CASP obligations |
| SFDR | Article 8/9 fund classification, PAI indicators |
| CSRD | Audit trail, double materiality, value chain |
| GENIUS Act | Issuer licensing, reserve and monthly attestation requirements (effective no later than 2027-01-18) |
KYA — Know Your Agent
Section titled “KYA — Know Your Agent”Agent identity layer for the DPX settlement network. KYA maps AI agent actions back to a verifiable legal entity, satisfying FATF R.16 (Travel Rule originator identification) without document collection or manual review queues.
Compliance model
Section titled “Compliance model”FATF R.16 requires identifying the originator — the human or legal entity instructing a payment. An AI agent is a payment initiation mechanism, not the originator (same as a payment terminal or automated cash management system). The owner entity registered with KYA is the originator. Three registration tiers scale compliance burden with settlement risk:
| Tier | Requirements | Daily cap | Verification |
|---|---|---|---|
| ANONYMOUS | Agent name only | $1K | None — instant |
| REGISTERED | Name + email (self-attested) | $25K | None — instant |
| VERIFIED | Active GLEIF LEI + trusted-issuer attestation naming the agentId and LEI | No platform cap | GLEIF lookup for the LEI; issuer-signed VC-JWT via POST /agent/:id/kyc-attestation. An LEI alone is recorded as a claim at REGISTERED tier |
Agent authority and audit
GET /agent/{agentId}/authority answers “what may this agent do right now?” in one read-only call: its KYA tier (effective, not just stored), its tier-clamped mandate, the Policy Engine policies held under its agentId or registered wallet, and the combined effective limits (the lowest cap wins). The response also says what is enforced and what is advisory: the mandate is checked live by POST /settle when the request carries X-Agent-Id; policies are checked by POST /policy/check and are enforced at settlement only on deployments that enable policy checks.
GET https://agent.untitledfinancial.com/audit/agent/{agentId} returns the agent’s settlement trail as JSON or CSV (?format=csv&from=&to=&limit=): the KYA tier, mandate decision, policy decision and sanctions screen recorded at the time, and whether the paying wallet was the wallet the agent registered. X-Agent-Id is a claim, so attribution is reported, not assumed. The export carries a SHA-256 exportDigest. Reads are authorised by an EIP-191 signature from the agent’s registered wallet over DPX-KYA-AUDIT (see GET /agent/auth-spec); an agent with no registered wallet cannot authorise reads. Settlements decided before attribution logging began are not included.
Risk signals. When a settlement carries X-Agent-Id, the settlement agent also checks it against four explainable patterns over that agent’s own history and returns them in riskAssessment.signals, each with a plain-language reason:
PAYER_NOT_REGISTERED_WALLET: the paying wallet is not the wallet the agent registered.NEAR_CAP_REPEAT: repeated payments just under the mandate’s per-settlement cap within 24 hours.MANDATE_RECENT_LARGE: a large payment (at least half the cap) soon after the mandate was created.NEW_RECIPIENT_OUTLIER: a first payment to a recipient that is also far above the agent’s own average.
No signal proves misuse on its own, and none blocks a payment. By default they are reported and recorded in the audit export (riskSignals); a deployment can set RISK_SIGNALS_MODE=hold to route a signalled payment to review instead.
Legal basis:
- FATF R.16 — owner entity registration satisfies originator identification requirement
- MiCA — the LEI is a standard entity identifier in EU regulatory registers
- GENIUS Act — REGISTERED+ tiers collect a business-entity attestation; this supports, but is not itself, GENIUS Act compliance
POST /agent/register
Section titled “POST /agent/register”Register an agent. The tier is determined automatically from the fields provided.
# ANONYMOUS — instant, no fields required beyond namecurl -X POST https://compliance.untitledfinancial.com/agent/register \ -H "Content-Type: application/json" \ -d '{ "name": "procurement-agent-v1", "framework": "custom" }'
# REGISTERED — add ownerEntity + ownerEmailcurl -X POST https://compliance.untitledfinancial.com/agent/register \ -H "Content-Type: application/json" \ -d '{ "name": "treasury-agent", "ownerEntity": "Acme Corp", "ownerEmail": "treasury@acme.com", "framework": "custom", "protocols": ["x402", "ap2"] }'
# LEI claim — add a GLEIF LEI. DPX confirms it is ACTIVE and records it as a claim (REGISTERED tier, leiProof CLAIMED).# VERIFIED then needs a trusted issuer's VC-JWT whose credentialSubject carries this agentId and the LEI (POST /agent/:id/kyc-attestation).# Changes to an agent (mandate, revoke, attestation) must be signed by its registered walletAddress — see GET /agent/auth-spec.curl -X POST https://compliance.untitledfinancial.com/agent/register \ -H "Content-Type: application/json" \ -d '{ "name": "treasury-agent", "ownerEntity": "Acme Corp", "ownerEmail": "treasury@acme.com", "ownerLei": "7LTWFZYICNSX8D621K86", "framework": "custom", "protocols": ["x402", "ap2"], "mandate": { "maxNotionalUsd": 5000000, "dailyCapUsd": 10000000, "currencyPairs": ["USD|EUR", "USD|GBP"], "esgFloor": 50 } }'Response (REGISTERED with an LEI claim):
{ "agentId": "agt_Xy9...", "kyaLevel": "REGISTERED", "kyaScore": 40, "status": "ACTIVE", "tierCaps": { "maxNotionalUsd": 25000, "dailyCapUsd": 25000 }, "leiVerified": false, "leiClaimed": true, "leiProof": "CLAIMED", "leiEntityName": "Acme Corporation", "walletBound": false, "directory": "not requested", "tierNote": "LEI 7LTWFZYICNSX8D621K86 exists and is ACTIVE at GLEIF, recorded as a claim (leiProof CLAIMED) — a LEI is public, so this does not prove you own it. $25K/day cap applies. VERIFIED requires an attestation from a trusted issuer naming this agentId and LEI (POST /agent/:id/kyc-attestation).", "mandate": { "mandateId": "mnd_...", "ap2Compatible": true, ... }}Registration never returns VERIFIED. Mandate caps in the register request are clamped to the tier ceiling shown in tierCaps.
Binding a wallet. Add walletAddress to register an agent that can later authorize its own changes. Registering a wallet needs a signature from it: X-Wallet-Signature, X-Wallet-Timestamp (ms) and X-Wallet-Nonce headers carrying an EIP-191 signature over DPX-KYA-REGISTER\n{walletAddress lowercase}\n{name}\n{timestamp}\n{nonce}. An agent with no registered wallet cannot authorize mandates, revocation or attestations. The exact message formats for every signed action are served at GET /agent/auth-spec.
POST /agent/:id/verify
Section titled “POST /agent/:id/verify”Returns a signed 1-hour credential with effective spend caps and FATF attestation. Useful as a standalone audit artifact or for a third party checking an agent’s standing — not required to attach a mandate to a settlement (see below).
curl -X POST https://compliance.untitledfinancial.com/agent/agt_Xy9.../verify{ "verified": true, "kyaLevel": "VERIFIED", "kyaScore": 85, "credential": { "agentId": "agt_Xy9...", "issuedAt": 1751299200000, "expiresAt": 1751302800000, "mandateId": "mnd_...", "attestation": { "kyaLevel": "VERIFIED", "ownerVerified": true, "mandateActive": true, "fatfCompliant": true, "dailyCapUsd": 10000000, "maxNotionalUsd": 5000000 }, "signature": "HMAC-SHA256 signed, 1h TTL" }, "verifiableCredential": "eyJhbGciOiJFUzI1NiIsInR5cCI6InZjK2p3dCIsImtpZCI6ImRpZDp3ZWI6Y29tcGxpYW5jZS51bnRpdGxlZGZpbmFuY2lhbC5jb20ja2V5LTEifQ...."}credential is signed with HMAC — only DPX itself can verify it; a third party holding it has no way to check it’s real without calling DPX’s API back. verifiableCredential (added 2026-09-14) is a W3C Verifiable Credential in VC-JWT form, signed with an asymmetric key resolvable at https://compliance.untitledfinancial.com/.well-known/did.json — any third party can verify it independently, with no callback to DPX. Both attest the same underlying facts; use verifiableCredential for anything a party other than DPX needs to check on its own.
GET /.well-known/did.json and GET /agents/:id/did.json
Section titled “GET /.well-known/did.json and GET /agents/:id/did.json”did:web documents — DPX’s own identity as the credential issuer, and, per-agent, the identity verifiableCredential subjects resolve to. An agent’s own document only includes a verificationMethod (its own key) if it supplied publicKey at registration; otherwise it resolves but is DPX-anchored rather than self-controlled.
curl https://compliance.untitledfinancial.com/.well-known/did.jsoncurl https://compliance.untitledfinancial.com/agents/agt_Xy9.../did.jsonGET /agents/directory
Section titled “GET /agents/directory”Opt-in counterparty discovery — lists agents that explicitly set discoverable: true at registration (default false; registering does not make an agent publicly listed). Minimal fields only: no email, no raw LEI, no mandate detail. A listing also requires the agent to have registered a walletAddress with a signed proof of control (the register response says directory: listed or why it was not listed). Each entry carries identityBasis: self_declared for owner names that were only typed in, issuer_attested only when a trusted issuer has vouched for the LEI.
Registration is rate limited per IP and also capped overall per hour (separately for wallet-signed and unbound registrations); over the cap the endpoint returns 429 and the caller should retry later. Anonymous agents with no registered wallet expire after 30 days.
curl "https://compliance.untitledfinancial.com/agents/directory?ownerEntity=Acme"{ "count": 1, "agents": [{ "agentId": "agt_Xy9...", "name": "Acme Procurement Agent", "ownerEntity": "Acme GmbH", "kyaLevel": "VERIFIED", "leiVerified": true, "did": "did:web:compliance.untitledfinancial.com:agents:agt_Xy9...", "protocols": ["x402", "ap2"], "registeredAt": "2026-09-14T12:00:00.000Z" }]}POST /agent/mandate
Section titled “POST /agent/mandate”Create or update a spend mandate for a REGISTERED or VERIFIED agent. ANONYMOUS agents must upgrade first. REGISTERED agent caps are clamped to the $25K tier limit; VERIFIED agents (issuer-attested) set their own with no platform ceiling.
The request must be signed by the agent’s registered wallet over DPX-KYA-MANDATE\n{agentId}\n{maxNotionalUsd}\n{dailyCapUsd}\n{timestamp}\n{nonce}, sent as X-Wallet-Signature, X-Wallet-Timestamp and X-Wallet-Nonce. A signature for one amount does not authorize a different amount.
curl -X POST https://compliance.untitledfinancial.com/agent/mandate \ -H "Content-Type: application/json" \ -H "X-Wallet-Signature: 0x..." -H "X-Wallet-Timestamp: 1751299200000" -H "X-Wallet-Nonce: 8f3c2a91d4e7" \ -d '{ "agentId": "agt_Xy9...", "maxNotionalUsd": 500000, "dailyCapUsd": 2000000, "counterpartyWhitelist": ["7LTWFZYICNSX8D621K86"], "esgFloor": 45, "ap2Compatible": true }'GET /agent/:id
Section titled “GET /agent/:id”Retrieve agent record, current KYA level, score, and mandate. The owner’s contact email is not returned (the response says ownerEmailOnFile). A revoked agent returns a minimal record: status: REVOKED, revokedAt, revokedBy, the owner entity and the tier it held.
curl https://compliance.untitledfinancial.com/agent/agt_Xy9...DELETE /agent/:id
Section titled “DELETE /agent/:id”Revoke an agent. Credential verification will return REVOKED immediately. The request must be signed by the agent’s registered wallet over DPX-KYA-REVOKE\n{agentId}\n{timestamp}\n{nonce}.
Revocation is irreversible and minimizes the stored record to a tombstone: the contact email, mandate, public key and attestation detail are deleted, the agent leaves the public directory, and only the agent id, owner entity, registered wallet, the tier it held, and when and by whom it was revoked (owner or operator) are kept. The id keeps answering REVOKED on GET /agent/:id, /verify, /authority and /agent/by-wallet/:address (never 404, which would read as “never registered”), and a revoked agent can no longer receive a mandate or attestation. Revoking again is a no-op. The tombstone is kept for TOMBSTONE_RETENTION_DAYS (default 365).
An operator can hard-delete an agent that has no settlement history, for test data or mistakes, with DELETE /agent/{agentId}?purge=1 and the internal key. A wallet signature never purges. The purge checks the settlement trail, or requires confirmNoSettlements=true where that check isn’t configured, and refuses if the agent has settlements.
curl -X DELETE https://compliance.untitledfinancial.com/agent/agt_Xy9... \ -H "X-Wallet-Signature: 0x..." -H "X-Wallet-Timestamp: 1751299200000" -H "X-Wallet-Nonce: 5b1e0c77a2f9"Upgrading tiers
Section titled “Upgrading tiers”ANONYMOUS upgrades to REGISTERED by re-registering with ownerEntity and ownerEmail (a new agentId is issued). VERIFIED is not reached by re-registering: register with your ownerLei and a walletAddress, then have a trusted identity issuer sign a VC-JWT whose credentialSubject carries your agentId and lei, and submit it to POST /agent/:id/kyc-attestation (signed by your wallet over DPX-KYA-ATTEST). VERIFIED lasts until that credential expires. The registration response’s _next field says what applies to your agent.
To obtain a GLEIF LEI for your organization: gleif.org — LEIs are issued by Local Operating Units (LOUs), typically within 1–3 business days. Many financial institutions can also obtain an LEI on behalf of a client.
Attaching a mandate to a settlement
Section titled “Attaching a mandate to a settlement”Once an agent is registered with a mandate, attach it to a settlement with a single header — no credential to fetch or relay first:
curl -X POST https://agent.untitledfinancial.com/settle \ -H "Content-Type: application/json" \ -H "X-Agent-Id: agt_Xy9..." \ -d '{ "amount": 250000, "sourceCurrency": "USD", "destinationCurrency": "EUR", "recipientAddress": "0x..." }'X-Agent-Id is enough. The Settlement Agent calls back to /agent/:id/verify itself, live, at settlement time, and checks the returned mandate against the request: max notional, daily cap, counterparty whitelist, currency pairs, and ESG floor. A violation holds the settlement — same outcome as any other oracle/AI hold — rather than rejecting the request outright. Nothing needs to be pre-fetched or cached on the caller’s side, and there’s no signature to relay: the trust boundary is the live call between the two DPX services, not a bearer credential the caller has to protect.
Alternate: AP2 Payment Mandate (SD-JWT)
Section titled “Alternate: AP2 Payment Mandate (SD-JWT)”For agents whose mandate is issued by their own wallet or credentials provider rather than DPX’s registry — the AP2 spec form — submit a signed AP2 Payment Mandate directly in POST /settle as body.mandate:
curl -X POST https://agent.untitledfinancial.com/settle \ -H "Content-Type: application/json" \ -d '{ "amount": 1000, "sourceCurrency": "USD", "destinationCurrency": "USD", "recipientAddress": "0x...", "mandate": "<AP2 Payment Mandate SD-JWT>" }'The mandate must be a mandate.payment.1 or mandate.payment.open.1 Verifiable Credential, ES256-signed, with payee and payment_amount matching the settlement being requested exactly — DPX verifies the signature against a configured trusted-issuer allowlist and cross-checks the terms against the quote computed for that same call. A mandate that doesn’t verify or doesn’t match is a hard failure (HTTP 400), not a soft hold, since submitting one is an explicit request to authorize via mandate rather than the default sender-funded flow. Full capability document: GET https://agent.untitledfinancial.com/.well-known/ap2.json.
POST /vendor-risk — Composite vendor risk score
Section titled “POST /vendor-risk — Composite vendor risk score”Single call that runs compliance screening and ESG scoring in parallel and returns a composite 0–100 risk score. Replaces separate calls to /compliance/screen and /esg/score for vendor onboarding or pre-payment diligence workflows.
curl -X POST https://compliance.untitledfinancial.com/vendor-risk \ -H "Content-Type: application/json" \ -d '{ "name": "Berlin Supplier GmbH", "lei": "549300TRUWO2CD2G5692", "wallet": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045", "country": "DE", "amount": 85000 }'Request fields:
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Vendor or entity name |
lei | string | No | Legal Entity Identifier (improves accuracy) |
wallet | string | No | On-chain wallet address |
country | string | No | ISO 3166-1 alpha-2 country code |
amount | number | No | Transaction amount in USD (used for context in scoring) |
Response:
{ "vendorRiskScore": 82, "riskTier": "LOW", "recommendation": "Proceed — low risk. Standard monitoring applies.", "entity": { "name": "Berlin Supplier GmbH", "lei": "549300TRUWO2CD2G5692" }, "breakdown": { "complianceScore": 100, "esgScore": 74, "complianceWeight": 0.65, "esgWeight": 0.35 }, "compliance": { "verdict": "APPROVED", "signals": [], "sanctions": false, "pep": false, "fatfBlacklist": false }, "esg": { "score": 74, "tier": "MODERATE", "source": "esg.untitledfinancial.com" }, "generatedAt": "2026-07-02T21:30:00Z", "refreshAt": "2026-07-03T21:30:00Z"}Risk tiers:
| Score | Tier | Recommendation |
|---|---|---|
| ≥ 80 | LOW | Proceed — standard monitoring |
| 60–79 | MODERATE | Proceed with enhanced monitoring |
| 35–59 | ELEVATED | Manual review recommended |
| < 35 | HIGH | Block or escalate |
Scoring formula: vendorRiskScore = (complianceScore × 0.65) + (esgScore × 0.35)
Compliance scores: BLOCKED = 0, FLAGGED = 35, APPROVED = 100. Deductions applied for sanctions exposure, PEP linkage, and FATF grey/blacklist status. ESG defaults to 50 (neutral) when no wallet or LEI is supplied.
No API key required. No x402 payment required.
Embeddable widgets
Section titled “Embeddable widgets”Three self-contained HTML widgets for checkout and onboarding flows. No API key, no backend — paste into any page.
| Widget | URL | What it does |
|---|---|---|
| Sanctions check | GET /widget/sanctions | Input a wallet address or entity name — returns APPROVED/FLAGGED/BLOCKED with risk signals |
| ESG score badge | GET /widget/esg | Input a company name or LEI — returns score 0–100 with E/S/G breakdown |
| Corridor stability | GET /widget/corridors | Displays live OPTIMAL/CAUTION/ADVERSE badges for all USD corridors |
<!-- Sanctions check widget --><iframe src="https://compliance.untitledfinancial.com/widget/sanctions" width="100%" height="320" style="border:none;border-radius:8px"></iframe>
<!-- Corridor health widget --><iframe src="https://stability.untitledfinancial.com/widget/corridors" width="100%" height="320" style="border:none;border-radius:8px"></iframe>
<!-- ESG lookup widget --><iframe src="https://esg.untitledfinancial.com/widget/esg" width="100%" height="360" style="border:none;border-radius:8px"></iframe>Or open each URL directly to preview the standalone HTML before embedding.