paywise icon

paywise

Submit and track debt collection cases with the paywise API v2

Actions37

Debtor → Update

AI-generated

Summary

Update an existing debtor by specifying the debtor's ID and the fields to change in JSON format, replacing arrays such as addresses or communication channels entirely if included.

Inputs

  • Debtor ID (required) — The unique identifier of the debtor to update.
  • Fields to Update (JSON) (required) — A JSON object specifying the fields and their new values to update on the debtor. Arrays like addresses or communication_channels will replace existing lists completely.

Output shape

a single record containing the updated debtor's information.

The output contains the debtor's updated data as returned by the Paywise API after the update operation completes.

Examples

Example 1: Update the 'your_reference' field for a debtor by debtorId

Set 'Debtor ID' to the debtor's unique ID and 'Fields to Update (JSON)' to { "your_reference": "CUSTOMER-1001" }.

Links

Discussion