# get_billing (/docs/mcp/tools/get-billing)

{/* Generated by scripts/sync-mcp-tools.mjs from happierleads-api. Do not edit: change src/routes/mcp/toolDocs.json there, or add content/mcp-notes/get_billing.mdx. */}

**Get billing (subscription)** · Read-only

Returns the same subscription summary as get_subscription: plan, leads per month, credits used and remaining, top-up credits, price, billing interval, next billing date, whether it is set to cancel or is paused, pending downgrade and any running retention discount. The websiteId is accepted but does not change the result (billing is per account). Prefer get_subscription. Needs an account-level key.

| Connection | Account-owner URL or OAuth (not a team member URL) |
| --- | --- |

## Parameters [#parameters]

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `websiteId` | `string` | Yes | Website ID from list_websites. Required by the schema but ignored; the result covers the whole account. |

## Tool definition [#tool-definition]

What your assistant receives from `tools/list`:

```json
{
  "name": "get_billing",
  "title": "Get billing (subscription)",
  "annotations": {
    "title": "Get billing (subscription)",
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
  },
  "inputSchema": {
    "type": "object",
    "properties": {
      "websiteId": {
        "type": "string",
        "description": "Website ID from list_websites. Required by the schema but ignored; the result covers the whole account."
      }
    },
    "required": [
      "websiteId"
    ]
  }
}
```
