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

# POST /api/patient_payments

`POST /api/patient_payments`

Create patient payment

## Query parameters

- `since` string
- `patient` integer
- `doctor` integer

## Response `201`

Created

- CashPayment
  - `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

## 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)
