Treasury

Get a treasury account

Returns an account by its identifier.

Tool
filmo_treasury_accounts_get
Access: Read

Result

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "filmo_treasury_accounts_get",
    "arguments": {
      "accountId": "acco_8f2a1c"
    }
  }
}

generated from the schema

The BANK ACCOUNT NUMBER is not published: to say which account a payment came in or went out through, the account identifier is enough. Accounts are not created or modified through this API.

Arguments

accountIdstringRequired

Treasury account identifier.

Limits: min length 1

Result

On success the result carries structuredContent with data and meta. These are the attributes of data.

Show the attributes of data
idstring

Treasury account identifier.

namestring

Name by which the treasury account is recognized.

typestring

Nature of the treasury account: bank (a bank account), cash (a cash box) or manual.

Available options: bank, cash, manual

currencystring

Currency of the treasury account, as an ISO 4217 code.

statusstring

Treasury account status: active, needs_reauth (the bank connection must be renewed), disconnected or archived.

Available options: active, needs_reauth, disconnected, archived

createdAtstring<date-time>

Creation date in ISO 8601 UTC.

updatedAtstring<date-time>

Last modification date in ISO 8601 UTC.

An error is a result with isError: true and the problem in content[0].text; there is no structuredContent. See Errors.

The same operation by REST

This tool runs GET /api/v1/treasury/accounts/{accountId}.

  • Treasury

    Get a treasury account

    Returns an account by its identifier.

  • Guides

    Safe writes

    An assistant that can write can also write the wrong thing. Decide which tools need a person, retry without duplicating, and know what a write sets in motion.

  • Guides

    Errors

    A tool error is a result with isError: true and the problem in the first text block. Branch on its code.