---
title: "Update"
method: PATCH
path: "/api/insurance-refunds/v1/{insurance_refund_id}"
tags: ["v1"]
---

# Update

`PATCH /api/insurance-refunds/v1/{insurance_refund_id}`

Updates the patient refund record matching the provided insurance_refund_id. If updating the refund amount,
then the allocations must be appropriately updated as well.

## Path parameters

- `insurance_refund_id` V1InsuranceRefundId, required — unresolved $ref

## Headers

- `Authorization` string, required

## Request body

- object
  - `refund_timestamp` string, date-time
  - `refund_note` union
    - object
      - `type` 'set', required — Discriminator value: set
      - `value` string, required
    - object
      - `type` 'remove', required — Discriminator value: remove
  - `refund_reason` union
    - object
      - `type` 'set', required — Discriminator value: set
      - `value` 'OVERCHARGED' | 'ENTERED_IN_ERROR' | 'TRANSFER', required
    - object
      - `type` 'remove', required — Discriminator value: remove

## Response `200`

Response with status 200

- V1InsuranceRefund — unresolved $ref

## Other responses

- `403` — Error response with status 403
- `404` — Error response with status 404
- `422` — Error response with status 422

---

[API](https://skmtc.net/joincandidhealth/apis/api-reference.md) · [All operations](https://skmtc.net/joincandidhealth/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/joincandidhealth/api-reference/revisions/7cc5974e4128/schema)
