Actions51
- Client Actions
- Custom API Call Actions
- Domain Actions
- Invoice Actions
- Order Actions
- Product / Service Actions
- System Actions
- Ticket Actions
Invoice → Apply Credit
AI-generatedSummary
Applies a specified amount of credit to a WHMCS invoice using the ApplyCredit API action. The node sends one API request for each input item and returns WHMCS’s response for each item.
Inputs
- Invoice ID (required) — Numeric invoice ID. A value of 0 is omitted from the API request.
- Amount (required) — Credit amount to apply; a value of 0 is omitted from the API request.
- Custom Parameters — Optional additional WHMCS API parameters, entered as case-sensitive name and value pairs. These are merged into the request and can override fields with the same names.
Output shape
A list of items, each containing the WHMCS API response for the corresponding input item.
The request uses the
ApplyCreditaction. A failed request stops execution unless Continue On Fail is enabled, in which case that item contains anerrorfield.