getTransaction

getTransaction — fetches a single transaction by ID.

Use with an AI agent

Export this page as Markdown or bundle it with a task for your agent.

Try a task
Preview the prompt that will be copied

Reference

Authentication: bearer token required (see how to get a token)

getTransaction — fetches a single transaction by ID.

The authenticated user must be the owner or a collaborator of the account the
transaction belongs to. Read access only — no role gate.

Authentication: Required (Bearer token)

Parameters:
- transactionId (string, required): ID of the transaction to fetch

Returns:
- transaction (object): The transaction document

Errors:
- unauthenticated: No valid auth token provided
- permission_denied: User is not allowed to view this transaction
- invalid_params: transactionId missing, transaction not found, or account not found