Choose the public API and authentication method for each integration.
Anyway exposes separate supported integration surfaces for merchant servers, webhook receivers, agent runtimes, and instrumented applications.
Surface
Audience
Authentication
Primary capability
Merchant API
Merchant backend
X-API-Key
Commerce records
Webhook delivery
Merchant HTTPS endpoint
Ed25519 signature
Receive order lifecycle events
Agent Wallet API
Agent runtime
P-256 request signature
Read policy/history and authorize wallet actions
SuperAPI directory
Agents and developers
Public discovery; Agent Wallet for paid calls
Discover and call x402 services
Telemetry collector
Instrumented applications
Agent Traces API key
Export OpenTelemetry traces
Public integration rules
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/lzJXv0iw-9ZF48px/logo/light-logo.svg?fit=max\u0026auto=format\u0026n=lzJXv0iw-9ZF48px\u0026q=85\u0026s=ead8b3bc1589dc138b30ef3db4eccd19","dark":"https://mintcdn.com/anyway/lzJXv0iw-9ZF48px/logo/dark-logo.svg?fit=max\u0026auto=format\u0026n=lzJXv0iw-9ZF48px\u0026q=85\u0026s=a72b31cae40b75ef38b97277be463458"},"favicon":{"light":"https://mintcdn.com/anyway/lzJXv0iw-9ZF48px/favicon.svg?fit=max\u0026auto=format\u0026n=lzJXv0iw-9ZF48px\u0026q=85\u0026s=01fedcfc4d0754a2d89c79ceaf98df31","dark":"https://mintcdn.com/anyway/lzJXv0iw-9ZF48px/favicon-white.svg?fit=max\u0026auto=format\u0026n=lzJXv0iw-9ZF48px\u0026q=85\u0026s=0ea64c8d600f4ab98310dc9f268e1008"},"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":"6af66c068aa37d91255af7cc","clientVersion":"0.0.4131","searchFilterCounts":[{"language":"en","tag":"API Reference","count":34},{"language":"cn","tag":"API 参考","count":34},{"language":"en","tag":"Merchant API endpoints","count":23},{"language":"cn","tag":"Merchant API 端点","count":23},{"language":"en","tag":"Business","count":20},{"language":"cn","tag":"Business","count":20},{"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":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"workos-onboarding","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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"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-11-13T01:46:52.121Z","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/PGUdeiWjDFhsUOPo/_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/PGUdeiWjDFhsUOPo/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/anyway/PGUdeiWjDFhsUOPo/_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/PGUdeiWjDFhsUOPo/_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/PGUdeiWjDFhsUOPo/_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/PGUdeiWjDFhsUOPo/_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/PGUdeiWjDFhsUOPo/_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/PGUdeiWjDFhsUOPo/_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/PGUdeiWjDFhsUOPo/_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=e3fd7b8b4217c9660980b98d\u0026amp;signature=5f60a3bac6934951b81cd0c0c1a93fbc57439d45ad3b66d5dc843c3ae9b581ca\">\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=e3fd7b8b4217c9660980b98d\u0026amp;signature=5f60a3bac6934951b81cd0c0c1a93fbc57439d45ad3b66d5dc843c3ae9b581ca\">\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/PGUdeiWjDFhsUOPo/_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/lzJXv0iw-9ZF48px/logo/light-logo.svg?fit=max\u0026auto=format\u0026n=lzJXv0iw-9ZF48px\u0026q=85\u0026s=ead8b3bc1589dc138b30ef3db4eccd19\"}},{\"@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-11-13T01:46:52.121Z\",\"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-11-13T01:46:52.121Z\",\"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\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Anyway\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/api-surfaces.md","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":"Create a product","icon":"box-open","openapi":"api-reference/openapi.json POST /v1/product","href":"/api-reference/endpoint/create-product"},{"title":"Create a payment link","icon":"link","openapi":"api-reference/openapi.json POST /v1/product/{id}/payment-link","href":"/api-reference/endpoint/create-product-payment-link"},{"title":"Update a product","icon":"pen","openapi":"api-reference/openapi.json PATCH /v1/product/{id}","href":"/api-reference/endpoint/update-product"},{"title":"Archive a product","icon":"box-archive","openapi":"api-reference/openapi.json POST /v1/product/{id}/archive","href":"/api-reference/endpoint/archive-product"},{"title":"Publish a product","icon":"box-open","openapi":"api-reference/openapi.json POST /v1/product/{id}/publish","href":"/api-reference/endpoint/publish-product"},{"title":"Update a payment link","icon":"link","openapi":"api-reference/openapi.json PATCH /v1/payment-links/{linkId}","href":"/api-reference/endpoint/update-payment-link"},{"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":"Cancel a subscription","icon":"rotate","openapi":"api-reference/openapi.json POST /v1/subscriptions/{id}/cancel","href":"/api-reference/endpoint/cancel-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_5joLUXmnJgwqjrHAS4dxZrQTdxgh","deploymentId":"dpl_5joLUXmnJgwqjrHAS4dxZrQTdxgh","dynamics":[],"chunks":[]}