---
title: "View payment type"
method: GET
path: "/payment_types/{id}"
tags: ["Payment Types"]
---

# View payment type

`GET /payment_types/{id}`

This endpoint returns a single payment type

## Path parameters

- `id` integer, required

## Query parameters

- `subdomain` string, required

## Headers

- `Nex-Api-Version` string, required

## Response `200`

Successful

- APIV20240412EntitiesLedgerPaymentTypeResponse — API_V20240412_Entities_Ledger_PaymentType_Response model
  - `code` boolean — Indicates the success or failure of the request
  - `description` string — Additional context on the request to help with debugging.
  - `error` string[] — Any errors that occur during the execution of the request.
  - `data` APIV20240412EntitiesLedgerPaymentType
    - `id` integer — Resource id
    - `name` string — The name of the payment type
    - `active` boolean — Whether the payment type is currently active
    - `updated_at` string, date-time — Payment Type update date in UTC
  - `count` integer — Number of total objects, in case of collection.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

---

[API](https://skmtc.dev/nexhealth/apis/nexhealth-api.md) · [All operations](https://skmtc.dev/nexhealth/apis/nexhealth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nexhealth/nexhealth-api/revisions/a180e830b672/schema)
