HappierleadsDocs
MCP server

set_website_billing_mode

For websites you run for your own clients: start a trial until a date (its leads go to 0 when it ends), switch to paid (the leads refill to the website's limit every month on refreshOn, then the date moves on a month) or stop the monthly refill when a client cancels.

Set a website's trial or paid mode · Changes data

For websites you run for your own clients: start a trial until a date (its leads go to 0 when it ends), switch to paid (the leads refill to the website's limit every month on refreshOn, then the date moves on a month) or stop the monthly refill when a client cancels. Set the leads themselves with set_website_limits.

ConnectionAccount-owner URL or OAuth (not a team member URL)

Parameters

ParameterTypeRequiredAcceptsDescription
websiteIdstringYesanyWebsite ID from list_websites.
modestringYestrial, paid, stop_refilltrial, paid or stop_refill.
trialEndsAtstringNoanyWhen the trial ends (ISO date). Required for trial.
refreshOnstringNoanyThe client's next billing date (ISO date). Required for paid.

Tool definition

What your assistant receives from tools/list:

{
  "name": "set_website_billing_mode",
  "title": "Set a website's trial or paid mode",
  "annotations": {
    "title": "Set a website's trial or paid mode",
    "readOnlyHint": false,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
  },
  "inputSchema": {
    "type": "object",
    "properties": {
      "websiteId": {
        "type": "string",
        "description": "Website ID from list_websites."
      },
      "mode": {
        "type": "string",
        "enum": [
          "trial",
          "paid",
          "stop_refill"
        ],
        "description": "trial, paid or stop_refill."
      },
      "trialEndsAt": {
        "type": "string",
        "description": "When the trial ends (ISO date). Required for trial."
      },
      "refreshOn": {
        "type": "string",
        "description": "The client's next billing date (ISO date). Required for paid."
      }
    },
    "required": [
      "websiteId",
      "mode"
    ]
  }
}

On this page