WHMCS icon

WHMCS

Interact with the WHMCS billing & automation API

Product / Service → Suspend

AI-generated

Summary

Suspends the specified WHMCS client service by calling the ModuleSuspend API action. Optionally supplies a suspension reason and additional API parameters.

Inputs

  • Service ID (required) — Numeric ID of the client service (tblhosting.ID).
  • Suspension Reason — Optional reason sent as suspendreason; an empty value is omitted from the request.
  • Custom Parameters — Optional name/value parameters added to the WHMCS request. Parameter names must match the WHMCS API reference exactly and are case-sensitive.

Output shape

A list of items, one per input item, each containing the WHMCS API response in json.

The operation makes a POST request to the configured WHMCS API. A WHMCS API error or non-JSON response raises an error; with Continue On Fail enabled, that input item instead returns an error field.

Links

Discussion