# Retrieve a Transaction Details

`GET /lokta-lms/api/v1/loans/{loanId}/transactions/{transactionId}`

Retrieves a Transaction Details

Example Request:

loans/5/transactions/3

## Parameters
- `loanId` (path, integer, required): loanId
- `transactionId` (path, integer, required): transactionId
- `fields` (query, string): Optional Loan Transaction attribute list to be in the response

## Responses
- `200`: OK

## Response fields
- `amount` (number)
- `classification` (GetCodeValuesDataResponse): GetCodeValuesDataResponse
- `currency` (GetLoansCurrency)
- `date` (string)
- `externalId` (string)
- `feeChargesPortion` (number)
- `id` (integer)
- `interestPortion` (number)
- `loanChargePaidByList` (array of GetLoansLoanIdLoanChargePaidByData)
- `manuallyReversed` (boolean)
- `netDisbursalAmount` (number)
- `outstandingLoanBalance` (number)
- `overpaymentPortion` (number)
- `paymentDetailData` (PaymentDetailData)
- `penaltyChargesPortion` (number)
- `possibleNextRepaymentDate` (string)
- `principalPortion` (number)
- `reversalExternalId` (string)
- `reversedOnDate` (string)
- `submittedOnDate` (string)
- `transactionRelations` (array of GetLoanTransactionRelation)
- `type` (GetLoansType)
- `unrecognizedIncomePortion` (number)

## Example request (cURL)
```bash
curl -X GET \
  'http://localhost:8080/lokta-lms/api/v1/loans/{loanId}/transactions/{transactionId}' \
  -u '{username}:{password}' \
  -H 'Tenant-Identifier: default'
```

## Example response
```json
{
  "amount": 559.88,
  "classification": {
    "active": true,
    "description": "Passport information",
    "id": 1,
    "mandatory": false
  },
  "currency": {
    "code": "USD",
    "decimalPlaces": 2,
    "displayLabel": "US Dollar ($)",
    "displaySymbol": "$"
  },
  "date": "19 August 2026"
}
```

Interactive: https://developer.lokta.ai/reference.html#operation/retrieveOneLoanTransaction
