Start a return for a placed retail order (Amazon/Walmart lane) — use the order id from buy_order_history / the placement confirmation.
Connect to https://mcp.agentcard.sh/mcp with the user’s connection token (or a buy_token for org-owned accounts).Behavior: destructive.
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.
What it does
Start a return for a placed retail order (Amazon/Walmart lane) — use the order id from buy_order_history / the placement confirmation. Returns the WHOLE order unless product_ids narrows it. reason must be one of the listed codes (pick the closest to the user’s words; use ‘other’ + notes when none fits). The refund is automatic once the merchant receives the items: it posts back to the card that paid. Return labels are issued asynchronously — the create response usually has none yet; poll buy_return_status and relay the label URLs when they appear.
Inputs
Field
Type
Description
merchant(required)
string
merchant slug (e.g. retail)
order_id(required)
string
the placed order id (from buy_order_history or the placement confirmation)
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Agentcard","description":"Agentcard lets your AI agent buy anything online for your users: Vault for each user's own saved card, Issuing for cards the agent spends as itself, and opencommerce to buy from millions of online stores at 1% per completed order.","colors":{"primary":"#000","light":"#fff","dark":"#000"},"logo":{"light":"https://mintcdn.com/agentcard/ZxfluG2aJB7NnJ1J/logo/light.svg?fit=max\u0026auto=format\u0026n=ZxfluG2aJB7NnJ1J\u0026q=85\u0026s=1d8a10192584ca97f3cdb1fa2bb122dc","dark":"https://mintcdn.com/agentcard/ZxfluG2aJB7NnJ1J/logo/dark.svg?fit=max\u0026auto=format\u0026n=ZxfluG2aJB7NnJ1J\u0026q=85\u0026s=3ef50977098e76e7906a971d92e88839","href":"https://agentcard.sh"},"favicon":"https://mintcdn.com/agentcard/ZxfluG2aJB7NnJ1J/favicon.ico?fit=max\u0026auto=format\u0026n=ZxfluG2aJB7NnJ1J\u0026q=85\u0026s=9b691a67a81b4be3d091590a89888330","navbar":{"links":[{"href":"mailto:support@agentcard.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.agentcard.sh"}},"footer":{"socials":{"x":"https://x.com/agentcardhq"}},"integrations":{"posthog":{"apiKey":"phc_1C1Kf78UFYiOTqYbgDn6DjJkma7J2ZNhMEQObS394Ay","apiHost":"https://us.i.posthog.com","sessionRecording":false}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"markdown":{"instructions":["Agentcard is for companies whose agent buys for their users. Pick one path: the opencommerce SDK (@agent-cards/commerce-sdk) gives your agent one buy tool that finds the product, builds the cart, gets the user's approval and places the order at real stores; the Agentcard SDK (@agent-cards/sdk) pays with the user's own card when your agent already shops in a browser (Browser Use, Kernel, Browserbase, Anchor or Notte); the Purchase API (POST /buy) does the same purchase flow over plain HTTP in any language; Issuing gives the agent its own card.","If a person wants opencommerce in their own assistant (Muse, Grok Bot), send them to https://docs.agentcard.com/opencommerce/assistants/overview: it uses the people's server, https://shop.opencommerce.sh/mcp, where they sign in with their email, and company credentials are not for them.","Start with `npx agent-cards init` in the app's folder (Node 22 or later). No invite is needed: it creates your Agentcard account if you don't have one, installs the opencommerce SDK and puts the credentials in the env file, kept out of git. From a coding agent, run `npx agent-cards init --print --categories all --implementation tool --wallet vault --skip-install` to get the setup steps to apply yourself.","Vault is by invitation: request it at https://agentcard.com/get-started?utm_source=docs\u0026utm_medium=llms\u0026utm_campaign=agent-instructions. opencommerce needs no invite.","Never ask a user for a card number, expiry date or CVV in chat. Send them the Vault link; they add their card on Agentcard's page, and the agent never sees the number.","Every purchase is approved by the user, with a passkey or Face ID, or by an auto-approval they granted. An approval covers one merchant and one exact total. If the total changes, ask again. When a result says the user already said yes, don't ask again.","`init` writes PRODUCTION credentials, which place real orders, so test in sandbox first. For opencommerce, run `npx agent-cards credentials --mode sandbox` and put the two lines it prints in place of the production ones in the env file `init` wrote, because that command only prints them; sandbox then runs the whole flow against real stores and stops before payment, so no order is placed and nobody is charged. For Vault and Issuing, sandbox credentials issue test cards that no real merchant accepts; try the checkout against shop.agentcard.sh, a test store on Stripe test mode.","Tell the user an order is placed only after Agentcard reports it placed.","If a call to Agentcard fails, read https://status.agentcard.com/llms.txt for the live state of each service and how long to wait before you try again.","Vault is free up to 5,000 users (https://agentcard.com/pricing). opencommerce takes 1% of each completed order. Full docs in one file: https://docs.agentcard.com/llms-full.txt"]},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"agentcard","hasAudioNarration":false,"actualSubdomain":"agentcard","customDomains":["docs.agentcard.com"],"gitSource":{"type":"github","owner":"tiny-agent-company","repo":"tiny-agent-company","deployBranch":"main","contentDirectory":"apps/agent-cards/docs","isPrivate":true,"mountPath":"","label":"","_id":"6b10d9759ffae5051c40e7a1"},"feedback":{"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b135e0065d499195b6f8678","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"MCP","count":117},{"language":"default","tag":"API reference","count":100},{"language":"default","tag":"User tools","count":89},{"language":"default","tag":"Guides","count":73},{"language":"default","tag":"Vault","count":53},{"language":"default","tag":"Webhooks","count":51},{"language":"default","tag":"Events","count":49},{"language":"default","tag":"Cards","count":31},{"language":"default","tag":"Opencommerce","count":31},{"language":"default","tag":"Shopping","count":28}],"searchSettings":{"isFiltersEnabled":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@agentcard.com"}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"nav a[href^=\"https://agentcard.sh\"]{background-color:#1520b8;color:#fff!important;border-radius:9999px;padding-left:14px;padding-right:12px;transition:background-color 200ms ease}nav a[href^=\"https://agentcard.sh\"]:hover{background-color:#2e3ae8}nav a[href^=\"https://agentcard.sh\"] *{color:#fff!important;background:transparent!important}#agentcard-cta{margin-top:24px}.ac-cta-box{border:1px solid rgba(21, 32, 184, 0.15);border-radius:16px;padding:20px;background:linear-gradient(180deg, rgba(21, 32, 184, 0.04) 0%, rgba(21, 32, 184, 0.02) 100%)}html.dark .ac-cta-box{border-color:rgba(70, 83, 240, 0.25);background:linear-gradient(180deg, rgba(46, 58, 232, 0.09) 0%, rgba(46, 58, 232, 0.04) 100%)}.ac-cta-logo{height:20px;width:auto;display:block}.ac-cta-logo-dark{display:none}html.dark .ac-cta-logo-light{display:none}html.dark .ac-cta-logo-dark{display:block}.ac-cta-title{margin:14px 0 0;font-size:18px;font-weight:600;line-height:1.3;color:#111}html.dark .ac-cta-title{color:#fff}.ac-cta-description{margin:8px 0 0;font-size:13px;line-height:1.5;color:#666}.ac-cta-description strong{color:#333}html.dark .ac-cta-description{color:#aaa}html.dark .ac-cta-description strong{color:#ddd}.ac-cta-buttons{display:flex;flex-direction:column;gap:8px;margin-top:16px}.ac-cta-btn-primary,.ac-cta-btn-secondary{display:flex;align-items:center;justify-content:center;height:40px;border-radius:9999px;font-size:14px;font-weight:500;text-decoration:none;transition:background-color 200ms ease, border-color 200ms ease}.ac-cta-btn-primary{background:#1520b8;color:#ffffff!important}.ac-cta-btn-primary:hover{background:#2e3ae8}html.dark .ac-cta-btn-primary{background:#2e3ae8}html.dark .ac-cta-btn-primary:hover{background:#4653f0}.ac-cta-btn-secondary{background:#fff;border:1px solid #e5e7eb;color:#333!important}.ac-cta-btn-secondary:hover{background:#f9fafb;border-color:#d1d5db}html.dark .ac-cta-btn-secondary{background:rgba(255, 255, 255, 0.05);border-color:rgba(255, 255, 255, 0.1);color:#ddd!important}html.dark .ac-cta-btn-secondary:hover{background:rgba(255, 255, 255, 0.1);border-color:rgba(255, 255, 255, 0.2)}@media (max-width: 1024px){#agentcard-cta{display:none}}#footer a.max-w-36{max-width:none;overflow:visible;text-overflow:clip;white-space:nowrap}#footer div:has(>a.max-w-36){flex-wrap:wrap}nav[aria-label=\"Pages\"]:has(a[href=\"/webhooks/overview\"]) div.flex-1.items-center.gap-2>span{font-weight:600;font-size:12px}html.dark nav[aria-label=\"Pages\"]:has(a[href=\"/webhooks/overview\"]) div.flex-1.items-center.gap-2>span{color:rgb(222, 222, 222)}html:not(.dark) nav[aria-label=\"Pages\"]:has(a[href=\"/webhooks/overview\"]) div.flex-1.items-center.gap-2>span{color:rgb(31, 41, 55)}#sidebar-content{width:22rem}#table-of-contents-layout{width:17rem}"}]}
{"page":{"pagePath":"tools/mcp/user/buy_return_order","slug":"/tools/mcp/user/buy_return_order","pageMetadata":{"title":"buy_return_order","sidebarTitle":"buy_return_order","description":"Start a return for a placed retail order (Amazon/Walmart lane) — use the order id from buy_order_history / the placement confirmation.","href":"/tools/mcp/user/buy_return_order"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Start a return for a placed retail order (Amazon/Walmart lane) — use the order id from buy_order_history / the placement confirmation.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,em:`em`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Connect to `,_jsx(_components.code,{children:`https://mcp.agentcard.sh/mcp`}),` with the `,_jsx(_components.strong,{children:`user’s connection token`}),` (or a `,_jsx(_components.code,{children:`buy_token`}),` for org-owned accounts).`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Behavior:`}),` destructive.`]}),`\n`,_jsxs(Note,{children:[`Not in the default `,_jsx(_components.code,{children:`tools/list`}),`. It is still callable by exact name, and appears when the client sends the `,_jsx(_components.code,{children:`x-expert-tools: 1`}),` header.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-it-does`,children:`What it does`}),`\n`,_jsx(_components.p,{children:`Start a return for a placed retail order (Amazon/Walmart lane) — use the order id from buy_order_history / the placement confirmation. Returns the WHOLE order unless product_ids narrows it. reason must be one of the listed codes (pick the closest to the user’s words; use ‘other’ + notes when none fits). The refund is automatic once the merchant receives the items: it posts back to the card that paid. Return labels are issued asynchronously — the create response usually has none yet; poll buy_return_status and relay the label URLs when they appear.`}),`\n`,_jsx(Heading,{level:`2`,id:`inputs`,children:`Inputs`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`merchant`}),` `,_jsx(_components.em,{children:`(required)`})]}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`merchant slug (e.g. retail)`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`order_id`}),` `,_jsx(_components.em,{children:`(required)`})]}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`the placed order id (from buy_order_history or the placement confirmation)`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`reason`}),` `,_jsx(_components.em,{children:`(required)`})]}),_jsxs(_components.td,{children:[`string: `,_jsx(_components.code,{children:`damaged`}),` · `,_jsx(_components.code,{children:`not_delivered`}),` · `,_jsx(_components.code,{children:`empty_box`}),` · `,_jsx(_components.code,{children:`wrong_item`}),` · `,_jsx(_components.code,{children:`defective`}),` · `,_jsx(_components.code,{children:`not_as_described`}),` · `,_jsx(_components.code,{children:`wrong_size`}),` · `,_jsx(_components.code,{children:`no_longer_needed`}),` · `,_jsx(_components.code,{children:`other`})]}),_jsx(_components.td,{children:`why the user is returning — closest code to their words; ‘other’ needs notes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`notes`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`extra context in the user’s words (recommended; required in spirit for reason ‘other’)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`product_ids`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`return only these products (ids from the order); omit to return every item`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`returns`,children:`Returns`}),`\n`,_jsx(_components.p,{children:`None.`}),`\n`,_jsx(Heading,{level:`2`,id:`example-call`,children:`Example call`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tool\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"buy_return_order\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"arguments\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"merchant\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\u2026`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\u2026`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\u2026`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"buy_return_order","sidebarTitle":"buy_return_order","description":"Start a return for a placed retail order (Amazon/Walmart lane) — use the order id from buy_order_history / the placement confirmation.","href":"/tools/mcp/user/buy_return_order"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What it does","slug":"what-it-does","depth":2,"children":[]},{"title":"Inputs","slug":"inputs","depth":2,"children":[]},{"title":"Returns","slug":"returns","depth":2,"children":[]},{"title":"Example call","slug":"example-call","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/agentcard/b756546712a1ddf3/vector.js","/_mintlify/custom/agentcard/58f05fe16da3f154/agentcard-cta.js","/_mintlify/custom/agentcard/4e624125805329e1/same-tab-links.js"],"subdomain":"agentcard","siteName":"Agentcard","title":"buy_return_order - Agentcard","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{},"searchTabScopes":[{"tab":"Guides"},{"tab":"API reference"},{"tab":"Webhooks"},{"tab":"CLI"},{"tab":"MCP"},{"tab":"Commerce MCP"}]},"lastModified":"2026-11-16T17:00:55.432Z","originalFileLocation":"tools/mcp/user/buy_return_order.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Start a return for a placed retail order (Amazon/Walmart lane) — use the order id from buy_order_history / the placement confirmation.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Agentcard\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/agentcard/A6lDmirySbdlXtFn/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/agentcard/A6lDmirySbdlXtFn/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/agentcard/A6lDmirySbdlXtFn/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/agentcard/A6lDmirySbdlXtFn/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/agentcard/A6lDmirySbdlXtFn/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/agentcard/A6lDmirySbdlXtFn/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/agentcard/A6lDmirySbdlXtFn/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/agentcard/A6lDmirySbdlXtFn/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/agentcard/A6lDmirySbdlXtFn/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"buy_return_order - Agentcard\">\u003cmeta data-mint-head property=\"og:description\" content=\"Start a return for a placed retail order (Amazon/Walmart lane) — use the order id from buy_order_history / the placement confirmation.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Agentcard\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.agentcard.com/tools/mcp/user/buy_return_order\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://agentcard.mintlify.site/_mintlify/api/og/v2?division=Shopping\u0026amp;title=buy_return_order\u0026amp;description=Start+a+return+for+a+placed+retail+order+%28Amazon%2FWalmart+lane%29+%E2%80%94+use+the+order+id+from+buy_order_history+%2F+the+placement+confirmation.\u0026amp;theme=8a730d3f394e0de49720ada6\u0026amp;signature=41c497aac7ce692bb394dccecb862f2acbc645fce768dce004f2df5e611d9d10\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"buy_return_order - Agentcard\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Start a return for a placed retail order (Amazon/Walmart lane) — use the order id from buy_order_history / the placement confirmation.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://agentcard.mintlify.site/_mintlify/api/og/v2?division=Shopping\u0026amp;title=buy_return_order\u0026amp;description=Start+a+return+for+a+placed+retail+order+%28Amazon%2FWalmart+lane%29+%E2%80%94+use+the+order+id+from+buy_order_history+%2F+the+placement+confirmation.\u0026amp;theme=8a730d3f394e0de49720ada6\u0026amp;signature=41c497aac7ce692bb394dccecb862f2acbc645fce768dce004f2df5e611d9d10\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/agentcard/A6lDmirySbdlXtFn/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Agentcard\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.agentcard.com/tools/mcp/user/buy_return_order\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/tools/mcp/user/buy_return_order.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.agentcard.com/#organization\",\"name\":\"Agentcard\",\"url\":\"https://docs.agentcard.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/agentcard/ZxfluG2aJB7NnJ1J/logo/light.svg?fit=max\u0026auto=format\u0026n=ZxfluG2aJB7NnJ1J\u0026q=85\u0026s=1d8a10192584ca97f3cdb1fa2bb122dc\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.agentcard.com#website\",\"name\":\"Agentcard\",\"url\":\"https://docs.agentcard.com\",\"publisher\":{\"@id\":\"https://docs.agentcard.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.agentcard.com/tools/mcp/user/buy_return_order#webpage\",\"url\":\"https://docs.agentcard.com/tools/mcp/user/buy_return_order\",\"name\":\"buy_return_order\",\"description\":\"Start a return for a placed retail order (Amazon/Walmart lane) — use the order id from buy_order_history / the placement confirmation.\",\"dateModified\":\"2026-11-16T17:00:55.432Z\",\"isPartOf\":{\"@id\":\"https://docs.agentcard.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.agentcard.com/tools/mcp/user/buy_return_order#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.agentcard.com/tools/mcp/user/buy_return_order#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"User tools\",\"item\":\"https://docs.agentcard.com/tools/mcp/user/buy\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Shopping\",\"item\":\"https://docs.agentcard.com/tools/mcp/user/buy\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"buy_return_order\",\"item\":\"https://docs.agentcard.com/tools/mcp/user/buy_return_order\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.agentcard.com/tools/mcp/user/buy_return_order#article\",\"headline\":\"buy_return_order\",\"name\":\"buy_return_order\",\"description\":\"Start a return for a placed retail order (Amazon/Walmart lane) — use the order id from buy_order_history / the placement confirmation.\",\"url\":\"https://docs.agentcard.com/tools/mcp/user/buy_return_order\",\"mainEntityOfPage\":{\"@id\":\"https://docs.agentcard.com/tools/mcp/user/buy_return_order#webpage\"},\"dateModified\":\"2026-11-16T17:00:55.432Z\",\"publisher\":{\"@id\":\"https://docs.agentcard.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.agentcard.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Agentcard\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Agentcard\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/tools/mcp/user/buy_return_order.md","siteName":"Agentcard","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/getting-started"}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/overview"}]},{"tab":"Webhooks","pages":[{"title":"Webhooks","href":"/webhooks/overview"}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/tools/cli"}]},{"tab":"MCP","groups":[{"group":"MCP","pages":[{"title":"MCP","icon":"puzzle-piece","sidebarTitle":"Overview","href":"/tools/mcp"}]},{"group":"Organization tools","pages":[{"group":"Users","pages":[{"title":"create_cardholder","sidebarTitle":"create_cardholder","href":"/tools/mcp/org/create_cardholder"},{"title":"list_cardholders","sidebarTitle":"list_cardholders","href":"/tools/mcp/org/list_cardholders"},{"title":"get_cardholder","sidebarTitle":"get_cardholder","href":"/tools/mcp/org/get_cardholder"},{"title":"create_onboarding_session","sidebarTitle":"create_onboarding_session","href":"/tools/mcp/org/create_onboarding_session"},{"title":"get_onboarding_session","sidebarTitle":"get_onboarding_session","href":"/tools/mcp/org/get_onboarding_session"}]},{"group":"Identity","pages":[{"title":"start_cardholder_kyc","sidebarTitle":"start_cardholder_kyc","href":"/tools/mcp/org/start_cardholder_kyc"},{"title":"get_cardholder_kyc_status","sidebarTitle":"get_cardholder_kyc_status","href":"/tools/mcp/org/get_cardholder_kyc_status"}]},{"group":"Cards","pages":[{"title":"create_card","sidebarTitle":"create_card","href":"/tools/mcp/org/create_card"},{"title":"list_cards","sidebarTitle":"list_cards","href":"/tools/mcp/org/list_cards"},{"title":"get_card","sidebarTitle":"get_card","href":"/tools/mcp/org/get_card"},{"title":"get_card_details","sidebarTitle":"get_card_details","href":"/tools/mcp/org/get_card_details"},{"title":"top_up_card","sidebarTitle":"top_up_card","href":"/tools/mcp/org/top_up_card"},{"title":"close_card","sidebarTitle":"close_card","href":"/tools/mcp/org/close_card"}]},{"group":"Payment methods","pages":[{"title":"setup_cardholder_payment_method","sidebarTitle":"setup_cardholder_payment_method","href":"/tools/mcp/org/setup_cardholder_payment_method"},{"title":"get_cardholder_payment_method_status","sidebarTitle":"get_cardholder_payment_method_status","href":"/tools/mcp/org/get_cardholder_payment_method_status"}]},{"group":"Company balance","pages":[{"title":"get_company_wallet","sidebarTitle":"get_company_wallet","href":"/tools/mcp/org/get_company_wallet"},{"title":"list_transfers","sidebarTitle":"list_transfers","href":"/tools/mcp/org/list_transfers"},{"title":"confirm_collection","sidebarTitle":"confirm_collection","href":"/tools/mcp/org/confirm_collection"},{"title":"recover_funds","sidebarTitle":"recover_funds","href":"/tools/mcp/org/recover_funds"},{"title":"list_recoveries","sidebarTitle":"list_recoveries","href":"/tools/mcp/org/list_recoveries"}]},{"group":"Testing","pages":[{"title":"test_charge","sidebarTitle":"test_charge","href":"/tools/mcp/org/test_charge"}]},{"group":"Support","pages":[{"title":"ask_agentcard_engineer","sidebarTitle":"ask_agentcard_engineer","href":"/tools/mcp/org/ask_agentcard_engineer"},{"title":"get_engineer_reply","sidebarTitle":"get_engineer_reply","href":"/tools/mcp/org/get_engineer_reply"},{"title":"report_agentcard_issue","sidebarTitle":"report_agentcard_issue","href":"/tools/mcp/org/report_agentcard_issue"}]},{"group":"Session","pages":[{"title":"whoami","sidebarTitle":"whoami","href":"/tools/mcp/org/whoami"},{"title":"mint_buy_token","sidebarTitle":"mint_buy_token","href":"/tools/mcp/org/mint_buy_token"}]}]},{"group":"User tools","pages":[{"group":"Shopping","pages":[{"title":"buy","sidebarTitle":"buy","href":"/tools/mcp/user/buy"},{"title":"surprise_me","sidebarTitle":"surprise_me","href":"/tools/mcp/user/surprise_me"},{"title":"buy_list_merchants","sidebarTitle":"buy_list_merchants","href":"/tools/mcp/user/buy_list_merchants"},{"title":"buy_connect","sidebarTitle":"buy_connect","href":"/tools/mcp/user/buy_connect"},{"title":"buy_connect_status","sidebarTitle":"buy_connect_status","href":"/tools/mcp/user/buy_connect_status"},{"title":"buy_link_merchant","sidebarTitle":"buy_link_merchant","href":"/tools/mcp/user/buy_link_merchant"},{"title":"buy_unlink_merchant","sidebarTitle":"buy_unlink_merchant","href":"/tools/mcp/user/buy_unlink_merchant"},{"title":"buy_confirm_merchant","sidebarTitle":"buy_confirm_merchant","href":"/tools/mcp/user/buy_confirm_merchant"},{"title":"buy_request_merchant","sidebarTitle":"buy_request_merchant","href":"/tools/mcp/user/buy_request_merchant"},{"title":"buy_track_order","sidebarTitle":"buy_track_order","href":"/tools/mcp/user/buy_track_order"},{"title":"buy_order_history","sidebarTitle":"buy_order_history","href":"/tools/mcp/user/buy_order_history"},{"title":"buy_reorder","sidebarTitle":"buy_reorder","description":"Re-create a cart from a past order (use the order id from buy_order_history), making it the active cart.","href":"/tools/mcp/user/buy_reorder"},{"title":"buy_return_order","sidebarTitle":"buy_return_order","href":"/tools/mcp/user/buy_return_order"},{"title":"buy_return_status","sidebarTitle":"buy_return_status","description":"Status + return-label URLs for a return started with buy_return_order (by its return_id).","href":"/tools/mcp/user/buy_return_status"},{"title":"buy_addresses","sidebarTitle":"buy_addresses","href":"/tools/mcp/user/buy_addresses"},{"title":"buy_set_default_address","sidebarTitle":"buy_set_default_address","href":"/tools/mcp/user/buy_set_default_address"},{"title":"buy_set_delivery_address","sidebarTitle":"buy_set_delivery_address","href":"/tools/mcp/user/buy_set_delivery_address"},{"title":"buy_set_gift_recipient","sidebarTitle":"buy_set_gift_recipient","href":"/tools/mcp/user/buy_set_gift_recipient"},{"title":"buy_set_budget","sidebarTitle":"buy_set_budget","href":"/tools/mcp/user/buy_set_budget"},{"title":"buy_get_budget","sidebarTitle":"buy_get_budget","href":"/tools/mcp/user/buy_get_budget"},{"title":"buy_save_traveler","sidebarTitle":"buy_save_traveler","href":"/tools/mcp/user/buy_save_traveler"},{"title":"buy_cancel_flight","sidebarTitle":"buy_cancel_flight","href":"/tools/mcp/user/buy_cancel_flight"},{"title":"manage_subscription","sidebarTitle":"manage_subscription","href":"/tools/mcp/user/manage_subscription"}]},{"group":"Shopping (expert)","pages":[{"title":"buy_search_products","sidebarTitle":"buy_search_products","href":"/tools/mcp/user/buy_search_products"},{"title":"buy_search_stores","sidebarTitle":"buy_search_stores","href":"/tools/mcp/user/buy_search_stores"},{"title":"buy_select_store","sidebarTitle":"buy_select_store","href":"/tools/mcp/user/buy_select_store"},{"title":"buy_add_to_cart","sidebarTitle":"buy_add_to_cart","href":"/tools/mcp/user/buy_add_to_cart"},{"title":"buy_add_items","sidebarTitle":"buy_add_items","href":"/tools/mcp/user/buy_add_items"},{"title":"buy_remove_from_cart","sidebarTitle":"buy_remove_from_cart","href":"/tools/mcp/user/buy_remove_from_cart"},{"title":"buy_set_item_quantity","sidebarTitle":"buy_set_item_quantity","href":"/tools/mcp/user/buy_set_item_quantity"},{"title":"buy_view_cart","sidebarTitle":"buy_view_cart","href":"/tools/mcp/user/buy_view_cart"},{"title":"buy_clear_cart","sidebarTitle":"buy_clear_cart","href":"/tools/mcp/user/buy_clear_cart"},{"title":"buy_get_item_options","sidebarTitle":"buy_get_item_options","href":"/tools/mcp/user/buy_get_item_options"},{"title":"buy_set_substitution","sidebarTitle":"buy_set_substitution","href":"/tools/mcp/user/buy_set_substitution"},{"title":"buy_checkout","sidebarTitle":"buy_checkout","href":"/tools/mcp/user/buy_checkout"}]},{"group":"Cards","pages":[{"title":"create_card","sidebarTitle":"create_card","href":"/tools/mcp/user/create_card"},{"title":"list_cards","sidebarTitle":"list_cards","href":"/tools/mcp/user/list_cards"},{"title":"get_card_details","sidebarTitle":"get_card_details","href":"/tools/mcp/user/get_card_details"},{"title":"get_card_balance","sidebarTitle":"get_card_balance","href":"/tools/mcp/user/get_card_balance"},{"title":"pause_card","sidebarTitle":"pause_card","href":"/tools/mcp/user/pause_card"},{"title":"resume_card","sidebarTitle":"resume_card","href":"/tools/mcp/user/resume_card"},{"title":"update_card_limit","sidebarTitle":"update_card_limit","href":"/tools/mcp/user/update_card_limit"},{"title":"close_card","sidebarTitle":"close_card","href":"/tools/mcp/user/close_card"}]},{"group":"Card presets","pages":[{"title":"get_card_preset","sidebarTitle":"get_card_preset","href":"/tools/mcp/user/get_card_preset"},{"title":"set_card_preset","sidebarTitle":"set_card_preset","href":"/tools/mcp/user/set_card_preset"},{"title":"allow_card_merchant","sidebarTitle":"allow_card_merchant","href":"/tools/mcp/user/allow_card_merchant"},{"title":"list_presets","sidebarTitle":"list_presets","href":"/tools/mcp/user/list_presets"},{"title":"save_preset","sidebarTitle":"save_preset","href":"/tools/mcp/user/save_preset"},{"title":"delete_preset","sidebarTitle":"delete_preset","href":"/tools/mcp/user/delete_preset"}]},{"group":"Vault and added cards","pages":[{"title":"list_added_cards","sidebarTitle":"list_added_cards","href":"/tools/mcp/user/list_added_cards"},{"title":"remove_added_card","sidebarTitle":"remove_added_card","href":"/tools/mcp/user/remove_added_card"}]},{"group":"Balance and funding","pages":[{"title":"get_balance","sidebarTitle":"get_balance","href":"/tools/mcp/user/get_balance"},{"title":"add_funds","sidebarTitle":"add_funds","href":"/tools/mcp/user/add_funds"},{"title":"start_phone_verification","sidebarTitle":"start_phone_verification","href":"/tools/mcp/user/start_phone_verification"},{"title":"verify_phone","sidebarTitle":"verify_phone","href":"/tools/mcp/user/verify_phone"},{"title":"submit_funding_profile","sidebarTitle":"submit_funding_profile","href":"/tools/mcp/user/submit_funding_profile"},{"title":"redeem_code","sidebarTitle":"redeem_code","href":"/tools/mcp/user/redeem_code"},{"title":"list_codes","sidebarTitle":"list_codes","href":"/tools/mcp/user/list_codes"}]},{"group":"Identity","pages":[{"title":"start_kyc","sidebarTitle":"start_kyc","href":"/tools/mcp/user/start_kyc"},{"title":"submit_kyc_document","sidebarTitle":"submit_kyc_document","href":"/tools/mcp/user/submit_kyc_document"},{"title":"check_kyc_document","sidebarTitle":"check_kyc_document","href":"/tools/mcp/user/check_kyc_document"},{"title":"submit_kyc_fields","sidebarTitle":"submit_kyc_fields","href":"/tools/mcp/user/submit_kyc_fields"},{"title":"get_kyc_status","sidebarTitle":"get_kyc_status","href":"/tools/mcp/user/get_kyc_status"},{"title":"complete_kyc_transfer","sidebarTitle":"complete_kyc_transfer","href":"/tools/mcp/user/complete_kyc_transfer"},{"title":"submit_user_info","sidebarTitle":"submit_user_info","href":"/tools/mcp/user/submit_user_info"}]},{"group":"Payment methods","pages":[{"title":"list_payment_methods","sidebarTitle":"list_payment_methods","href":"/tools/mcp/user/list_payment_methods"},{"title":"setup_payment_method","sidebarTitle":"setup_payment_method","href":"/tools/mcp/user/setup_payment_method"},{"title":"set_default_payment_method","sidebarTitle":"set_default_payment_method","href":"/tools/mcp/user/set_default_payment_method"},{"title":"remove_payment_method","sidebarTitle":"remove_payment_method","href":"/tools/mcp/user/remove_payment_method"}]},{"group":"Rewards","pages":[{"title":"get_rewards","sidebarTitle":"get_rewards","href":"/tools/mcp/user/get_rewards"},{"title":"redeem_rewards","sidebarTitle":"redeem_rewards","href":"/tools/mcp/user/redeem_rewards"}]},{"group":"Transactions","pages":[{"title":"list_transactions","sidebarTitle":"list_transactions","href":"/tools/mcp/user/list_transactions"},{"title":"list_transactions_by_payment_method","sidebarTitle":"list_transactions_by_payment_method","href":"/tools/mcp/user/list_transactions_by_payment_method"},{"title":"list_all_transactions","sidebarTitle":"list_all_transactions","href":"/tools/mcp/user/list_all_transactions"}]},{"group":"Approvals","pages":[{"title":"list_pending_approvals","sidebarTitle":"list_pending_approvals","href":"/tools/mcp/user/list_pending_approvals"},{"title":"approve_request","sidebarTitle":"approve_request","href":"/tools/mcp/user/approve_request"}]},{"group":"Account and settings","pages":[{"title":"whoami","sidebarTitle":"whoami","href":"/tools/mcp/user/whoami"},{"title":"get_instructions","sidebarTitle":"get_instructions","href":"/tools/mcp/user/get_instructions"},{"title":"get_settings","sidebarTitle":"get_settings","href":"/tools/mcp/user/get_settings"},{"title":"update_settings","sidebarTitle":"update_settings","href":"/tools/mcp/user/update_settings"},{"title":"get_plan","sidebarTitle":"get_plan","href":"/tools/mcp/user/get_plan"},{"title":"upgrade_plan","sidebarTitle":"upgrade_plan","href":"/tools/mcp/user/upgrade_plan"},{"title":"cancel_plan","sidebarTitle":"cancel_plan","href":"/tools/mcp/user/cancel_plan"},{"title":"link_account","sidebarTitle":"link_account","href":"/tools/mcp/user/link_account"},{"title":"list_connections","sidebarTitle":"list_connections","href":"/tools/mcp/user/list_connections"},{"title":"revoke_connection","sidebarTitle":"revoke_connection","href":"/tools/mcp/user/revoke_connection"}]},{"group":"Support","pages":[{"title":"start_support_chat","sidebarTitle":"start_support_chat","href":"/tools/mcp/user/start_support_chat"},{"title":"send_support_message","sidebarTitle":"send_support_message","href":"/tools/mcp/user/send_support_message"},{"title":"read_support_chat","sidebarTitle":"read_support_chat","href":"/tools/mcp/user/read_support_chat"}]}]}]},{"tab":"Commerce MCP","pages":[{"title":"Commerce MCP","href":"/commerce-mcp/tools/buy"}]}]},"basePath":"","title":"buy_return_order - Agentcard","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":[],"chunks":[]}