# Ledger by Novadyne – Create Account

> Ledger by Novadyne – Create Account is a paid API for AI agents from ledger-api.novadyne.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Creates a new account node in a double-entry ledger hierarchy, returning the account's ID, name, and type.

## Facts

- Endpoint: GET https://ledger-api.novadyne.ai/ledger/accounts
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ledger-by-novadyne-create-account-387c1e1d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C1IfzUXxWnE-cVTPmHQer

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ledger-by-novadyne-create-account-387c1e1d
```

Example prompt: Add a new expense account called 'Marketing Spend' of type 'expense' under parent account 42 in the Novadyne ledger.

## When to prefer this

Use this endpoint when you need to programmatically create new account nodes in a double-entry ledger — for example, when bootstrapping a chart of accounts, adding sub-accounts under a parent, or dynamically registering expense/revenue/asset/liability categories. Prefer this over generic accounting APIs when you need x402 micropayment-compatible, capability-token-secured ledger management.

## Known failure modes

- Missing required 'name' field returns 400 Bad Request
- Missing required 'type' field returns 400 Bad Request
- Invalid parent_id (non-existent account) returns 404 or 422
- Duplicate account name under same parent may return 409 Conflict
- Insufficient x402 micropayment or missing payment header returns 402 Payment Required
- Invalid Ed25519 capability token returns 401 Unauthorized

## How this service works

Double-entry ledger API with x402 micropayments and Ed25519 capability tokens.

## Output

Returns a JSON object with the newly created account's integer ID, name string, and type string — confirming the account node was successfully registered in the ledger.

## Example request

```json
{
 "name": "Test Asset Account",
 "type": "asset"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "name",
  "type"
 ],
 "properties": {
  "name": {
   "type": "string"
  },
  "type": {
   "enum": [
    "asset",
    "liability",
    "equity",
    "revenue",
    "expense"
   ],
   "type": "string"
  },
  "parent_id": {
   "type": "integer"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "id": {
   "type": "integer"
  },
  "name": {
   "type": "string"
  },
  "type": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ledger-by-novadyne-create-account-387c1e1d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ledger-api.novadyne.ai](https://www.zero.xyz/host/ledger-api.novadyne.ai/llms.txt)
