# BRAINIAC Card Testing Pattern Detector

> BRAINIAC Card Testing Pattern Detector is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-11).

Analyzes a batch of orders to detect card testing fraud patterns such as decline clusters, velocity abuse, and small-amount probing

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/ecommerce-fraud/card-testing-pattern-detect?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-card-testing-pattern-detector-19c5a005
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5EElYfhr244DfZGOIVBmV

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-card-testing-pattern-detector-19c5a005 -d '<json body>'
```

Example prompt: Can you check these last 48 hours of orders for card testing patterns? I have 15 transactions from various cards — look for decline clusters and flag anything suspicious, treating amounts under $2 as small-amount probing.

## When to prefer this

Use this endpoint when you need a lightweight, stateless, pay-per-call card testing fraud check with no account setup or merchant system integration required. It is ideal for agents that need to quickly analyze a snapshot of recent orders for decline clustering, velocity patterns, and small-amount probing without connecting to a payment processor. Prefer it over full fraud platforms when you want an isolated, audit-safe analysis that explicitly confirms no orders are blocked and no accounts are accessed.

## Known failure modes

- Insufficient orders provided (fewer than the minimum required by rules) — signals may be absent or incomplete
- Missing required fields like card or status on individual orders — reduces signal quality
- No small-amount rule supplied — small-amount probing signals will not fire (noted in findings as observation)
- Overly large order batch exceeding 200 items — request rejected
- Invalid or malformed CSV/JSON/file input — parse error returned
- Patterns calculated only from supplied orders — historical data outside the request window is not considered

## 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 fraud level (e.g. 'indicator'), a status ('checked'), an array of signals with codes, rules, affected order IDs, and confirmation status, plus detailed findings with kind and subject fields, a checked timestamp, and a limitations list clarifying what was and was not done (no orders blocked, no payments processed, no accounts accessed).

## 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": "indicator",
  "status": "checked",
  "signals": [
   {
    "code": "decline_cluster",
    "rule": "min_orders_same_card",
    "detail": "3 supplied orders for card 424242-4242 (C-1) are declined or failed. No payment was retried.",
    "orders": [
     "T-1",
     "T-2",
     "T-3"
    ],
    "confirmed": false
   }
  ],
  "findings": [
   {
    "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": "decline_cluster",
    "kind": "indicator",
    "detail": "3 supplied orders for card 424242-4242 (C-1) are declined or failed. No payment was retried.",
    "subject": "T-1"
   }
  ],
  "checkedAt": "2026-11-04T09:00:00.000Z",
  "limitations": [
   "Patterns are calculated only from the orders supplied in the request.",
   "One signal is an indicator. It does not mean the customer is fraudulent.",
   "No payment is processed, no order is blocked, and no merchant account is accessed.",
   "A full card number is not copied. A statistical outlier is not confirmed fraud."
  ],
  "orderBlocked": false,
  "fraudConfirmed": false,
  "accountAccessed": false,
  "paymentProcessed": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-card-testing-pattern-detector-19c5a005/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)
