> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentcard.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# buy_unlink_merchant

> Disconnect a merchant — drops the saved session + link.

Connect to `https://mcp.agentcard.sh/mcp` with the **user's connection token** (or a `buy_token` for org-owned accounts).

**Behavior:** destructive, idempotent.

## What it does

Disconnect a merchant — drops the saved session + link. The user must re-link (e.g. hosted connect) before shopping it again.

## Inputs

| Field                   | Type   | Description                                  |
| ----------------------- | ------ | -------------------------------------------- |
| `merchant` *(required)* | string | Merchant slug to disconnect (e.g. doordash). |

## Returns

| Field                  | Type   | Description                                         |
| ---------------------- | ------ | --------------------------------------------------- |
| `message` *(required)* | string | Human-readable unlink outcome.                      |
| `status`               | string | Outcome: 'unlinked', 'not\_linked', or 'error'.     |
| `merchant`             | string | The merchant slug that was unlinked (or attempted). |

## Example call

```json theme={null}
{
  "tool": "buy_unlink_merchant",
  "arguments": {
    "merchant": "\u2026"
  }
}
```
