Fraud.net · API Governance Rules

Fraud.net API Rules

Spectral linting rules defining API design standards and conventions for Fraud.net.

0 Rules
View Rules File View on GitHub

Spectral Ruleset

fraud-net-rules.yml Raw ↑
x-aid: fraud-net:rules
x-name: Fraud.net API Operational Rules
description: >-
  Operational rules for using the Fraud.net public APIs covering
  authentication, payload completeness, decisioning semantics, and
  post-event update obligations.
x-modified: '2026-04-28'
rules:
  - id: api-key-required
    title: API Key Required
    description: >-
      All public API requests must be authenticated using a Fraud.net
      issued API key. Keep keys server-side and rotate on suspicion of
      compromise.
    severity: required
  - id: pre-auth-timing
    title: Pre-Authorization Timing
    description: >-
      Cart Check should be invoked before payment authorization so the
      decision can influence whether the transaction proceeds. Calling
      after authorization reduces decisioning value.
    severity: recommended
  - id: payload-completeness
    title: Payload Completeness
    description: >-
      Send all available shopper, device, billing, shipping, and product
      fields. The model accuracy and resulting score quality depend on
      payload completeness.
    severity: required
  - id: device-data
    title: Include Device Data
    description: >-
      Where possible attach device fingerprint and IP context using the
      Fraud.net Device API or SDK. Missing device data significantly
      degrades signal strength.
    severity: recommended
  - id: idempotent-updates
    title: Idempotent Updates
    description: >-
      Update events (chargeback, fulfillment, disposition) should be
      idempotent on the client side; resending the same event must not
      produce duplicate effects.
    severity: required
  - id: pii-handling
    title: PII Handling
    description: >-
      Cart and transaction payloads contain regulated personal data and
      payment identifiers; transmit over TLS only and store responses
      according to your data retention policy.
    severity: required
  - id: post-event-feedback
    title: Send Post-Event Feedback
    description: >-
      Sending post-event signals (chargebacks, manual review outcomes,
      fulfillment) is essential to model retraining and is a contractual
      expectation for many plans.
    severity: required
  - id: rate-limits
    title: Rate Limits
    description: >-
      Plan-specific request rate limits apply; implement exponential
      backoff and circuit breaking for HTTP 429 responses.
    severity: required
  - id: response-codes
    title: Decision Response Handling
    description: >-
      Map Fraud.net decision codes (approve, decline, review) to your
      payment flow consistently. Treat unknown codes as review and
      escalate.
    severity: required

Work with this as data

Every ruleset here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for spectral rules

4 MCP tools reach this
  • find_rulesBrowse and filter every ruleset in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This ruleset
curl "https://apis.io/api/v1/rules/fraud-net-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.