Actions51
- Client Actions
- Custom API Call Actions
- Domain Actions
- Invoice Actions
- Order Actions
- Product / Service Actions
- System Actions
- Ticket Actions
Invoice → Add Payment
AI-generatedSummary
Adds a payment to a WHMCS invoice by calling the AddInvoicePayment API action for each input item.
Inputs
- Invoice ID (required) — Invoice ID to pay. A value of 0 is omitted from the API request.
- Transaction ID (required) — Unique transaction reference from the gateway; sent as
transid. - Payment Fields — Optional payment details: amount, date (
YYYY-MM-DD HH:MM:SS), fees, gateway module name, andnoemailto suppress the confirmation email when true. Empty values are omitted. - Custom Parameters — Optional additional WHMCS API parameters, supplied as case-sensitive name/value pairs. They are merged into the request body.
Output shape
One item per input item, containing the WHMCS API response in json.
The request uses POST with form-encoded parameters and JSON response mode. API or request errors stop execution unless Continue On Fail is enabled, in which case that item's output contains an
errorfield.