Adyen · Capability

Adyen Configuration API — Tokens

Adyen Configuration API — Tokens. 3 operations. Lead operation: Adyen Get a Network Token. Self-contained Naftiko capability covering one Adyen business surface.

Run with Naftiko AdyenTokens

What You Can Do

GET
Getnetworktokensnetworktokenid — Adyen Get a Network Token
/v1/networktokens/{networktokenid}
PATCH
Patchnetworktokensnetworktokenid — Adyen Update a Network Token
/v1/networktokens/{networktokenid}
GET
Getpaymentinstrumentsidnetworktokens — Adyen List Network Tokens
/v1/paymentinstruments/{id}/networktokens

MCP Tools

adyen-get-network-token

Adyen Get a Network Token

read-only idempotent
adyen-update-network-token

Adyen Update a Network Token

idempotent
adyen-list-network-tokens

Adyen List Network Tokens

read-only idempotent

Capability Spec

configuration-tokens.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Adyen Configuration API — Tokens
  description: 'Adyen Configuration API — Tokens. 3 operations. Lead operation: Adyen Get a Network Token. Self-contained
    Naftiko capability covering one Adyen business surface.'
  tags:
  - Adyen
  - Tokens
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ADYEN_API_KEY: ADYEN_API_KEY
capability:
  consumes:
  - type: http
    namespace: configuration-tokens
    baseUri: https://balanceplatform-api-test.adyen.com/bcl/v2
    description: Adyen Configuration API — Tokens business capability. Self-contained, no shared references.
    resources:
    - name: networkTokens-networkTokenId
      path: /networkTokens/{networkTokenId}
      operations:
      - name: getnetworktokensnetworktokenid
        method: GET
        description: Adyen Get a Network Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: networkTokenId
          in: path
          type: string
          description: The unique identifier of the network token.
          required: true
      - name: patchnetworktokensnetworktokenid
        method: PATCH
        description: Adyen Update a Network Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: networkTokenId
          in: path
          type: string
          description: The unique identifier of the network token.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: paymentInstruments-id-networkTokens
      path: /paymentInstruments/{id}/networkTokens
      operations:
      - name: getpaymentinstrumentsidnetworktokens
        method: GET
        description: Adyen List Network Tokens
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: The unique identifier of the payment instrument.
          required: true
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.ADYEN_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: configuration-tokens-rest
    port: 8080
    description: REST adapter for Adyen Configuration API — Tokens. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/networktokens/{networktokenid}
      name: networktokens-networktokenid
      description: REST surface for networkTokens-networkTokenId.
      operations:
      - method: GET
        name: getnetworktokensnetworktokenid
        description: Adyen Get a Network Token
        call: configuration-tokens.getnetworktokensnetworktokenid
        with:
          networkTokenId: rest.networkTokenId
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patchnetworktokensnetworktokenid
        description: Adyen Update a Network Token
        call: configuration-tokens.patchnetworktokensnetworktokenid
        with:
          networkTokenId: rest.networkTokenId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/paymentinstruments/{id}/networktokens
      name: paymentinstruments-id-networktokens
      description: REST surface for paymentInstruments-id-networkTokens.
      operations:
      - method: GET
        name: getpaymentinstrumentsidnetworktokens
        description: Adyen List Network Tokens
        call: configuration-tokens.getpaymentinstrumentsidnetworktokens
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: configuration-tokens-mcp
    port: 9090
    transport: http
    description: MCP adapter for Adyen Configuration API — Tokens. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: adyen-get-network-token
      description: Adyen Get a Network Token
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: configuration-tokens.getnetworktokensnetworktokenid
      with:
        networkTokenId: tools.networkTokenId
      outputParameters:
      - type: object
        mapping: $.
    - name: adyen-update-network-token
      description: Adyen Update a Network Token
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: configuration-tokens.patchnetworktokensnetworktokenid
      with:
        networkTokenId: tools.networkTokenId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: adyen-list-network-tokens
      description: Adyen List Network Tokens
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: configuration-tokens.getpaymentinstrumentsidnetworktokens
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.