# Present Buyer Link Code (Merge Channel into Buyer Account)

> Present Buyer Link Code (Merge Channel into Buyer Account) is a paid API for AI agents from memory.withzero.xyz, paid per call via MPP, metered — billed by usage, status unknown (last checked 2026-09-13).

Accepts a single-use link code minted on another channel to merge the current channel into an existing buyer account on memory.withzero.xyz.

## Facts

- Endpoint: POST https://memory.withzero.xyz/api/v1/buyer/links
- Price: metered — billed by usage
- Payment: MPP
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 3
- Provider: memory.withzero.xyz
- Website: https://memory.withzero.xyz
- Canonical page: https://www.zero.xyz/c/memory-withzero-xyz-present-buyer-link-code-merge-channel-into-buyer-41ea3d19
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DWD2-dnV5L0ceLzig9cGI

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability memory-withzero-xyz-present-buyer-link-code-merge-channel-into-buyer-41ea3d19 -d '<json body>'
```

Example prompt: I have a link code that was minted on my other channel — please use it to merge this channel into my existing memory.withzero.xyz buyer account. The code is ABC123XYZ.

## When to prefer this

Use this endpoint when an agent or user has already minted a link code from an existing buyer account on another channel and wants to merge the current channel into that same buyer account. This is the counterpart to the 'Mint link code' endpoint and must be called within the 10-minute code validity window. Prefer this over account creation flows when the buyer account already exists elsewhere.

## Known failure modes

- Invalid or expired link code (codes expire after 10 minutes) — returns error indicating code not found or expired
- Code already consumed (single-use only) — returns error indicating code was already used
- Malformed request body (missing or empty `code` field) — returns validation error
- Channel already linked to a different buyer account — may return conflict error
- Network or server error — returns 5xx response

## How this service works

Present a link code minted on another channel: merges this channel into that buyer account.

## Output

Returns a JSON object confirming the link was successful, including the boolean `linked: true`, the `buyer_id` of the account this channel was merged into, and the `channel` identifier that was linked.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "code"
 ],
 "properties": {
  "code": {
   "type": "string",
   "minLength": 1
  }
 },
 "additionalProperties": false
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "linked",
  "buyer_id",
  "channel"
 ],
 "properties": {
  "linked": {
   "type": "boolean",
   "const": true
  },
  "channel": {
   "type": "string"
  },
  "buyer_id": {
   "type": "string"
  }
 },
 "additionalProperties": false
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/memory-withzero-xyz-present-buyer-link-code-merge-channel-into-buyer-41ea3d19/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from memory.withzero.xyz](https://www.zero.xyz/host/memory.withzero.xyz/llms.txt)
