# BRAINIAC E-commerce Fraud Investigation Report

> BRAINIAC E-commerce Fraud Investigation Report is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.12/call, status unknown (last checked 2026-11-11).

Analyzes a batch of e-commerce orders to detect fraud signals such as repeat refunds, card testing, promo abuse, and suspicious patterns, returning a structured investigation report with risk level and findings.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/ecommerce-fraud/investigation-report?utm_source=zero.xyz
- Price: $0.12/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-e-commerce-fraud-investigation-report-c45fd1f1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_quMsD1QkHVs3_IbJCGg7q

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability brainiac-e-commerce-fraud-investigation-report-c45fd1f1 -d '<json body>'
```

Example prompt: Can you run a fraud investigation on these 50 orders from the last 7 days? Flag any customers with 3 or more refunds, any card testing patterns on amounts under $5, and bulk orders over 100 units — I'll paste the order data as JSON.

## When to prefer this

Use this endpoint when you need a structured, machine-readable fraud investigation report on a specific batch of e-commerce orders, especially when you want rule-based signals like repeat refunds, refund rate thresholds, card testing, promo abuse, and bulk quantity flags — without setting up a full fraud platform account. Ideal for agents doing ad-hoc fraud triage, pre-chargeback review, or automated order screening at $0.12 per call with no subscription required.

## Known failure modes

- Fewer than 3 orders supplied — minimum order count not met
- Missing required fields such as currency or customer ID reduce signal quality and generate 'missing' findings
- Card fingerprints absent — card-based signals skipped and noted in findings
- No small-amount or quantity rules provided — those checks are skipped
- Input exceeds 200 orders or CSV/JSON exceeds 200,000 characters — payload too large
- Malformed JSON or CSV causes parsing failure
- Payment not sent or insufficient USDC — 402 Payment Required returned

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

Returns a JSON object with a top-level risk level (e.g. 'review', 'clear', 'block'), a status field, an array of fraud signals with codes, rules triggered, affected order IDs, and a detailed findings array covering indicators, missing data observations, and rule gaps — giving the agent a complete picture of what fraud patterns were detected and what data was absent.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "maxLength": 200000
  },
  "file": {
   "type": "object",
   "required": [
    "mediaType",
    "fileBase64"
   ],
   "properties": {
    "filename": {
     "type": "string",
     "maxLength": 180,
     "minLength": 1
    },
    "mediaType": {
     "enum": [
      "text/plain",
      "text/csv",
      "application/json"
     ],
     "type": "string"
    },
    "fileBase64": {
     "type": "string",
     "maxLength": 12000000,
     "minLength": 1
    }
   },
   "additionalProperties": false
  },
  "json": {
   "type": "string",
   "maxLength": 200000
  },
  "text": {
   "type": "string",
   "maxLength": 200000
  },
  "rules": {
   "type": "object",
   "properties": {
    "orders": {
     "type": "integer",
     "maximum": 50,
     "minimum": 3
    },
    "quantity": {
     "type": "integer",
     "maximum": 1000000,
     "minimum": 1
    },
    "smallAmount": {
     "type": "number",
     "maximum": 1000000,
     "minimum": 0
    }
   },
   "additionalProperties": false
  },
  "orders": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "ip": {
      "type": "string",
      "maxLength": 80
     },
     "card": {
      "type": "string",
      "maxLength": 40
     },
     "promo": {
      "type": "string",
      "maxLength": 40
     },
     "amount": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "status": {
      "type": "string",
      "maxLength": 40
     },
     "address": {
      "type": "string",
      "maxLength": 200
     },
     "country": {
      "type": "string",
      "maxLength": 40
     },
     "created": {
      "type": "string",
      "maxLength": 40
     },
     "currency": {
      "type": "string",
      "maxLength": 12
     },
     "customer": {
      "type": "string",
      "maxLength": 160
     },
     "quantity": {
      "type": "integer",
      "maximum": 1000000,
      "minimum": 0
     },
     "billCountry": {
      "type": "string",
      "maxLength": 40
     }
    },
    "additionalProperties": false
   },
   "maxItems": 200
  },
  "window": {
   "type": "integer",
   "maximum": 10080,
   "minimum": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "level": "review",
  "status": "checked",
  "signals": [
   {
    "code": "repeat_refund",
    "rule": "min_refunded_orders",
    "detail": "Customer C-1 has 3 supplied orders with status refunded.",
    "orders": [
     "R-1",
     "R-2",
     "R-3"
    ],
    "confirmed": false
   },
   {
    "code": "refund_rate",
    "rule": "refunded_share_at_least_half",
    "detail": "Customer C-1 has 3 refunded orders out of 4 supplied orders. The share is at least half and at least 3 refunds.",
    "orders": [
     "R-1",
     "R-2",
     "R-3"
    ],
    "confirmed": false
   }
  ],
  "findings": [
   {
    "code": "sample_too_small",
    "kind": "observation",
    "detail": "Fewer than 8 amounts share a currency, so no amount fence was applied.",
    "subject": ""
   },
   {
    "code": "card_missing",
    "kind": "missing",
    "detail": "No card fingerprint was supplied. Cards were not looked up.",
    "subject": ""
   },
   {
    "code": "small_amount_rule_missing",
    "kind": "observation",
    "detail": "No small-amount rule was supplied, so low amounts were not treated as card testing.",
    "subject": ""
   },
   {
    "code": "quantity_rule_missing",
    "kind": "observation",
    "detail": "No quantity rule was supplied. Bulk quantity was not inferred.",
    "subject": ""
   },
   {
    "code": "repeat_refund",
    "kind": "indicator",
    "detail": "Customer C-1 has 3 supplied orders with status refunded.",
    "subject": "R-1"
   },
   {
    "code": "refund_rate",
    "kind": "indicator",
    "detail": "Customer C-1 has 3 refunded orders out of 4 supplied orders. The share is at least half and at least 3 refunds.",
    "subject": "R-1"
   },
   {
    "code": "promo_missing",
    "kind": "missing",
    "detail": "No promotion code was supplied.",
    "subject": ""
   },
   {
    "code": "address_incomplete",
    "kind": "observation",
    "detail": "No shipping address was supplied. A missing address is not a fraud indicator.",
    "subject": "R-1"
   },
   {
    "code": "address_incomplete",
    "kind": "observation",
    "detail": "No shipping address was supplied. A missing address is not a fraud indicator.",
    "subject": "R-2"
   },
   {
    "code": "address_incomplete",
    "kind": "observation",
    "detail": "No shipping address was supplied. A missing address is not a fraud indicator.",
    "subject": "R-3"
   },
   {
    "code": "address_incomplete",
    "kind": "observation",
    "detail": "No shipping ad
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-e-commerce-fraud-investigation-report-c45fd1f1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
