{"uid":"cap_a0oR2Uo819kaAcKMGvMvh","slug":"memory-withzero-xyz-mint-buyer-account-link-code-9f159b1b","name":"Mint Buyer Account Link Code","description":"Mint a single-use code (10 min) that links another purchasing channel to this buyer account.","url":"https://memory.withzero.xyz/api/v1/buyer/link-codes","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{},"additionalProperties":false},"responseSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["code","expires_at","buyer_id"],"properties":{"code":{"type":"string"},"buyer_id":{"type":"string"},"expires_at":{"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":"1.00","reviews":0,"stars":null,"state":"rated"},"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_nvHGNBQyyWozZFcUHzUMT","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":"memory.buyer_link_code:1"}],"brandName":"memory.withzero.xyz","brandSlug":"memory-withzero-xyz-mpp","brandBaseUrl":"https://memory.withzero.xyz","brandDocsUrl":null,"whatItDoes":"Generates a single-use, 10-minute expiring code that links another purchasing channel to the current buyer account on memory.withzero.xyz.","exampleAgentPrompt":"Mint a link code for my memory.withzero.xyz buyer account so I can connect another purchasing channel to it — I need the one-time code and when it expires.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing a single-use link code string, the associated buyer_id, and an expires_at timestamp (valid for 10 minutes). The agent can pass this code to another channel's link-code redemption endpoint to merge that channel into the same buyer account.","failureModes":["Authentication failure: caller is not recognized as a valid buyer, returns 401","Rate limiting: too many link codes minted in short succession, returns 429","Service unavailable: memory backend unreachable, returns 503","Expired code used on redemption endpoint: code is only valid for 10 minutes from minting"],"whenToPreferThis":"Use this endpoint when you need to unify multiple purchasing channels under a single buyer account on memory.withzero.xyz — for example, when an agent operates across different payment contexts (e.g., different wallets or platforms) and needs memory billing consolidated. This is specifically for account linking initiation; the counterpart redemption endpoint handles consuming the code.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":3,"lastUsedAt":"2026-07-29T00:21:24.680Z","lastSuccessfullyRanAt":"2026-07-29T00:21:24.680Z","lastHealthCheckAt":"2026-09-14T00:43:36.871Z","isFirstParty":true}