VTEX · Capability

VTex Anti-fraud Provider API — Anti-Fraud Flow

VTex Anti-fraud Provider API — Anti-Fraud Flow. 6 operations. Lead operation: VTex List Anti-fraud Provider Manifest. Self-contained Naftiko capability covering one Vtex business surface.

Run with Naftiko VtexAnti-Fraud Flow

What You Can Do

GET
Manifest — VTex List Anti-fraud Provider Manifest
/v1/manifest
POST
Sendantifraudpreanalysisdata — VTex Send Anti-fraud Pre-Analysis Data (optional)
/v1/pre-analysis
POST
Sendantifrauddata — VTex Send Anti-fraud Data
/v1/transactions
PUT
Updateantifraudtransactionsoptional — VTex Update Anti-fraud Transactions (optional)
/v1/transactions/{transactionid}
DELETE
Stopantifraudanalysisoptional — VTex Stop Anti-fraud Analysis (optional)
/v1/transactions/{transactions-id}
GET
Getantifraudstatus — VTex Get Anti-fraud Status
/v1/transactions/{transactions-id}

MCP Tools

vtex-list-anti-fraud-provider

VTex List Anti-fraud Provider Manifest

read-only idempotent
vtex-send-anti-fraud-pre

VTex Send Anti-fraud Pre-Analysis Data (optional)

vtex-send-anti-fraud-data

VTex Send Anti-fraud Data

vtex-update-anti-fraud-transactions

VTex Update Anti-fraud Transactions (optional)

idempotent
vtex-stop-anti-fraud-analysis

VTex Stop Anti-fraud Analysis (optional)

idempotent
vtex-get-anti-fraud-status

VTex Get Anti-fraud Status

read-only idempotent

Capability Spec

anti-fraud-provider-anti-fraud-flow.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: VTex Anti-fraud Provider API — Anti-Fraud Flow
  description: 'VTex Anti-fraud Provider API — Anti-Fraud Flow. 6 operations. Lead operation: VTex List Anti-fraud Provider
    Manifest. Self-contained Naftiko capability covering one Vtex business surface.'
  tags:
  - Vtex
  - Anti-Fraud Flow
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    VTEX_API_KEY: VTEX_API_KEY
capability:
  consumes:
  - type: http
    namespace: anti-fraud-provider-anti-fraud-flow
    baseUri: https://{providerApiEndpoint}
    description: VTex Anti-fraud Provider API — Anti-Fraud Flow business capability. Self-contained, no shared references.
    resources:
    - name: manifest
      path: /manifest
      operations:
      - name: manifest
        method: GET
        description: VTex List Anti-fraud Provider Manifest
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: pre-analysis
      path: /pre-analysis
      operations:
      - name: sendantifraudpreanalysisdata
        method: POST
        description: VTex Send Anti-fraud Pre-Analysis Data (optional)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: transactions
      path: /transactions
      operations:
      - name: sendantifrauddata
        method: POST
        description: VTex Send Anti-fraud Data
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: transactions-transactionId
      path: /transactions/{transactionId}
      operations:
      - name: updateantifraudtransactionsoptional
        method: PUT
        description: VTex Update Anti-fraud Transactions (optional)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: transactions-transactions.Id
      path: /transactions/{transactions.Id}
      operations:
      - name: stopantifraudanalysisoptional
        method: DELETE
        description: VTex Stop Anti-fraud Analysis (optional)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: transactions-transactions.id
      path: /transactions/{transactions.id}
      operations:
      - name: getantifraudstatus
        method: GET
        description: VTex Get Anti-fraud Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: VtexIdclientAutCookie
      value: '{{env.VTEX_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: anti-fraud-provider-anti-fraud-flow-rest
    port: 8080
    description: REST adapter for VTex Anti-fraud Provider API — Anti-Fraud Flow. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/manifest
      name: manifest
      description: REST surface for manifest.
      operations:
      - method: GET
        name: manifest
        description: VTex List Anti-fraud Provider Manifest
        call: anti-fraud-provider-anti-fraud-flow.manifest
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/pre-analysis
      name: pre-analysis
      description: REST surface for pre-analysis.
      operations:
      - method: POST
        name: sendantifraudpreanalysisdata
        description: VTex Send Anti-fraud Pre-Analysis Data (optional)
        call: anti-fraud-provider-anti-fraud-flow.sendantifraudpreanalysisdata
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/transactions
      name: transactions
      description: REST surface for transactions.
      operations:
      - method: POST
        name: sendantifrauddata
        description: VTex Send Anti-fraud Data
        call: anti-fraud-provider-anti-fraud-flow.sendantifrauddata
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/transactions/{transactionid}
      name: transactions-transactionid
      description: REST surface for transactions-transactionId.
      operations:
      - method: PUT
        name: updateantifraudtransactionsoptional
        description: VTex Update Anti-fraud Transactions (optional)
        call: anti-fraud-provider-anti-fraud-flow.updateantifraudtransactionsoptional
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/transactions/{transactions-id}
      name: transactions-transactions-id
      description: REST surface for transactions-transactions.Id.
      operations:
      - method: DELETE
        name: stopantifraudanalysisoptional
        description: VTex Stop Anti-fraud Analysis (optional)
        call: anti-fraud-provider-anti-fraud-flow.stopantifraudanalysisoptional
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/transactions/{transactions-id}
      name: transactions-transactions-id
      description: REST surface for transactions-transactions.id.
      operations:
      - method: GET
        name: getantifraudstatus
        description: VTex Get Anti-fraud Status
        call: anti-fraud-provider-anti-fraud-flow.getantifraudstatus
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: anti-fraud-provider-anti-fraud-flow-mcp
    port: 9090
    transport: http
    description: MCP adapter for VTex Anti-fraud Provider API — Anti-Fraud Flow. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: vtex-list-anti-fraud-provider
      description: VTex List Anti-fraud Provider Manifest
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: anti-fraud-provider-anti-fraud-flow.manifest
      outputParameters:
      - type: object
        mapping: $.
    - name: vtex-send-anti-fraud-pre
      description: VTex Send Anti-fraud Pre-Analysis Data (optional)
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: anti-fraud-provider-anti-fraud-flow.sendantifraudpreanalysisdata
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: vtex-send-anti-fraud-data
      description: VTex Send Anti-fraud Data
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: anti-fraud-provider-anti-fraud-flow.sendantifrauddata
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: vtex-update-anti-fraud-transactions
      description: VTex Update Anti-fraud Transactions (optional)
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: anti-fraud-provider-anti-fraud-flow.updateantifraudtransactionsoptional
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: vtex-stop-anti-fraud-analysis
      description: VTex Stop Anti-fraud Analysis (optional)
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: anti-fraud-provider-anti-fraud-flow.stopantifraudanalysisoptional
      outputParameters:
      - type: object
        mapping: $.
    - name: vtex-get-anti-fraud-status
      description: VTex Get Anti-fraud Status
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: anti-fraud-provider-anti-fraud-flow.getantifraudstatus
      outputParameters:
      - type: object
        mapping: $.