SWIFT · Capability

SWIFT SwiftRef API — BBANs

SWIFT SwiftRef API — BBANs. 1 operations. Lead operation: Get IBAN for BBAN. Self-contained Naftiko capability covering one Swift business surface.

Run with Naftiko SwiftBBANs

What You Can Do

GET
Getibanforbban — Get IBAN for BBAN
/v1/v2/bbans/{bban}/iban

MCP Tools

get-iban-bban

Get IBAN for BBAN

read-only idempotent

Capability Spec

swiftref-bbans.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: SWIFT SwiftRef API — BBANs
  description: 'SWIFT SwiftRef API — BBANs. 1 operations. Lead operation: Get IBAN for BBAN. Self-contained Naftiko capability
    covering one Swift business surface.'
  tags:
  - Swift
  - BBANs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SWIFT_API_KEY: SWIFT_API_KEY
capability:
  consumes:
  - type: http
    namespace: swiftref-bbans
    baseUri: https://api.swift.com/swiftrefdata
    description: SWIFT SwiftRef API — BBANs business capability. Self-contained, no shared references.
    resources:
    - name: v2-bbans-bban-iban
      path: /v2/bbans/{bban}/iban
      operations:
      - name: getibanforbban
        method: GET
        description: Get IBAN for BBAN
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: bban
          in: path
          type: string
          description: Basic Bank Account Number
          required: true
    authentication:
      type: bearer
      token: '{{env.SWIFT_API_KEY}}'
  exposes:
  - type: rest
    namespace: swiftref-bbans-rest
    port: 8080
    description: REST adapter for SWIFT SwiftRef API — BBANs. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v2/bbans/{bban}/iban
      name: v2-bbans-bban-iban
      description: REST surface for v2-bbans-bban-iban.
      operations:
      - method: GET
        name: getibanforbban
        description: Get IBAN for BBAN
        call: swiftref-bbans.getibanforbban
        with:
          bban: rest.bban
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: swiftref-bbans-mcp
    port: 9090
    transport: http
    description: MCP adapter for SWIFT SwiftRef API — BBANs. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-iban-bban
      description: Get IBAN for BBAN
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: swiftref-bbans.getibanforbban
      with:
        bban: tools.bban
      outputParameters:
      - type: object
        mapping: $.