The Merchant API is the supported server-to-server commerce API. Agent Wallet, webhook, SuperAPI, and telemetry contracts are also documented because customer code calls or receives them directly.
Do not send a Merchant API key as a Bearer token and do not treat an Agent Wallet Key as a merchant credential.
Use URLs returned by Anyway, including paymentLinkUrl and callable SuperAPI URLs. Do not derive alternate links or assume that all surfaces share one hostname.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Anyway","colors":{"primary":"#2D2D2D","light":"#FFF861","dark":"#8F8800"},"logo":{"light":"https://mintcdn.com/anyway/kQKI16Sg4nuY4o1r/logo/light-logo.svg?fit=max\u0026auto=format\u0026n=kQKI16Sg4nuY4o1r\u0026q=85\u0026s=334a58279fe854513de4f87aa6b40448","dark":"https://mintcdn.com/anyway/kQKI16Sg4nuY4o1r/logo/dark-logo.svg?fit=max\u0026auto=format\u0026n=kQKI16Sg4nuY4o1r\u0026q=85\u0026s=31e918d2c3c81cb9c7cfb400729d5196"},"favicon":"https://mintcdn.com/anyway/kQKI16Sg4nuY4o1r/favicon.svg?fit=max\u0026auto=format\u0026n=kQKI16Sg4nuY4o1r\u0026q=85\u0026s=0d9a02e06709211775abc48aaaad03a7","footer":{"socials":{"x":"https://x.com/aianyway","linkedin":"https://linkedin.com/company/aianyway"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Anyway.sh","icon":"house","href":"https://anyway.sh"},{"anchor":"AI Agent Skill","icon":"wand-magic-sparkles","href":"/skills"}]},"languages":[{"language":"en","default":true,"navbar":{"links":[{"href":"mailto:support@anyway.sh","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.anyway.sh"}},"href":"concepts"},{"language":"cn","navbar":{"links":[{"href":"mailto:support@anyway.sh","label":"支持"}],"primary":{"type":"button","label":"打开控制台","href":"https://app.anyway.sh"}},"href":"zh/concepts"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"anyway","hasAudioNarration":false,"actualSubdomain":"anyway","customDomains":["docs.anyway.sh"],"gitSource":{"type":"github","owner":"anyway-platform","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6aed7231e48c90f114c08870","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"en","tag":"API Reference","count":27},{"language":"cn","tag":"API 参考","count":27},{"language":"en","tag":"Business","count":20},{"language":"cn","tag":"Business","count":20},{"language":"en","tag":"Merchant API endpoints","count":16},{"language":"cn","tag":"Merchant API 端点","count":16},{"language":"en","tag":"Start","count":10},{"language":"cn","tag":"开始使用","count":10},{"language":"en","tag":"Agents","count":7},{"language":"cn","tag":"Agents","count":7},{"language":"en","tag":"Payment","count":6},{"language":"cn","tag":"支付","count":6},{"language":"en","tag":"Changelog","count":5},{"language":"en","tag":"MoR","count":5},{"language":"cn","tag":"更新日志","count":5},{"language":"cn","tag":"MoR","count":5},{"language":"en","tag":"Merchant API","count":4},{"language":"cn","tag":"Merchant API","count":4},{"language":"en","tag":"Wallets \u0026 funding","count":3},{"language":"cn","tag":"钱包与资金","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@media (min-width: 1024px){#sidebar.fixed.bottom-0{top:7rem;height:calc(100vh - 7rem);height:calc(100dvh - 7rem)}}.cl-page{max-width:64rem!important;margin:0 auto;padding:4rem 1.5rem 6rem}.cl-hero{padding-bottom:3rem;border-bottom:1px solid rgb(0 0 0 / 0.08)}.dark .cl-hero{border-color:rgb(255 255 255 / 0.08)}.cl-hero h1{margin:0;font-size:3.5rem;line-height:1.1;font-weight:700;letter-spacing:-0.02em}.cl-hero p{margin-top:1rem;font-size:1.25rem}.cl-page .cl-back{border-bottom:0;display:inline-block;margin-bottom:1.5rem;font-size:0.95rem}.cl-page .update{padding:3.5rem 0}@media (min-width: 1024px){.cl-page .update{position:relative;gap:3rem}.cl-page .update::before{content:\"\";position:absolute;top:0;bottom:0;left:4px;width:1px;background:rgb(0 0 0 / 0.1)}.dark .cl-page .update::before{background:rgb(255 255 255 / 0.12)}.cl-hero+.update::before,.cl-page .update:first-of-type::before{top:4.25rem}.cl-page .update [data-component-part=\"update-label\"]{position:relative;padding-left:1.75rem}.cl-page [data-component-part=\"update-label\"]::before{content:\"\";position:absolute;top:50%;left:0;width:9px;height:9px;border-radius:9999px;background:rgb(156 163 175);transform:translateY(-50%)}.cl-page .update>div:has([data-component-part=\"update-label\"]){width:16rem}}.cl-page [data-component-part=\"update-label\"]{padding:0;background:none;font-size:1rem;font-weight:400;color:rgb(107 114 128)}.cl-page [data-component-part=\"update-content\"]{font-size:1.125rem;line-height:1.75}.cl-page [data-component-part=\"update-content\"]>:is(h1,h2):first-child{margin-top:0;font-size:2.5rem;line-height:1.2;letter-spacing:-0.02em}.cl-page [data-component-part=\"update-content\"]>:is(h1,h2):first-child a{border-bottom:0;text-decoration:none}"}],"page":{"pagePath":"api-reference/api-surfaces","slug":"/api-reference/api-surfaces","pageMetadata":{"title":"Choose the Right API","description":"Choose the public API and authentication method for each integration.","icon":"diagram-project","href":"/api-reference/api-surfaces"},"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: \"Choose the public API and authentication method for each integration.\"\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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Anyway exposes separate supported integration surfaces for merchant servers, webhook receivers, agent runtimes, and instrumented applications.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Surface`}),_jsx(_components.th,{children:`Audience`}),_jsx(_components.th,{children:`Authentication`}),_jsx(_components.th,{children:`Primary capability`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Merchant API`}),_jsx(_components.td,{children:`Merchant backend`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`X-API-Key`})}),_jsx(_components.td,{children:`Commerce records`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Webhook delivery`}),_jsx(_components.td,{children:`Merchant HTTPS endpoint`}),_jsx(_components.td,{children:`Ed25519 signature`}),_jsx(_components.td,{children:`Receive order lifecycle events`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Agent Wallet API`}),_jsx(_components.td,{children:`Agent runtime`}),_jsx(_components.td,{children:`P-256 request signature`}),_jsx(_components.td,{children:`Read policy/history and authorize wallet actions`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`SuperAPI directory`}),_jsx(_components.td,{children:`Agents and developers`}),_jsx(_components.td,{children:`Public discovery; Agent Wallet for paid calls`}),_jsx(_components.td,{children:`Discover and call x402 services`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Telemetry collector`}),_jsx(_components.td,{children:`Instrumented applications`}),_jsx(_components.td,{children:`Agent Traces API key`}),_jsx(_components.td,{children:`Export OpenTelemetry traces`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`public-integration-rules`,children:`Public integration rules`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Merchant API`}),` is the supported server-to-server commerce API. Agent Wallet, webhook, SuperAPI, and telemetry contracts are also documented because customer code calls or receives them directly.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Do not send a Merchant API key as a Bearer token and do not treat an Agent Wallet Key as a merchant credential.`})}),`\n`,_jsx(Heading,{level:`2`,id:`base-urls`,children:`Base URLs`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Merchant API: https://merchant-api-prod.anyway.sh`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Agent Wallet API: https://api.anyway.sh`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`SuperAPI directory: https://marketplace-prod.anyway.sh`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Telemetry: https://collector.anyway.sh`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Use URLs returned by Anyway, including `,_jsx(_components.code,{children:`paymentLinkUrl`}),` and callable SuperAPI URLs. Do not derive alternate links or assume that all surfaces share one hostname.`]})]})}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":"Choose the Right API","description":"Choose the public API and authentication method for each integration.","icon":"diagram-project","href":"/api-reference/api-surfaces"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Public integration rules","slug":"public-integration-rules","depth":2,"children":[]},{"title":"Base URLs","slug":"base-urls","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"anyway","siteName":"Anyway","title":"Choose the Right API - Anyway","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/api-surfaces","matchLevel":0},"cn":{"href":"/zh/api-reference/api-surfaces","matchLevel":1}}},"lastModified":"2026-08-04T15:40:15.285Z","originalFileLocation":"api-reference/api-surfaces.mdx","locale":"en"},"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=\"Choose the public API and authentication method for each integration.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Anyway\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/anyway/eR8cVHPMmH-pypLZ/_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/anyway/eR8cVHPMmH-pypLZ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/anyway/eR8cVHPMmH-pypLZ/_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/anyway/eR8cVHPMmH-pypLZ/_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/anyway/eR8cVHPMmH-pypLZ/_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/anyway/eR8cVHPMmH-pypLZ/_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/anyway/eR8cVHPMmH-pypLZ/_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/anyway/eR8cVHPMmH-pypLZ/_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/anyway/eR8cVHPMmH-pypLZ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Choose the Right API - Anyway\">\u003cmeta data-mint-head property=\"og:description\" content=\"Choose the public API and authentication method for each integration.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Anyway\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.anyway.sh/api-reference/api-surfaces\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://anyway.mintlify.site/_mintlify/api/og/v2?division=Start\u0026amp;title=Choose+the+Right+API\u0026amp;description=Choose+the+public+API+and+authentication+method+for+each+integration.\u0026amp;theme=ec822512d40c4e334ba05aad\u0026amp;signature=9fb0107831871f6ca6e5f8f24b1a53cb6f04dcf3cc6e8f052726c8c0e56a190d\">\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=\"Choose the Right API - Anyway\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Choose the public API and authentication method for each integration.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://anyway.mintlify.site/_mintlify/api/og/v2?division=Start\u0026amp;title=Choose+the+Right+API\u0026amp;description=Choose+the+public+API+and+authentication+method+for+each+integration.\u0026amp;theme=ec822512d40c4e334ba05aad\u0026amp;signature=9fb0107831871f6ca6e5f8f24b1a53cb6f04dcf3cc6e8f052726c8c0e56a190d\">\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/anyway/eR8cVHPMmH-pypLZ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Anyway\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2D2D2D\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.anyway.sh/api-reference/api-surfaces\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/api-surfaces.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.anyway.sh/api-reference/api-surfaces\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.anyway.sh/zh/api-reference/api-surfaces\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.anyway.sh/api-reference/api-surfaces\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.anyway.sh/#organization\",\"name\":\"Anyway\",\"url\":\"https://docs.anyway.sh\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/anyway/kQKI16Sg4nuY4o1r/logo/light-logo.svg?fit=max\u0026auto=format\u0026n=kQKI16Sg4nuY4o1r\u0026q=85\u0026s=334a58279fe854513de4f87aa6b40448\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.anyway.sh#website\",\"name\":\"Anyway\",\"url\":\"https://docs.anyway.sh\",\"publisher\":{\"@id\":\"https://docs.anyway.sh/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.anyway.sh/api-reference/api-surfaces#webpage\",\"url\":\"https://docs.anyway.sh/api-reference/api-surfaces\",\"name\":\"Choose the Right API\",\"description\":\"Choose the public API and authentication method for each integration.\",\"dateModified\":\"2026-08-04T15:40:15.285Z\",\"isPartOf\":{\"@id\":\"https://docs.anyway.sh#website\"},\"breadcrumb\":{\"@id\":\"https://docs.anyway.sh/api-reference/api-surfaces#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.anyway.sh/api-reference/api-surfaces#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Start\",\"item\":\"https://docs.anyway.sh/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Choose the Right API\",\"item\":\"https://docs.anyway.sh/api-reference/api-surfaces\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.anyway.sh/api-reference/api-surfaces#article\",\"headline\":\"Choose the Right API\",\"name\":\"Choose the Right API\",\"description\":\"Choose the public API and authentication method for each integration.\",\"url\":\"https://docs.anyway.sh/api-reference/api-surfaces\",\"mainEntityOfPage\":{\"@id\":\"https://docs.anyway.sh/api-reference/api-surfaces#webpage\"},\"dateModified\":\"2026-08-04T15:40:15.285Z\",\"publisher\":{\"@id\":\"https://docs.anyway.sh/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.anyway.sh#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Anyway\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Anyway","nav":{"global":{"anchors":[{"anchor":"Anyway.sh","icon":"house","href":"https://anyway.sh"},{"anchor":"AI Agent Skill","icon":"wand-magic-sparkles","href":"/skills"}]},"languages":[{"language":"en","default":true,"navbar":{"links":[{"href":"mailto:support@anyway.sh","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.anyway.sh"}},"tabs":[{"tab":"Business","icon":"building","pages":[{"title":"Business","href":"/concepts"}]},{"tab":"Agents","icon":"robot","pages":[{"title":"Agents","href":"/features/agents-overview"}]},{"tab":"API Reference","icon":"square-terminal","groups":[{"group":"Start","pages":[{"title":"Developer Overview","description":"Choose the Business or Agents integration surface.","icon":"code","href":"/api-reference/introduction"},{"title":"Choose the Right API","icon":"diagram-project","href":"/api-reference/api-surfaces"},{"title":"Authentication","description":"Use Merchant API keys, Agent Wallet signatures, and telemetry keys safely.","icon":"key","href":"/api-reference/authentication"}]},{"group":"Merchant API","pages":[{"title":"Merchant API","icon":"store","href":"/api-reference/merchant-api"},{"title":"Checkout Sessions","icon":"cart-shopping","href":"/api-reference/checkout-sessions"},{"title":"Orders API","icon":"receipt","href":"/api-reference/orders-guide"},{"title":"Catalog, Customers \u0026 Access","icon":"boxes-stacked","href":"/api-reference/catalog"}]},{"group":"Merchant API endpoints","pages":[{"title":"Inspect API key","icon":"key","openapi":"api-reference/openapi.json GET /v1/me","href":"/api-reference/endpoint/api-keys"},{"title":"Create a checkout session","icon":"cart-shopping","openapi":"api-reference/openapi.json POST /v1/checkout-sessions","href":"/api-reference/endpoint/create-checkout-session"},{"title":"Get a checkout session","icon":"cart-shopping","openapi":"api-reference/openapi.json GET /v1/checkout-sessions/{id}","href":"/api-reference/endpoint/get-checkout-session"},{"title":"Expire a checkout session","icon":"cart-shopping","openapi":"api-reference/openapi.json POST /v1/checkout-sessions/{id}/expire","href":"/api-reference/endpoint/expire-checkout-session"},{"title":"List orders","icon":"list","openapi":"api-reference/openapi.json GET /v1/orders","href":"/api-reference/endpoint/orders"},{"title":"Get an order","icon":"receipt","openapi":"api-reference/openapi.json GET /v1/orders/{id}","href":"/api-reference/endpoint/get-order"},{"title":"List refunds","icon":"list","openapi":"api-reference/openapi.json GET /v1/refunds","href":"/api-reference/endpoint/refunds"},{"title":"Get a refund","icon":"rotate-left","openapi":"api-reference/openapi.json GET /v1/refunds/{id}","href":"/api-reference/endpoint/get-refund"},{"title":"List products","icon":"boxes-stacked","openapi":"api-reference/openapi.json GET /v1/product","href":"/api-reference/endpoint/products"},{"title":"Get a product","icon":"box","openapi":"api-reference/openapi.json GET /v1/product/{id}","href":"/api-reference/endpoint/get-product"},{"title":"Get product payment links","icon":"link","openapi":"api-reference/openapi.json GET /v1/product/{id}/payment-links","href":"/api-reference/endpoint/get-product-payment-links"},{"title":"List subscription records","icon":"arrows-rotate","openapi":"api-reference/openapi.json GET /v1/subscriptions","href":"/api-reference/endpoint/list-subscriptions"},{"title":"Get a subscription record","icon":"rotate","openapi":"api-reference/openapi.json GET /v1/subscriptions/{id}","href":"/api-reference/endpoint/get-subscription"},{"title":"List customers","icon":"users","openapi":"api-reference/openapi.json GET /v1/customers","href":"/api-reference/endpoint/list-customers"},{"title":"Get a customer","icon":"user","openapi":"api-reference/openapi.json GET /v1/customers/{id}","href":"/api-reference/endpoint/get-customer"},{"title":"Check product access","icon":"shield-check","openapi":"api-reference/openapi.json GET /v1/entitlements/check","href":"/api-reference/endpoint/check-entitlement"}]},{"group":"Developer contracts","pages":[{"title":"Agent Wallet Runtime API","icon":"wallet","href":"/api-reference/agent-wallet-api"},{"title":"Webhook Delivery","icon":"webhook","href":"/api-reference/endpoint/webhooks"}]},{"group":"Code \u0026 telemetry","pages":[{"title":"Agent Tracing SDKs","icon":"route","href":"/sdk/quickstart"},{"title":"Anyway CLI","icon":"terminal","href":"/sdk/cli"}]}]},{"tab":"Changelog","icon":"clock-rotate-left","pages":[{"title":"Changelog","href":"/changelog"}]}]},{"language":"cn","navbar":{"links":[{"href":"mailto:support@anyway.sh","label":"支持"}],"primary":{"type":"button","label":"打开控制台","href":"https://app.anyway.sh"}},"pages":[{"title":"cn","href":"/zh/api-reference/api-surfaces"}]}]},"basePath":"","title":"Choose the Right API - Anyway","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":[],"chunks":[]}