REST API for Latepoint icon

REST API for Latepoint

Consume REST API for LatePoint on Tools

Payments → Get

AI-generated

Summary

Retrieves a single payment from the LatePoint REST API by its ID, via GET /payments/{id}.

Inputs

  • ID (required) — Unique identifier of the payment to fetch. Appended to the URL path as /payments/{id}.
  • Description — Free-text prompt or context for AI agent use. The execute code never reads it, so it has no effect on the request.

Output shape

One output item per input item. Its json is the response's data object (the payment record) when the API returns a data field.

If the response has no data field, the raw response is returned instead. An array response becomes one item per element. Requests use the Bearer API key and base URL from the node's credentials. If Continue On Fail is enabled, a failed request returns an item with an error message.

Examples

Example 1: Look up a payment after receiving its ID from a webhook or earlier node.

Resource: Payments; Operation: Get; ID: ={{ $json.payment_id }}

Example 2: Let an AI agent fetch payment details as a tool.

Resource: Payments; Operation: Get; ID filled by the agent from conversation context

Links

Discussion