URL to redirect to after customer payment success. The explicitly provided URL is used first; otherwise, the default from the developer settings is applied automatically.
URL to redirect to after customer cancels payment. The explicitly provided URL is used first; otherwise, the default from the developer settings is applied automatically.
Third-party customer ID, if the passed ID does not exist in the Subotiz system, a customer will be automatically created. Each payer_id under each merchant is unique.
Specifies the settlement currency for the Checkout Session using a platform-supported ISO 4217 currency code, such as USD or CNY. The system uses the store's primary currency as the base currency and converts the order amount into this currency for display and pricing. If merchant_rate is not provided, the system uses the real-time exchange rate of the day by default.
Specifies a custom exchange rate from the store's primary currency to target_currency. The value must be a number greater than 0 and must be provided together with target_currency. This field is used only when the settlement currency differs from the store's primary currency. The exchange rate direction is: "1 unit of the store's primary currency = X units of target_currency". For example, if the store's primary currency is USD and target_currency is CNY, a value of 7.999 means 1 USD = 7.999 CNY, and the system will calculate the order amount using this rate.
onetime_payment: One-time payment mode. Processes a single payment transaction without creating any recurring payment tokens.
subscription: Subscription payment mode. Processes the initial payment and generates a payment token for automatic recurring payments. Subsequent renewal charges will be processed using this token based on the subscription plan configuration.
TermsData: merchant-provided terms links displayed on checkout; optional. Each URL may be empty.
Must be an absolute https URL and length <= 512, otherwise 400
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Subotiz","description":"Subotiz Developer Documentation","colors":{"primary":"#7700ea","light":"#a968ff","dark":"#430084"},"logo":{"light":"https://mintcdn.com/shoplazza-92a3a725/qE6OW7uXRx_JwZAh/images/Logo.svg?fit=max\u0026auto=format\u0026n=qE6OW7uXRx_JwZAh\u0026q=85\u0026s=f4ba7dc0a1b50b7b7a4aa5042ddfd95f","dark":"https://mintcdn.com/shoplazza-92a3a725/IYhOhkNHboR-yvuO/images/darkLogo.svg?fit=max\u0026auto=format\u0026n=IYhOhkNHboR-yvuO\u0026q=85\u0026s=0c023c7e751ef32188fbd05ca03326dd"},"favicon":"https://mintcdn.com/shoplazza-92a3a725/xi6unjY8U9x8k31B/favicon.png?fit=max\u0026auto=format\u0026n=xi6unjY8U9x8k31B\u0026q=85\u0026s=bab15cd5e241d151f64c11ae16709f03","api":{"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","javascript","python","php","go","java","ruby"],"prefill":true}},"navbar":{"links":[{"href":"/llms.txt","label":"llms.txt"}]},"footer":{},"icons":{"library":"lucide"},"contextual":{"options":["assistant","copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":"en/quick-start/overview"},{"language":"zh","href":"zh/quick-start/overview"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"shoplazza-92a3a725","hasAudioNarration":false,"actualSubdomain":"shoplazza-92a3a725","customDomains":["docs.subotiz.com"],"gitSource":{"type":"github","owner":"shoplazza","repo":"subotiz-docs-mintlify","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae2dca728f09a374bbcc63a","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"en","tag":"API Reference","count":71},{"language":"en","tag":"Subotiz API","count":71},{"language":"zh","tag":"API 参考","count":71},{"language":"zh","tag":"Subotiz API","count":71},{"language":"en","tag":"Documentation","count":28},{"language":"zh","tag":"文档","count":28},{"language":"zh","tag":"常见问题","count":28},{"language":"en","tag":"Webhook","count":16},{"language":"zh","tag":"Webhook","count":16},{"language":"en","tag":"Subscription","count":14},{"language":"en","tag":"FAQ","count":14},{"language":"en","tag":"Frequently Asked Questions","count":14},{"language":"zh","tag":"订阅","count":14},{"language":"en","tag":"Event","count":11},{"language":"zh","tag":"事件","count":11},{"language":"en","tag":"Product","count":8},{"language":"zh","tag":"商品管理","count":8},{"language":"en","tag":"Price","count":7},{"language":"zh","tag":"商品定价","count":7},{"language":"zh","tag":"顾客","count":6}],"searchSettings":{"maxResults":6}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"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}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#content a.link,#content a:not([class]){color:#7700ea!important;font-weight:500!important;text-underline-offset:2px}#content a.link strong,#content a.link b,#content a.link em{color:inherit!important}#content a.link:hover,#content a:not([class]):hover{color:#7700ea!important}.dark #content a.link,.dark #content a:not([class]){color:rgb(var(--primary-light))!important}.dark #content a.link:hover,.dark #content a:not([class]):hover{color:rgb(var(--primary-light))!important}#pagination{gap:3rem;align-items:flex-start}#pagination a:last-child{text-align:right;justify-content:flex-end}#navbar .navbar-link>a{padding:0.375rem 0.6rem;border-radius:0.5rem;color:rgb(var(--gray-900))!important;transition:background-color 0.15s ease, color 0.15s ease}.dark #navbar .navbar-link>a{color:rgb(var(--gray-300))!important}#navbar .navbar-link>a:hover{background-color:rgb(var(--gray-600) / 0.06)}.dark #navbar .navbar-link>a:hover{background-color:rgb(var(--gray-200) / 0.08)}#navbar-transition{border-bottom-color:rgb(var(--gray-950) / 0.04)!important}.dark #navbar-transition{border-bottom-color:rgb(255 255 255 / 0.10)!important}@media (min-width: 1024px){#navbar div.h-16>div.flex-1{border-bottom:0!important}#navbar-transition::after{content:\"\";position:absolute;left:0;right:0;top:4rem;border-top:1px solid rgb(var(--gray-950) / 0.04);pointer-events:none}.dark #navbar-transition::after{border-top-color:rgb(255 255 255 / 0.10)}}@media (min-width: 1024px){#navbar div:has(>#localization-select-trigger){position:absolute;right:3rem;z-index:50}#navbar li.navbar-link:has(a[href$=\".txt\"]){transform:translateX(-7.25rem)}}#content .frame{margin-top:1.25rem;margin-bottom:1.25rem}#table-of-contents-content ul{margin-left:0;padding-left:0}#table-of-contents-content .toc-item>a{border-left:1px solid rgb(var(--gray-950) / 0.05);padding-left:0.75rem;transition:border-color 0.15s ease, color 0.15s ease}#table-of-contents-content .toc-item>a:hover{border-left-color:rgb(var(--gray-950) / 0.2)}.dark #table-of-contents-content .toc-item>a{border-left-color:rgb(255 255 255 / 0.1)}.dark #table-of-contents-content .toc-item>a:hover{border-left-color:rgb(255 255 255 / 0.2)}#table-of-contents-content .toc-item>a.text-primary,#table-of-contents-content .toc-item>a[aria-current=\"true\"]{border-left:2px solid rgb(var(--primary));color:rgb(var(--primary))!important}.dark #table-of-contents-content .toc-item>a.text-primary,.dark #table-of-contents-content .toc-item>a[aria-current=\"true\"]{border-left-color:rgb(var(--primary-light));color:rgb(var(--primary-light))!important}#table-of-contents-content .toc-item[data-depth=\"2\"],#table-of-contents-content .toc-item[data-depth=\"3\"],#table-of-contents-content .toc-item[data-depth=\"4\"],#table-of-contents-content .toc-item[data-depth=\"5\"]{display:none!important}#table-of-contents-content .toc-item[data-depth=\"1\"]>a{padding-left:1.75rem!important}html:is([data-current-path=\"/zh/webhook/event-types-1\"],[data-current-path=\"/zh/webhook/event-types\"],[data-current-path=\"/en/webhook/event-types-1\"],[data-current-path=\"/en/webhook/event-types\"]) div:has(>div>#content-area){gap:0!important}html:is([data-current-path=\"/zh/webhook/event-types-1\"],[data-current-path=\"/zh/webhook/event-types\"],[data-current-path=\"/en/webhook/event-types-1\"],[data-current-path=\"/en/webhook/event-types\"]) div:has(>#content-area),html:is([data-current-path=\"/zh/webhook/event-types-1\"],[data-current-path=\"/zh/webhook/event-types\"],[data-current-path=\"/en/webhook/event-types-1\"],[data-current-path=\"/en/webhook/event-types\"]) #content-area,html:is([data-current-path=\"/zh/webhook/event-types-1\"],[data-current-path=\"/zh/webhook/event-types\"],[data-current-path=\"/en/webhook/event-types-1\"],[data-current-path=\"/en/webhook/event-types\"]) #content-container{width:100%!important;max-width:100%!important}html:is([data-current-path=\"/zh/webhook/event-types-1\"],[data-current-path=\"/zh/webhook/event-types\"],[data-current-path=\"/en/webhook/event-types-1\"],[data-current-path=\"/en/webhook/event-types\"]) [aria-label=\"Scrollable table\"] table{width:100%!important}html:is([data-current-path=\"/zh/webhook/event-types-1\"],[data-current-path=\"/zh/webhook/event-types\"],[data-current-path=\"/en/webhook/event-types-1\"],[data-current-path=\"/en/webhook/event-types\"]) #content-area{padding-right:0!important;margin-right:0!important}html:is([data-current-path=\"/zh/webhook/event-types-1\"],[data-current-path=\"/zh/webhook/event-types\"],[data-current-path=\"/en/webhook/event-types-1\"],[data-current-path=\"/en/webhook/event-types\"]) [aria-label=\"Scrollable table\"] table{font-size:0.8125rem;line-height:1.4}html:is([data-current-path=\"/zh/webhook/event-types-1\"],[data-current-path=\"/zh/webhook/event-types\"],[data-current-path=\"/en/webhook/event-types-1\"],[data-current-path=\"/en/webhook/event-types\"]) [aria-label=\"Scrollable table\"] table :is(th,td,code,a){font-size:0.8125rem}#theme-preference-menu-trigger:hover{background-color:rgb(var(--gray-600) / 0.05)}.dark #sidebar a:hover,.dark #sidebar button:hover,.dark #theme-preference-menu-trigger:hover{background-color:rgb(var(--gray-200) / 0.10)!important}@layer utilities{.dark #localization-select-trigger:hover{background-color:rgb(var(--gray-200) / 0.16)!important}}.dark #search-bar-entry{--tw-ring-color: rgb(var(--gray-400) / 0.6) !important;border-color:rgb(var(--gray-400) / 0.6)!important}.dark #content li::marker{color:rgb(var(--gray-500))!important}.dark [role=\"menu\"]{background-color:rgb(var(--gray-800))!important;border-color:rgb(var(--gray-700))!important}.dark [role=\"menu\"] [role=\"menuitem\"]:hover,.dark [role=\"menu\"] [role=\"menuitem\"][data-highlighted],.dark [role=\"menu\"] [role=\"menuitemradio\"]:hover,.dark [role=\"menu\"] [role=\"menuitemradio\"][data-highlighted],.dark [role=\"menu\"] [role=\"menuitemradio\"][aria-checked=\"true\"],.dark [role=\"menu\"] [data-highlighted]{background-color:rgb(var(--gray-700) / 0.7)!important}.dark #sidebar svg,.dark #localization-select-trigger svg,.dark #page-context-menu svg{color:rgb(var(--gray-400))!important}.dark #sidebar button:hover svg,.dark #localization-select-trigger:hover svg,.dark #page-context-menu button:hover svg{color:rgb(var(--gray-200))!important}#sidebar svg[class~=\"bg-gray-400\"]{background-color:currentColor!important}#sidebar img[src$=\"icon-checkout-v2.svg\"],#sidebar img[src$=\"icon-payment.svg\"]{filter:brightness(0) invert(0.259)!important}.dark #sidebar img[src$=\"icon-checkout-v2.svg\"],.dark #sidebar img[src$=\"icon-payment.svg\"]{filter:brightness(0) invert(0.635)!important}.subotiz-fab{position:fixed;right:var(--subotiz-fab-right, 2.75rem);z-index:60;display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border-radius:9999px;background-color:#fff;color:rgb(var(--gray-500));border:1px solid rgb(var(--gray-950) / 0.1);box-shadow:0 2px 10px rgb(var(--gray-950) / 0.1);transition:color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease}#subotiz-feedback-fab{bottom:1.5rem}#subotiz-help-fab{bottom:4.5rem}.subotiz-fab:hover{color:rgb(var(--primary));border-color:rgb(var(--primary) / 0.4);background-color:rgb(var(--primary) / 0.06);transform:translateY(-1px)}.dark .subotiz-fab{background-color:rgb(var(--gray-800));color:rgb(var(--gray-400));border-color:rgb(255 255 255 / 0.12);box-shadow:0 2px 10px rgb(0 0 0 / 0.35)}.dark .subotiz-fab:hover{color:rgb(var(--primary-light));border-color:rgb(var(--primary-light) / 0.5);background-color:rgb(var(--primary-light) / 0.12)}.subotiz-fab::after{content:attr(aria-label);position:absolute;right:calc(100% + 0.5rem);top:50%;transform:translateY(-50%);white-space:nowrap;background-color:rgb(var(--gray-900));color:#fff;font-size:0.75rem;line-height:1;padding:0.375rem 0.5rem;border-radius:0.375rem;opacity:0;pointer-events:none;transition:opacity 0.15s ease}.subotiz-fab:hover::after{opacity:1}html[data-fab-tip=\"right\"] .subotiz-fab::after{right:auto;left:calc(100% + 0.5rem)}html[data-ai-open] .subotiz-fab{display:none!important}#content details.accordion[open]>summary{border-bottom:1px solid rgb(var(--gray-950) / 0.06)}.dark #content details.accordion[open]>summary{border-bottom-color:rgb(255 255 255 / 0.08)}#content details.accordion>div{margin-top:1rem!important}[data-callout-type=\"info\"]{border-color:rgb(var(--primary) / 0.35)!important;background-color:rgb(var(--primary) / 0.06)!important}[data-callout-type=\"info\"] [data-component-part=\"callout-icon\"] svg{color:rgb(var(--primary))!important}.dark [data-callout-type=\"info\"]{border-color:rgb(var(--primary-light) / 0.4)!important;background-color:rgb(var(--primary-light) / 0.1)!important}.dark [data-callout-type=\"info\"] [data-component-part=\"callout-icon\"] svg{color:rgb(var(--primary-light))!important}[data-callout-type=\"note\"]{border-color:rgb(var(--gray-200))!important;background-color:rgb(var(--gray-50))!important}[data-callout-type=\"note\"] [data-component-part=\"callout-icon\"] svg{color:rgb(var(--gray-500))!important}.dark [data-callout-type=\"note\"]{border-color:rgb(var(--gray-700))!important;background-color:rgb(255 255 255 / 0.06)!important}.dark [data-callout-type=\"note\"] [data-component-part=\"callout-icon\"] svg{color:rgb(var(--gray-400))!important}.primitive-param-field>.py-6{padding-top:1rem!important;padding-bottom:1rem!important}.expandable-content .primitive-param-field>.py-6{padding-top:0.75rem!important;padding-bottom:0.75rem!important}.mb-14:has(>.api-section){margin-bottom:2rem!important}.api-section [data-as=\"p\"]>code,.api-section li>code,.primitive-param-field [data-as=\"p\"]>code,.primitive-param-field li>code{font-size:0.8125em!important;padding:0.125rem 0.375rem!important;border-radius:0.3rem!important;background-color:rgb(var(--gray-100))!important;border:1px solid rgb(var(--gray-950) / 0.06)!important}.dark .api-section [data-as=\"p\"]>code,.dark .api-section li>code,.dark .primitive-param-field [data-as=\"p\"]>code,.dark .primitive-param-field li>code{background-color:rgb(255 255 255 / 0.06)!important;border-color:rgb(255 255 255 / 0.08)!important}#content .steps{margin-top:1rem!important}#content .frame{background:transparent!important;padding:0!important;border-radius:0!important;overflow:visible!important}#content .frame>.absolute{display:none!important}#content .frame>div.relative:not([data-component-part=\"frame-caption\"]){border:1px solid rgb(var(--gray-950) / 0.1)!important;border-radius:12px!important;padding:12px!important;background:#fff!important}.dark #content .frame>div.relative:not([data-component-part=\"frame-caption\"]){border-color:rgb(255 255 255 / 0.12)!important;background:rgb(var(--gray-800) / 0.35)!important}#content .frame img{border-radius:6px!important}#content .frame [data-component-part=\"frame-caption\"]{text-align:center!important;margin-top:0.5rem!important;padding:0!important;border:0!important;background:transparent!important;border-radius:0!important}[data-component-part=\"code-group-tab-bar\"] [role=\"tab\"][aria-selected=\"true\"]{color:rgb(var(--primary))!important}.dark [data-component-part=\"code-group-tab-bar\"] [role=\"tab\"][aria-selected=\"true\"]{color:rgb(var(--primary-light))!important}[data-component-part=\"card-content-container\"]{display:grid;grid-template-columns:auto 1fr;column-gap:0.625rem;align-items:center}[data-component-part=\"card-content-container\"]>a[data-client-link]{display:contents}[data-component-part=\"card-content-container\"] .w-full{display:contents}[data-component-part=\"card-content-container\"] [data-component-part=\"card-icon\"]{grid-column:1;grid-row:1}[data-component-part=\"card-content-container\"] [data-component-part=\"card-title\"]{grid-column:2;grid-row:1;margin-top:0!important}[data-component-part=\"card-content-container\"] [data-component-part=\"card-content\"]{grid-column:1 / -1;grid-row:2;margin-top:0.5rem!important}.dark #assistant-entry{box-shadow:0 0 0 1px rgba(162, 158, 165, 0.6)}#navigation-items button[data-active-ancestor]{color:rgb(var(--primary))!important}#navigation-items button[data-active-ancestor] svg:not([stroke]){background-color:rgb(var(--primary))!important}.dark #navigation-items button[data-active-ancestor]{color:rgb(var(--primary-light))!important}.dark #navigation-items button[data-active-ancestor] svg:not([stroke]){background-color:rgb(var(--primary-light))!important}#navigation-items button[data-active-ancestor] svg[stroke]{color:rgb(var(--primary))!important}.dark #navigation-items button[data-active-ancestor] svg[stroke]{color:rgb(var(--primary-light))!important}[data-component-part=\"search-input-container\"]{border-color:oklab(0.704767 0.00727233 -0.00827515 / 0.3)!important}.dark [data-component-part=\"search-input-container\"]{border-color:rgba(162, 158, 165, 0.6)!important}#sidebar{top:7rem!important}"}],"page":{"pagePath":"en/api/v1-checkout-session-create-checkout-session","slug":"/en/api/v1-checkout-session-create-checkout-session","pageMetadata":{"title":"Create Checkout Session","openapi":"openapi/v1-en.yaml POST /api/v1/session","description":"Create Checkout Session","href":"/en/api/v1-checkout-session-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 Checkout Session\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}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 Checkout Session","openapi":"openapi/v1-en.yaml POST /api/v1/session","description":"Create Checkout Session","href":"/en/api/v1-checkout-session-create-checkout-session"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/shoplazza-92a3a725/01e940adff1c3ce9/floating-widgets.js"],"openApiReferenceData":{"operation":{"tags":["Checkout Session"],"summary":"Create Checkout Session","description":"Create Checkout Session","operationId":"v1-checkout-session-create-checkout-session","parameters":["d4d261e7-e25b-4ac2-be57-9e6709658b99"],"requestBody":"29c6535a-d720-4aa5-9256-4f2d4f54ff60","responses":{"200":"db375942-1346-43c8-be85-b264bccb1aa0"},"method":"post","type":"path","servers":["eb910de8-3028-44af-aa0f-644822c81be6"],"security":["c463211d-e868-45cf-8fb3-42a041759cb1"],"path":"/api/v1/session","baseUrlOptions":["https://{api}.subotiz.com"],"title":"Create Checkout Session","codeSamples":[],"requestExampleLanguages":["bash","javascript","python","php","go","java","ruby"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.order_id":"\u003cstring>","body.line_items.items.0.price_id":"\u003cstring>","body.line_items.items.0.quantity":"\u003cstring>","body.line_items.items.0.quantity_editable":true,"body.line_items.items.0.quantity_min":"\u003cstring>","body.line_items.items.0.quantity_max":"\u003cstring>","body.customer_id":"\u003cstring>","body.email":"\u003cstring>","body.return_url":"\u003cstring>","body.cancel_url":"\u003cstring>","body.mode":"\u003cstring>","body.payer_id":"\u003cstring>","body.integration_method":"\u003cstring>","body.total_amount":"\u003cstring>","body.redirect_on_completion":"\u003cstring>","body.locale":"\u003cstring>","body.target_currency":"\u003cstring>","body.merchant_rate":"\u003cstring>","body.metadata":{},"body.subscription_data.metadata":{},"body.trade_data.metadata":{},"body.source_channel":"\u003cstring>","body.billing_address_data.name":"\u003cstring>","body.billing_address_data.address_line1":"\u003cstring>","body.billing_address_data.address_line2":"\u003cstring>","body.billing_address_data.country_code":"\u003cstring>","body.billing_address_data.province_code":"\u003cstring>","body.billing_address_data.city":"\u003cstring>","body.billing_address_data.area":"\u003cstring>","body.billing_address_data.postal_code":"\u003cstring>","body.billing_address_data.phone":"\u003cstring>","body.billing_address_data.phone_area_code":"\u003cstring>","body.billing_address_data.email":"\u003cstring>","body.payment_mode":"\u003cstring>","body.once_trial":123,"body.fixed_term":123,"body.is_renewable":true,"body.tax_category":"\u003cstring>","body.terms_data.terms_url":"\u003cstring>","body.terms_data.privacy_url":"\u003cstring>","body.powered_by.visible":true,"body.powered_by.brand_name":"\u003cstring>","body.powered_by.brand_logo_url":"\u003cstring>"}]},"dependencies":{"parameters":{"d4d261e7-e25b-4ac2-be57-9e6709658b99":{"name":"Request-Id","in":"header","description":"The unique identifier of the request","required":true,"schema":{"type":"string","default":"008e3967-a1b5-48bb-be14-d5bff5092e61","isRequired":true,"description":"The unique identifier of the request","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"required":["order_id","line_items"],"type":"object","properties":{"order_id":{"type":"string","description":"Third-party order number","isRequired":true,"uniqueKey":"order_id","typeLabel":"string"},"line_items":{"type":"array","items":{"type":"object","properties":{"price_id":{"type":"string","description":"Unique identifier for product pricing","uniqueKey":"line_items.items.[INDEX].price_id","typeLabel":"string"},"quantity":{"type":"string","description":"Product quantity","uniqueKey":"line_items.items.[INDEX].quantity","typeLabel":"string"},"quantity_editable":{"type":"boolean","description":"Whether the customer may change the quantity on the checkout page. Omitted/false = not editable.","uniqueKey":"line_items.items.[INDEX].quantity_editable","typeLabel":"boolean"},"quantity_min":{"type":"string","description":"Minimum editable quantity. 0 or omitted = unlimited (falls back to the global lower bound of 1). Only takes effect when quantity_editable=true.","uniqueKey":"line_items.items.[INDEX].quantity_min","typeLabel":"string"},"quantity_max":{"type":"string","description":"Maximum editable quantity. 0 or omitted = unlimited (falls back to the global upper bound of 999999999). Only takes effect when quantity_editable=true.","uniqueKey":"line_items.items.[INDEX].quantity_max","typeLabel":"string"}},"description":"LineItem structure","uniqueKey":"line_items.items.[INDEX]","typeLabel":"object"},"description":"Product pricing array included in this checkout (currently only supports one lineItem)","isRequired":true,"uniqueKey":"line_items","typeLabel":"object[]"},"customer_id":{"type":"string","description":"Subotiz platform customer unique identifier, must be created in Subotiz in advance. One of `payer_id`, `customer_id` and `email` must exist","uniqueKey":"customer_id","typeLabel":"string"},"email":{"type":"string","description":"Customer email","uniqueKey":"email","typeLabel":"string"},"return_url":{"type":"string","description":"URL to redirect to after customer payment success. The explicitly provided URL is used first; otherwise, the default from the developer settings is applied automatically.","uniqueKey":"return_url","typeLabel":"string"},"cancel_url":{"type":"string","description":"URL to redirect to after customer cancels payment. The explicitly provided URL is used first; otherwise, the default from the developer settings is applied automatically.","uniqueKey":"cancel_url","typeLabel":"string"},"mode":{"type":"string","description":"Payment mode, used to determine whether to validate product information:\n- checkout: Validate product data, default value\n- payment: Do not validate product data","uniqueKey":"mode","typeLabel":"string"},"payer_id":{"type":"string","description":"Third-party customer ID, if the passed ID does not exist in the Subotiz system, a customer will be automatically created. Each `payer_id` under each merchant is unique.","uniqueKey":"payer_id","typeLabel":"string"},"integration_method":{"type":"string","description":"Integration mode:\n- hosted: Hosted, default mode\n- embedded: Embedded integration","uniqueKey":"integration_method","typeLabel":"string"},"total_amount":{"type":"string","description":"Payment amount, required when `mode` is set to payment mode.","uniqueKey":"total_amount","typeLabel":"string"},"redirect_on_completion":{"type":"string","description":"Redirect behavior for embedded UI mode\n- always: Automatically redirect to `return_url` after successful payment\n- if_required: Only redirect to `return_url` for payment methods that require redirection","uniqueKey":"redirect_on_completion","typeLabel":"string"},"locale":{"type":"string","description":"Specify the language for the checkout session. The default language is determined based on the browser language.\nOptional Values:\n- **ar-SA**:Arabic (Saudi Arabia)\n- **de-DE**:German (Germany)\n- **en-US**:English (United States)\n- **es-ES**:Spanish (Spain)\n- **fr-FR**:French (France)\n- **id-ID**:Indonesian (Indonesia)\n- **it-IT**:Italian (Italy)\n- **ja-JP**:Japanese (Japan)\n- **ko-KR**:Korean (South Korea)\n- **nl-NL**:Dutch (Netherlands)\n- **pl-PL**:Polish (Poland)\n- **pt-PT**:Portuguese (Portugal)\n- **ru-RU**:Russian (Russia)\n- **th-TH**:Thai (Thailand)\n- **zh-CN**:Chinese (Mainland China)\n- **zh-TW**:Chinese (Taiwan, China)","uniqueKey":"locale","typeLabel":"string"},"target_currency":{"type":"string","description":"Specifies the settlement currency for the Checkout Session using a platform-supported ISO 4217 currency code, such as USD or CNY. The system uses the store's primary currency as the base currency and converts the order amount into this currency for display and pricing. If `merchant_rate` is not provided, the system uses the real-time exchange rate of the day by default.","uniqueKey":"target_currency","typeLabel":"string"},"merchant_rate":{"type":"string","description":"Specifies a custom exchange rate from the store's primary currency to `target_currency`. The value must be a number greater than 0 and must be provided together with `target_currency`. This field is used only when the settlement currency differs from the store's primary currency. The exchange rate direction is: \"1 unit of the store's primary currency = X units of `target_currency`\". For example, if the store's primary currency is USD and `target_currency` is CNY, a value of 7.999 means 1 USD = 7.999 CNY, and the system will calculate the order amount using this rate.","uniqueKey":"merchant_rate","typeLabel":"string"},"metadata":{"type":"object","description":"A set of key-value pairs that can be attached to an object, allowing you to store additional information in a structured format.","uniqueKey":"metadata","typeLabel":"object"},"subscription_data":{"type":"object","description":"A subset of parameters to be passed to subscription creation for Checkout Sessions in","properties":{"metadata":{"type":"object","description":"A set of key-value pairs that can be attached to an object, allowing you to store additional information in a structured format.","uniqueKey":"subscription_data.metadata","typeLabel":"object"}},"uniqueKey":"subscription_data","typeLabel":"object"},"trade_data":{"type":"object","description":"A subset of parameters to be passed to trade creation for Checkout Sessions in","properties":{"metadata":{"type":"object","description":"A set of key-value pairs that can be attached to an object, allowing you to store additional information in a structured format.","uniqueKey":"trade_data.metadata","typeLabel":"object"}},"uniqueKey":"trade_data","typeLabel":"object"},"source_channel":{"type":"string","description":"First transaction source channel identification, used for transaction attribution statistics, length limit 50","uniqueKey":"source_channel","typeLabel":"string"},"billing_address_data":{"type":"object","description":"Billing address information","properties":{"name":{"type":"string","description":"Recipient's full name (e.g: John Smith)","uniqueKey":"billing_address_data.name","typeLabel":"string"},"address_line1":{"type":"string","description":"Address line 1, primary street address (e.g: 123 Main Street, Apt 4B)","uniqueKey":"billing_address_data.address_line1","typeLabel":"string"},"address_line2":{"type":"string","description":"Address line 2, additional address information (e.g: Building C, Floor 5)","uniqueKey":"billing_address_data.address_line2","typeLabel":"string"},"country_code":{"type":"string","description":"Country code in ISO2 format (e.g: US, GB, CN)","uniqueKey":"billing_address_data.country_code","typeLabel":"string"},"province_code":{"type":"string","description":"Province/state code (e.g: CA for California, ON for Ontario)","uniqueKey":"billing_address_data.province_code","typeLabel":"string"},"city":{"type":"string","description":"City name (e.g: New York, London, Tokyo)","uniqueKey":"billing_address_data.city","typeLabel":"string"},"area":{"type":"string","description":"Area/district/county name for more granular address location","uniqueKey":"billing_address_data.area","typeLabel":"string"},"postal_code":{"type":"string","description":"Postal code/ZIP code, format varies by country (e.g: US: 12345, UK: SW1A 1AA, CA: K1A 0B1)","uniqueKey":"billing_address_data.postal_code","typeLabel":"string"},"phone":{"type":"string","description":"Phone number without country code (e.g: 5551234567)","uniqueKey":"billing_address_data.phone","typeLabel":"string"},"phone_area_code":{"type":"string","description":"Phone country code (e.g: +1, +44, +86)","uniqueKey":"billing_address_data.phone_area_code","typeLabel":"string"},"email":{"type":"string","description":"Email address for billing notifications and contact (e.g: [email protected])","uniqueKey":"billing_address_data.email","typeLabel":"string"}},"uniqueKey":"billing_address_data","typeLabel":"object"},"payment_mode":{"type":"string","description":"Payment business mode:\n - `onetime_payment`: One-time payment mode. Processes a single payment transaction without creating any recurring payment tokens.\n - `subscription`: Subscription payment mode. Processes the initial payment and generates a payment token for automatic recurring payments. Subsequent renewal charges will be processed using this token based on the subscription plan configuration.","uniqueKey":"payment_mode","typeLabel":"string"},"once_trial":{"type":"integer","description":"Whether to enable once free trial period for the trial price.\n - 1: no trial limit\n - 2: once trial\n - 3: skip trial period","format":"int32","uniqueKey":"once_trial","typeLabel":"integer\u003cint32>"},"fixed_term":{"type":"integer","description":"Fixed-term subscription length (positive integer)","format":"int32","uniqueKey":"fixed_term","typeLabel":"integer\u003cint32>"},"is_renewable":{"type":"boolean","description":"Whether the fixed-term subscription can be converted to a continuous subscription","uniqueKey":"is_renewable","typeLabel":"boolean"},"tax_category":{"type":"string","description":"- `Software as a service (SaaS)`: Software delivered over the internet as a subscription, no local installation required.\n- `Software`: Downloadable or licensed standalone software that typically requires local installation (e.g. installers, license keys).\n- `Online Video Content`: Video content delivered via streaming or download (e.g. courses, movies, live streams).\n- `Information Service`: Digital data or reports (e.g. databases, industry reports, analytics).\n- `eBook`: Electronic books or digital publications readable on devices.\n- `Digital Graphic / Template`: Editable digital templates or design assets (e.g. PSD/templates, PowerPoint templates).\n- `Video Game`: Digital games, including downloads, in-app purchases, or subscription services.\n- `Blockchain Digital Products`: Blockchain-based digital assets (e.g. NFTs).\n- `Other Digital Products`: Other virtual goods not covered above (e.g. event tickets).","uniqueKey":"tax_category","typeLabel":"string"},"terms_data":{"type":"object","description":"TermsData: merchant-provided terms links displayed on checkout; optional. Each URL may be empty.\n Must be an absolute https URL and length \u003c= 512, otherwise 400","properties":{"terms_url":{"type":"string","uniqueKey":"terms_data.terms_url","typeLabel":"string"},"privacy_url":{"type":"string","uniqueKey":"terms_data.privacy_url","typeLabel":"string"}},"uniqueKey":"terms_data","typeLabel":"object"},"powered_by":{"type":"object","description":"Powered by branding shown at the bottom of the checkout page; optional. Defaults to showing Subotiz when omitted","properties":{"visible":{"type":"boolean","description":"Whether to show Powered by; defaults to true when omitted. When false, brand_name / brand_logo_url have no effect","uniqueKey":"powered_by.visible","typeLabel":"boolean"},"brand_name":{"type":"string","description":"Brand text, optional. Leading and trailing whitespace is trimmed, and whitespace-only is treated as omitted. Length must be \u003c= 20 and must not contain control or format characters (e.g. zero-width, RTL override), otherwise 400.\n When brand_logo_url is also provided, it serves as the logo's alt text and is shown if the logo fails to load","uniqueKey":"powered_by.brand_name","typeLabel":"string"},"brand_logo_url":{"type":"string","description":"Brand logo URL, optional. Must be an absolute https URL and length \u003c= 512, otherwise 400.\n Loaded directly by the checkout page without re-hosting; it must be publicly accessible","uniqueKey":"powered_by.brand_logo_url","typeLabel":"string"}},"uniqueKey":"powered_by","typeLabel":"object"}},"description":"Create checkout session request","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"order_id":"\u003cstring>","line_items":[{"price_id":"\u003cstring>","quantity":"\u003cstring>","quantity_editable":true,"quantity_min":"\u003cstring>","quantity_max":"\u003cstring>"}],"customer_id":"\u003cstring>","email":"\u003cstring>","return_url":"\u003cstring>","cancel_url":"\u003cstring>","mode":"\u003cstring>","payer_id":"\u003cstring>","integration_method":"\u003cstring>","total_amount":"\u003cstring>","redirect_on_completion":"\u003cstring>","locale":"\u003cstring>","target_currency":"\u003cstring>","merchant_rate":"\u003cstring>","metadata":{},"subscription_data":{"metadata":{}},"trade_data":{"metadata":{}},"source_channel":"\u003cstring>","billing_address_data":{"name":"\u003cstring>","address_line1":"\u003cstring>","address_line2":"\u003cstring>","country_code":"\u003cstring>","province_code":"\u003cstring>","city":"\u003cstring>","area":"\u003cstring>","postal_code":"\u003cstring>","phone":"\u003cstring>","phone_area_code":"\u003cstring>","email":"\u003cstring>"},"payment_mode":"\u003cstring>","once_trial":123,"fixed_term":123,"is_renewable":true,"tax_category":"\u003cstring>","terms_data":{"terms_url":"\u003cstring>","privacy_url":"\u003cstring>"},"powered_by":{"visible":true,"brand_name":"\u003cstring>","brand_logo_url":"\u003cstring>"}}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"db375942-1346-43c8-be85-b264bccb1aa0":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"error code","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"error message","uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","properties":{"session_id":{"type":"string","description":"Checkout Session unique identifier","uniqueKey":"data.session_id","typeLabel":"string"},"session_url":{"type":"string","description":"Subotiz checkout page URL, customers can be redirected directly to this URL. Only returned for hosted integration mode","uniqueKey":"data.session_url","typeLabel":"string"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","data":{"session_id":"\u003cstring>","session_url":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"c463211d-e868-45cf-8fb3-42a041759cb1":{"sec0":{"type":"http","description":"Bearer API Key authentication. Format: Authorization: Bearer {your_api_key}","scheme":"bearer","scopes":[],"schemeName":"sec0"}}},"servers":{"eb910de8-3028-44af-aa0f-644822c81be6":{"url":"https://{api}.subotiz.com","variables":{"api":{"default":"api"}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","description":"Bearer API Key authentication. Format: Authorization: Bearer {your_api_key}","scheme":"bearer","scopes":[],"schemeName":"sec0"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer API Key authentication. Format: Authorization: Bearer {your_api_key}","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"sec0","name":"Authorization"}],"title":"sec0"}]},"originalFileLocation":"openapi/v1-en.yaml"},"subdomain":"shoplazza-92a3a725","siteName":"Subotiz","title":"Create Checkout Session - Subotiz","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/api/v1-checkout-session-create-checkout-session","matchLevel":0},"zh":{"href":"/zh/api/v1-checkout-session-create-checkout-session","matchLevel":1}}},"lastModified":"2026-07-13T06:49:26.226Z","originalFileLocation":"en/api/v1-checkout-session-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 Checkout Session\">\u003cmeta data-mint-head name=\"application-name\" content=\"Subotiz\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/shoplazza-92a3a725/MWi9edpZ7nNVtIed/_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/shoplazza-92a3a725/MWi9edpZ7nNVtIed/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/shoplazza-92a3a725/MWi9edpZ7nNVtIed/_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/shoplazza-92a3a725/MWi9edpZ7nNVtIed/_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/shoplazza-92a3a725/MWi9edpZ7nNVtIed/_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/shoplazza-92a3a725/MWi9edpZ7nNVtIed/_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/shoplazza-92a3a725/MWi9edpZ7nNVtIed/_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/shoplazza-92a3a725/MWi9edpZ7nNVtIed/_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/shoplazza-92a3a725/MWi9edpZ7nNVtIed/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Checkout Session - Subotiz\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create Checkout Session\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Subotiz\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.subotiz.com/en/api/v1-checkout-session-create-checkout-session\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://shoplazza-92a3a725.mintlify.site/_mintlify/api/og/v2?division=Checkout+Session\u0026amp;title=Create+Checkout+Session\u0026amp;description=Create+Checkout+Session\u0026amp;theme=d6027fd67d5f3b506383192f\u0026amp;signature=aa9ab06c7053f6675d56f01bad1a920a29bdf9b29cdfb55059bfb7b1aa29ff70\">\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 Checkout Session - Subotiz\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create Checkout Session\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://shoplazza-92a3a725.mintlify.site/_mintlify/api/og/v2?division=Checkout+Session\u0026amp;title=Create+Checkout+Session\u0026amp;description=Create+Checkout+Session\u0026amp;theme=d6027fd67d5f3b506383192f\u0026amp;signature=aa9ab06c7053f6675d56f01bad1a920a29bdf9b29cdfb55059bfb7b1aa29ff70\">\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/shoplazza-92a3a725/MWi9edpZ7nNVtIed/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Subotiz\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7700ea\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.subotiz.com/en/api/v1-checkout-session-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=\"/en/api/v1-checkout-session-create-checkout-session.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.subotiz.com/en/api/v1-checkout-session-create-checkout-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.subotiz.com/zh/api/v1-checkout-session-create-checkout-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.subotiz.com/en/api/v1-checkout-session-create-checkout-session\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.subotiz.com/#organization\",\"name\":\"Subotiz\",\"url\":\"https://docs.subotiz.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/shoplazza-92a3a725/qE6OW7uXRx_JwZAh/images/Logo.svg?fit=max\u0026auto=format\u0026n=qE6OW7uXRx_JwZAh\u0026q=85\u0026s=f4ba7dc0a1b50b7b7a4aa5042ddfd95f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.subotiz.com#website\",\"name\":\"Subotiz\",\"url\":\"https://docs.subotiz.com\",\"publisher\":{\"@id\":\"https://docs.subotiz.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.subotiz.com/en/api/v1-checkout-session-create-checkout-session#webpage\",\"url\":\"https://docs.subotiz.com/en/api/v1-checkout-session-create-checkout-session\",\"name\":\"Create Checkout Session\",\"description\":\"Create Checkout Session\",\"dateModified\":\"2026-07-13T06:49:26.226Z\",\"isPartOf\":{\"@id\":\"https://docs.subotiz.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.subotiz.com/en/api/v1-checkout-session-create-checkout-session#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.subotiz.com/en/api/v1-checkout-session-create-checkout-session#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Subotiz API\",\"item\":\"https://docs.subotiz.com/en/api/introduction-1\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Checkout Session\",\"item\":\"https://docs.subotiz.com/en/api/checkout-session-object\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create Checkout Session\",\"item\":\"https://docs.subotiz.com/en/api/v1-checkout-session-create-checkout-session\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.subotiz.com/en/api/v1-checkout-session-create-checkout-session#apireference\",\"headline\":\"Create Checkout Session\",\"name\":\"Create Checkout Session\",\"description\":\"Create Checkout Session\",\"url\":\"https://docs.subotiz.com/en/api/v1-checkout-session-create-checkout-session\",\"mainEntityOfPage\":{\"@id\":\"https://docs.subotiz.com/en/api/v1-checkout-session-create-checkout-session#webpage\"},\"dateModified\":\"2026-07-13T06:49:26.226Z\",\"publisher\":{\"@id\":\"https://docs.subotiz.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.subotiz.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Subotiz\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Subotiz\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/en/api/v1-checkout-session-create-checkout-session.md","siteName":"Subotiz","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/en/quick-start/overview"}]},{"tab":"API Reference","groups":[{"group":"Subotiz API","pages":[{"title":"Introduction","icon":"mouse-pointer-click","href":"/en/api/introduction-1"},{"title":"Authentication","icon":"key-round","href":"/en/api/authentication-1"},{"title":"Errors","icon":"git-merge-conflict","href":"/en/api/errors"},{"title":"Metadata","icon":"code-xml","href":"/en/api/metadata"},{"group":"Product","icon":"box","pages":[{"title":"Object","href":"/en/api/product-object"},{"title":"List Product Categories","openapi":"openapi/v1-en.yaml GET /api/v1/product-categories","href":"/en/api/v1-product-list-product-categories"},{"title":"Change Product Status","openapi":"openapi/v1-en.yaml POST /api/v1/products/{product_version_id}/status","href":"/en/api/v1-product-change-product-status"},{"title":"List Product Version","openapi":"openapi/v1-en.yaml GET /api/v1/products/version","href":"/en/api/v1-product-list-product-version"},{"title":"Get Product Version","openapi":"openapi/v1-en.yaml GET /api/v1/products/version/{product_version_id}","href":"/en/api/v1-product-get-product-version"},{"title":"Create Product","openapi":"openapi/v1-en.yaml POST /api/v1/products","href":"/en/api/v1-product-create-product"},{"title":"Get Product","openapi":"openapi/v1-en.yaml GET /api/v1/products/{product_id}","href":"/en/api/v1-product-get-product"},{"title":"List Produc","openapi":"openapi/v1-en.yaml GET /api/v1/products","href":"/en/api/v1-product-list-product"}]},{"group":"Price","icon":"receipt","pages":[{"title":"Object","href":"/en/api/price-object"},{"title":"Get Price","openapi":"openapi/v1-en.yaml GET /api/v1/prices/{price_id}","href":"/en/api/v1-price-get-price"},{"title":"List Pricing","openapi":"openapi/v1-en.yaml GET /api/v1/prices","href":"/en/api/v1-price-list-price"},{"title":"Create Pricing","openapi":"openapi/v1-en.yaml POST /api/v1/prices","href":"/en/api/v1-price-create-price"},{"title":"Get Price Version","openapi":"openapi/v1-en.yaml GET /api/v1/prices/version/{price_version_id}","href":"/en/api/v1-price-get-price-version"},{"title":"List Pricing Version","openapi":"openapi/v1-en.yaml GET /api/v1/prices/version","href":"/en/api/v1-price-list-price-version"},{"title":"Change Pricing Status","openapi":"openapi/v1-en.yaml POST /api/v1/prices/{price_version_id}/status","href":"/en/api/v1-price-change-price-status"}]},{"group":"Discount","icon":"ticket-percent","pages":[{"title":"Object","href":"/en/api/discount-object"},{"title":"Get Discount","openapi":"openapi/v1-en.yaml GET /api/v1/discount/{id}","href":"/en/api/v1-discount-get-discount"},{"title":"List Discounts","openapi":"openapi/v1-en.yaml GET /api/v1/discount","href":"/en/api/v1-discount-list-discount"},{"title":"End Discount","openapi":"openapi/v1-en.yaml POST /api/v1/discount/{id}/end","href":"/en/api/v1-discount-end-discount"}]},{"group":"Checkout Session","icon":"/images/icon-checkout-v2.svg","pages":[{"title":"Object","description":null,"href":"/en/api/checkout-session-object"},{"title":"Create Checkout Session","openapi":"openapi/v1-en.yaml POST /api/v1/session","href":"/en/api/v1-checkout-session-create-checkout-session"},{"title":"List Checkout Session","openapi":"openapi/v1-en.yaml GET /api/v1/session","description":"List Checkout Session","href":"/en/api/v1-checkout-session-list-checkout-session"},{"title":"Get Checkout Session","openapi":"openapi/v1-en.yaml GET /api/v1/session/{session_id}","href":"/en/api/v1-checkout-session-get-checkout-session"},{"title":"Expire Checkout Session","openapi":"openapi/v1-en.yaml POST /api/v1/session/{session_id}/expire","href":"/en/api/v1-checkout-session-expire-checkout-session"}]},{"group":"Trade","icon":"handshake","pages":[{"title":"Object","href":"/en/api/trade-object"},{"title":"List Trades","openapi":"openapi/v1-en.yaml GET /api/v1/trades","href":"/en/api/v1-trade-list-trade"},{"title":"Create Trade","openapi":"openapi/v1-en.yaml POST /api/v1/trades","href":"/en/api/v1-trade-create-trade"},{"title":"Get Trade","openapi":"openapi/v1-en.yaml GET /api/v1/trades/{trade_id}","href":"/en/api/v1-trade-get-trade"}]},{"group":"Payment","icon":"/images/icon-payment.svg","pages":[{"title":"Object","href":"/en/api/payment-object"},{"title":"List Payments by Trade ID","openapi":"openapi/v1-en.yaml GET /api/v1/payments","href":"/en/api/v1-payment-list-payments-by-trade-id"},{"title":"List Payments by Time Range","openapi":"openapi/v1-en.yaml GET /api/v1/payments/list","href":"/en/api/v1-payment-query-payments"}]},{"group":"Invoice","icon":"receipt-text","pages":[{"title":"Object","href":"/en/api/invoice-object"},{"title":"List Invoices","openapi":"openapi/v1-en.yaml GET /api/v1/invoices","href":"/en/api/v1-invoice-list-invoice"},{"title":"Get Invoice","openapi":"openapi/v1-en.yaml GET /api/v1/invoices/{invoice_id}","href":"/en/api/v1-invoice-get-invoice"}]},{"group":"Subscription","icon":"rss","pages":[{"title":"Object","href":"/en/api/subscription-object"},{"title":"Get Subscription","openapi":"openapi/v1-en.yaml GET /api/v1/subscription/{subscription_id}","href":"/en/api/v1-subscription-get-subscription"},{"title":"Update Subscription","openapi":"openapi/v1-en.yaml POST /api/v1/subscription/{subscription_id}","href":"/en/api/v1-subscription-update-subscription"},{"title":"List Subscriptions","openapi":"openapi/v1-en.yaml GET /api/v1/subscription","href":"/en/api/v1-subscription-list-subscription"},{"title":"Record Subscription Usage","openapi":"openapi/v1-en.yaml POST /api/v1/subscription/{subscription_id}/record_usage","href":"/en/api/v1-subscription-record-subscription-usage"},{"title":"Renewal Subscription","openapi":"openapi/v1-en.yaml POST /api/v1/subscription/{subscription_id}/renewal","href":"/en/api/v1-subscription-renewal-subscription"},{"title":"Get Subscription Usage","openapi":"openapi/v1-en.yaml GET /api/v1/subscription/{subscription_id}/usage","href":"/en/api/v1-subscription-get-subscription-usage"},{"title":"Cancel Subscription","openapi":"openapi/v1-en.yaml POST /api/v1/subscription/{subscription_id}/cancel","href":"/en/api/v1-subscription-cancel-subscription"},{"title":"Pause Subscription","openapi":"openapi/v1-en.yaml POST /api/v1/subscription/{subscription_id}/pause","href":"/en/api/v1-subscription-pause-subscription"},{"title":"Resume Subscription","openapi":"openapi/v1-en.yaml POST /api/v1/subscription/{subscription_id}/resume","href":"/en/api/v1-subscription-resume-subscription"},{"title":"Update subscription fixed term","openapi":"openapi/v1-en.yaml POST /api/v1/subscription/{subscription_id}/update/fixed_term","href":"/en/api/v1-subscription-update-subscription-fixed-term"},{"title":"Revoke Cancel Subscription","openapi":"openapi/v1-en.yaml POST /api/v1/subscription/{subscription_id}/revoke-cancel","href":"/en/api/v1-subscription-revoke-cancel-subscription"},{"title":"Revoke Pending Price Change","openapi":"openapi/v1-en.yaml POST /api/v1/subscription/{subscription_id}/revoke-price-change","href":"/en/api/v1-subscription-revoke-price-change"},{"title":"Preview Subscription Quantity","openapi":"openapi/v1-en.yaml GET /api/v1/subscription/{subscription_id}/quantity-preview","href":"/en/api/v1-subscription-preview-subscription-quantity"}]},{"group":"Customer","icon":"users-round","pages":[{"title":"Object","href":"/en/api/customer-object"},{"title":"Create Customer","openapi":"openapi/v1-en.yaml POST /api/v1/front/customer/create","href":"/en/api/v1-customer-create-customer"},{"title":"Update Customer","openapi":"openapi/v1-en.yaml POST /api/v1/front/customer/update","href":"/en/api/v1-customer-update-customer"},{"title":"Get Customer","openapi":"openapi/v1-en.yaml GET /api/v1/front/customer/{customer_id}","href":"/en/api/v1-customer-get-customer"},{"title":"List Customer","openapi":"openapi/v1-en.yaml GET /api/v1/front/customer","href":"/en/api/v1-customer-list-customer"},{"title":"Delete Customer","openapi":"openapi/v1-en.yaml POST /api/v1/front/customer/delete","href":"/en/api/v1-customer-delete-customer"}]},{"group":"Customer Portal","icon":"circle-user-round","pages":[{"title":"Object","href":"/en/api/customer-portal-object"},{"title":"Customer Portal Api Auth","openapi":"openapi/v1-en.yaml POST /api/v1/customer_portal/auth","href":"/en/api/v1-customer-portal-api-auth"}]},{"group":"Refund","icon":"reply-all","pages":[{"title":"Object","href":"/en/api/refund-object"},{"title":"Create Refund","openapi":"openapi/v1-en.yaml POST /api/v1/trades/{trade_id}/refunds","href":"/en/api/v1-refund-create-refund"},{"title":"Get Refund","openapi":"openapi/v1-en.yaml GET /api/v1/trades/{trade_id}/refunds/{refund_id}","href":"/en/api/v1-refund-get-refund"},{"title":"List Refunds","openapi":"openapi/v1-en.yaml GET /api/v1/trades/{trade_id}/refunds","href":"/en/api/v1-refund-list-refund"}]},{"group":"Dispute","icon":"file-exclamation-point","pages":[{"title":"Object","href":"/en/api/dispute-object"},{"title":"List disputes","openapi":"openapi/v1-en.yaml GET /api/v1/disputes","href":"/en/api/v1-dispute-list-dispute"},{"title":"Get dispute details","openapi":"openapi/v1-en.yaml GET /api/v1/disputes/{dispute_id}","href":"/en/api/v1-dispute-get-dispute"}]},{"group":"Webhook","icon":"webhook","pages":[{"title":"Object","href":"/en/api/webhook-object"},{"title":"List Webhook Events","openapi":"openapi/v1-en.yaml GET /api/v1/webhook-event","href":"/en/api/v1-webhook-list-webhook-event"},{"title":"List Webhook Endpoints","openapi":"openapi/v1-en.yaml GET /api/v2/webhook/endpoints","href":"/en/api/v1-webhook-list-endpoint"},{"title":"List Webhook Events V2","openapi":"openapi/v1-en.yaml GET /api/v2/webhook/events","href":"/en/api/v2-webhook-list-event"}]}]}]},{"tab":"FAQ","pages":[{"title":"FAQ","href":"/en/faq/workspace-basics"}]}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/api/v1-checkout-session-create-checkout-session"}]}]},"basePath":"","title":"Create Checkout Session - Subotiz","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","Page-D6S0Yh6q.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js","Markdown-CwLx6PAg.js","clsx-C3kuh_dz.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CmKHfscc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-U3mI6Ljh.js"]}