Detect refund patterns API
Count supplied orders whose status is refunded. A customer needs at least three refunds before a repeat pattern is reported. A single refund is not treated as abuse.
The Detect refund patterns operation is part of the E-commerce Fraud & Order Risk API on BRAINIAC.software. Count supplied orders whose status is refunded. A customer needs at least three refunds before a repeat pattern is reported. A single refund is not treated as abuse. It is exposed as POST /api/v1/ecommerce-fraud/refund-abuse-pattern-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 promotion patterns. Open the group documentation for the full request schema, field notes, and response examples before integrating.
/api/v1/ecommerce-fraud/refund-abuse-pattern-detectExample request
curl -i -X POST "https://www.brainiac.software/api/v1/ecommerce-fraud/refund-abuse-pattern-detect" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"orders": [
{
"id": "R-1",
"customer": "C-1",
"created": "2026-11-01",
"amount": 20,
"currency": "USD",
"status": "refunded"
},
{
"id": "R-2",
"customer": "C-1",
"created": "2026-11-02",
"amount": 22,
"currency": "USD",
"status": "refunded"
},
{
"id": "R-3",
"customer": "C-1",
"created": "2026-11-03",
"amount": 21,
"currency": "USD",
"status": "refunded"
},
{
"id": "R-4",
"customer": "C-1",
"created": "2026-11-04",
"amount": 20,
"currency": "USD",
"status": "paid"
},
{
"id": "R-5",
"customer": "C-2",
"created": "2026-11-04",
"amount": 18,
"currency": "USD",
"status": "refunded"
}
]
}
JSONAn 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 operations
- Detect suspicious order patterns — $0.05 USDC
- Detect card-testing patterns — $0.05 USDC
- Detect bulk-order patterns — $0.04 USDC
- Detect promotion patterns — $0.04 USDC