# Retrieve a Payment Type

`GET /lokta-lms/api/v1/paymenttypes/{paymentTypeId}`

Retrieves a payment type

## Parameters
- `paymentTypeId` (path, integer, required)

## Responses
- `default`: default response

## Response fields
- `codeName` (string)
- `description` (string)
- `id` (integer)
- `isCashPayment` (boolean)
- `isSystemDefined` (boolean)
- `name` (string)
- `position` (integer)

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

## Example response
```json
{
  "codeName": "string",
  "description": "string",
  "id": 1,
  "isCashPayment": true
}
```

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