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

# Paid Creditor Directly

> Update the status of a specific debtor to 'Paid Creditor Directly'



## OpenAPI

````yaml PATCH /debtorStatus/paidCreditor/{debtorId}
openapi: 3.0.1
info:
  title: CollectWise API
  description: >-
    An API for managing debtors, tracking statuses, and automating debt
    collection processes
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://collectwiseapi.com
security:
  - apiKey: []
paths:
  /debtorStatus/paidCreditor/{debtorId}:
    patch:
      summary: Update debtor status to Paid Creditor Directly
      description: Update the status of a specific debtor to 'Paid Creditor Directly'
      parameters:
        - name: debtorId
          in: path
          required: true
          description: Unique identifier of the debtor
          schema:
            type: string
      responses:
        '200':
          description: Debtor status updated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: >-
                      Debtor status updated to 'Paid Creditor Directly'
                      successfully
        '404':
          description: Debtor not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: integer
          format: int32
          description: Error code
        message:
          type: string
          description: Error message
      example:
        code: 400
        message: 'Invalid input: debtorName is required'
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: collectwise_key

````