← ExamplesAPI documentation
Ledger API navigation

Get transaction

Accounts and transactions · JSON contract

Read specification

Retrieves one transaction by its stable identifier, including its associated account and verification state.

GET/api/transactions/201

Parameters

idinteger · path · required
The identifier of an existing transaction.

Returns

The matching transaction object, or a not-found error. Dates use YYYY-MM-DD and amounts are signed decimal USD values.

Response codes

200
Transaction details
404
Unknown transaction

Illustrative API contract. Set $API_ORIGIN to your own backend; this example does not host these endpoints.

Get transaction