Docs / Support & lookup

Support & lookup

Support should see FraudLens inside your product, not by logging into FraudLens every ticket. We store profiles as a backup when your UI is missing.

Primary path — your admin / ticket

On each assess, persist at least action, score, reasons, and the whole support object next to the user or order. Your CS tools then show that card without leaving your site.

Why not “log into FraudLens” as the main flow Extra tab, extra login, slower tickets. Fine as backup; bad as default. Best UX: same screen where the agent already opens the customer.

What support contains

Built server-side on every assess — safe for agents, no bypass recipes.

KeyUse
headlineOne-line status for the ticket header
storyInternal narrative for the agent
customer_safe_lineOptional copy you can show the customer
support_decision_guideWhat to do next (MFA / hold / allow)
findings[]Top reasons with plain language + severity

Full response map: Assess response.

Universal card (recommended)

One JS file (CSS inlined). Pass the whole assess response or just support — no iframe, no FraudLens login, works in any admin.

See it live Full preview page: /snippets/preview/

Allow

Challenge

Block

<div id="fl-support"></div>
<script src="https://fraudlens.io/snippets/support-card.js"></script>
<script>
  // Easiest: whole assess JSON from your DB / webhook
  FraudLensSupport.mount("#fl-support", lastAssess);

  // Or HTML string for React/Vue/Shopify liquid / WP admin:
  // el.innerHTML = FraudLensSupport.render(lastAssess);
</script>

Self-host /snippets/support-card.js if you want zero third-party script. Optional separate CSS still at /snippets/support-card.css (not required).

Anywhere vs plugins

The support card is a universal snippet — drop the script into Shopify Liquid, WordPress admin, custom React/Vue, Zendesk apps, Intercom, or any HTML page. No FraudLens plugin required for the card itself.

PieceWhat you need
Support card UI Only support-card.js + stored assess JSON. Works everywhere HTML/JS runs.
Browser collect (/c.js) Script tag on storefront / signup. Same on Shopify theme, WP, or SPA — not a marketplace plugin.
Server /v1/assess Your backend (Node, PHP, Python, Shopify app proxy, WP plugin, Cloudflare Worker…). Secret key stays server-side.
Optional Shopify / Woo helpers We ship example apps under Shopify / Woo — convenience, not a hard requirement.
Rule of thumb Plugins help with checkout hooks and secret-key storage. The card + collect snippets are portable — copy once, paste into any stack.

Backup — FraudLens cabinet

When your UI did not store the card (legacy order, failed write, audit):

  1. Open Dashboard → Users / ATO.
  2. Look up by user_id — baseline, recent events, flags.
  3. Or GET /v1/profiles/{user_id} with the secret key from your internal tool.
Backup only Ideal for escalations and “what did we see last Tuesday?”. Do not train L1 support to live in FraudLens — keep them in your product + the embeddable card.