Monitor

Guides

Customers and sources

Customer profiles, freezing, enhanced monitoring, linking to a verification, and the sources of events.

Customers

A customer is your reference (cus_10442), in a project and a mode. LENS builds its profile from its events.

Route
GET /lens/subjectsCustomers, by score
GET /lens/subjects/:referenceProfile: score and its factors, volumes, alerts, verification state
PATCH /lens/subjects/:referencefrozen, frozen_reason, enhanced_monitoring, enhanced_reason
POST /lens/subjects/:reference/link{ identity_id }: link the customer to a Connect identity

A frozen customer's payments are denied by decisions. A verification session approved with the same reference links the customer to it: the level, and whether the attestation is valid, revoked or expired, are read by LENS.

Score

POST /lens/score with { subject_type: "subject", subject_id: "cus_10442", amount_usd: 500 } answers score, breakdown.factors and subject_known. Factors include volume and velocity, counterparties, open alerts, confirmed fraud history, verification state and shared-list matches.

Sources

A source is where events come from: your core banking, a card processor, a CSV import.

Route
GET /lens/sourcesWith events_count, last_event_at, last_error
POST /lens/sources{ name, slug?, kind?: "api" or "import" }
PATCH /lens/sources/:id{ name?, enabled?, project? }

An unknown source is created on its first event.

On this page