# get_checkout_link

> Get a link to buy credits with Wavegrain's MCP server: the get_checkout_link tool needs the read permission. Inputs, outputs and an example call.

> Index of these docs: https://wavegrain.com/developers/llms.txt

**Get a link to buy credits.** Permission: `read`. Read-only: changes nothing.

Wavegrain's billing page for more credits (paid plans) or another plan. The user picks and pays there; you never pay. Free.

## Inputs

| Input | Type | Required | Notes |
| --- | --- | --- | --- |
| `want` | "credits" \| "plan" | no | credits: a one-time credit pack (paid plans); plan: choose or change a plan. default "credits" |

The fields inside an object or a list are in the JSON Schema at [/developers/mcp-tools.json](/developers/mcp-tools.json).

## Returns

| Field | Type | Notes |
| --- | --- | --- |
| `link` | string | Opens Wavegrain's checkout; the user pays there, never in the chat. |
| `balance` | number | Credits the user has now. |
| `plan` | string | The user's plan key. |
| `options` | object[] | Pack credits never expire; plan credits are per month. |
| `note` | string | What to tell the user. |

## Example call

Send it to `POST https://wavegrain.com/api/mcp` with an access key that has the `read` permission; [Authentication](/developers/authentication) shows how to make one.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_checkout_link",
    "arguments": {}
  }
}
```

## Related tools

- [`search_inspiration`](/developers/mcp-tools/search_inspiration): Search the Inspiration library
- [`get_playbook`](/developers/mcp-tools/get_playbook): Get the slideshow playbook
- [`estimate_cost`](/developers/mcp-tools/estimate_cost): Estimate credits
- [`get_generation_status`](/developers/mcp-tools/get_generation_status): Get a slideshow's progress
- [`list_review_links`](/developers/mcp-tools/list_review_links): List client review links
- [`list_automations`](/developers/mcp-tools/list_automations): List automations
- [All 79 tools](/developers/mcp-tools)
