Ledga
GET /transactions/{transactionId}

Get a specific transaction

Display the specified resource.

Parameters

NameInTypeDescription
transactionIdrequired path string
uuid
Transaction UUID

Responses

200Successful operation
{
  "success": true,
  "data": {
    "id": "01997c1e-4d2a-7c3e-9a1b-2f0e8c6d4b5a",
    "ledger_id": "01997c1e-4d2a-7c3e-9a1b-2f0e8c6d4b5a",
    "journal_id": null,
    "reference": "INV-001",
    "description": "Payment received",
    "effective_date": "2026-01-15T10:30:00Z",
    "date": "2026-01-15T10:30:00Z",
    "layer": "settled",
    "status": "posted",
    "total_amount": "100.00",
    "entry_count": 2,
    "hash": null,
    "previous_hash": null,
    "correlation_id": "01997c1e-4d2a-7c3e-9a1b-2f0e8c6d4b5a",
    "correlation_source_id": null,
    "correlation_type": null,
    "metadata": null,
    "attributes": {
      "customer_id": "C-123",
      "loan_id": "L-42"
    },
    "original_transaction_id": null,
    "reversal_reason": null,
    "voided_by": null,
    "voided_at": null,
    "void_reason": null,
    "entries": [
      {
        "id": "01997c1e-4d2a-7c3e-9a1b-2f0e8c6d4b5a",
        "account_id": "01997c1e-4d2a-7c3e-9a1b-2f0e8c6d4b5a",
        "account_code": "1000",
        "account_name": "Cash",
        "amount": "100.00",
        "type": "debit",
        "description": null,
        "layer": "settled",
        "metadata": null
      }
    ],
    "created_at": "2026-01-15T10:30:00Z",
    "updated_at": "2026-01-15T10:30:00Z"
  }
}
401Unauthenticated
{
  "success": false,
  "message": "Validation failed",
  "code": "VALIDATION_ERROR"
}
403Forbidden
{
  "success": false,
  "message": "Validation failed",
  "code": "VALIDATION_ERROR"
}
404Transaction not found
{
  "success": false,
  "message": "Validation failed",
  "code": "VALIDATION_ERROR"
}

Examples

curl https://ledga.io/api/v1/transactions/{transactionId} \
  -H "Authorization: Bearer sk_xxxxxxxx_your_secret"

← All endpoints