NextMotion icon

NextMotion

Interact with NextMotion API for patient care management

Actions163

Payment → Delete

AI-generated

Summary

Delete a specific payment by its payment ID, optionally specifying the clinic context if needed.

Inputs

  • paymentId (required) — The unique identifier of the payment to delete; required to specify which payment to remove.
  • clinicId — The clinic identifier providing context for the operation; optional when using a payment ID directly but required for 'getAll' operations.

Output shape

a JSON object representing the deletion response from the API, typically indicating success or failure of the delete operation

The operation returns the API's raw response for the deletion action. No pagination applies. Errors are returned as node execution errors.

Examples

Example 1: Delete payment by selecting from a searchable list

Specify the payment to delete by choosing it from a searchable list; optionally specify clinic if needed.

Example 2: Delete payment by direct ID

Provide the exact payment UUID to delete that specific payment; clinic ID can be omitted in this case.

Links

Discussion