{"uid":"cap_C1IfzUXxWnE-cVTPmHQer","slug":"ledger-by-novadyne-create-account-387c1e1d","name":"Ledger by Novadyne – Create Account","description":"Double-entry ledger API with x402 micropayments and Ed25519 capability tokens.","url":"https://ledger-api.novadyne.ai/ledger/accounts","method":"GET","headers":{},"bodySchema":{"type":"object","required":["name","type"],"properties":{"name":{"type":"string"},"type":{"enum":["asset","liability","equity","revenue","expense"],"type":"string"},"parent_id":{"type":"integer"}}},"responseSchema":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"type":{"type":"string"}}},"example":{"request":{"name":"Test Asset Account","type":"asset"},"response":{"id":1,"name":"Test Asset Account","type":"asset","as_of":"2026-06-12","balance":0,"is_active":true,"parent_id":0,"created_at":"2026-06-12 05:07:58"}},"exampleRequest":{"name":"Test Asset Account","type":"asset"},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_M4tRBGMr9ztKkKs_g7HNS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Creates a new account node in a double-entry ledger hierarchy, returning the account's ID, name, and type.","exampleAgentPrompt":"Add a new expense account called 'Marketing Spend' of type 'expense' under parent account 42 in the Novadyne ledger.","exampleUseCases":null,"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:39:25.781Z","isFirstParty":false}