NextMotion icon

NextMotion

Interact with NextMotion API for patient care management

Actions163

Payment → Update

AI-generated

Summary

Update an existing payment in the NextMotion system by specifying the payment ID and optionally the clinic. Modify any combination of payment methods and amounts, including card, cash, check, transfer, vouchers, and custom payment mediums. Configure additional payment details such as deferred check dates, validation behavior, and accounting splits between clinic and provider.

Inputs

  • clinicId — The clinic associated with the payment; required when retrieving multiple payments, optional if payment ID is provided directly.
  • paymentId (required) — The unique identifier of the payment to update, selectable from a list or specified by ID.
  • updateFields — A collection of payment method amounts and optional additional fields to update, including card, cash, check, transfer, voucher codes and amounts, as well as advanced options like deferred check date, validation flag, custom payment mediums, and subpayment splits between clinic and provider.

Output shape

a single updated payment record as returned by the NextMotion API

The operation returns the updated payment object. Inputs support selecting payment and clinic by list or ID, and allow detailed customization of payment method amounts and allocation. Some fields are optional; if not provided, those payment details remain unchanged.

Links

Discussion