SEON · Capability

SEON API — BIN

SEON API — BIN. 1 operations. Lead operation: Lookup BIN (card) information. Self-contained Naftiko capability covering one Seon Docs business surface.

Run with Naftiko Seon DocsBIN

What You Can Do

GET
Lookupbin — Lookup BIN (card) information
/v1/seonrestservice/bin-api/v1/{bin}

MCP Tools

lookup-bin-card-information

Lookup BIN (card) information

read-only idempotent

Capability Spec

seon-docs-bin.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: SEON API — BIN
  description: 'SEON API — BIN. 1 operations. Lead operation: Lookup BIN (card) information. Self-contained Naftiko capability
    covering one Seon Docs business surface.'
  tags:
  - Seon Docs
  - BIN
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SEON_DOCS_API_KEY: SEON_DOCS_API_KEY
capability:
  consumes:
  - type: http
    namespace: seon-docs-bin
    baseUri: https://api.seon.io
    description: SEON API — BIN business capability. Self-contained, no shared references.
    resources:
    - name: SeonRestService-bin-api-v1-bin
      path: /SeonRestService/bin-api/v1/{bin}
      operations:
      - name: lookupbin
        method: GET
        description: Lookup BIN (card) information
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: bin
          in: path
          type: string
          description: Bank Identification Number to evaluate.
          required: true
        - name: include
          in: query
          type: string
          description: Optional include directives (e.g. id).
    authentication:
      type: apikey
      key: X-API-KEY
      value: '{{env.SEON_DOCS_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: seon-docs-bin-rest
    port: 8080
    description: REST adapter for SEON API — BIN. One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/seonrestservice/bin-api/v1/{bin}
      name: seonrestservice-bin-api-v1-bin
      description: REST surface for SeonRestService-bin-api-v1-bin.
      operations:
      - method: GET
        name: lookupbin
        description: Lookup BIN (card) information
        call: seon-docs-bin.lookupbin
        with:
          bin: rest.bin
          include: rest.include
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: seon-docs-bin-mcp
    port: 9090
    transport: http
    description: MCP adapter for SEON API — BIN. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: lookup-bin-card-information
      description: Lookup BIN (card) information
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: seon-docs-bin.lookupbin
      with:
        bin: tools.bin
        include: tools.include
      outputParameters:
      - type: object
        mapping: $.