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.
What support contains
Built server-side on every assess — safe for agents, no bypass recipes.
| Key | Use |
|---|---|
headline | One-line status for the ticket header |
story | Internal narrative for the agent |
customer_safe_line | Optional copy you can show the customer |
support_decision_guide | What 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.
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.
| Piece | What 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. |
Backup — FraudLens cabinet
When your UI did not store the card (legacy order, failed write, audit):
- Open Dashboard → Users / ATO.
- Look up by
user_id— baseline, recent events, flags. - Or
GET /v1/profiles/{user_id}with the secret key from your internal tool.