Truist Financial · Capability

Truist Commercial Accounts API — Commercial Accounts

Truist Commercial Accounts API — Commercial Accounts. 4 operations. Lead operation: List Commercial Accounts. Self-contained Naftiko capability covering one Truist Financial business surface.

Run with Naftiko Truist FinancialCommercial Accounts

What You Can Do

GET
Listcommercialaccounts — List Commercial Accounts
/v1/commercial/accounts
GET
Getcommercialaccountsummary — Get Commercial Account Summary
/v1/commercial/accounts/summary
GET
Getcommercialaccount — Get Commercial Account
/v1/commercial/accounts/{accountid}
GET
Getcommercialaccountbalances — Get Commercial Account Balances
/v1/commercial/accounts/{accountid}/balances

MCP Tools

list-commercial-accounts

List Commercial Accounts

read-only idempotent
get-commercial-account-summary

Get Commercial Account Summary

read-only idempotent
get-commercial-account

Get Commercial Account

read-only idempotent
get-commercial-account-balances

Get Commercial Account Balances

read-only idempotent

Capability Spec

truist-commercial-accounts-commercial-accounts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Truist Commercial Accounts API — Commercial Accounts
  description: 'Truist Commercial Accounts API — Commercial Accounts. 4 operations. Lead operation: List Commercial Accounts.
    Self-contained Naftiko capability covering one Truist Financial business surface.'
  tags:
  - Truist Financial
  - Commercial Accounts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TRUIST_FINANCIAL_API_KEY: TRUIST_FINANCIAL_API_KEY
capability:
  consumes:
  - type: http
    namespace: truist-commercial-accounts-commercial-accounts
    baseUri: https://api.truist.com/v1
    description: Truist Commercial Accounts API — Commercial Accounts business capability. Self-contained, no shared references.
    resources:
    - name: commercial-accounts
      path: /commercial/accounts
      operations:
      - name: listcommercialaccounts
        method: GET
        description: List Commercial Accounts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: customerId
          in: query
          type: string
          description: Filter accounts by customer/organization identifier
        - name: accountType
          in: query
          type: string
          description: Filter by account type
    - name: commercial-accounts-summary
      path: /commercial/accounts/summary
      operations:
      - name: getcommercialaccountsummary
        method: GET
        description: Get Commercial Account Summary
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: customerId
          in: query
          type: string
          description: Customer/organization identifier
        - name: currency
          in: query
          type: string
          description: Currency for balance aggregation
    - name: commercial-accounts-accountId
      path: /commercial/accounts/{accountId}
      operations:
      - name: getcommercialaccount
        method: GET
        description: Get Commercial Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accountId
          in: path
          type: string
          description: Unique account identifier
          required: true
    - name: commercial-accounts-accountId-balances
      path: /commercial/accounts/{accountId}/balances
      operations:
      - name: getcommercialaccountbalances
        method: GET
        description: Get Commercial Account Balances
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accountId
          in: path
          type: string
          description: Unique account identifier
          required: true
        - name: asOfDate
          in: query
          type: string
          description: Balance as of date (defaults to current day)
    authentication:
      type: bearer
      token: '{{env.TRUIST_FINANCIAL_API_KEY}}'
  exposes:
  - type: rest
    namespace: truist-commercial-accounts-commercial-accounts-rest
    port: 8080
    description: REST adapter for Truist Commercial Accounts API — Commercial Accounts. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/commercial/accounts
      name: commercial-accounts
      description: REST surface for commercial-accounts.
      operations:
      - method: GET
        name: listcommercialaccounts
        description: List Commercial Accounts
        call: truist-commercial-accounts-commercial-accounts.listcommercialaccounts
        with:
          customerId: rest.customerId
          accountType: rest.accountType
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/commercial/accounts/summary
      name: commercial-accounts-summary
      description: REST surface for commercial-accounts-summary.
      operations:
      - method: GET
        name: getcommercialaccountsummary
        description: Get Commercial Account Summary
        call: truist-commercial-accounts-commercial-accounts.getcommercialaccountsummary
        with:
          customerId: rest.customerId
          currency: rest.currency
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/commercial/accounts/{accountid}
      name: commercial-accounts-accountid
      description: REST surface for commercial-accounts-accountId.
      operations:
      - method: GET
        name: getcommercialaccount
        description: Get Commercial Account
        call: truist-commercial-accounts-commercial-accounts.getcommercialaccount
        with:
          accountId: rest.accountId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/commercial/accounts/{accountid}/balances
      name: commercial-accounts-accountid-balances
      description: REST surface for commercial-accounts-accountId-balances.
      operations:
      - method: GET
        name: getcommercialaccountbalances
        description: Get Commercial Account Balances
        call: truist-commercial-accounts-commercial-accounts.getcommercialaccountbalances
        with:
          accountId: rest.accountId
          asOfDate: rest.asOfDate
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: truist-commercial-accounts-commercial-accounts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Truist Commercial Accounts API — Commercial Accounts. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: list-commercial-accounts
      description: List Commercial Accounts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: truist-commercial-accounts-commercial-accounts.listcommercialaccounts
      with:
        customerId: tools.customerId
        accountType: tools.accountType
      outputParameters:
      - type: object
        mapping: $.
    - name: get-commercial-account-summary
      description: Get Commercial Account Summary
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: truist-commercial-accounts-commercial-accounts.getcommercialaccountsummary
      with:
        customerId: tools.customerId
        currency: tools.currency
      outputParameters:
      - type: object
        mapping: $.
    - name: get-commercial-account
      description: Get Commercial Account
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: truist-commercial-accounts-commercial-accounts.getcommercialaccount
      with:
        accountId: tools.accountId
      outputParameters:
      - type: object
        mapping: $.
    - name: get-commercial-account-balances
      description: Get Commercial Account Balances
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: truist-commercial-accounts-commercial-accounts.getcommercialaccountbalances
      with:
        accountId: tools.accountId
        asOfDate: tools.asOfDate
      outputParameters:
      - type: object
        mapping: $.