REST API for Latepoint icon

REST API for Latepoint

Consume REST API for LatePoint on Tools

Payments → Delete

AI-generated

Summary

Deletes a single payment in LatePoint by ID, sending a DELETE request to the REST API's /payments/{id} endpoint.

Inputs

  • ID (required) — Unique identifier of the payment to delete. It is appended to the path as /payments/{id}. In AI-tool use it can be filled automatically from context.
  • Description — Free-text prompt or context note for AI agents. The source never reads it, so it has no effect on the request.

Output shape

One output item per input item. Its json is the API response's data field if present. Otherwise it is the raw response body, with array responses split into one item each.

The source doesn't show what the LatePoint API returns on delete, so the exact body is unspecified. Authentication uses the Bearer API key and base URL from the node credentials. If Continue On Fail is enabled, a failed item yields {error: message} instead of stopping the workflow. Deletion is a destructive API call, and the node adds no confirmation step.

Examples

Example 1: Remove a payment that was recorded by mistake

Resource: Payments, Operation: Delete, ID: 42

Example 2: Delete payments whose IDs come from an upstream node

Resource: Payments, Operation: Delete, ID: ={{ $json.payment_id }}; runs once per input item

Links

Discussion