---
title: "Get Patient Credits"
method: GET
path: "/user/patient/{patient_id}/credit"
tags: ["provider", "user"]
---

# Get Patient Credits

`GET /user/patient/{patient_id}/credit`

## Request

- Base URL: `https://docs.decodahealth.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.decodahealth.com/user/patient/{patient_id}/credit`
- Auth: none declared. Required headers: `TENANT`, `API-KEY`
- TypeScript: <https://skmtc.dev/decodahealth/apis/decoda-api/docs/user/patient/:patient_id/credit/get.ts> (a function with typed inputs; its response is checked against the schema)

Get all credits for a patient with pagination

## Path parameters

- `patient_id` string, required

## Query parameters

- `page` integer
- `per_page` integer
- `include_expired` boolean: Include expired credits in results
- `include_used` boolean: Include fully used credits in results

## Headers

- `TENANT` string, required
- `API-KEY` string, required

## Response `200`

Successful Response

- PagePatientCreditSummary
  - `data` PatientCreditSummary[], required
    - `id` string, required
    - `patientId` string, required
    - `amount` integer, required
    - `amountRemaining` integer, required
    - `comment` string, nullable
    - `expiryDate` string, date-time, nullable
    - `memberId` string, nullable
    - `createdDate` string, date-time, required
    - `updatedDate` string, date-time, nullable
    - `creator` UserTiny
      - `id` string, required: The unique identifier for the user.
      - `firstName` string, nullable: The user's first name.
      - `lastName` string, nullable: The user's last name.
      - `phoneNumber` string, nullable: The user's phone number.
      - `email` string, nullable: The user's email address.
      - `type` 'PROVIDER' | 'PATIENT' | 'ASSISTANT', required
      - `locationId` string, nullable: The location of the user.
  - `total` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/decodahealth/apis/decoda-api.md) - [All operations](https://skmtc.dev/decodahealth/apis/decoda-api/llms.txt) - [OpenAPI document](https://skmtc.dev/decodahealth/apis/decoda-api/revisions/4ab18c80f9e9?raw)
