Lithic · Capability

Lithic Developer API — Financial Account

Lithic Developer API — Financial Account. 12 operations. Lead operation: List Account Activity. Self-contained Naftiko capability covering one Lithic business surface.

Run with Naftiko LithicFinancial Account

What You Can Do

GET
Listaccountactivity — List Account Activity
/v1/v1/account-activity
GET
Getaccountactivity — Get Single Transaction from Account Activity
/v1/v1/account-activity/{transaction-token}
GET
Getfinancialaccounts — List financial accounts
/v1/v1/financial-accounts
POST
Createfinancialaccount — Create financial account
/v1/v1/financial-accounts
GET
Getfinancialaccountbytoken — Get financial account
/v1/v1/financial-accounts/{financial-account-token}
PATCH
Updatefinancialaccountbytoken — Update financial account
/v1/v1/financial-accounts/{financial-account-token}
GET
Getaccountcreditconfiguration — Get account credit configuration
/v1/v1/financial-accounts/{financial-account-token}/credit-configuration
PATCH
Patchaccountcreditconfiguration — Update account credit configuration
/v1/v1/financial-accounts/{financial-account-token}/credit-configuration
GET
Getfinancialtransactions — List financial transactions
/v1/v1/financial-accounts/{financial-account-token}/financial-transactions
GET
Getfinancialtransactionbytoken — Get financial transaction
/v1/v1/financial-accounts/{financial-account-token}/financial-transactions/{financial-transaction-token}
POST
Registeraccountnumber — Register Account Number
/v1/v1/financial-accounts/{financial-account-token}/register-account-number
POST
Updatefinancialaccountstatus — Update financial account status
/v1/v1/financial-accounts/{financial-account-token}/update-status

MCP Tools

list-account-activity

List Account Activity

read-only idempotent
get-single-transaction-account-activity

Get Single Transaction from Account Activity

read-only idempotent
list-financial-accounts

List financial accounts

read-only idempotent
create-financial-account

Create financial account

get-financial-account

Get financial account

read-only idempotent
update-financial-account

Update financial account

idempotent
get-account-credit-configuration

Get account credit configuration

read-only idempotent
update-account-credit-configuration

Update account credit configuration

idempotent
list-financial-transactions

List financial transactions

read-only idempotent
get-financial-transaction

Get financial transaction

read-only idempotent
register-account-number

Register Account Number

update-financial-account-status

Update financial account status

Capability Spec

lithic-financial-account.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Lithic Developer API — Financial Account
  description: 'Lithic Developer API — Financial Account. 12 operations. Lead operation: List Account Activity. Self-contained
    Naftiko capability covering one Lithic business surface.'
  tags:
  - Lithic
  - Financial Account
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LITHIC_API_KEY: LITHIC_API_KEY
capability:
  consumes:
  - type: http
    namespace: lithic-financial-account
    baseUri: https://sandbox.lithic.com
    description: Lithic Developer API — Financial Account business capability. Self-contained, no shared references.
    resources:
    - name: v1-account_activity
      path: /v1/account_activity
      operations:
      - name: listaccountactivity
        method: GET
        description: List Account Activity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
          description: Filter by transaction status
        - name: result
          in: query
          type: string
          description: Filter by transaction result
        - name: financial_account_token
          in: query
          type: string
          description: Filter by financial account token
        - name: business_account_token
          in: query
          type: string
          description: Filter by business account token
        - name: account_token
          in: query
          type: string
          description: Filter by account token
        - name: category
          in: query
          type: string
          description: Filter by transaction category
    - name: v1-account_activity-transaction_token
      path: /v1/account_activity/{transaction_token}
      operations:
      - name: getaccountactivity
        method: GET
        description: Get Single Transaction from Account Activity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: transaction_token
          in: path
          type: string
          description: The unique identifier for the transaction
          required: true
    - name: v1-financial_accounts
      path: /v1/financial_accounts
      operations:
      - name: getfinancialaccounts
        method: GET
        description: List financial accounts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_token
          in: query
          type: string
          description: List financial accounts for a given account_token or business_account_token
        - name: business_account_token
          in: query
          type: string
          description: List financial accounts for a given business_account_token
        - name: type
          in: query
          type: string
          description: List financial accounts of a given type
      - name: createfinancialaccount
        method: POST
        description: Create financial account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-financial_accounts-financial_account_token
      path: /v1/financial_accounts/{financial_account_token}
      operations:
      - name: getfinancialaccountbytoken
        method: GET
        description: Get financial account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: financial_account_token
          in: path
          type: string
          required: true
      - name: updatefinancialaccountbytoken
        method: PATCH
        description: Update financial account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: financial_account_token
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-financial_accounts-financial_account_token-credit_configuration
      path: /v1/financial_accounts/{financial_account_token}/credit_configuration
      operations:
      - name: getaccountcreditconfiguration
        method: GET
        description: Get account credit configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: patchaccountcreditconfiguration
        method: PATCH
        description: Update account credit configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-financial_accounts-financial_account_token-financial_transactions
      path: /v1/financial_accounts/{financial_account_token}/financial_transactions
      operations:
      - name: getfinancialtransactions
        method: GET
        description: List financial transactions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: category
          in: query
          type: string
          description: Financial Transaction category to be returned.
        - name: result
          in: query
          type: string
          description: Financial Transaction result to be returned.
        - name: status
          in: query
          type: string
          description: Financial Transaction status to be returned.
    - name: v1-financial_accounts-financial_account_token-financial_transactions-financial_t
      path: /v1/financial_accounts/{financial_account_token}/financial_transactions/{financial_transaction_token}
      operations:
      - name: getfinancialtransactionbytoken
        method: GET
        description: Get financial transaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-financial_accounts-financial_account_token-register_account_number
      path: /v1/financial_accounts/{financial_account_token}/register_account_number
      operations:
      - name: registeraccountnumber
        method: POST
        description: Register Account Number
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-financial_accounts-financial_account_token-update_status
      path: /v1/financial_accounts/{financial_account_token}/update_status
      operations:
      - name: updatefinancialaccountstatus
        method: POST
        description: Update financial account status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.LITHIC_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: lithic-financial-account-rest
    port: 8080
    description: REST adapter for Lithic Developer API — Financial Account. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/account-activity
      name: v1-account-activity
      description: REST surface for v1-account_activity.
      operations:
      - method: GET
        name: listaccountactivity
        description: List Account Activity
        call: lithic-financial-account.listaccountactivity
        with:
          status: rest.status
          result: rest.result
          financial_account_token: rest.financial_account_token
          business_account_token: rest.business_account_token
          account_token: rest.account_token
          category: rest.category
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/account-activity/{transaction-token}
      name: v1-account-activity-transaction-token
      description: REST surface for v1-account_activity-transaction_token.
      operations:
      - method: GET
        name: getaccountactivity
        description: Get Single Transaction from Account Activity
        call: lithic-financial-account.getaccountactivity
        with:
          transaction_token: rest.transaction_token
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/financial-accounts
      name: v1-financial-accounts
      description: REST surface for v1-financial_accounts.
      operations:
      - method: GET
        name: getfinancialaccounts
        description: List financial accounts
        call: lithic-financial-account.getfinancialaccounts
        with:
          account_token: rest.account_token
          business_account_token: rest.business_account_token
          type: rest.type
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createfinancialaccount
        description: Create financial account
        call: lithic-financial-account.createfinancialaccount
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/financial-accounts/{financial-account-token}
      name: v1-financial-accounts-financial-account-token
      description: REST surface for v1-financial_accounts-financial_account_token.
      operations:
      - method: GET
        name: getfinancialaccountbytoken
        description: Get financial account
        call: lithic-financial-account.getfinancialaccountbytoken
        with:
          financial_account_token: rest.financial_account_token
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updatefinancialaccountbytoken
        description: Update financial account
        call: lithic-financial-account.updatefinancialaccountbytoken
        with:
          financial_account_token: rest.financial_account_token
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/financial-accounts/{financial-account-token}/credit-configuration
      name: v1-financial-accounts-financial-account-token-credit-configuration
      description: REST surface for v1-financial_accounts-financial_account_token-credit_configuration.
      operations:
      - method: GET
        name: getaccountcreditconfiguration
        description: Get account credit configuration
        call: lithic-financial-account.getaccountcreditconfiguration
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patchaccountcreditconfiguration
        description: Update account credit configuration
        call: lithic-financial-account.patchaccountcreditconfiguration
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/financial-accounts/{financial-account-token}/financial-transactions
      name: v1-financial-accounts-financial-account-token-financial-transactions
      description: REST surface for v1-financial_accounts-financial_account_token-financial_transactions.
      operations:
      - method: GET
        name: getfinancialtransactions
        description: List financial transactions
        call: lithic-financial-account.getfinancialtransactions
        with:
          category: rest.category
          result: rest.result
          status: rest.status
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/financial-accounts/{financial-account-token}/financial-transactions/{financial-transaction-token}
      name: v1-financial-accounts-financial-account-token-financial-transactions-financial-t
      description: REST surface for v1-financial_accounts-financial_account_token-financial_transactions-financial_t.
      operations:
      - method: GET
        name: getfinancialtransactionbytoken
        description: Get financial transaction
        call: lithic-financial-account.getfinancialtransactionbytoken
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/financial-accounts/{financial-account-token}/register-account-number
      name: v1-financial-accounts-financial-account-token-register-account-number
      description: REST surface for v1-financial_accounts-financial_account_token-register_account_number.
      operations:
      - method: POST
        name: registeraccountnumber
        description: Register Account Number
        call: lithic-financial-account.registeraccountnumber
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/financial-accounts/{financial-account-token}/update-status
      name: v1-financial-accounts-financial-account-token-update-status
      description: REST surface for v1-financial_accounts-financial_account_token-update_status.
      operations:
      - method: POST
        name: updatefinancialaccountstatus
        description: Update financial account status
        call: lithic-financial-account.updatefinancialaccountstatus
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: lithic-financial-account-mcp
    port: 9090
    transport: http
    description: MCP adapter for Lithic Developer API — Financial Account. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-account-activity
      description: List Account Activity
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: lithic-financial-account.listaccountactivity
      with:
        status: tools.status
        result: tools.result
        financial_account_token: tools.financial_account_token
        business_account_token: tools.business_account_token
        account_token: tools.account_token
        category: tools.category
      outputParameters:
      - type: object
        mapping: $.
    - name: get-single-transaction-account-activity
      description: Get Single Transaction from Account Activity
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: lithic-financial-account.getaccountactivity
      with:
        transaction_token: tools.transaction_token
      outputParameters:
      - type: object
        mapping: $.
    - name: list-financial-accounts
      description: List financial accounts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: lithic-financial-account.getfinancialaccounts
      with:
        account_token: tools.account_token
        business_account_token: tools.business_account_token
        type: tools.type
      outputParameters:
      - type: object
        mapping: $.
    - name: create-financial-account
      description: Create financial account
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: lithic-financial-account.createfinancialaccount
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-financial-account
      description: Get financial account
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: lithic-financial-account.getfinancialaccountbytoken
      with:
        financial_account_token: tools.financial_account_token
      outputParameters:
      - type: object
        mapping: $.
    - name: update-financial-account
      description: Update financial account
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: lithic-financial-account.updatefinancialaccountbytoken
      with:
        financial_account_token: tools.financial_account_token
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-account-credit-configuration
      description: Get account credit configuration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: lithic-financial-account.getaccountcreditconfiguration
      outputParameters:
      - type: object
        mapping: $.
    - name: update-account-credit-configuration
      description: Update account credit configuration
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: lithic-financial-account.patchaccountcreditconfiguration
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-financial-transactions
      description: List financial transactions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: lithic-financial-account.getfinancialtransactions
      with:
        category: tools.category
        result: tools.result
        status: tools.status
      outputParameters:
      - type: object
        mapping: $.
    - name: get-financial-transaction
      description: Get financial transaction
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: lithic-financial-account.getfinancialtransactionbytoken
      outputParameters:
      - type: object
        mapping: $.
    - name: register-account-number
      description: Register Account Number
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: lithic-financial-account.registeraccountnumber
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: update-financial-account-status
      description: Update financial account status
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: lithic-financial-account.updatefinancialaccountstatus
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.