Actions38
- Bookings Actions
- Customers Actions
- Agents Actions
- Services Actions
- Payments Actions
- Orders Actions
- Coupons Actions
- Locations Actions
- Availability Actions
Payments → Create
AI-generatedSummary
Create a new payment record in Latepoint by sending either individual input fields or a custom JSON/form data body specifying payment details.
Inputs
- Amount (required) — Specify the payment amount as a number with up to two decimal places.
- Payment Method (required) — Choose the payment method used for the payment, such as cash, credit card, PayPal, Stripe, or bank transfer.
- Send Body — Optional toggle to send a custom JSON or form data body instead of individual fields.
- Body Content Type — If sending a custom body, select the format: JSON or form data.
- JSON Body — Provide a raw JSON object to use as the request body when sending body content as JSON.
- Form Data — Provide key-value pairs as form data parameters when sending body content as form data.
- Additional Fields — Include optional additional data for the payment such as order ID, customer ID, payment status, transaction ID, and notes.
Output shape
a single JSON object representing the newly created payment record as returned by the Latepoint API
If 'Send Body' is enabled, the body content is sent as-is in JSON or form data format. Otherwise, the node builds the body from individual fields and additional fields. The output includes payment details returned from the API after creation.
Examples
Example 1: Creating a payment with individual fields
Set 'Amount' and 'Payment Method' fields; optionally add 'Additional Fields'; 'Send Body' disabled.
Example 2: Creating a payment with custom JSON body
Enable 'Send Body', choose 'JSON' as 'Body Content Type', and supply full JSON in 'JSON Body' with detailed payment information.
Example 3: Creating a payment with custom form data
Enable 'Send Body', choose 'Form Data' as 'Body Content Type', and provide key-value pairs in 'Form Data' for the payment.