{"uid":"cap_DWD2-dnV5L0ceLzig9cGI","slug":"memory-withzero-xyz-present-buyer-link-code-merge-channel-into-buyer-41ea3d19","name":"Present Buyer Link Code (Merge Channel into Buyer Account)","description":"Present a link code minted on another channel: merges this channel into that buyer account.","url":"https://memory.withzero.xyz/api/v1/buyer/links","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["code"],"properties":{"code":{"type":"string","minLength":1}},"additionalProperties":false},"responseSchema":{"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},"example":null,"exampleRequest":null,"tags":[],"displayCostAmount":"0","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"proven_free","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"metered","summary":"metered — billed by usage","primary":{"kind":"metered","protocol":"mpp","network":"tempo","amountUsd":null,"per":"call","confidence":"unknown"},"accepted":[{"kind":"metered","protocol":"mpp","network":"tempo","amountUsd":null,"per":"call","confidence":"unknown"}]},"paymentMethods":[{"uid":"pm_sWcqG9ABASh9e34rEWy7U","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":"memory.buyer_link:1"}],"brandName":"memory.withzero.xyz","brandSlug":"memory-withzero-xyz-mpp","brandBaseUrl":"https://memory.withzero.xyz","brandDocsUrl":null,"whatItDoes":"Accepts a single-use link code minted on another channel to merge the current channel into an existing buyer account on memory.withzero.xyz.","exampleAgentPrompt":"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.","exampleUseCases":null,"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":3,"lastUsedAt":"2026-07-29T00:21:24.010Z","lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:32:30.287Z","isFirstParty":true}