> ## 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_confirm_merchant

> Complete linking a cooperative merchant (Rappi) by submitting the one-time code from buy_link_merchant.

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

<Note>Not in the default `tools/list`. It is still callable by exact name, and appears when the client sends the `x-expert-tools: 1` header.</Note>

## What it does

Complete linking a cooperative merchant (Rappi) by submitting the one-time code from buy\_link\_merchant.

## Inputs

| Field | Type | Description |
| - | - | - |
| `merchant` *(required)* | string | Merchant slug being linked (e.g. rappi). |
| `pending_id` *(required)* | string | The pending\_id returned by buy\_link\_merchant. |
| `code` *(required)* | string | The one-time code the user received from the merchant. |

## Returns

None.

## Example call

```json theme={null}
{
  "tool": "buy_confirm_merchant",
  "arguments": {
    "merchant": "\u2026",
    "pending_id": "\u2026",
    "code": "\u2026"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.