Overview

This endpoint allows you to update information for an existing debt. You can modify debtor details, amounts, addresses, and other debt-related information.
The status field can be updated via API to: status.default.paid, status.default.in_progress, status.default.on_hold, status.default.failed, or status.default.archived. Other statuses are managed through internal workflows only.

Authentication

Requires a valid OAuth 2.0 access token with the debts:write scope.
When both paid and remaining amounts are sent, their sum must equal the debt amount.

Custom dynamic fields

extra_variables: Optional object of custom dynamic fields, for example {"contract_number": "CTR-123", "agency": "Paris"}. When omitted, existing values are preserved. When provided, replaces all dynamic fields; {} clears them.

Example Request

Returns the updated debt object with the same structure as the Get Debt endpoint. For a costly phone destination without authorization, the update succeeds and includes an expensive_destination_not_accepted warning. It does not return 422 solely because of the destination.

Success Response

Error Responses