Amelia icon

Amelia

Interact with Amelia API

Actions119

Payments → Add Payment

AI-generated

Summary

Sends a request to create an Amelia payment using the configured payment details. The node submits the values as a JSON body to the Amelia API, authenticated with the required Amelia API key credential.

Inputs

  • Amount — Payment amount; defaults to 10.
  • Customer Booking Id — Customer booking ID associated with the payment; defaults to 268.
  • Data — JSON data included with the payment; defaults to an empty object.
  • Date Time — Payment date and time; defaults to 2023-05-05 15:00:00.
  • Entity — Payment entity; defaults to appointment.
  • Gateway — Payment gateway; defaults to stripe.
  • Package Customer Id — Package customer ID to include with the payment; has no preset value.
  • Status — Payment status; defaults to paid.
  • Request Options — Optional HTTP settings for batching, SSL certificate validation, proxy, and request timeout.
  • WP_AMELIA_API_KEY credential (required) — Amelia API key used in the request header.

Output shape

A list of n8n items containing the API response.

The provided source shows the OpenAPI-backed request configuration but not explicit response transformation or error handling. The Amelia base URL is read from the WP_AMELIA_ADMIN_AJAX_URL credential.

Links

Discussion