---
title: "GET /api/patient_payments"
method: GET
path: "/api/patient_payments"
tags: ["Billing"]
---

# GET /api/patient_payments

`GET /api/patient_payments`

Retrieve or search patient payments

## Query parameters

- `cursor` string — The pagination cursor value.
- `page_size` integer — Number of results to return per page.
- `since` string
- `posted_date` string
- `patient` integer
- `doctor` integer

## Response `200`

OK

- object — Paginated Result
  - `previous` string — Previous paginated page
  - `data` CashPayment[] — result data
    - `line_item` integer
    - `posted_date` string
    - `appointment` integer — If this is absent, the apponitment will be inferred from line item
    - `doctor` integer
    - `payment_method` 'DRCP' | 'CASH' | 'CHCK' | 'DBIT' | 'CRDT' | 'AMEX' | 'VISA' | 'MSTR' | 'DISC' | 'SQR1' | 'SQRE' | 'PTPA' | 'ONPT' | 'OTHR' — `"CASH", "CHCK" for Check, "DBIT" for Debit, "CRDT" for Credit Card, "AMEX" for American Express, "VISA", "MSTR" for Mastercard, "DISC" for Discover, "SQR1" for Square (legacy), "SQRE" for Square, "PTPA" for Patient Payments, "ONPT" for onpatient, "OTHR" for Other`
    - `created_at` string
    - `payment_transaction_type` '' | 'REF' | 'COR' | 'COPAY' | 'COINSR' | 'OTHR' — `"" for Credit, "REF" for Refund, "COR" for Correction, "COPAY" for Copay, "COINSR" for Coinsurance, "OTHR" for Other`
    - `created_by` string
    - `updated_at` string
    - `amount` number — Amount of cash for this payment, cannot be zero
    - `notes` string
    - `trace_number` string
    - `patient` integer, required
    - `id` integer
    - `received_date` string
  - `next` string — Next Paginated page

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Permission Denied
- `404` — Not Found
- `405` — Method Not Allowed
- `500` — Internal Server Error

---

[API](https://skmtc.net/drchrono/apis/untitled-api.md) · [All operations](https://skmtc.net/drchrono/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/drchrono/untitled-api/versions/e595797fe800/schema)
