Scotiabank · Capability

Scotiabank Scotia TranXact APIs — Accounts

Scotiabank Scotia TranXact APIs — Accounts. 3 operations. Lead operation: List Accounts. Self-contained Naftiko capability covering one Scotiabank business surface.

Run with Naftiko ScotiabankAccounts

What You Can Do

GET
Listaccounts — List Accounts
/v1/v1/accounts
GET
Getaccountbalance — Get Account Balance
/v1/v1/accounts/{account-id}/balance
GET
Listaccounttransactions — List Account Transactions
/v1/v1/accounts/{account-id}/transactions

MCP Tools

list-accounts

List Accounts

read-only idempotent
get-account-balance

Get Account Balance

read-only idempotent
list-account-transactions

List Account Transactions

read-only idempotent

Capability Spec

tranxact-accounts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Scotiabank Scotia TranXact APIs — Accounts
  description: 'Scotiabank Scotia TranXact APIs — Accounts. 3 operations. Lead operation: List Accounts. Self-contained Naftiko
    capability covering one Scotiabank business surface.'
  tags:
  - Scotiabank
  - Accounts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SCOTIABANK_API_KEY: SCOTIABANK_API_KEY
capability:
  consumes:
  - type: http
    namespace: tranxact-accounts
    baseUri: https://developer.api.scotiabank.com
    description: Scotiabank Scotia TranXact APIs — Accounts business capability. Self-contained, no shared references.
    resources:
    - name: v1-accounts
      path: /v1/accounts
      operations:
      - name: listaccounts
        method: GET
        description: List Accounts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-accounts-account_id-balance
      path: /v1/accounts/{account_id}/balance
      operations:
      - name: getaccountbalance
        method: GET
        description: Get Account Balance
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          description: Account identifier
          required: true
        - name: date
          in: query
          type: string
          description: Date for prior-day balance (YYYY-MM-DD format, defaults to current day)
    - name: v1-accounts-account_id-transactions
      path: /v1/accounts/{account_id}/transactions
      operations:
      - name: listaccounttransactions
        method: GET
        description: List Account Transactions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          description: Account identifier
          required: true
        - name: from_date
          in: query
          type: string
          description: Start date for transactions (YYYY-MM-DD)
        - name: to_date
          in: query
          type: string
          description: End date for transactions (YYYY-MM-DD)
        - name: page
          in: query
          type: integer
        - name: page_size
          in: query
          type: integer
    authentication:
      type: bearer
      token: '{{env.SCOTIABANK_API_KEY}}'
  exposes:
  - type: rest
    namespace: tranxact-accounts-rest
    port: 8080
    description: REST adapter for Scotiabank Scotia TranXact APIs — Accounts. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/v1/accounts
      name: v1-accounts
      description: REST surface for v1-accounts.
      operations:
      - method: GET
        name: listaccounts
        description: List Accounts
        call: tranxact-accounts.listaccounts
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/accounts/{account-id}/balance
      name: v1-accounts-account-id-balance
      description: REST surface for v1-accounts-account_id-balance.
      operations:
      - method: GET
        name: getaccountbalance
        description: Get Account Balance
        call: tranxact-accounts.getaccountbalance
        with:
          account_id: rest.account_id
          date: rest.date
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/accounts/{account-id}/transactions
      name: v1-accounts-account-id-transactions
      description: REST surface for v1-accounts-account_id-transactions.
      operations:
      - method: GET
        name: listaccounttransactions
        description: List Account Transactions
        call: tranxact-accounts.listaccounttransactions
        with:
          account_id: rest.account_id
          from_date: rest.from_date
          to_date: rest.to_date
          page: rest.page
          page_size: rest.page_size
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: tranxact-accounts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Scotiabank Scotia TranXact APIs — Accounts. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-accounts
      description: List Accounts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: tranxact-accounts.listaccounts
      outputParameters:
      - type: object
        mapping: $.
    - name: get-account-balance
      description: Get Account Balance
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: tranxact-accounts.getaccountbalance
      with:
        account_id: tools.account_id
        date: tools.date
      outputParameters:
      - type: object
        mapping: $.
    - name: list-account-transactions
      description: List Account Transactions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: tranxact-accounts.listaccounttransactions
      with:
        account_id: tools.account_id
        from_date: tools.from_date
        to_date: tools.to_date
        page: tools.page
        page_size: tools.page_size
      outputParameters:
      - type: object
        mapping: $.