PortfolioTransactionCommands

Create a manual journal entry.

post/v1/portfolios/{portfolioSlug}/transactions/commands/CreateManualJournalEntryCommand

Request

  • Base URL: https://api.tokenbooks.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.tokenbooks.io/v1/portfolios/{portfolioSlug}/transactions/commands/CreateManualJournalEntryCommand
  • Auth: API key in header x-api-key

Path parameters

portfolioSlugstring required

Workspace-scoped portfolio slug

Query parameters

mode'sync' | 'async'

Request body

memostring
effectiveAtstring

Example request

{
  "entries": [
    {
      "fiatAmount": {
        "value": "1.5"
      }
    }
  ]
}

Response

mode'sync' | 'async' required

Whether the command ran sync or async

jobIdstring

Tracking job id, present for asynchronous commands

status'queued'

Queue status, present for asynchronous commands

Changes

No recorded changes to this operation across all 1 revision of this API.