Fiserv · Capability

Fiserv CardDeveloper API — Accounts

Fiserv CardDeveloper API — Accounts. 2 operations. Lead operation: Fiserv Create a new card account. Self-contained Naftiko capability covering one Fiserv business surface.

Run with Naftiko FiservAccounts

What You Can Do

POST
Addaccount — Fiserv Create a new card account
/v1/v2/accounts/account
GET
Getaccount — Fiserv Retrieve account details
/v1/v2/accounts/{accountnumber}

MCP Tools

fiserv-create-new-card-account

Fiserv Create a new card account

fiserv-retrieve-account-details

Fiserv Retrieve account details

read-only idempotent

Capability Spec

carddeveloper-accounts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Fiserv CardDeveloper API — Accounts
  description: 'Fiserv CardDeveloper API — Accounts. 2 operations. Lead operation: Fiserv Create a new card account. Self-contained
    Naftiko capability covering one Fiserv business surface.'
  tags:
  - Fiserv
  - Accounts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FISERV_API_KEY: FISERV_API_KEY
capability:
  consumes:
  - type: http
    namespace: carddeveloper-accounts
    baseUri: https://cert.api.fiservapps.com
    description: Fiserv CardDeveloper API — Accounts business capability. Self-contained, no shared references.
    resources:
    - name: v2-accounts-account
      path: /v2/accounts/account
      operations:
      - name: addaccount
        method: POST
        description: Fiserv Create a new card account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v2-accounts-accountNumber
      path: /v2/accounts/{accountNumber}
      operations:
      - name: getaccount
        method: GET
        description: Fiserv Retrieve account details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.FISERV_API_KEY}}'
  exposes:
  - type: rest
    namespace: carddeveloper-accounts-rest
    port: 8080
    description: REST adapter for Fiserv CardDeveloper API — Accounts. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v2/accounts/account
      name: v2-accounts-account
      description: REST surface for v2-accounts-account.
      operations:
      - method: POST
        name: addaccount
        description: Fiserv Create a new card account
        call: carddeveloper-accounts.addaccount
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/accounts/{accountnumber}
      name: v2-accounts-accountnumber
      description: REST surface for v2-accounts-accountNumber.
      operations:
      - method: GET
        name: getaccount
        description: Fiserv Retrieve account details
        call: carddeveloper-accounts.getaccount
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: carddeveloper-accounts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Fiserv CardDeveloper API — Accounts. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: fiserv-create-new-card-account
      description: Fiserv Create a new card account
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: carddeveloper-accounts.addaccount
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: fiserv-retrieve-account-details
      description: Fiserv Retrieve account details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: carddeveloper-accounts.getaccount
      outputParameters:
      - type: object
        mapping: $.