---
title: "Balance + full ledger history for a client."
method: GET
path: "/clients/{clientId}/credit"
tags: ["ClientCredit"]
---

# Balance + full ledger history for a client.

`GET /clients/{clientId}/credit`

## Request

- Base URL: `https://api.clinicos.vet/backend/business`
- URL: `https://api.clinicos.vet/backend/business/clients/{clientId}/credit`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/docs/clients/:clientId/credit/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `clientId` string, required

## Response `200`

OK

- ClientCreditSummaryDto: A client's credit position: derived balance plus full history.
  - `clientId` string
  - `balance` union
    - number, double
    - string, double
  - `entries` ClientCreditEntryDto[]
    - `id` string
    - `clientId` string
    - `entryType` string
    - `amount` union
      - number, double
      - string, double
    - `description` string
    - `paymentId` string, nullable
    - `originalPaymentId` string, nullable
    - `createdById` string, nullable
    - `createdByName` string, nullable
    - `createdAt` string, date-time

## Other responses

- `404`: Not Found

## Changes

- **2026-09-11** `503cd0546309`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/changes/clients/:clientId/credit/get.md)

---

[API](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1.md) - [All operations](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/revisions/099cf36186e0?raw)
