Detect promotion patterns API

Report a promotion code only when the same customer uses it on at least three supplied orders, or when the same code and address appear for at least two customers. One use is not abuse.

The Detect promotion patterns operation is part of the E-commerce Fraud & Order Risk API on BRAINIAC.software. Report a promotion code only when the same customer uses it on at least three supplied orders, or when the same code and address appear for at least two customers. One use is not abuse. It is exposed as POST /api/v1/ecommerce-fraud/promotion-abuse-detect and priced at $0.04 USDC on Base. Payment uses the x402 exact scheme: an unpaid call returns HTTP 402 with payment requirements; after paying the exact USDC amount, retry the same request with a payment-signature header and Idempotency-Key. No account and no API key are required. Data sources for this product: Order history supplied in the request. Limitations: Patterns are calculated only from the orders in the request. One signal is an indicator, not a finding that a 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. Outputs are compliance prechecks, drafts, or data lookups for human review. They are not official determinations, legal advice, identity confirmation, or certified filings. Related operations in this group include Detect suspicious order patterns, Detect card-testing patterns, Detect bulk-order patterns, Detect refund patterns. Open the group documentation for the full request schema, field notes, and response examples before integrating.

POST$0.04 USDC
/api/v1/ecommerce-fraud/promotion-abuse-detect

Example request

curl -i -X POST "https://www.brainiac.software/api/v1/ecommerce-fraud/promotion-abuse-detect" \
  -H 'content-type: application/json' \
  -H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
  --data-binary @- <<'JSON'
{
  "orders": [
    {
      "id": "P-1",
      "customer": "C-1",
      "created": "2026-11-01",
      "promo": "SAVE10"
    },
    {
      "id": "P-2",
      "customer": "C-1",
      "created": "2026-11-02",
      "promo": "SAVE10"
    },
    {
      "id": "P-3",
      "customer": "C-1",
      "created": "2026-11-03",
      "promo": "SAVE10"
    },
    {
      "id": "P-4",
      "customer": "C-2",
      "created": "2026-11-03",
      "promo": "SAVE10"
    }
  ]
}
JSON

An unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.

FAQ

  • Do I need an API key? No. Pay the listed USDC amount with x402.
  • What network? Base (eip155:8453), USDC.
  • Is this an official determination? No. Results are for human review against the cited sources.

Related APIs

E-commerce Fraud & Order Risk APIFull docsHow it works