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

> Finish linking a cooperative merchant with its one-time code

Completes linking a cooperative merchant (Rappi) by submitting the one-time code the user received after [buy\_link\_merchant](/companies/mcp/tools/buy_link_merchant).

<Note>Not advertised in `tools/list` by default — the [buy](/companies/mcp/tools/buy) tool covers this conversationally. Expert integrations can still call it by name.</Note>

## Parameters

| Parameter    | Type   | Required | Description                                       |
| ------------ | ------ | -------- | ------------------------------------------------- |
| `merchant`   | string | Yes      | The merchant slug being linked.                   |
| `pending_id` | string | Yes      | The `pending_id` returned by `buy_link_merchant`. |
| `code`       | string | Yes      | The one-time code the user received.              |

## Returns

Confirmation that the merchant is linked and ready to search and shop. If the code or pending link does not check out, a short error message explains why.

## Example

```json theme={null}
{ "name": "buy_confirm_merchant", "arguments": { "merchant": "rappi", "pending_id": "pend_8f2c1a", "code": "482913" } }
```
