# BRAINIAC Supplier Bank Change Risk Detector

> BRAINIAC Supplier Bank Change Risk Detector is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.04/call, status unknown (last checked 2026-11-11).

Analyzes accounts-payable invoice records to detect suspicious supplier bank detail changes that may indicate payment diversion fraud.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/fraud-signals/supplier-bank-change-risk?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-supplier-bank-change-risk-detector-453279fa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_M3r3kLke1JPOUjHDEy8Ff

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-supplier-bank-change-risk-detector-453279fa -d '<json body>'
```

Example prompt: Can you check my AP export for any suppliers who recently changed their bank details and then submitted a high-value invoice? I'm particularly worried about payment diversion fraud — here's the CSV with invoice records including bank change timestamps and amounts.

## When to prefer this

Choose this endpoint when you have structured accounts-payable invoice data with supplier bank detail fields and need to detect payment diversion risk before processing payments. It is specifically optimized for the supplier-bank-change attack vector — not general invoice fraud or duplicate payment detection. It works entirely on caller-supplied data with no external network calls, making it safe for sensitive financial data. Prefer this over general-purpose fraud APIs when you need deterministic, auditable rule-based signals with clearly separated observed facts vs. inferred threats, and when you want pay-per-call pricing with no account setup.

## Known failure modes

- Missing or malformed invoice data returns no signals detected
- Bank change timestamps absent from input means timing-based signals cannot fire
- Truncated or empty CSV/JSON input produces empty items array
- Invoices without supplierId or bankAccountLast4 fields reduce signal coverage
- Very large CSV exceeding 200,000 characters will be rejected by schema validation
- Payment of x402 fee failure blocks API access entirely

## 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 structured JSON object containing: detected fraud signals with confidence levels (high/medium/low), observed facts (bank digit changes, timing windows, invoice values, missing PO numbers), inferred threat descriptions, related record IDs, top-level findings with codes and details, a findings count, check timestamp, and explicit limitations clarifying that no external payment processors or financial accounts are contacted and no confirmed-fraud labels are assigned without evidence.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "maxLength": 200000
  },
  "asOf": {
   "type": "string",
   "maxLength": 40
  },
  "file": {
   "type": "object",
   "required": [
    "fileBase64"
   ],
   "properties": {
    "role": {
     "type": "string",
     "maxLength": 80
    },
    "filename": {
     "type": "string",
     "maxLength": 180,
     "minLength": 1
    },
    "mediaType": {
     "enum": [
      "text/plain",
      "text/csv",
      "application/json",
      "application/octet-stream"
     ],
     "type": "string"
    },
    "fileBase64": {
     "type": "string",
     "maxLength": 12000000,
     "minLength": 1
    }
   },
   "additionalProperties": false
  },
  "json": {
   "type": "string",
   "maxLength": 200000
  },
  "text": {
   "type": "string",
   "maxLength": 200000
  },
  "files": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "fileBase64"
    ],
    "properties": {
     "role": {
      "type": "string",
      "maxLength": 80
     },
     "filename": {
      "type": "string",
      "maxLength": 180,
      "minLength": 1
     },
     "mediaType": {
      "enum": [
       "text/plain",
       "text/csv",
       "application/json",
       "application/octet-stream"
      ],
      "type": "string"
     },
     "fileBase64": {
      "type": "string",
      "maxLength": 12000000,
      "minLength": 1
     }
    },
    "additionalProperties": false
   },
   "maxItems": 20
  },
  "invoices": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "at": {
      "type": "string",
      "maxLength": 40
     },
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "amount": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "labels": {
      "type": "array",
      "items": {
       "type": "string",
       "maxLength": 80
      },
      "maxItems": 40
     },
     "source": {
      "type": "string",
      "maxLength": 200
     },
     "status": {
      "type": "string",
      "maxLength": 80
     },
     "currency": {
      "type": "string",
      "maxLength": 12
     },
     "poNumber": {
      "type": "string",
      "maxLength": 120
     },
     "ibanLast4": {
      "type": "string",
      "maxLength": 4
     },
     "lineCount": {
      "type": "number",
      "maximum": 100000,
      "minimum": 0
     },
     "taxAmount": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
   
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "id": "supplier-bank-INV9",
    "title": "Suspicious supplier bank-detail change",
    "lastAt": "2026-11-04T20:00:00.000Z",
    "source": "Caller-supplied AP export",
    "status": "signal",
    "firstAt": "2026-11-04T10:00:00.000Z",
    "reasons": [
     "bank_details_changed",
     "invoice_soon_after_bank_change",
     "high_value_after_change",
     "missing_po_after_change"
    ],
    "detector": "supplier-bank-change-risk",
    "evidence": [
     {
      "at": "2026-11-04T10:00:00.000Z",
      "fact": "supplier=SUP9; bank…8888; prev…1234",
      "recordId": "INV9",
      "inference": "Supplier bank-change timing is a risk indicator, not confirmed fraud.",
      "confidence": "medium"
     }
    ],
    "confidence": "high",
    "observedFacts": [
     "Bank details changed (…1234 → …8888).",
     "Invoice timed within 72 hours of bank-detail change.",
     "High-value invoice USD 25000 after bank change.",
     "No PO number on invoice after bank change."
    ],
    "confirmedFraud": false,
    "inferredThreat": "Bank detail changes shortly before payment can indicate supplier payment diversion.",
    "relatedRecordIds": [
     "INV9"
    ]
   }
  ],
  "status": "detected",
  "findings": [
   {
    "code": "supplier_bank_change",
    "kind": "conflict",
    "detail": "Supplier bank-change indicators: bank_details_changed, invoice_soon_after_bank_change, high_value_after_change, missing_po_after_change (confirmedFraud=false).",
    "subject": "SUP9"
   }
  ],
  "checkedAt": "2026-11-04T21:00:00.000Z",
  "itemCount": 1,
  "limitations": [
   "Payment records, invoices, identity rows, and transaction histories are copied only from caller-supplied fields. Payment processors and financial accounts are never contacted.",
   "Matching and velocity checks are deterministic local rules over supplied records. Missing values are not invented.",
   "Observed facts are separated from inferred risk hypotheses. Statistical anomalies alone are never labeled confirmed fraud.",
   "Personal and financial identifiers are masked in responses (email local-part hashed length, last4 only for cards/accounts).",
   "No paid fraud-intel feed is used and no API key is required."
  ],
  "apiKeyRequired": false,
  "networkAccessed": false,
  "paidProviderUsed": false,
  "confirmedFraudClaimed": false,
  "financialAccountAccessed": false,
  "paymentProcessorConnected": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-supplier-bank-change-risk-detector-453279fa/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)
