Account Management APIs
Create an Account in a Chart
A finance team creates a new account under a specific chart to track transactions for a business unit. This ensures proper financial categorization and reporting within the platform.
Creates or updates a chart account.
Information about an account that is supplied by an agent.
The reference by which the account will be referenced externally. References are only required to be unique within their chart/group.
Tags that are assigned to classify the account.
Response to /api/v1/chart/{name}
default response to /api/v1/chart/{name}
PUT /api/v1/chart/{name} HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 137
{
"@type": "cac_ledger_schema_info_ledger_account_info",
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"reference": "text",
"tags": [
"text"
]
}{
"@type": "cac_ledger_schema_element_ledger_account_elem",
"chart": {
"@type": "cac_ledger_schema_element_ledger_chart_elem",
"created_at": "2025-12-05T22:54:28.112Z",
"id": 1,
"info": {
"@type": "cac_ledger_schema_info_ledger_chart_info",
"name": "text"
},
"updated_at": "2025-12-05T22:54:28.112Z"
},
"created_at": "2025-12-05T22:54:28.112Z",
"group": {
"@type": "cac_ledger_schema_element_ledger_group_elem",
"created_at": "2025-12-05T22:54:28.112Z",
"id": 1,
"info": {
"@type": "cac_ledger_schema_info_ledger_group_info",
"name": "text"
},
"updated_at": "2025-12-05T22:54:28.112Z"
},
"id": 1,
"info": {
"@type": "cac_ledger_schema_info_ledger_account_info",
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"reference": "text",
"tags": [
"text"
]
},
"revision": 1,
"status": "CLOSED",
"updated_at": "2025-12-05T22:54:28.112Z"
}List Accounts in a Chart
An admin retrieves all accounts under a specific chart to review financial structures and ensure correct account mappings. This helps with auditing and maintaining financial accuracy.
Queries recorded chart accounts.
Response to /api/v1/chart/*/
No content
default response to /api/v1/chart/*/
GET /api/v1/chart/*/?filter=text HTTP/1.1
Host:
Accept: */*
No content
Best Practices for Adding Accounts
Use Consistent Naming: Clearly define account references (e.g.,
MAIN_ACCOUNT,REVENUE_ACCOUNT) to improve readability and maintenance.Plan Wallets Ahead: Determine the currencies or assets an account will manage before assigning wallets to avoid misconfiguration.
Validate Accounts: Test transactions and verify balances to ensure expected behavior before activating the account for live usage.
Last updated

