Lithic · Capability

Lithic Developer API — Fraud Report

Lithic Developer API — Fraud Report. 2 operations. Lead operation: Get a fraud report for a transaction. Self-contained Naftiko capability covering one Lithic business surface.

Run with Naftiko LithicFraud Report

What You Can Do

GET
Getfraudreport — Get a fraud report for a transaction
/v1/v1/fraud/transactions/{transaction-token}
POST
Createupdatefraudreport — Create or update a fraud report for a transaction
/v1/v1/fraud/transactions/{transaction-token}

MCP Tools

get-fraud-report-transaction

Get a fraud report for a transaction

read-only idempotent
create-update-fraud-report-transaction

Create or update a fraud report for a transaction

Capability Spec

lithic-fraud-report.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Lithic Developer API — Fraud Report
  description: 'Lithic Developer API — Fraud Report. 2 operations. Lead operation: Get a fraud report for a transaction. Self-contained
    Naftiko capability covering one Lithic business surface.'
  tags:
  - Lithic
  - Fraud Report
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LITHIC_API_KEY: LITHIC_API_KEY
capability:
  consumes:
  - type: http
    namespace: lithic-fraud-report
    baseUri: https://sandbox.lithic.com
    description: Lithic Developer API — Fraud Report business capability. Self-contained, no shared references.
    resources:
    - name: v1-fraud-transactions-transaction_token
      path: /v1/fraud/transactions/{transaction_token}
      operations:
      - name: getfraudreport
        method: GET
        description: Get a fraud report for a transaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: transaction_token
          in: path
          type: string
          description: The token of the transaction that the enhanced data is associated with.
          required: true
      - name: createupdatefraudreport
        method: POST
        description: Create or update a fraud report for a transaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: transaction_token
          in: path
          type: string
          description: The token of the transaction that the enhanced data is associated with.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.LITHIC_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: lithic-fraud-report-rest
    port: 8080
    description: REST adapter for Lithic Developer API — Fraud Report. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/fraud/transactions/{transaction-token}
      name: v1-fraud-transactions-transaction-token
      description: REST surface for v1-fraud-transactions-transaction_token.
      operations:
      - method: GET
        name: getfraudreport
        description: Get a fraud report for a transaction
        call: lithic-fraud-report.getfraudreport
        with:
          transaction_token: rest.transaction_token
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createupdatefraudreport
        description: Create or update a fraud report for a transaction
        call: lithic-fraud-report.createupdatefraudreport
        with:
          transaction_token: rest.transaction_token
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: lithic-fraud-report-mcp
    port: 9090
    transport: http
    description: MCP adapter for Lithic Developer API — Fraud Report. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-fraud-report-transaction
      description: Get a fraud report for a transaction
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: lithic-fraud-report.getfraudreport
      with:
        transaction_token: tools.transaction_token
      outputParameters:
      - type: object
        mapping: $.
    - name: create-update-fraud-report-transaction
      description: Create or update a fraud report for a transaction
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: lithic-fraud-report.createupdatefraudreport
      with:
        transaction_token: tools.transaction_token
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.