{"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":[{"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":"workos-onboarding","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},{"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":"comment-mode","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/endpoint/create-checkout-session","slug":"/api-reference/endpoint/create-checkout-session","pageMetadata":{"title":"Create a checkout session","description":"Create a checkout session for your organization.","icon":"cart-shopping","openapi":"api-reference/openapi.json POST /v1/checkout-sessions","href":"/api-reference/endpoint/create-checkout-session"},"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: \"Create a checkout session for your organization.\"\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{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,p:`p`,..._provideComponents(),...props.components};return _jsxs(_components.p,{children:[`See the `,_jsx(_components.a,{href:`/api-reference/checkout-sessions`,children:`Checkout Sessions guide`}),` for purchase inputs, idempotency, and payment status.`]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a checkout session","description":"Create a checkout session for your organization.","icon":"cart-shopping","openapi":"api-reference/openapi.json POST /v1/checkout-sessions","href":"/api-reference/endpoint/create-checkout-session"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"security":["5598b430-2b40-40c5-9411-dce0a686085b"],"tags":["checkout-sessions"],"summary":"Create a checkout session","parameters":["181fde96-2984-4f13-babf-f711c0f15668"],"requestBody":"84921b71-654e-46d6-97fc-26501b0076f1","responses":{"201":"ef94e334-21ba-489b-82e1-673ae0498080","400":"c195ec26-0d52-46cd-9c0c-718240079e05","401":"bd1db86f-11fd-4dbd-8de2-d5f772677b61","403":"4879cab6-44b6-4f7e-95a0-881d46fb1641","409":"eccedabc-58df-44c3-8ee7-7bb5a7e1e73b","503":"3b3166c4-a357-4cc7-9055-4f3dfce324df"},"description":"Create a checkout session for your organization.","method":"post","type":"path","servers":["d05e1227-f88e-4e81-87ec-f4588c941751"],"path":"/v1/checkout-sessions","baseUrlOptions":["https://merchant-api-prod.anyway.sh"],"title":"Create a checkout session","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"181fde96-2984-4f13-babf-f711c0f15668":{"description":"Unique creation request key: 1-255 ASCII characters in the range 0x21-0x7E (no spaces or control characters)","name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":255,"isRequired":true,"description":"Unique creation request key: 1-255 ASCII characters in the range 0x21-0x7E (no spaces or control characters)","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"cancelUrl":{"type":"string","uniqueKey":"cancelUrl","typeLabel":"string"},"customerEmail":{"type":"string","description":"Optional customer email, at most 255 bytes. Mutually exclusive with customerId.","uniqueKey":"customerEmail","typeLabel":"string"},"customerId":{"type":"string","description":"Optional existing customer ID. Omit both customer fields or provide only one.","uniqueKey":"customerId","typeLabel":"string"},"expiresIn":{"type":"integer","description":"Lifetime in seconds: 1800-86400 for card checkout, 60-86400 for cryptocurrency checkout.","default":3600,"uniqueKey":"expiresIn","typeLabel":"integer"},"merchantReference":{"type":"string","description":"Optional business correlation value, at most 255 bytes; not a uniqueness constraint.","uniqueKey":"merchantReference","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"description":"At most 50 string pairs. Keys must contain 1-40 characters without [ or ]; values may contain at most 500 characters.","uniqueKey":"metadata","typeLabel":"object"},"pricingData":{"type":"object","properties":{"amount":{"type":"integer","uniqueKey":"pricingData.amount","typeLabel":"integer"},"billingInterval":{"type":"string","enum":["DAY","MONTH","YEAR"],"x-enum-varnames":["BillingIntervalDay","BillingIntervalMonth","BillingIntervalYear"],"uniqueKey":"pricingData.billingInterval","typeLabel":"enum\u003cstring>"},"billingIntervalCount":{"type":"integer","uniqueKey":"pricingData.billingIntervalCount","typeLabel":"integer"},"currency":{"type":"string","uniqueKey":"pricingData.currency","typeLabel":"string"},"pricingName":{"type":"string","uniqueKey":"pricingData.pricingName","typeLabel":"string"},"pricingType":{"type":"string","enum":["SUBSCRIPTION","ONE_TIME"],"x-enum-varnames":["PricingTypeSubscription","PricingTypeOneTime"],"uniqueKey":"pricingData.pricingType","typeLabel":"enum\u003cstring>"},"productData":{"type":"object","properties":{"description":{"type":"string","uniqueKey":"pricingData.productData.description","typeLabel":"string"},"name":{"type":"string","uniqueKey":"pricingData.productData.name","typeLabel":"string"}},"uniqueKey":"pricingData.productData","typeLabel":"object"},"productId":{"type":"string","uniqueKey":"pricingData.productId","typeLabel":"string"}},"uniqueKey":"pricingData","typeLabel":"object"},"pricingId":{"type":"string","uniqueKey":"pricingId","typeLabel":"string"},"provider":{"type":"string","enum":["STRIPE","CRYPTO"],"description":"Omit for card checkout; use CRYPTO for cryptocurrency checkout.","uniqueKey":"provider","typeLabel":"enum\u003cstring>"},"quantity":{"type":"integer","default":1,"maximum":999999,"minimum":1,"uniqueKey":"quantity","typeLabel":"integer"},"successUrl":{"type":"string","uniqueKey":"successUrl","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"cancelUrl":"\u003cstring>","customerEmail":"\u003cstring>","customerId":"\u003cstring>","expiresIn":3600,"merchantReference":"\u003cstring>","metadata":{},"pricingData":{"amount":123,"billingIntervalCount":123,"currency":"\u003cstring>","pricingName":"\u003cstring>","productData":{"description":"\u003cstring>","name":"\u003cstring>"},"productId":"\u003cstring>"},"pricingId":"\u003cstring>","quantity":1,"successUrl":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Purchase and checkout configuration","required":true,"exampleType":"generated"},"responses":{"ef94e334-21ba-489b-82e1-673ae0498080":{"description":"Created","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"amount":{"type":"integer","uniqueKey":"data.amount","typeLabel":"integer"},"createdAt":{"type":"string","uniqueKey":"data.createdAt","typeLabel":"string"},"currency":{"type":"string","uniqueKey":"data.currency","typeLabel":"string"},"customerEmail":{"type":"string","uniqueKey":"data.customerEmail","typeLabel":"string"},"customerId":{"oneOf":[{"type":"string","uniqueKey":"data.customerId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.customerId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.customerId","typeLabel":"string | null"},"expiresAt":{"oneOf":[{"type":"string","uniqueKey":"data.expiresAt.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.expiresAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.expiresAt","typeLabel":"string | null"},"id":{"type":"string","uniqueKey":"data.id","typeLabel":"string"},"lastError":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"data.lastError.code","typeLabel":"string"},"occurredAt":{"type":"string","uniqueKey":"data.lastError.occurredAt","typeLabel":"string"},"operation":{"type":"string","uniqueKey":"data.lastError.operation","typeLabel":"string"},"requestId":{"type":"string","uniqueKey":"data.lastError.requestId","typeLabel":"string"}},"uniqueKey":"data.lastError","typeLabel":"object"},"merchantReference":{"oneOf":[{"type":"string","uniqueKey":"data.merchantReference.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.merchantReference.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.merchantReference","typeLabel":"string | null"},"metadata":{"oneOf":[{"type":"object","additionalProperties":{"type":"string","uniqueKey":"data.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"data.metadata.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"string","uniqueKey":"data.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"uniqueKey":"data.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.metadata","typeLabel":"object | null"},"orderId":{"oneOf":[{"type":"string","uniqueKey":"data.orderId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.orderId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.orderId","typeLabel":"string | null"},"orderStatus":{"type":"string","uniqueKey":"data.orderStatus","typeLabel":"string"},"paymentLinkId":{"oneOf":[{"type":"string","uniqueKey":"data.paymentLinkId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.paymentLinkId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.paymentLinkId","typeLabel":"string | null"},"pricing":{"type":"object","properties":{"amount":{"description":"Amount in the smallest currency unit.","type":"integer","uniqueKey":"data.pricing.amount","typeLabel":"integer"},"billingInterval":{"oneOf":[{"type":"string","enum":["DAY","MONTH","YEAR",null],"uniqueKey":"data.pricing.billingInterval.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["DAY","MONTH","YEAR",null],"uniqueKey":"data.pricing.billingInterval.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.pricing.billingInterval","typeLabel":"enum\u003cstring> | null"},"billingIntervalCount":{"type":"integer","uniqueKey":"data.pricing.billingIntervalCount","typeLabel":"integer"},"currency":{"type":"string","uniqueKey":"data.pricing.currency","typeLabel":"string"},"flexibleAmount":{"type":"boolean","uniqueKey":"data.pricing.flexibleAmount","typeLabel":"boolean"},"maxAmount":{"oneOf":[{"type":"integer","uniqueKey":"data.pricing.maxAmount.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.pricing.maxAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.pricing.maxAmount","typeLabel":"integer | null"},"minAmount":{"oneOf":[{"type":"integer","uniqueKey":"data.pricing.minAmount.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.pricing.minAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.pricing.minAmount","typeLabel":"integer | null"},"pricingId":{"oneOf":[{"type":"string","uniqueKey":"data.pricing.pricingId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.pricing.pricingId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.pricing.pricingId","typeLabel":"string | null"},"pricingName":{"type":"string","uniqueKey":"data.pricing.pricingName","typeLabel":"string"},"pricingType":{"type":"string","enum":["SUBSCRIPTION","ONE_TIME"],"x-enum-varnames":["PricingTypeSubscription","PricingTypeOneTime"],"uniqueKey":"data.pricing.pricingType","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.pricing","typeLabel":"object"},"product":{"type":"object","properties":{"description":{"type":"string","uniqueKey":"data.product.description","typeLabel":"string"},"name":{"type":"string","uniqueKey":"data.product.name","typeLabel":"string"},"productId":{"oneOf":[{"type":"string","uniqueKey":"data.product.productId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.product.productId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.product.productId","typeLabel":"string | null"}},"uniqueKey":"data.product","typeLabel":"object"},"productName":{"type":"string","uniqueKey":"data.productName","typeLabel":"string"},"provider":{"type":"string","uniqueKey":"data.provider","typeLabel":"string"},"quantity":{"type":"integer","uniqueKey":"data.quantity","typeLabel":"integer"},"status":{"type":"string","enum":["CREATED","COMPLETE","EXPIRED","FAILED"],"x-enum-comments":{"StatusComplete":"Checkout is consumed; payment status belongs to Order.","StatusFailed":"Checkout failed or has no confirmed successful result; operation details are stored separately."},"x-enum-descriptions":["","Checkout is consumed; payment status belongs to Order.","","Checkout failed or has no confirmed successful result; operation details are stored separately."],"x-enum-varnames":["StatusCreated","StatusComplete","StatusExpired","StatusFailed"],"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"url":{"oneOf":[{"type":"string","uniqueKey":"data.url.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.url","typeLabel":"string | null"}},"uniqueKey":"data","typeLabel":"object"},"error":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"amount":123,"createdAt":"\u003cstring>","currency":"\u003cstring>","customerEmail":"\u003cstring>","customerId":"\u003cstring>","expiresAt":"\u003cstring>","id":"\u003cstring>","lastError":{"code":"\u003cstring>","occurredAt":"\u003cstring>","operation":"\u003cstring>","requestId":"\u003cstring>"},"merchantReference":"\u003cstring>","metadata":{},"orderId":"\u003cstring>","orderStatus":"\u003cstring>","paymentLinkId":"\u003cstring>","pricing":{"amount":123,"billingInterval":"DAY","billingIntervalCount":123,"currency":"\u003cstring>","flexibleAmount":true,"maxAmount":123,"minAmount":123,"pricingId":"\u003cstring>","pricingName":"\u003cstring>","pricingType":"SUBSCRIPTION"},"product":{"description":"\u003cstring>","name":"\u003cstring>","productId":"\u003cstring>"},"productName":"\u003cstring>","provider":"\u003cstring>","quantity":123,"status":"CREATED","url":"\u003cstring>"},"error":{"code":"\u003cstring>","message":"\u003cstring>"},"message":"\u003cstring>","success":true}}},"exampleType":"generated"}},"exampleType":"generated"},"c195ec26-0d52-46cd-9c0c-718240079e05":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"oneOf":[{}],"uniqueKey":"data","typeLabel":"any"},"error":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":"\u003cunknown>","error":{"code":"\u003cstring>","message":"\u003cstring>"},"message":"\u003cstring>","success":true}}},"exampleType":"generated"}},"exampleType":"generated"},"bd1db86f-11fd-4dbd-8de2-d5f772677b61":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"oneOf":[{}],"uniqueKey":"data","typeLabel":"any"},"error":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":"\u003cunknown>","error":{"code":"\u003cstring>","message":"\u003cstring>"},"message":"\u003cstring>","success":true}}},"exampleType":"generated"}},"exampleType":"generated"},"4879cab6-44b6-4f7e-95a0-881d46fb1641":{"description":"Forbidden. The API key lacks the required permission (INSUFFICIENT_SCOPE), the organization is frozen, Card/USD verification is incomplete, or the card payment account is not enabled to receive payments.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"oneOf":[{}],"uniqueKey":"data","typeLabel":"any"},"error":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":"\u003cunknown>","error":{"code":"\u003cstring>","message":"\u003cstring>"},"message":"\u003cstring>","success":true}}},"exampleType":"generated"}},"exampleType":"generated"},"eccedabc-58df-44c3-8ee7-7bb5a7e1e73b":{"description":"Conflict","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"oneOf":[{}],"uniqueKey":"data","typeLabel":"any"},"error":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":"\u003cunknown>","error":{"code":"\u003cstring>","message":"\u003cstring>"},"message":"\u003cstring>","success":true}}},"exampleType":"generated"}},"exampleType":"generated"},"3b3166c4-a357-4cc7-9055-4f3dfce324df":{"description":"Service Unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"oneOf":[{}],"uniqueKey":"data","typeLabel":"any"},"error":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":"\u003cunknown>","error":{"code":"\u003cstring>","message":"\u003cstring>"},"message":"\u003cstring>","success":true}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"5598b430-2b40-40c5-9411-dce0a686085b":{"APIKeyAuth":{"description":"Merchant API key (format: ak_BASE64)","type":"apiKey","name":"X-API-Key","in":"header","scopes":[],"schemeName":"APIKeyAuth"}}},"servers":{"d05e1227-f88e-4e81-87ec-f4588c941751":{"url":"https://merchant-api-prod.anyway.sh"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"description":"Merchant API key (format: ak_BASE64)","type":"apiKey","name":"X-API-Key","in":"header","scopes":[],"schemeName":"APIKeyAuth"},"schema":{"title":"X-API-Key","type":"string","description":"Merchant API key (format: ak_BASE64)","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"APIKeyAuth","name":"X-API-Key"}],"title":"APIKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"anyway","siteName":"Anyway","title":"Create a checkout session - Anyway","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/endpoint/create-checkout-session","matchLevel":0},"cn":{"href":"/zh/api-reference/endpoint/create-checkout-session","matchLevel":1}}},"lastModified":"2026-10-09T15:58:51.574Z","originalFileLocation":"api-reference/endpoint/create-checkout-session.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=\"Create a checkout session for your organization.\">\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=\"Create a checkout session - Anyway\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a checkout session for your organization.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Anyway\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.anyway.sh/api-reference/endpoint/create-checkout-session\">\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=Merchant+API+endpoints\u0026amp;title=Create+a+checkout+session\u0026amp;description=Create+a+checkout+session+for+your+organization.\u0026amp;theme=ec822512d40c4e334ba05aad\u0026amp;signature=7979a5f3715a41b8bd8852d2d65e7978a5bdcf4d9875a7e118b3a5578fa1f43a\">\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=\"Create a checkout session - Anyway\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a checkout session for your organization.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://anyway.mintlify.site/_mintlify/api/og/v2?division=Merchant+API+endpoints\u0026amp;title=Create+a+checkout+session\u0026amp;description=Create+a+checkout+session+for+your+organization.\u0026amp;theme=ec822512d40c4e334ba05aad\u0026amp;signature=7979a5f3715a41b8bd8852d2d65e7978a5bdcf4d9875a7e118b3a5578fa1f43a\">\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/endpoint/create-checkout-session\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/create-checkout-session.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.anyway.sh/api-reference/endpoint/create-checkout-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.anyway.sh/zh/api-reference/endpoint/create-checkout-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.anyway.sh/api-reference/endpoint/create-checkout-session\">\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/endpoint/create-checkout-session#webpage\",\"url\":\"https://docs.anyway.sh/api-reference/endpoint/create-checkout-session\",\"name\":\"Create a checkout session\",\"description\":\"Create a checkout session for your organization.\",\"dateModified\":\"2026-10-09T15:58:51.574Z\",\"isPartOf\":{\"@id\":\"https://docs.anyway.sh#website\"},\"breadcrumb\":{\"@id\":\"https://docs.anyway.sh/api-reference/endpoint/create-checkout-session#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.anyway.sh/api-reference/endpoint/create-checkout-session#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Merchant API endpoints\",\"item\":\"https://docs.anyway.sh/api-reference/endpoint/api-keys\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a checkout session\",\"item\":\"https://docs.anyway.sh/api-reference/endpoint/create-checkout-session\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.anyway.sh/api-reference/endpoint/create-checkout-session#apireference\",\"headline\":\"Create a checkout session\",\"name\":\"Create a checkout session\",\"description\":\"Create a checkout session for your organization.\",\"url\":\"https://docs.anyway.sh/api-reference/endpoint/create-checkout-session\",\"mainEntityOfPage\":{\"@id\":\"https://docs.anyway.sh/api-reference/endpoint/create-checkout-session#webpage\"},\"dateModified\":\"2026-10-09T15:58:51.574Z\",\"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","icon":"code","href":"/api-reference/introduction"},{"title":"Choose the Right API","icon":"diagram-project","href":"/api-reference/api-surfaces"},{"title":"Authentication","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","description":"Inspect the organization and permissions attached to the current 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","description":"Get a checkout session for your organization.","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/endpoint/create-checkout-session"}]}]},"basePath":"","title":"Create a checkout session - Anyway","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CBsVopKK.js","utils-DZAk68jJ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D32AYZrP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D_A5_cny.js","snippetPresets-xNRfS9th.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BIB25-tq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CydJ4w4j.js","shallow-CYPBeQSG.js","getApiPlaygroundDisplay-A5xJVBOu.js","CodeSnippet-BVRTgi3m.js","CodeSnippets-DjD6BSlt.js","Page-Dr40SSJq.js","getPastedJson-D4V4JyrR.js","icon-uhcnG22T.js","MethodPill-CM-ZQdGH.js","DuplicateIcon-B_WnOiNf.js","createIcon-CJsb8utt.js","DynamicMarkdown-D-2HDKEp.js","SectionHeading-KP5xmMgQ.js","axios-vUo_bRtp.js","Markdown-D_k0dg6k.js","clsx-DK3K4Z1S.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DE3EVdvd.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-fN9H9n9g.js"]}