---
title: "Update debt"
method: PATCH
path: "/cases/{case_id}/debts/{debt_id}"
tags: ["Credit Cards & Debts"]
---

# Update debt

`PATCH /cases/{case_id}/debts/{debt_id}`

## Request

- Base URL: `https://api.example.com/v1`
- URL: `https://api.example.com/v1/cases/{case_id}/debts/{debt_id}`
- Auth: none declared

## Request body

- CreditCardDebtWrite
  - `debt_type` 'AGR' | 'AUL' | 'AUT' | 'AO' | 'ATY' | 'BCC' | 'BMP' | 'BPG' | 'BUS' | 'C/C' | 'C/G' | 'C/M' | 'C/S' | 'CCP' | 'CEL' | 'CGA' | 'CHG' | 'CIL' | 'CKG' | 'CLC' | 'CLS' | 'COL' | 'CON' | 'COS' | 'CRC' | 'CSA' | 'CSL' | 'D/C' | 'DCS' | 'DEP' | 'EDU' | 'EXM' | 'F/C' | 'F/S' | 'FCO' | 'FHA' | 'FMH' | 'FSC' | 'G/B' | 'G/F' | 'G/G' | 'GEA' | 'GFS' | 'GMD' | 'GOP' | 'H+O' | 'H/E' | 'HEI' | 'H/I' | 'HHG' | 'I/L' | 'INS' | 'ISC' | 'LBP' | 'LEA' | 'LPI' | 'LIC' | 'M/H' | 'MED' | 'MRI' | 'NCS' | 'NTE' | 'P/S' | 'PHG' | 'PPI' | 'R/C' | 'R/E' | 'R/F' | 'R/O' | 'R/S' | 'R/V' | 'RCK' | 'REC' | 'REN' | 'RES' | 'S/S' | 'SCC' | 'SAA' | 'SC0' | 'SDL' | 'SEC' | 'SGL' | 'SHI' | 'SMP' | 'SUM' | 'TSL' | 'UDL' | 'UGL' | 'UNK' | 'UNS' | 'UTI' | 'ZZZ' | '7B' | '3A' | '00' | '95' | '8A' | '85' | '9B' | '10' | '15' | '98' | '6B' | '93' | '37' | '4D' | '6C' | '07' | 'G1' | '96' | '7A' | '47' | '48' | '91' | '14' | '18' | '5C' | '0F' | '43' | '34' | '8B' | '12' | '33' | '16' | '50' | '0C' | '05' | '2C' | '75' | '71' | '69' | '73' | '72' | '74' | '70' | '23' | '89' | '6D' | '04' | '22' | '78' | '49' | '06' | '1B' | '13' | '1A' | '3C' | '17' | '90' | '86' | '21' | '20' | '03' | '1C' | '83' | '26' | '08' | '19' | '27' | '5B' | '25' | '77' | '11' | '29' | '5A' | '94' | '2A' | '7C' | '09' | '68' | '02' | '66' | '9A' | '87' | '30' | '0A' | '67' | '65' | '31' | '01' | '92' | 'ZZ' | '0G', required
  - `creditor_name` string, required
  - `account_number` string: Full account number.
  - `condition` 'DECEASED' | 'CHARGEOFF' | 'BANKRUPTCY' | 'TRANSFER' | 'REPOSSESSION' | 'CLOSED' | 'BANKRUPTCYPET' | 'COLLECTIONS' | 'DELINQUENT120' | 'DELINQUENT90' | 'DELINQUENT60' | 'DELINQUENT30' | 'REFINANCED' | 'LOST' | 'OPEN' | 'PAID' | 'UNKNOWN'
  - `responsibility` '1' | 'B' | 'I' | '8' | 'C' | '5' | 'S' | '2' | 'J' | '4' | 'P' | '3' | 'A' | '7' | 'M' | '0' | 'O' | 'U' | '9' | 'T' | 'X' | 'null', nullable: The deceased's responsibility for the debt.
  - `balance` number, double
  - `credit_limit` number, double
  - `interest_rate` number, double
  - `is_joint_account` boolean
  - `joint_holder_name` string
  - `collection_agency` string
  - `original_creditor` string
  - `notification_status` 'not_notified' | 'notified' | 'acknowledged' | 'resolved'
  - `institution_contact_id` string
  - `notes` string

## Response `200`

Debt updated.

- object
  - `data` CreditCardDebt
    - `id` string
    - `case_id` string
    - `debt_type` 'AGR' | 'AUL' | 'AUT' | 'AO' | 'ATY' | 'BCC' | 'BMP' | 'BPG' | 'BUS' | 'C/C' | 'C/G' | 'C/M' | 'C/S' | 'CCP' | 'CEL' | 'CGA' | 'CHG' | 'CIL' | 'CKG' | 'CLC' | 'CLS' | 'COL' | 'CON' | 'COS' | 'CRC' | 'CSA' | 'CSL' | 'D/C' | 'DCS' | 'DEP' | 'EDU' | 'EXM' | 'F/C' | 'F/S' | 'FCO' | 'FHA' | 'FMH' | 'FSC' | 'G/B' | 'G/F' | 'G/G' | 'GEA' | 'GFS' | 'GMD' | 'GOP' | 'H+O' | 'H/E' | 'HEI' | 'H/I' | 'HHG' | 'I/L' | 'INS' | 'ISC' | 'LBP' | 'LEA' | 'LPI' | 'LIC' | 'M/H' | 'MED' | 'MRI' | 'NCS' | 'NTE' | 'P/S' | 'PHG' | 'PPI' | 'R/C' | 'R/E' | 'R/F' | 'R/O' | 'R/S' | 'R/V' | 'RCK' | 'REC' | 'REN' | 'RES' | 'S/S' | 'SCC' | 'SAA' | 'SC0' | 'SDL' | 'SEC' | 'SGL' | 'SHI' | 'SMP' | 'SUM' | 'TSL' | 'UDL' | 'UGL' | 'UNK' | 'UNS' | 'UTI' | 'ZZZ' | '7B' | '3A' | '00' | '95' | '8A' | '85' | '9B' | '10' | '15' | '98' | '6B' | '93' | '37' | '4D' | '6C' | '07' | 'G1' | '96' | '7A' | '47' | '48' | '91' | '14' | '18' | '5C' | '0F' | '43' | '34' | '8B' | '12' | '33' | '16' | '50' | '0C' | '05' | '2C' | '75' | '71' | '69' | '73' | '72' | '74' | '70' | '23' | '89' | '6D' | '04' | '22' | '78' | '49' | '06' | '1B' | '13' | '1A' | '3C' | '17' | '90' | '86' | '21' | '20' | '03' | '1C' | '83' | '26' | '08' | '19' | '27' | '5B' | '25' | '77' | '11' | '29' | '5A' | '94' | '2A' | '7C' | '09' | '68' | '02' | '66' | '9A' | '87' | '30' | '0A' | '67' | '65' | '31' | '01' | '92' | 'ZZ' | '0G'
    - `creditor_name` string
    - `account_number` string, nullable: Masked in responses (last 4 digits only).
    - `condition` 'DECEASED' | 'CHARGEOFF' | 'BANKRUPTCY' | 'TRANSFER' | 'REPOSSESSION' | 'CLOSED' | 'BANKRUPTCYPET' | 'COLLECTIONS' | 'DELINQUENT120' | 'DELINQUENT90' | 'DELINQUENT60' | 'DELINQUENT30' | 'REFINANCED' | 'LOST' | 'OPEN' | 'PAID' | 'UNKNOWN'
    - `responsibility` '1' | 'B' | 'I' | '8' | 'C' | '5' | 'S' | '2' | 'J' | '4' | 'P' | '3' | 'A' | '7' | 'M' | '0' | 'O' | 'U' | '9' | 'T' | 'X' | 'null', nullable: The deceased's responsibility for the debt.
    - `balance` number, double, nullable: Current outstanding balance.
    - `credit_limit` number, double, nullable
    - `minimum_payment` number, double, nullable
    - `interest_rate` number, double, nullable: APR as a percentage.
    - `is_joint_account` boolean: Whether a surviving spouse or co-signer is liable.
    - `joint_holder_name` string, nullable
    - `collection_agency` string, nullable: If in collections, the agency handling the debt.
    - `original_creditor` string, nullable: Original creditor if the debt was sold/transferred.
    - `credit_bureau_source` 'experian' | 'equifax' | 'transunion' | 'null', nullable
    - `last_payment_date` string, date, nullable
    - `notification_status` 'not_notified' | 'notified' | 'acknowledged' | 'resolved': Whether the creditor has been notified of the death.
    - `notification_date` string, date, nullable
    - `institution_contact_id` string, nullable
    - `notes` string, nullable
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `404`: Resource not found.
- `422`: Request validation failed.

---

[API](https://skmtc.dev/hellosunset/apis/sunset-api.md) - [All operations](https://skmtc.dev/hellosunset/apis/sunset-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hellosunset/apis/sunset-api/revisions/f128e5526efe?raw)
