> ## Documentation Index
> Fetch the complete documentation index at: https://api.hellosunset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List credit card debts

> Returns debts filtered to credit card types: CRC (Credit card), FSC (Credit card), CHG (Revolving charge account), SCC (Secured credit card), 18 (Credit card), 2A (Secured credit card), 07 (Revolving charge account), 0G (Flexible spending credit card).



## OpenAPI

````yaml GET /cases/{case_id}/debts/type/credit-cards
openapi: 3.1.0
info:
  title: Sunset API
  description: >
    Estate and probate management platform API. Manage cases, track assets,
    handle bank accounts, and navigate probate proceedings across all US states
    and counties.


    ## Key Features


    - **Full Estate Lifecycle** — Case creation through final asset distribution

    - **Identity Verification** — Verify deceased (SSDI, vital records) and
    executor (government ID, KBA) identity

    - **Real Estate Valuations** — Automated property valuations with comparable
    sales and lien tracking

    - **Communication Tools** — Recorded phone calls, emails, faxes, and online
    notarization

    - **Probate Reference Data** — Requirements for all 50 states, DC, and US
    territories

    - **Multi-Estate Management** — Pro and Enterprise tiers for managing
    multiple cases


    ## API Quality


    - **Idempotency** — `Idempotency-Key` header on all POST endpoints to
    prevent duplicate operations

    - **Rate Limiting** — Tiered rate limits (Pro: 300/min, Enterprise:
    1,000/min)

    - **Conditional Requests** — ETag support with `If-None-Match` and
    `If-Match` headers

    - **Request Tracing** — `X-Request-Id` header on every response

    - **Cursor Pagination** — Optional cursor-based pagination for high-volume
    resources

    - **JSON Merge Patch** — All PATCH endpoints use JSON Merge Patch semantics
    (RFC 7396)
  version: 1.0.0
  contact:
    name: Sunset API Support
servers:
  - url: https://api.example.com/v1
    description: Production
  - url: https://staging-api.example.com/v1
    description: Staging
security: []
tags:
  - name: Cases
    description: Estate/probate case management
  - name: Deceased
    description: Deceased person information
  - name: Executor
    description: Estate executor information
  - name: Authority
    description: Authority verification
  - name: EIN
    description: Employer Identification Number
  - name: Financial Accounts
    description: Estate financial accounts and assets
  - name: Documents
    description: Case document management
  - name: Searches
    description: Asset and background searches
  - name: Persons
    description: Interested persons and beneficiaries
  - name: Goals
    description: Estate management goals
  - name: Bank Accounts
    description: Bank account management
  - name: Signers
    description: Bank account holders and signers
  - name: Transactions
    description: Bank account transactions
  - name: Recurring Payments
    description: Recurring payments and deposits
  - name: Account Beneficiaries
    description: POD/TOD beneficiary designations
  - name: Statements
    description: Bank account statements
  - name: Balance History
    description: Historical balance snapshots
  - name: Probate Reference
    description: State and county probate reference data
  - name: Probate Forms
    description: State-level probate forms
  - name: Probate Case
    description: Case-level probate tracking
  - name: Probate Deadlines
    description: Probate deadlines and due dates
  - name: Probate Filings
    description: Court filings
  - name: Creditor Claims
    description: Creditor claims against the estate
  - name: Distributions
    description: Beneficiary distributions
  - name: Pro Users
    description: Pro user multi-estate management
  - name: Collaborators
    description: Multi-user collaboration and estate sharing
  - name: Closure
    description: Estate closure steps and status tracking
  - name: Institution Contacts
    description: Financial institution contact information and departments
  - name: Phone Calls
    description: Twilio-powered phone calls with recording and summarization
  - name: Emails
    description: Email tool for sending forms and attachments
  - name: Notarization
    description: DocuSign-powered online notarization
  - name: Faxes
    description: One-click fax sending with receipts
  - name: Identity Verification
    description: Verify deceased and executor identity
  - name: Real Estate Valuations
    description: Automated property valuations and tax assessments
  - name: Life Insurance
    description: Life insurance policies and claims
  - name: Credit Cards & Debts
    description: Credit cards, loans, and debt management
  - name: Retirement Accounts
    description: 401(k), IRA, pension, and retirement account management
  - name: Investment Accounts
    description: Brokerage, stocks, bonds, and investment accounts
  - name: Real Estate Properties
    description: Real estate ownership, titles, and property management
  - name: Unclaimed Property
    description: Unclaimed property search and claims
  - name: Vehicles
    description: Vehicles, boats, and titled property
  - name: Business Ownership
    description: Business entities, ownership interests, and succession
paths:
  /cases/{case_id}/debts/type/credit-cards:
    parameters:
      - $ref: '#/components/parameters/CaseId'
    get:
      tags:
        - Credit Cards & Debts
      summary: List credit card debts
      description: >-
        Returns debts filtered to credit card types: CRC (Credit card), FSC
        (Credit card), CHG (Revolving charge account), SCC (Secured credit
        card), 18 (Credit card), 2A (Secured credit card), 07 (Revolving charge
        account), 0G (Flexible spending credit card).
      operationId: listCreditCardDebts
      parameters:
        - $ref: '#/components/parameters/Page'
        - $ref: '#/components/parameters/PerPage'
        - name: condition
          in: query
          schema:
            type: string
            enum:
              - DECEASED
              - CHARGEOFF
              - BANKRUPTCY
              - TRANSFER
              - REPOSSESSION
              - CLOSED
              - BANKRUPTCYPET
              - COLLECTIONS
              - DELINQUENT120
              - DELINQUENT90
              - DELINQUENT60
              - DELINQUENT30
              - REFINANCED
              - LOST
              - OPEN
              - PAID
              - UNKNOWN
        - name: responsibility
          in: query
          schema:
            type: string
            enum:
              - '1'
              - B
              - I
              - '8'
              - C
              - '5'
              - S
              - '2'
              - J
              - '4'
              - P
              - '3'
              - A
              - '7'
              - M
              - '0'
              - O
              - U
              - '9'
              - T
              - X
      responses:
        '200':
          description: List of credit card debts.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/CreditCardDebt'
                  meta:
                    $ref: '#/components/schemas/PaginationMeta'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  parameters:
    CaseId:
      name: case_id
      in: path
      required: true
      schema:
        type: string
      description: Unique case identifier (ULID format).
      example: 01K5WF06MJ6T99HRYE78AN7XM8
    Page:
      name: page
      in: query
      schema:
        type: integer
        default: 1
        minimum: 1
      description: Page number for pagination.
    PerPage:
      name: per_page
      in: query
      schema:
        type: integer
        default: 25
        minimum: 1
        maximum: 100
      description: Number of items per page.
  schemas:
    CreditCardDebt:
      type: object
      properties:
        id:
          type: string
          example: 01K9CD01AJ0T22HRYE78AN7CCC
        case_id:
          type: string
        debt_type:
          type: string
          enum:
            - 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
          example: CRC
        creditor_name:
          type: string
          example: Capital One
        account_number:
          type:
            - string
            - 'null'
          description: Masked in responses (last 4 digits only).
          example: '***5678'
        condition:
          type: string
          enum:
            - DECEASED
            - CHARGEOFF
            - BANKRUPTCY
            - TRANSFER
            - REPOSSESSION
            - CLOSED
            - BANKRUPTCYPET
            - COLLECTIONS
            - DELINQUENT120
            - DELINQUENT90
            - DELINQUENT60
            - DELINQUENT30
            - REFINANCED
            - LOST
            - OPEN
            - PAID
            - UNKNOWN
          example: OPEN
        responsibility:
          type:
            - string
            - 'null'
          enum:
            - '1'
            - B
            - I
            - '8'
            - C
            - '5'
            - S
            - '2'
            - J
            - '4'
            - P
            - '3'
            - A
            - '7'
            - M
            - '0'
            - O
            - U
            - '9'
            - T
            - X
            - null
          description: The deceased's responsibility for the debt.
          example: I
        balance:
          type:
            - number
            - 'null'
          format: double
          description: Current outstanding balance.
          example: 4523.89
        credit_limit:
          type:
            - number
            - 'null'
          format: double
        minimum_payment:
          type:
            - number
            - 'null'
          format: double
        interest_rate:
          type:
            - number
            - 'null'
          format: double
          description: APR as a percentage.
          example: 24.99
        is_joint_account:
          type: boolean
          description: Whether a surviving spouse or co-signer is liable.
          example: false
        joint_holder_name:
          type:
            - string
            - 'null'
        collection_agency:
          type:
            - string
            - 'null'
          description: If in collections, the agency handling the debt.
        original_creditor:
          type:
            - string
            - 'null'
          description: Original creditor if the debt was sold/transferred.
        credit_bureau_source:
          type:
            - string
            - 'null'
          enum:
            - experian
            - equifax
            - transunion
            - null
        last_payment_date:
          type:
            - string
            - 'null'
          format: date
        notification_status:
          type: string
          enum:
            - not_notified
            - notified
            - acknowledged
            - resolved
          description: Whether the creditor has been notified of the death.
          example: not_notified
        notification_date:
          type:
            - string
            - 'null'
          format: date
        institution_contact_id:
          type:
            - string
            - 'null'
        notes:
          type:
            - string
            - 'null'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    PaginationMeta:
      type: object
      properties:
        page:
          type: integer
          example: 1
        per_page:
          type: integer
          example: 25
        total_count:
          type: integer
          example: 142
        total_pages:
          type: integer
          example: 6
        next_cursor:
          type:
            - string
            - 'null'
          description: >-
            Opaque cursor for fetching the next page. Pass as the `cursor` query
            parameter. Null when on the last page.
          example: eyJpZCI6IjAxSzVXRjA2TUo2VDk5SFJZRTQ4QU43WE04In0=
        has_more:
          type: boolean
          description: Whether more results exist beyond this page.
          example: true
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: validation_error
            message:
              type: string
              example: The request body contains invalid fields.
            details:
              type: array
              items:
                type: object
                properties:
                  field:
                    type: string
                  message:
                    type: string
  responses:
    Forbidden:
      description: Insufficient permissions for this case or resource.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: forbidden
              message: You do not have permission to access this resource.
    NotFound:
      description: Resource not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: not_found
              message: The requested resource was not found.

````