GET/transaction

Retrieve a transaction

Retrieve a single transaction leg by entity and transaction id.

Query Parameters

entity_idstringrequired

The account

Example: "ent_treasury"

transaction_idstringrequired

The leg id

Example: "trx_a1"

Request
GET/transaction
curl --location 'https://api.ledgr.dev/v1/transaction' \
--header 'Authorization: {api_key}'
Response

The transaction leg

{
  "status": "success",
  "transaction": {
    "amount": 284300,
    "status": "posted",
    "direction": "debit",
    "transaction_id": "trx_a1",
    "transaction_group_id": "trx-grp_49202f18"
  }
}