# Retrieve a Charge

`GET /lokta-lms/api/v1/charges/{chargeId}`

Returns the details of a defined Charge.

Example Requests:

charges/1

## Parameters
- `chargeId` (path, integer, required): chargeId

## Responses
- `200`: OK

## Response fields
- `active` (boolean)
- `amount` (number)
- `chargeAppliesTo` (GetChargesAppliesToResponse)
- `chargeCalculationType` (GetChargesCalculationTypeResponse)
- `chargePaymentMode` (GetChargesPaymentModeResponse)
- `chargeTimeType` (GetChargesTimeTypeResponse)
- `currency` (GetChargesCurrencyResponse)
- `id` (integer)
- `maxCap` (number)
- `minCap` (number)
- `name` (string)
- `penalty` (boolean)
- `taxGroup` (GetChargesTaxGroup)

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

## Example response
```json
{
  "active": true,
  "amount": 230.56,
  "chargeAppliesTo": {
    "code": "chargeAppliesTo.loan",
    "description": "Loan",
    "id": 1
  },
  "chargeCalculationType": {
    "code": "chargeCalculationType.flat",
    "description": "Flat",
    "id": 1
  }
}
```

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