Skip to main content
PATCH
Update asset accounting mapping

Path Parameters

id
string
required

Asset ID

Example:

"1"

Query Parameters

orgId
string
required

Organization ID. Use GET /v1/companies to discover available org/company pairs.

Example:

"1"

companyId
string
required

Company ID. Use GET /v1/companies to discover available companies and their access levels.

Example:

"1"

Body

application/json
accountCode
string | null

GL account code from the chart of accounts. Used for Token View balance-sheet mapping (balanceSheetSetup="token"): one GL account per token across all wallets. Call company_get to find the right code.

Maximum string length: 63
Example:

"1200"

accountName
string | null

GL account name matching the code (e.g. "Crypto Assets - ETH"). Displayed in reports and synced to accounting software.

Maximum string length: 127
Example:

"Crypto Assets"

isSpam
boolean

Spam flag. Set true to mark airdrop/scam tokens. Hides from transaction view and excludes from accounting software sync.

Response

Asset updated successfully

success
enum<boolean>
required
Available options:
true
data
object
required
Last modified on April 11, 2026