PerfexCRM icon

PerfexCRM

Interact with PerfexCRM API

Actions181

Payment → Update

AI-generated

Summary

Update an existing payment in PerfexCRM by specifying its Payment ID and providing one or more fields to update.

Inputs

  • Payment ID (required) — The ID of the payment to update.
  • Update Fields — Collection of fields to modify on the payment, including Amount (number, minimum 0), Date (date string in YYYY-MM-DD format), Note (string), Payment Mode (string, e.g., 'Bank Transfer', 'PayPal'), and Transaction ID (string).

Output shape

a single record containing the updated payment data.

The operation sends a PUT request to update the payment identified by Payment ID with the specified fields. If multiple items are given as input, the operation updates each payment individually and returns an array of updated payment objects. Date and amount fields are validated for proper format and non-negativity respectively.

Discussion