Creates a Checkout Session. The response includes a hosted redirect_url where the
customer completes payment, along with the computed totals and eligibility. Flex
classifies the line items
for HSA/FSA eligibility and, when a Letter of Medical Necessity is required, sets up the
collection flow. The session’s mode determines whether it results in a one-time
payment, a subscription, an off-session charge against a saved payment method, or a
setup-only flow. When the line items mix eligible and non-eligible products, a split
cart is created so each portion can be paid with the appropriate payment method.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Flex Documentation","colors":{"primary":"#0070FA","light":"#BAB3FF","dark":"#0B0077"},"logo":{"light":"https://mintcdn.com/flex-87/1kILreF5HcjIKLdi/logo/light.svg?fit=max\u0026auto=format\u0026n=1kILreF5HcjIKLdi\u0026q=85\u0026s=f703a75bc80df014f4849a7225b4879f","dark":"https://mintcdn.com/flex-87/1kILreF5HcjIKLdi/logo/dark.svg?fit=max\u0026auto=format\u0026n=1kILreF5HcjIKLdi\u0026q=85\u0026s=1aabf14d790c002d1740276fdbced9ab"},"favicon":"https://mintcdn.com/flex-87/liG_HQMgKKwndFp8/favicon.svg?fit=max\u0026auto=format\u0026n=liG_HQMgKKwndFp8\u0026q=85\u0026s=82a2993b4fffbf19268067f48e898bed","navbar":{"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.withflex.com/"}},"footer":{"socials":{"github":"https://github.com/JoinFlexHealth","linkedin":"https://www.linkedin.com/company/withflex","x":"https://x.com/paywithflex","instagram":"https://www.instagram.com/paywithflex"}},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","latex":true},"navigation":{"global":{"anchors":[{"anchor":"Status","icon":"wifi","href":"https://statuspage.incident.io/with-flex"},{"anchor":"Support","icon":"mail","href":"mailto:support@withflex.com"},{"anchor":"Website","icon":"laptop","href":"https://www.withflex.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"flex-87","hasAudioNarration":false,"actualSubdomain":"flex-87","customDomains":["docs.withflex.com"],"gitSource":{"type":"github","owner":"joinflexhealth","repo":"flex","deployBranch":"main","contentDirectory":"flex-docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae374b5b3f002741c1ab41f","collectionId":"02d9944d-fd1b-4f89-a595-9c3890413440","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae374b5b3f002741c1ab41f"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aee6975cd3f5bf5212d16fd","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"API Reference","count":188},{"language":"default","tag":"Guides","count":51},{"language":"default","tag":"Integration","count":29},{"language":"default","tag":"Marketing","count":21},{"language":"default","tag":"Checkout Sessions","count":13},{"language":"default","tag":"Subscriptions","count":12},{"language":"default","tag":"Products","count":9},{"language":"default","tag":"Disputes","count":8},{"language":"default","tag":"Shopify","count":7},{"language":"default","tag":"Overview","count":7}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"#topbar-cta-button span.bg-primary-dark{background-color:#0B0077!important}html.dark #topbar-cta-button span.bg-primary-dark{background-color:#BAB3FF1A!important;border-color:#BAB3FF;border-width:1px}main img,article img,.content img,[data-content] img{border:1px solid #E8EAED!important}main img.rounded,article img.rounded,.content img.rounded,[data-content] img.rounded{border:.5px solid #E8EAED!important}.nav-logo,img.nav-logo{border:none!important}.brand-logo-grid img{border:none!important}.doc-screenshot img{border:none!important}img.no-border{border:none!important}.nav-anchor:hover .mr-4.rounded-md.p-1.shadow-sm{background:rgba(17, 24, 39, 0.05)!important;background-color:rgba(17, 24, 39, 0.05)!important;color:#1f2937!important;--tw-ring-opacity: 1 !important;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)!important;filter:none!important}.dark .nav-anchor:hover .mr-4.rounded-md.p-1.shadow-sm{background:rgba(229, 231, 235, 0.05)!important;background-color:rgba(229, 231, 235, 0.05)!important;color:#d1d5db!important;--tw-ring-opacity: 1 !important;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)!important;filter:none!important}.group:hover .group-hover\\:ring-0{--tw-ring-opacity: 1 !important;--tw-ring-color: rgba(17, 24, 39, 0.05) !important}.dark .group:hover .group-hover\\:ring-0{--tw-ring-opacity: 1 !important;--tw-ring-color: rgba(55, 65, 81, 0.4) !important}.nav-anchor:hover .secondary-opacity.group-hover\\:fill-primary-dark.group-hover\\:bg-white{background-color:currentColor!important;fill:none!important}.nav-anchor:hover .secondary-opacity{background-color:#1f2937!important}.dark .nav-anchor:hover .secondary-opacity{background-color:#d1d5db!important}.nav-anchor .mr-4.rounded-md.p-1.shadow-sm[style*=\"background\"]{background:inherit!important;background-color:inherit!important}.nav-anchor:hover .mr-4.rounded-md.p-1.shadow-sm[style*=\"background\"]{background:rgba(17, 24, 39, 0.05)!important;background-color:rgba(17, 24, 39, 0.05)!important}.dark .nav-anchor:hover .mr-4.rounded-md.p-1.shadow-sm[style*=\"background\"]{background:rgba(229, 231, 235, 0.05)!important;background-color:rgba(229, 231, 235, 0.05)!important}.nav-anchor:hover .h-4.w-4.secondary-opacity{background-color:currentColor!important}.inline-flex.items-center.gap-1\\.5.text-sm.text-gray-500 a{color:#0070FA!important}.inline-flex.items-center.gap-1\\.5.text-sm.text-gray-500 a:hover{color:#0B0077!important}html.dark .inline-flex.items-center.gap-1\\.5.text-sm a{color:#BAB3FF!important}html.dark .inline-flex.items-center.gap-1\\.5.text-sm a:hover{color:white!important}.lucide.lucide-chevron-right{stroke:#0070FA!important}html.dark .lucide.lucide-chevron-right{stroke:#BAB3FF!important}"}],"page":{"pagePath":"api-reference/checkout-sessions/create-checkout-session","slug":"/api-reference/checkout-sessions/create-checkout-session","pageMetadata":{"title":"Create Checkout Session","description":"Creates a Checkout Session. The response includes a hosted `redirect_url` where the\ncustomer completes payment, along with the computed totals and eligibility. Flex\nclassifies the line items\nfor HSA/FSA eligibility and, when a Letter of Medical Necessity is required, sets up the\ncollection flow. The session's `mode` determines whether it results in a one-time\npayment, a subscription, an off-session charge against a saved payment method, or a\nsetup-only flow. When the line items mix eligible and non-eligible products, a split\ncart is created so each portion can be paid with the appropriate payment method.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/checkout/sessions","href":"/api-reference/checkout-sessions/create-checkout-session","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Creates a Checkout Session. The response includes a hosted \", _jsx(_components.code, {\n children: \"redirect_url\"\n }), \" where the\\ncustomer completes payment, along with the computed totals and eligibility. Flex\\nclassifies the line items\\nfor HSA/FSA eligibility and, when a Letter of Medical Necessity is required, sets up the\\ncollection flow. The session’s \", _jsx(_components.code, {\n children: \"mode\"\n }), \" determines whether it results in a one-time\\npayment, a subscription, an off-session charge against a saved payment method, or a\\nsetup-only flow. When the line items mix eligible and non-eligible products, a split\\ncart is created so each portion can be paid with the appropriate payment method.\"]\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","description":"Creates a Checkout Session. The response includes a hosted `redirect_url` where the\ncustomer completes payment, along with the computed totals and eligibility. Flex\nclassifies the line items\nfor HSA/FSA eligibility and, when a Letter of Medical Necessity is required, sets up the\ncollection flow. The session's `mode` determines whether it results in a one-time\npayment, a subscription, an off-session charge against a saved payment method, or a\nsetup-only flow. When the line items mix eligible and non-eligible products, a split\ncart is created so each portion can be paid with the appropriate payment method.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/checkout/sessions","href":"/api-reference/checkout-sessions/create-checkout-session","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/flex-87/f0156321fafa1974/postcss.config.js"],"openApiReferenceData":{"operation":{"tags":["Checkout Sessions"],"summary":"Create Checkout Session","description":"Creates a Checkout Session. The response includes a hosted `redirect_url` where the\ncustomer completes payment, along with the computed totals and eligibility. Flex\nclassifies the line items\nfor HSA/FSA eligibility and, when a Letter of Medical Necessity is required, sets up the\ncollection flow. The session's `mode` determines whether it results in a one-time\npayment, a subscription, an off-session charge against a saved payment method, or a\nsetup-only flow. When the line items mix eligible and non-eligible products, a split\ncart is created so each portion can be paid with the appropriate payment method.","operationId":"v1.checkout_sessions.create","requestBody":"fe864113-75e1-429f-befd-0a90bcedf185","responses":{"200":"1f09e7ac-2fa9-40ef-bca8-6968bc3d715e","401":"709ae7a8-ba77-4086-81d4-a87f05ba326f","403":"24291043-54cb-458a-8ee9-ffc2b2f00e64","404":"b9e159ff-4352-4c42-a395-6f02ce2be4cd","409":"90947334-293a-40cb-8cf5-8680b700353e","422":"f3f830bd-3abc-4a6c-9483-969468fc6902","429":"dab80616-fa4b-47ed-a540-7b4fd31fab35"},"security":["3563fafc-0d91-4883-aef6-0e4f01722e52"],"method":"post","type":"path","servers":["080577c1-39a5-4498-bb49-d7daab803f21"],"path":"/v1/checkout/sessions","baseUrlOptions":["https://api.withflex.com"],"title":"Create Checkout Session","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"description":"An envelope wrapping a single checkout session object.","content":{"application/json":{"schema":{"description":"An envelope wrapping a single checkout session object.","type":"object","required":["checkout_session"],"properties":{"checkout_session":{"description":"The checkout session payload.","type":"object","required":["line_items","mode","success_url"],"properties":{"line_items":{"description":"A list of items the customer is purchasing. Use this parameter to pass one-time or recurring Prices.","type":"array","items":{"description":"A line item to add to a Checkout Session, referencing an existing Price or supplying inline price data, together with the quantity and any per-item shipping or tax.","type":"object","required":["quantity"],"properties":{"quantity":{"description":"The quantity of the line item being purchased.","type":"integer","format":"int32","minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.line_items.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"price":{"oneOf":[{"description":"The ID of the Price object. One of price or price_data is required. If both are sent, price wins and price_data is ignored.","type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.line_items.items.[INDEX].price.oneOf.0","typeLabel":"string"},{"description":"The ID of the Price object. One of price or price_data is required. If both are sent, price wins and price_data is ignored.","type":"null","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.line_items.items.[INDEX].price.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.line_items.items.[INDEX].price","typeLabel":"string | null"},"price_data":{"oneOf":[{"type":"object","description":"Data used to generate a new Price object inline. One of price or price_data is required. If both are sent, price wins and price_data is ignored; price_data alone is used as-sent.","required":["unit_amount"],"example":{"description":"Premium SPF 50 mineral sunscreen","unit_amount":2500,"recurring":{"interval":"day","interval_count":0,"trial_period_days":0},"metadata":{"order_id":"8842","channel":"shopify"},"product":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","product_data":{"name":"Example","description":"Premium SPF 50 mineral sunscreen","upc_code":"example_value","gtin":"example_value","reference_gtin":"example_value","url":"https://example.com","client_reference_id":"example_value","metadata":{"order_id":"8842","channel":"shopify"},"image_urls":["https://example.com/image.png"],"categories":["string"],"components":["string"]}},"properties":{"unit_amount":{"description":"A positive integer in cents (or 0 for a free price) representing how much to charge.","type":"integer","format":"int64","minimum":0,"example":2500,"maximum":4294967295,"isRequired":true,"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.unit_amount","typeLabel":"integer\u003cint64>"},"description":{"oneOf":[{"description":"A brief description of the price.","type":"string","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.description.oneOf.0","typeLabel":"string"},{"description":"A brief description of the price.","type":"null","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.description","typeLabel":"string | null"},"recurring":{"oneOf":[{"type":"object","description":"The recurring components of a price such as interval and trial period days.","required":["interval"],"example":{"interval":"day","interval_count":0,"trial_period_days":0},"properties":{"interval":{"description":"The billing cadence for the price.","type":"string","enum":["day","week","month","year"],"example":"day","isRequired":true,"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.recurring.oneOf.0.interval","typeLabel":"enum\u003cstring>"},"interval_count":{"oneOf":[{"description":"The number of intervals","type":"integer","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.recurring.oneOf.0.interval_count.oneOf.0","typeLabel":"integer\u003cint64>"},{"description":"The number of intervals","type":"null","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.recurring.oneOf.0.interval_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.recurring.oneOf.0.interval_count","typeLabel":"integer\u003cint64> | null"},"trial_period_days":{"oneOf":[{"description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","type":"integer","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.recurring.oneOf.0.trial_period_days.oneOf.0","typeLabel":"integer\u003cint64>"},{"description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","type":"null","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.recurring.oneOf.0.trial_period_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.recurring.oneOf.0.trial_period_days","typeLabel":"integer\u003cint64> | null"}},"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.recurring.oneOf.0","typeLabel":"object"},{"type":"null","description":"The recurring components of a price such as interval and trial period days.","uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.recurring.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.recurring","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata to attach to the price.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata to attach to the price.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.metadata","typeLabel":"object | null"},"product":{"description":"The ID of the product that this price will belong to.","type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product","typeLabel":"string"},"product_data":{"description":"Data used to generate a new Product object inline.","type":"object","required":["name"],"properties":{"name":{"description":"The product's name, meant to be displayed to the customer.","type":"string","example":"Example","isRequired":true,"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.name","typeLabel":"string"},"description":{"oneOf":[{"description":"The product's description, a short blurb meant to be displayed to the customer.","type":"string","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.description.oneOf.0","typeLabel":"string"},{"description":"The product's description, a short blurb meant to be displayed to the customer.","type":"null","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.description","typeLabel":"string | null"},"upc_code":{"oneOf":[{"description":"The product's UPC code. If provided, this will be used to check whether the product is on the eligible product list.","type":"string","example":"example_value","uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.upc_code.oneOf.0","typeLabel":"string"},{"description":"The product's UPC code. If provided, this will be used to check whether the product is on the eligible product list.","type":"null","example":"example_value","uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.upc_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.upc_code","typeLabel":"string | null"},"gtin":{"oneOf":[{"description":"The product's GTIN. If provided, this will be used to check whether the product is on the eligible product list.","type":"string","example":"example_value","uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.gtin.oneOf.0","typeLabel":"string"},{"description":"The product's GTIN. If provided, this will be used to check whether the product is on the eligible product list.","type":"null","example":"example_value","uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.gtin.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.gtin","typeLabel":"string | null"},"reference_gtin":{"oneOf":[{"description":"If the product is HSA/FSA eligible through private label, this should be provided.","type":"string","example":"example_value","uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.reference_gtin.oneOf.0","typeLabel":"string"},{"description":"If the product is HSA/FSA eligible through private label, this should be provided.","type":"null","example":"example_value","uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.reference_gtin.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.reference_gtin","typeLabel":"string | null"},"url":{"oneOf":[{"description":"A URL of a publicly-accessible image of the product.","type":"string","example":"https://example.com","uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.url.oneOf.0","typeLabel":"string"},{"description":"A URL of a publicly-accessible image of the product.","type":"null","example":"https://example.com","uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.url","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"An optional identifier for the product set by the client. Immutable after creation.","type":"string","example":"example_value","uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"An optional identifier for the product set by the client. Immutable after creation.","type":"null","example":"example_value","uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.client_reference_id","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to a product. This can be useful for storing additional information about the product in a structured format.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to a product. This can be useful for storing additional information about the product in a structured format.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.metadata","typeLabel":"object | null"},"image_urls":{"oneOf":[{"description":"URLs of publicly-accessible product images for eligibility determination.","type":"array","items":{"type":"string","uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.image_urls.oneOf.0.items.[INDEX]","typeLabel":"string"},"example":["https://example.com/image.png"],"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.image_urls.oneOf.0","typeLabel":"string[]"},{"description":"URLs of publicly-accessible product images for eligibility determination.","type":"null","items":{"type":"string"},"example":["https://example.com/image.png"],"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.image_urls.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.image_urls","typeLabel":"string[] | null"},"categories":{"oneOf":[{"description":"Product categories (e.g., \"Vitamins\", \"First Aid\").","type":"array","items":{"type":"string","uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.categories.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.categories.oneOf.0","typeLabel":"string[]"},{"description":"Product categories (e.g., \"Vitamins\", \"First Aid\").","type":"null","items":{"type":"string"},"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.categories.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.categories","typeLabel":"string[] | null"},"components":{"oneOf":[{"description":"Product components or ingredients (e.g., \"Vitamin C\", \"Zinc\").","type":"array","items":{"type":"string","uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.components.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.components.oneOf.0","typeLabel":"string[]"},{"description":"Product components or ingredients (e.g., \"Vitamin C\", \"Zinc\").","type":"null","items":{"type":"string"},"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.components.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data.components","typeLabel":"string[] | null"}},"example":{"name":"Example","description":"Premium SPF 50 mineral sunscreen","upc_code":"example_value","gtin":"example_value","reference_gtin":"example_value","url":"https://example.com","client_reference_id":"example_value","metadata":{"order_id":"8842","channel":"shopify"},"image_urls":["https://example.com/image.png"],"categories":["string"],"components":["string"]},"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0.product_data","typeLabel":"object"}},"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Data used to generate a new Price object inline. One of price or price_data is required. If both are sent, price wins and price_data is ignored; price_data alone is used as-sent.","uniqueKey":"checkout_session.line_items.items.[INDEX].price_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.line_items.items.[INDEX].price_data","typeLabel":"object | null"},"shipping_options":{"oneOf":[{"type":"object","description":"Shipping rate options for the line item.","example":{"shipping_rate_id":"fshr_01J9XR8M3K7VZ8N2YB4WJ6T0RA","shipping_rate_data":{"display_name":"Example","amount":2500,"metadata":{"order_id":"8842","channel":"shopify"}}},"properties":{"shipping_rate_id":{"oneOf":[{"description":"ID of an existing shipping rate to apply. Provide this or `shipping_rate_data`.","type":"string","example":"fshr_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.line_items.items.[INDEX].shipping_options.oneOf.0.shipping_rate_id.oneOf.0","typeLabel":"string"},{"description":"ID of an existing shipping rate to apply. Provide this or `shipping_rate_data`.","type":"null","example":"fshr_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.line_items.items.[INDEX].shipping_options.oneOf.0.shipping_rate_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.line_items.items.[INDEX].shipping_options.oneOf.0.shipping_rate_id","typeLabel":"string | null"},"shipping_rate_data":{"oneOf":[{"type":"object","description":"Inline shipping rate parameters used to create a new shipping rate. Provide this or `shipping_rate_id`.","required":["amount","display_name"],"example":{"display_name":"Example","amount":2500,"metadata":{"order_id":"8842","channel":"shopify"}},"properties":{"display_name":{"description":"The name shown to the customer at checkout (e.g., `Standard Shipping`). Must be at least 2 characters.","type":"string","minLength":2,"example":"Example","isRequired":true,"uniqueKey":"checkout_session.line_items.items.[INDEX].shipping_options.oneOf.0.shipping_rate_data.oneOf.0.display_name","typeLabel":"string"},"amount":{"description":"The shipping cost, in the smallest currency unit (e.g., `500` = $5.00 USD). Charged in USD.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.line_items.items.[INDEX].shipping_options.oneOf.0.shipping_rate_data.oneOf.0.amount","typeLabel":"integer\u003cint32>"},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the shipping rate for storing additional structured information.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.line_items.items.[INDEX].shipping_options.oneOf.0.shipping_rate_data.oneOf.0.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs you can attach to the shipping rate for storing additional structured information.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.line_items.items.[INDEX].shipping_options.oneOf.0.shipping_rate_data.oneOf.0.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.line_items.items.[INDEX].shipping_options.oneOf.0.shipping_rate_data.oneOf.0.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.line_items.items.[INDEX].shipping_options.oneOf.0.shipping_rate_data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Inline shipping rate parameters used to create a new shipping rate. Provide this or `shipping_rate_id`.","uniqueKey":"checkout_session.line_items.items.[INDEX].shipping_options.oneOf.0.shipping_rate_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.line_items.items.[INDEX].shipping_options.oneOf.0.shipping_rate_data","typeLabel":"object | null"}},"uniqueKey":"checkout_session.line_items.items.[INDEX].shipping_options.oneOf.0","typeLabel":"object"},{"type":"null","description":"Shipping rate options for the line item.","uniqueKey":"checkout_session.line_items.items.[INDEX].shipping_options.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.line_items.items.[INDEX].shipping_options","typeLabel":"object | null"},"tax_rate":{"oneOf":[{"type":"object","description":"Tax rate for a specific line item","required":["amount"],"example":{"amount":2500},"properties":{"amount":{"description":"The tax amount to apply, in the smallest currency unit (e.g., `175` = $1.75 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.line_items.items.[INDEX].tax_rate.oneOf.0.amount","typeLabel":"integer\u003cint32>"}},"uniqueKey":"checkout_session.line_items.items.[INDEX].tax_rate.oneOf.0","typeLabel":"object"},{"type":"null","description":"Tax rate for a specific line item","uniqueKey":"checkout_session.line_items.items.[INDEX].tax_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.line_items.items.[INDEX].tax_rate","typeLabel":"object | null"},"components":{"oneOf":[{"description":"The components of this line item's build, e.g. the ingredients of a bowl. A supplied list is the whole build for this order and is never merged with anything stored on the product. Omit it entirely for a fixed-recipe product, whose build is read from its own `medical_meal_recipe_v1` metadata instead; an explicit empty list is rejected. Each entry names its component by `component_id` or by your own `client_reference_id`, and must resolve to a component you own or a shared one. At most 50 entries per line item.","type":"array","items":{"description":"One component of a line item's build, as sent at checkout.","type":"object","properties":{"quantity":{"description":"How many portions of the component. A standard build is `1.0`, which is also the default when omitted. Must be a positive, finite number.","default":1,"type":"number","format":"double","example":1,"uniqueKey":"checkout_session.line_items.items.[INDEX].components.oneOf.0.items.[INDEX].quantity","typeLabel":"number\u003cdouble>"},"dressing_mode":{"oneOf":[{"type":"string","description":"How the dressing was ordered: mixed into the bowl or served on the side. Only meaningful for dressing components; ignored otherwise. A mixed-in dressing counts toward eligibility gating, an on-the-side one does not, and an omitted mode is treated as mixed in (the conservative direction). Taken as sent — not cross-checked against the catalog.","enum":["MIXED","ON_THE_SIDE"],"example":"MIXED","uniqueKey":"checkout_session.line_items.items.[INDEX].components.oneOf.0.items.[INDEX].dressing_mode.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"How the dressing was ordered: mixed into the bowl or served on the side. Only meaningful for dressing components; ignored otherwise. A mixed-in dressing counts toward eligibility gating, an on-the-side one does not, and an omitted mode is treated as mixed in (the conservative direction). Taken as sent — not cross-checked against the catalog.","uniqueKey":"checkout_session.line_items.items.[INDEX].components.oneOf.0.items.[INDEX].dressing_mode.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.line_items.items.[INDEX].components.oneOf.0.items.[INDEX].dressing_mode","typeLabel":"enum\u003cstring> | null"},"component_id":{"description":"The component's `fcomp_` identifier, from `/v1/product_components`. The component must be one of yours or one of Flex's shared components. Each entry names at least one of `component_id` or `client_reference_id`; if both are sent, `component_id` wins and the reference is ignored.","type":"string","example":"fcomp_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.line_items.items.[INDEX].components.oneOf.0.items.[INDEX].component_id","typeLabel":"string"},"client_reference_id":{"description":"Your own identifier for the component, as registered on `/v1/product_components` (CON-1550). Each entry names at least one of `component_id` or `client_reference_id`; if both are sent, `component_id` wins and the reference is ignored.","type":"string","uniqueKey":"checkout_session.line_items.items.[INDEX].components.oneOf.0.items.[INDEX].client_reference_id","typeLabel":"string"}},"example":{"quantity":1,"dressing_mode":"MIXED","component_id":"fcomp_01J9XR8M3K7VZ8N2YB4WJ6T0RA","client_reference_id":"string"},"uniqueKey":"checkout_session.line_items.items.[INDEX].components.oneOf.0.items.[INDEX]","typeLabel":"object"},"maxItems":50,"uniqueKey":"checkout_session.line_items.items.[INDEX].components.oneOf.0","typeLabel":"object[]"},{"description":"The components of this line item's build, e.g. the ingredients of a bowl. A supplied list is the whole build for this order and is never merged with anything stored on the product. Omit it entirely for a fixed-recipe product, whose build is read from its own `medical_meal_recipe_v1` metadata instead; an explicit empty list is rejected. Each entry names its component by `component_id` or by your own `client_reference_id`, and must resolve to a component you own or a shared one. At most 50 entries per line item.","type":"null","items":{"description":"One component of a line item's build, as sent at checkout.","type":"object","properties":{"quantity":{"description":"How many portions of the component. A standard build is `1.0`, which is also the default when omitted. Must be a positive, finite number.","default":1,"type":"number","format":"double","example":1},"dressing_mode":{"oneOf":[{"type":"string","description":"How the dressing was ordered: mixed into the bowl or served on the side. Only meaningful for dressing components; ignored otherwise. A mixed-in dressing counts toward eligibility gating, an on-the-side one does not, and an omitted mode is treated as mixed in (the conservative direction). Taken as sent — not cross-checked against the catalog.","enum":["MIXED","ON_THE_SIDE"],"example":"MIXED"},{"type":"null","description":"How the dressing was ordered: mixed into the bowl or served on the side. Only meaningful for dressing components; ignored otherwise. A mixed-in dressing counts toward eligibility gating, an on-the-side one does not, and an omitted mode is treated as mixed in (the conservative direction). Taken as sent — not cross-checked against the catalog."}]},"component_id":{"description":"The component's `fcomp_` identifier, from `/v1/product_components`. The component must be one of yours or one of Flex's shared components. Each entry names at least one of `component_id` or `client_reference_id`; if both are sent, `component_id` wins and the reference is ignored.","type":"string","example":"fcomp_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"client_reference_id":{"description":"Your own identifier for the component, as registered on `/v1/product_components` (CON-1550). Each entry names at least one of `component_id` or `client_reference_id`; if both are sent, `component_id` wins and the reference is ignored.","type":"string"}},"example":{"quantity":1,"dressing_mode":"MIXED","component_id":"fcomp_01J9XR8M3K7VZ8N2YB4WJ6T0RA","client_reference_id":"string"}},"maxItems":50,"uniqueKey":"checkout_session.line_items.items.[INDEX].components.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.line_items.items.[INDEX].components","typeLabel":"object[] | null"}},"example":{"price":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","price_data":{"description":"Premium SPF 50 mineral sunscreen","unit_amount":2500,"recurring":{"interval":"day","interval_count":0,"trial_period_days":0},"metadata":{"order_id":"8842","channel":"shopify"},"product":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","product_data":{"name":"Example","description":"Premium SPF 50 mineral sunscreen","upc_code":"example_value","gtin":"example_value","reference_gtin":"example_value","url":"https://example.com","client_reference_id":"example_value","metadata":{"order_id":"8842","channel":"shopify"},"image_urls":["https://example.com/image.png"],"categories":["string"],"components":["string"]}},"quantity":0,"shipping_options":{"shipping_rate_id":"fshr_01J9XR8M3K7VZ8N2YB4WJ6T0RA","shipping_rate_data":{"display_name":"Example","amount":2500,"metadata":{"order_id":"8842","channel":"shopify"}}},"tax_rate":{"amount":2500},"components":[{"quantity":1,"dressing_mode":"MIXED","component_id":"fcomp_01J9XR8M3K7VZ8N2YB4WJ6T0RA","client_reference_id":"string"}]},"uniqueKey":"checkout_session.line_items.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"checkout_session.line_items","typeLabel":"object[]"},"mode":{"description":"The mode of the Checkout Session. One of `payment` (a one-time purchase), `subscription` (creates a subscription), `off_session` (charges a saved payment method without the customer present), or `setup` (saves a payment method without charging, e.g. for free trials). `reimbursement` (a letter for a purchase made elsewhere, charging only an explicit `lmn_consultation` fee) is in limited release and returns `mode_not_supported` unless enabled for your account.","type":"string","enum":["payment","subscription","off_session","setup","reimbursement"],"example":"payment","isRequired":true,"uniqueKey":"checkout_session.mode","typeLabel":"enum\u003cstring>"},"success_url":{"description":"URL the customer is redirected to after the payment or subscription creation succeeds.","type":"string","format":"uri","example":"https://example.com","isRequired":true,"uniqueKey":"checkout_session.success_url","typeLabel":"string\u003curi>"},"allow_promotion_codes":{"oneOf":[{"description":"Allows the session to be completed using a promotion code.","type":"boolean","example":false,"uniqueKey":"checkout_session.allow_promotion_codes.oneOf.0","typeLabel":"boolean"},{"description":"Allows the session to be completed using a promotion code.","type":"null","example":false,"uniqueKey":"checkout_session.allow_promotion_codes.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.allow_promotion_codes","typeLabel":"boolean | null"},"cancel_url":{"oneOf":[{"description":"URL the customer is redirected to if they cancel and return to your site. When set, the hosted checkout page displays a back button. `null` to omit the back button.","type":"string","format":"uri","example":"https://example.com","uniqueKey":"checkout_session.cancel_url.oneOf.0","typeLabel":"string\u003curi>"},{"description":"URL the customer is redirected to if they cancel and return to your site. When set, the hosted checkout page displays a back button. `null` to omit the back button.","type":"null","format":"uri","example":"https://example.com","uniqueKey":"checkout_session.cancel_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.cancel_url","typeLabel":"string\u003curi> | null"},"capture_method":{"oneOf":[{"type":"string","description":"Controls when funds are captured. One of `automatic` or `automatic_async` (capture immediately when the customer pays) or `manual` (authorize and capture later via the capture endpoint). `null` defaults to `automatic`.","enum":["automatic","automatic_async","manual"],"example":"automatic","uniqueKey":"checkout_session.capture_method.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Controls when funds are captured. One of `automatic` or `automatic_async` (capture immediately when the customer pays) or `manual` (authorize and capture later via the capture endpoint). `null` defaults to `automatic`.","uniqueKey":"checkout_session.capture_method.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.capture_method","typeLabel":"enum\u003cstring> | null"},"client_reference_id":{"oneOf":[{"description":"A unique string to reference the Checkout Session, such as a cart or order ID in your system. Use it to reconcile the session with your internal records.","type":"string","example":"example_value","uniqueKey":"checkout_session.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"A unique string to reference the Checkout Session, such as a cart or order ID in your system. Use it to reconcile the session with your internal records.","type":"null","example":"example_value","uniqueKey":"checkout_session.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.client_reference_id","typeLabel":"string | null"},"defaults":{"oneOf":[{"type":"object","description":"Customer details used to prefill the checkout page, or the ID of an existing Customer.","example":{"customer_id":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","email":"john.doe@example.com","first_name":"John","last_name":"Doe","phone":"+14155550142"},"properties":{"customer_id":{"oneOf":[{"description":"ID of an existing Customer to associate with the session. When set, the customer's saved details are used instead of the other fields.","type":"string","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.defaults.oneOf.0.customer_id.oneOf.0","typeLabel":"string"},{"description":"ID of an existing Customer to associate with the session. When set, the customer's saved details are used instead of the other fields.","type":"null","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.defaults.oneOf.0.customer_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.defaults.oneOf.0.customer_id","typeLabel":"string | null"},"email":{"oneOf":[{"description":"The customer's email address, prefilled on the checkout page.","type":"string","example":"john.doe@example.com","uniqueKey":"checkout_session.defaults.oneOf.0.email.oneOf.0","typeLabel":"string"},{"description":"The customer's email address, prefilled on the checkout page.","type":"null","example":"john.doe@example.com","uniqueKey":"checkout_session.defaults.oneOf.0.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.defaults.oneOf.0.email","typeLabel":"string | null"},"first_name":{"oneOf":[{"description":"The customer's first name, prefilled on the checkout page.","type":"string","example":"John","uniqueKey":"checkout_session.defaults.oneOf.0.first_name.oneOf.0","typeLabel":"string"},{"description":"The customer's first name, prefilled on the checkout page.","type":"null","example":"John","uniqueKey":"checkout_session.defaults.oneOf.0.first_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.defaults.oneOf.0.first_name","typeLabel":"string | null"},"last_name":{"oneOf":[{"description":"The customer's last name, prefilled on the checkout page.","type":"string","example":"Doe","uniqueKey":"checkout_session.defaults.oneOf.0.last_name.oneOf.0","typeLabel":"string"},{"description":"The customer's last name, prefilled on the checkout page.","type":"null","example":"Doe","uniqueKey":"checkout_session.defaults.oneOf.0.last_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.defaults.oneOf.0.last_name","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number in E.164 format, prefilled on the checkout page.","type":"string","example":"+14155550142","uniqueKey":"checkout_session.defaults.oneOf.0.phone.oneOf.0","typeLabel":"string"},{"description":"The customer's phone number in E.164 format, prefilled on the checkout page.","type":"null","example":"+14155550142","uniqueKey":"checkout_session.defaults.oneOf.0.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.defaults.oneOf.0.phone","typeLabel":"string | null"}},"uniqueKey":"checkout_session.defaults.oneOf.0","typeLabel":"object"},{"type":"null","description":"Customer details used to prefill the checkout page, or the ID of an existing Customer.","uniqueKey":"checkout_session.defaults.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.defaults","typeLabel":"object | null"},"discounts":{"oneOf":[{"description":"Discounts (coupons or promotion codes) to apply to the session. `null` to apply none.","type":"array","items":{"description":"Specifies a discount to apply, as one of: an existing coupon referenced by ID, an existing promotion code referenced by ID, or inline coupon data to create a new coupon and apply it.","type":"object","properties":{"coupon_id":{"description":"ID of an existing Coupon to apply.","type":"string","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_id","typeLabel":"string"},"promo_code_id":{"description":"ID of an existing PromoCode to apply. The discount is sourced from the coupon the promotion code references.","type":"string","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].promo_code_id","typeLabel":"string"},"coupon_data":{"description":"Inline coupon parameters used to create a new Coupon, which is then applied.","type":"object","required":["name"],"properties":{"name":{"description":"Name of the coupon displayed to customers.","type":"string","example":"Coupon","isRequired":true,"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.name","typeLabel":"string"},"applies_to":{"oneOf":[{"type":"object","description":"An object containing directions for what this Coupon will apply discounts to. If null, the coupon applies to the entire order.","required":["products"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"properties":{"products":{"description":"The product that this coupon applies to.","type":"array","items":{"type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.applies_to.oneOf.0.products.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.applies_to.oneOf.0.products","typeLabel":"string[]"}},"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.applies_to.oneOf.0","typeLabel":"object"},{"type":"object","description":"An object containing directions for what this Coupon will apply discounts to. If null, the coupon applies to the entire order.","required":["prices"],"properties":{"prices":{"description":"The price that this coupon applies to.","type":"array","items":{"type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.applies_to.oneOf.1.prices.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.applies_to.oneOf.1.prices","typeLabel":"string[]"}},"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.applies_to.oneOf.1","typeLabel":"object"},{"type":"object","description":"An object containing directions for what this Coupon will apply discounts to. If null, the coupon applies to the entire order.","required":["fee_types"],"properties":{"fee_types":{"description":"The fee types that this coupon applies to.","type":"array","items":{"description":"The kind of fee applied to a checkout session: a Letter of Medical Necessity consultation fee, or a custom fee you define.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation","uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.applies_to.oneOf.2.fee_types.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.applies_to.oneOf.2.fee_types","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.applies_to.oneOf.2","typeLabel":"object"},{"type":"string","description":"An object containing directions for what this Coupon will apply discounts to. If null, the coupon applies to the entire order.","enum":["shipping"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.applies_to.oneOf.3","typeLabel":"enum\u003cstring>"},{"type":"null","description":"An object containing directions for what this Coupon will apply discounts to. If null, the coupon applies to the entire order.","uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.applies_to.oneOf.4","typeLabel":"null"}],"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.applies_to","typeLabel":"object · object · object · enum\u003cstring> · null"},"amount_off":{"oneOf":[{"description":"A positive integer representing the amount to subtract from an invoice total (required if percent_off is not passed).","type":"integer","format":"int32","maximum":2147483647,"example":100,"minimum":-2147483648,"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.amount_off.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"A positive integer representing the amount to subtract from an invoice total (required if percent_off is not passed).","type":"null","format":"int32","maximum":2147483647,"example":100,"minimum":-2147483648,"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.amount_off.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.amount_off","typeLabel":"integer\u003cint32> | null"},"duration":{"oneOf":[{"type":"string","description":"Specifies how long the discount will be in effect if used on a subscription. Defaults to once.","enum":["once","repeating","forever"],"x-ms-enum":{"name":"CouponDuration","modelAsString":false,"values":[{"value":"once","name":"Once","description":"Applies to the first charge from a subscription with this coupon applied."},{"value":"repeating","name":"Repeating","description":"Applies to charges in the first duration_in_months months from a subscription with this coupon applied."},{"value":"forever","name":"Forever","description":"Applies to all charges from a subscription with this coupon applied."}]},"example":"once","uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.duration.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Specifies how long the discount will be in effect if used on a subscription. Defaults to once.","example":"once","uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.duration.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.duration","typeLabel":"enum\u003cstring> | null"},"duration_in_months":{"oneOf":[{"description":"Required only if duration is repeating, in which case it must be a positive integer that specifies the number of months the discount will be in effect.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.duration_in_months.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Required only if duration is repeating, in which case it must be a positive integer that specifies the number of months the discount will be in effect.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.duration_in_months.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.duration_in_months","typeLabel":"integer\u003cint32> | null"},"percent_off":{"oneOf":[{"description":"A positive float larger than 0, and smaller or equal to 100, that represents the discount the coupon will apply (required if amount_off is not passed).","type":"number","format":"double","example":10,"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.percent_off.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"A positive float larger than 0, and smaller or equal to 100, that represents the discount the coupon will apply (required if amount_off is not passed).","type":"null","format":"double","example":10,"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.percent_off.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.percent_off","typeLabel":"number\u003cdouble> | null"},"max_redemptions":{"oneOf":[{"description":"A positive integer specifying the number of times the coupon can be redeemed before it’s no longer valid.","type":"integer","format":"int32","maximum":2147483647,"example":100,"minimum":-2147483648,"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.max_redemptions.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"A positive integer specifying the number of times the coupon can be redeemed before it’s no longer valid.","type":"null","format":"int32","maximum":2147483647,"example":100,"minimum":-2147483648,"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.max_redemptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.max_redemptions","typeLabel":"integer\u003cint32> | null"},"metadata":{"oneOf":[{"description":"Metadata to attach to this coupon.","type":"object","example":{"key":"value"},"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata to attach to this coupon.","type":"null","example":{"key":"value"},"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data.metadata","typeLabel":"object | null"}},"example":{"applies_to":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"name":"Coupon","amount_off":100,"duration":"once","percent_off":10,"max_redemptions":100,"metadata":{"key":"value"}},"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX].coupon_data","typeLabel":"object"}},"example":{"coupon_id":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","promo_code_id":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","coupon_data":{"applies_to":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"name":"Coupon","amount_off":100,"duration":"once","percent_off":10,"max_redemptions":100,"metadata":{"key":"value"}}},"uniqueKey":"checkout_session.discounts.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"checkout_session.discounts.oneOf.0","typeLabel":"object[]"},{"description":"Discounts (coupons or promotion codes) to apply to the session. `null` to apply none.","type":"null","items":{"description":"Specifies a discount to apply, as one of: an existing coupon referenced by ID, an existing promotion code referenced by ID, or inline coupon data to create a new coupon and apply it.","type":"object","properties":{"coupon_id":{"description":"ID of an existing Coupon to apply.","type":"string","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"promo_code_id":{"description":"ID of an existing PromoCode to apply. The discount is sourced from the coupon the promotion code references.","type":"string","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"coupon_data":{"description":"Inline coupon parameters used to create a new Coupon, which is then applied.","type":"object","required":["name"],"properties":{"applies_to":{"oneOf":[{"type":"object","description":"An object containing directions for what this Coupon will apply discounts to. If null, the coupon applies to the entire order.","required":["products"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"properties":{"products":{"description":"The product that this coupon applies to.","type":"array","items":{"type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}}}},{"type":"object","description":"An object containing directions for what this Coupon will apply discounts to. If null, the coupon applies to the entire order.","required":["prices"],"properties":{"prices":{"description":"The price that this coupon applies to.","type":"array","items":{"type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}}}},{"type":"object","description":"An object containing directions for what this Coupon will apply discounts to. If null, the coupon applies to the entire order.","required":["fee_types"],"properties":{"fee_types":{"description":"The fee types that this coupon applies to.","type":"array","items":{"description":"The kind of fee applied to a checkout session: a Letter of Medical Necessity consultation fee, or a custom fee you define.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation"}}}},{"type":"string","description":"An object containing directions for what this Coupon will apply discounts to. If null, the coupon applies to the entire order.","enum":["shipping"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]}},{"type":"null","description":"An object containing directions for what this Coupon will apply discounts to. If null, the coupon applies to the entire order."}]},"name":{"description":"Name of the coupon displayed to customers.","type":"string","example":"Coupon"},"amount_off":{"oneOf":[{"description":"A positive integer representing the amount to subtract from an invoice total (required if percent_off is not passed).","type":"integer","format":"int32","maximum":2147483647,"example":100,"minimum":-2147483648},{"description":"A positive integer representing the amount to subtract from an invoice total (required if percent_off is not passed).","type":"null","format":"int32","maximum":2147483647,"example":100,"minimum":-2147483648}]},"duration":{"oneOf":[{"type":"string","description":"Specifies how long the discount will be in effect if used on a subscription. Defaults to once.","enum":["once","repeating","forever"],"x-ms-enum":{"name":"CouponDuration","modelAsString":false,"values":[{"value":"once","name":"Once","description":"Applies to the first charge from a subscription with this coupon applied."},{"value":"repeating","name":"Repeating","description":"Applies to charges in the first duration_in_months months from a subscription with this coupon applied."},{"value":"forever","name":"Forever","description":"Applies to all charges from a subscription with this coupon applied."}]},"example":"once"},{"type":"null","description":"Specifies how long the discount will be in effect if used on a subscription. Defaults to once.","example":"once"}]},"duration_in_months":{"oneOf":[{"description":"Required only if duration is repeating, in which case it must be a positive integer that specifies the number of months the discount will be in effect.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Required only if duration is repeating, in which case it must be a positive integer that specifies the number of months the discount will be in effect.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"percent_off":{"oneOf":[{"description":"A positive float larger than 0, and smaller or equal to 100, that represents the discount the coupon will apply (required if amount_off is not passed).","type":"number","format":"double","example":10},{"description":"A positive float larger than 0, and smaller or equal to 100, that represents the discount the coupon will apply (required if amount_off is not passed).","type":"null","format":"double","example":10}]},"max_redemptions":{"oneOf":[{"description":"A positive integer specifying the number of times the coupon can be redeemed before it’s no longer valid.","type":"integer","format":"int32","maximum":2147483647,"example":100,"minimum":-2147483648},{"description":"A positive integer specifying the number of times the coupon can be redeemed before it’s no longer valid.","type":"null","format":"int32","maximum":2147483647,"example":100,"minimum":-2147483648}]},"metadata":{"oneOf":[{"description":"Metadata to attach to this coupon.","type":"object","example":{"key":"value"}},{"description":"Metadata to attach to this coupon.","type":"null","example":{"key":"value"}}]}},"example":{"applies_to":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"name":"Coupon","amount_off":100,"duration":"once","percent_off":10,"max_redemptions":100,"metadata":{"key":"value"}}}},"example":{"coupon_id":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","promo_code_id":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","coupon_data":{"applies_to":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"name":"Coupon","amount_off":100,"duration":"once","percent_off":10,"max_redemptions":100,"metadata":{"key":"value"}}}},"uniqueKey":"checkout_session.discounts.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.discounts","typeLabel":"object[] | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the session for storing additional structured information.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs you can attach to the session for storing additional structured information.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.metadata","typeLabel":"object | null"},"shipping_options":{"oneOf":[{"type":"object","description":"Shipping rate options to apply to the session. `null` to charge no shipping.","example":{"shipping_rate_id":"fshr_01J9XR8M3K7VZ8N2YB4WJ6T0RA","shipping_rate_data":{"display_name":"Example","amount":2500,"metadata":{"order_id":"8842","channel":"shopify"}}},"properties":{"shipping_rate_id":{"oneOf":[{"description":"ID of an existing shipping rate to apply. Provide this or `shipping_rate_data`.","type":"string","example":"fshr_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.shipping_options.oneOf.0.shipping_rate_id.oneOf.0","typeLabel":"string"},{"description":"ID of an existing shipping rate to apply. Provide this or `shipping_rate_data`.","type":"null","example":"fshr_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.shipping_options.oneOf.0.shipping_rate_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.shipping_options.oneOf.0.shipping_rate_id","typeLabel":"string | null"},"shipping_rate_data":{"oneOf":[{"type":"object","description":"Inline shipping rate parameters used to create a new shipping rate. Provide this or `shipping_rate_id`.","required":["amount","display_name"],"example":{"display_name":"Example","amount":2500,"metadata":{"order_id":"8842","channel":"shopify"}},"properties":{"display_name":{"description":"The name shown to the customer at checkout (e.g., `Standard Shipping`). Must be at least 2 characters.","type":"string","minLength":2,"example":"Example","isRequired":true,"uniqueKey":"checkout_session.shipping_options.oneOf.0.shipping_rate_data.oneOf.0.display_name","typeLabel":"string"},"amount":{"description":"The shipping cost, in the smallest currency unit (e.g., `500` = $5.00 USD). Charged in USD.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.shipping_options.oneOf.0.shipping_rate_data.oneOf.0.amount","typeLabel":"integer\u003cint32>"},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the shipping rate for storing additional structured information.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.shipping_options.oneOf.0.shipping_rate_data.oneOf.0.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs you can attach to the shipping rate for storing additional structured information.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.shipping_options.oneOf.0.shipping_rate_data.oneOf.0.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.shipping_options.oneOf.0.shipping_rate_data.oneOf.0.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.shipping_options.oneOf.0.shipping_rate_data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Inline shipping rate parameters used to create a new shipping rate. Provide this or `shipping_rate_id`.","uniqueKey":"checkout_session.shipping_options.oneOf.0.shipping_rate_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.shipping_options.oneOf.0.shipping_rate_data","typeLabel":"object | null"}},"uniqueKey":"checkout_session.shipping_options.oneOf.0","typeLabel":"object"},{"type":"null","description":"Shipping rate options to apply to the session. `null` to charge no shipping.","uniqueKey":"checkout_session.shipping_options.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.shipping_options","typeLabel":"object | null"},"shipping_address_collection":{"oneOf":[{"description":"When `true`, the hosted checkout page collects a shipping address from the customer. `null` defaults to `false`.","type":"boolean","example":false,"uniqueKey":"checkout_session.shipping_address_collection.oneOf.0","typeLabel":"boolean"},{"description":"When `true`, the hosted checkout page collects a shipping address from the customer. `null` defaults to `false`.","type":"null","example":false,"uniqueKey":"checkout_session.shipping_address_collection.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.shipping_address_collection","typeLabel":"boolean | null"},"subscription_data":{"oneOf":[{"type":"object","description":"Data used to create the subscription. Required when `mode` is `subscription`.","example":{"trial_end":"2026-06-15T14:30:00Z","cancel_at":"2026-06-15T14:30:00Z","cancel_at_period_end":false,"trial_period_days":0,"trial_settings":{"end_behavior":{"missing_payment_method":"cancel"}}},"properties":{"trial_end":{"oneOf":[{"type":"string","description":"ISO 8601 timestamp at which the trial period ends for the subscription created at checkout. Use this when you need a precise trial-end time — for example, a 6.5-day trial, or a trial that ends within an ad-network's attribution window. Mutually exclusive with `trial_period_days`; pass at most one.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.subscription_data.oneOf.0.trial_end.oneOf.0","typeLabel":"string"},{"type":"null","description":"ISO 8601 timestamp at which the trial period ends for the subscription created at checkout. Use this when you need a precise trial-end time — for example, a 6.5-day trial, or a trial that ends within an ad-network's attribution window. Mutually exclusive with `trial_period_days`; pass at most one.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.subscription_data.oneOf.0.trial_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription_data.oneOf.0.trial_end","typeLabel":"string | null"},"cancel_at":{"oneOf":[{"type":"string","description":"A future ISO 8601 timestamp at which the created subscription will automatically be canceled. Omit to leave the subscription open-ended.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.subscription_data.oneOf.0.cancel_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"A future ISO 8601 timestamp at which the created subscription will automatically be canceled. Omit to leave the subscription open-ended.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.subscription_data.oneOf.0.cancel_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription_data.oneOf.0.cancel_at","typeLabel":"string | null"},"cancel_at_period_end":{"oneOf":[{"description":"If `true`, the created subscription cancels at the end of its first billing period rather than renewing. Defaults to `false` when omitted.","type":"boolean","example":false,"uniqueKey":"checkout_session.subscription_data.oneOf.0.cancel_at_period_end.oneOf.0","typeLabel":"boolean"},{"description":"If `true`, the created subscription cancels at the end of its first billing period rather than renewing. Defaults to `false` when omitted.","type":"null","example":false,"uniqueKey":"checkout_session.subscription_data.oneOf.0.cancel_at_period_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription_data.oneOf.0.cancel_at_period_end","typeLabel":"boolean | null"},"trial_period_days":{"oneOf":[{"description":"Length of the trial period, in days, for the created subscription. Mutually exclusive with `trial_end`; pass at most one.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.subscription_data.oneOf.0.trial_period_days.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Length of the trial period, in days, for the created subscription. Mutually exclusive with `trial_end`; pass at most one.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.subscription_data.oneOf.0.trial_period_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription_data.oneOf.0.trial_period_days","typeLabel":"integer\u003cint32> | null"},"trial_settings":{"oneOf":[{"type":"object","description":"Optional Stripe-compatible trial-end behavior. Omit this object to preserve existing behavior. Currently, `cancel` is the only supported value.","required":["end_behavior"],"example":{"end_behavior":{"missing_payment_method":"cancel"}},"properties":{"end_behavior":{"description":"Behavior to apply when a trial ends.","type":"object","required":["missing_payment_method"],"properties":{"missing_payment_method":{"type":"string","enum":["cancel"],"x-ms-enum":{"name":"MissingPaymentMethodBehavior","modelAsString":false,"values":[{"value":"cancel","name":"Cancel","description":"Cancel the subscription when the trial ends."}]},"description":"What Stripe should do when the trial ends without a payment method.","example":"cancel","isRequired":true,"uniqueKey":"checkout_session.subscription_data.oneOf.0.trial_settings.oneOf.0.end_behavior.missing_payment_method","typeLabel":"enum\u003cstring>"}},"example":{"missing_payment_method":"cancel"},"isRequired":true,"uniqueKey":"checkout_session.subscription_data.oneOf.0.trial_settings.oneOf.0.end_behavior","typeLabel":"object"}},"uniqueKey":"checkout_session.subscription_data.oneOf.0.trial_settings.oneOf.0","typeLabel":"object"},{"type":"null","description":"Optional Stripe-compatible trial-end behavior. Omit this object to preserve existing behavior. Currently, `cancel` is the only supported value.","uniqueKey":"checkout_session.subscription_data.oneOf.0.trial_settings.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription_data.oneOf.0.trial_settings","typeLabel":"object | null"},"backup_payment_method":{"oneOf":[{"type":"string","description":"Collect a second card at checkout that Flex charges when a renewal on the primary card fails. `required` blocks checkout until the shopper provides one; `optional` lets the shopper skip it, but a card they enter that fails is reported. Omit to use the partner's `subscription_backup_payment_method` default.","enum":["required","optional"],"x-ms-enum":{"name":"BackupPaymentMethodRequirement","modelAsString":false,"values":[{"value":"required","name":"Required","description":"Checkout cannot complete without a backup card."},{"value":"optional","name":"Optional","description":"Checkout offers a backup card the shopper may skip. A card they enter that fails is reported, not dropped."}]},"example":"required","uniqueKey":"checkout_session.subscription_data.oneOf.0.backup_payment_method.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Collect a second card at checkout that Flex charges when a renewal on the primary card fails. `required` blocks checkout until the shopper provides one; `optional` lets the shopper skip it, but a card they enter that fails is reported. Omit to use the partner's `subscription_backup_payment_method` default.","uniqueKey":"checkout_session.subscription_data.oneOf.0.backup_payment_method.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription_data.oneOf.0.backup_payment_method","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"checkout_session.subscription_data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Data used to create the subscription. Required when `mode` is `subscription`.","uniqueKey":"checkout_session.subscription_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription_data","typeLabel":"object | null"},"tax_rate":{"oneOf":[{"type":"object","description":"A fixed tax amount to apply to the session. Use this to pass tax you have computed yourself instead of having Flex calculate it. `null` to apply no fixed tax.","required":["amount"],"example":{"amount":2500},"properties":{"amount":{"description":"The tax amount to apply, in the smallest currency unit (e.g., `175` = $1.75 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.tax_rate.oneOf.0.amount","typeLabel":"integer\u003cint32>"}},"uniqueKey":"checkout_session.tax_rate.oneOf.0","typeLabel":"object"},{"type":"null","description":"A fixed tax amount to apply to the session. Use this to pass tax you have computed yourself instead of having Flex calculate it. `null` to apply no fixed tax.","uniqueKey":"checkout_session.tax_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.tax_rate","typeLabel":"object | null"},"tax_calculation_mode":{"oneOf":[{"type":"string","description":"When Flex calculates tax, whether the provided amounts are `exclusive` or `inclusive` of tax. `null` means Flex does not calculate tax; pass `tax_rate` instead.","enum":["exclusive","inclusive"],"example":"exclusive","uniqueKey":"checkout_session.tax_calculation_mode.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"When Flex calculates tax, whether the provided amounts are `exclusive` or `inclusive` of tax. `null` means Flex does not calculate tax; pass `tax_rate` instead.","uniqueKey":"checkout_session.tax_calculation_mode.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.tax_calculation_mode","typeLabel":"enum\u003cstring> | null"},"setup_future_use":{"oneOf":[{"type":"string","description":"How the payment method may be used in the future. One of `on_session` (Default; standard payments requiring customer authentication) or `off_session` (allows future charges without the customer present). `null` defaults to `on_session`.","enum":["on_session","off_session"],"x-ms-enum":{"name":"FutureUse","modelAsString":false,"values":[{"value":"on_session","name":"OnSession","description":"Standard payments requiring customer auth"},{"value":"off_session","name":"OffSession","description":"Allows payments without the customer present in the flow"}]},"example":"on_session","uniqueKey":"checkout_session.setup_future_use.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"How the payment method may be used in the future. One of `on_session` (Default; standard payments requiring customer authentication) or `off_session` (allows future charges without the customer present). `null` defaults to `on_session`.","uniqueKey":"checkout_session.setup_future_use.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.setup_future_use","typeLabel":"enum\u003cstring> | null"},"payment_method_options":{"oneOf":[{"type":"object","description":"Payment method-specific options for the session, such as 3D Secure preferences.","example":{"card":{"request_three_d_secure":"automatic"}},"properties":{"card":{"oneOf":[{"type":"object","description":"Options that apply to card payments. `null` to use the defaults.","example":{"request_three_d_secure":"automatic"},"properties":{"request_three_d_secure":{"oneOf":[{"type":"string","description":"Whether to request 3D Secure authentication for card payments. One of `automatic` (Default; request only when required), `any` (request whenever supported), or `challenge` (request a customer challenge). `null` defaults to `automatic`.","enum":["automatic","any","challenge"],"example":"automatic","uniqueKey":"checkout_session.payment_method_options.oneOf.0.card.oneOf.0.request_three_d_secure.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Whether to request 3D Secure authentication for card payments. One of `automatic` (Default; request only when required), `any` (request whenever supported), or `challenge` (request a customer challenge). `null` defaults to `automatic`.","uniqueKey":"checkout_session.payment_method_options.oneOf.0.card.oneOf.0.request_three_d_secure.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_method_options.oneOf.0.card.oneOf.0.request_three_d_secure","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"checkout_session.payment_method_options.oneOf.0.card.oneOf.0","typeLabel":"object"},{"type":"null","description":"Options that apply to card payments. `null` to use the defaults.","uniqueKey":"checkout_session.payment_method_options.oneOf.0.card.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_method_options.oneOf.0.card","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_method_options.oneOf.0","typeLabel":"object"},{"type":"null","description":"Payment method-specific options for the session, such as 3D Secure preferences.","uniqueKey":"checkout_session.payment_method_options.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_method_options","typeLabel":"object | null"},"payment_method":{"oneOf":[{"type":"string","description":"A saved payment method to charge for an off-session checkout. Provide a single payment method ID, or a pair of payment methods for a split (HSA/FSA + standard) cart.","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_method.oneOf.0","typeLabel":"string"},{"type":"object","description":"A saved payment method to charge for an off-session checkout. Provide a single payment method ID, or a pair of payment methods for a split (HSA/FSA + standard) cart.","required":["eligible_payment_method","ineligible_payment_method"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"eligible_payment_method":{"description":"ID of the PaymentMethod used to charge the HSA/FSA-eligible portion of the cart.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_method.oneOf.1.eligible_payment_method","typeLabel":"string"},"ineligible_payment_method":{"description":"ID of the PaymentMethod used to charge the non-eligible portion of the cart.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_method.oneOf.1.ineligible_payment_method","typeLabel":"string"}},"uniqueKey":"checkout_session.payment_method.oneOf.1","typeLabel":"object"},{"type":"null","description":"A saved payment method to charge for an off-session checkout. Provide a single payment method ID, or a pair of payment methods for a split (HSA/FSA + standard) cart.","uniqueKey":"checkout_session.payment_method.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_method","typeLabel":"string | object | null"},"customer":{"oneOf":[{"description":"The ID of an existing Customer, or customer details to prefill the checkout page. `null` to leave the customer unset.","type":"string","uniqueKey":"checkout_session.customer.oneOf.0","typeLabel":"string"},{"description":"The ID of an existing Customer, or customer details to prefill the checkout page. `null` to leave the customer unset.","type":"null","uniqueKey":"checkout_session.customer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.customer","typeLabel":"string | null"},"fees":{"oneOf":[{"description":"Additional fees to add to the session, such as consultation or service fees. `null` to add none.","type":"array","items":{"description":"An additional fee to add to a Checkout Session, such as a consultation or service fee.","type":"object","required":["amount","fee_type"],"properties":{"amount":{"description":"The fee amount, in the smallest currency unit (e.g., `1500` = $15.00 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.fees.oneOf.0.items.[INDEX].amount","typeLabel":"integer\u003cint32>"},"fee_type":{"description":"The kind of fee. `lmn_consultation` is charged only when a Letter of Medical Necessity is required. A coupon scoped to either fee type can reduce that type's payable contribution.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation","isRequired":true,"uniqueKey":"checkout_session.fees.oneOf.0.items.[INDEX].fee_type","typeLabel":"enum\u003cstring>"},"name":{"oneOf":[{"description":"A short name for the fee, shown to the customer at checkout.","type":"string","example":"Example","uniqueKey":"checkout_session.fees.oneOf.0.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"description":"A short name for the fee, shown to the customer at checkout.","type":"null","example":"Example","uniqueKey":"checkout_session.fees.oneOf.0.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.fees.oneOf.0.items.[INDEX].name","typeLabel":"string | null"},"description":{"oneOf":[{"description":"A longer description of the fee, shown to the customer at checkout.","type":"string","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.fees.oneOf.0.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"description":"A longer description of the fee, shown to the customer at checkout.","type":"null","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.fees.oneOf.0.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.fees.oneOf.0.items.[INDEX].description","typeLabel":"string | null"}},"example":{"name":"Example","description":"Premium SPF 50 mineral sunscreen","amount":2500,"fee_type":"lmn_consultation"},"uniqueKey":"checkout_session.fees.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"checkout_session.fees.oneOf.0","typeLabel":"object[]"},{"description":"Additional fees to add to the session, such as consultation or service fees. `null` to add none.","type":"null","items":{"description":"An additional fee to add to a Checkout Session, such as a consultation or service fee.","type":"object","required":["amount","fee_type"],"properties":{"name":{"oneOf":[{"description":"A short name for the fee, shown to the customer at checkout.","type":"string","example":"Example"},{"description":"A short name for the fee, shown to the customer at checkout.","type":"null","example":"Example"}]},"description":{"oneOf":[{"description":"A longer description of the fee, shown to the customer at checkout.","type":"string","example":"Premium SPF 50 mineral sunscreen"},{"description":"A longer description of the fee, shown to the customer at checkout.","type":"null","example":"Premium SPF 50 mineral sunscreen"}]},"amount":{"description":"The fee amount, in the smallest currency unit (e.g., `1500` = $15.00 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"fee_type":{"description":"The kind of fee. `lmn_consultation` is charged only when a Letter of Medical Necessity is required. A coupon scoped to either fee type can reduce that type's payable contribution.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation"}},"example":{"name":"Example","description":"Premium SPF 50 mineral sunscreen","amount":2500,"fee_type":"lmn_consultation"}},"uniqueKey":"checkout_session.fees.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.fees","typeLabel":"object[] | null"},"custom_text":{"oneOf":[{"type":"object","description":"Custom text to display to the customer on the hosted checkout page. `null` to use the default text.","example":{"after_submit":{"message":"Premium SPF 50 mineral sunscreen"},"shipping_address":{"message":"Premium SPF 50 mineral sunscreen"},"submit":{"message":"Premium SPF 50 mineral sunscreen"},"terms_of_service_acceptance":{"message":"Premium SPF 50 mineral sunscreen"},"terms_of_service_checkbox_required":false,"payment":{"message":"Premium SPF 50 mineral sunscreen"}},"properties":{"after_submit":{"oneOf":[{"type":"object","description":"Custom text shown after the customer submits payment. `null` to use the default.","required":["message"],"example":{"message":"Premium SPF 50 mineral sunscreen"},"properties":{"message":{"description":"The actual text message (plain text only, 1-1200 characters)","type":"string","maxLength":1200,"minLength":1,"example":"Premium SPF 50 mineral sunscreen","isRequired":true,"uniqueKey":"checkout_session.custom_text.oneOf.0.after_submit.oneOf.0.message","typeLabel":"string"}},"uniqueKey":"checkout_session.custom_text.oneOf.0.after_submit.oneOf.0","typeLabel":"object"},{"type":"null","description":"Custom text shown after the customer submits payment. `null` to use the default.","uniqueKey":"checkout_session.custom_text.oneOf.0.after_submit.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.custom_text.oneOf.0.after_submit","typeLabel":"object | null"},"shipping_address":{"oneOf":[{"type":"object","description":"Custom text shown in the shipping address collection section. `null` to use the default.","required":["message"],"example":{"message":"Premium SPF 50 mineral sunscreen"},"properties":{"message":{"description":"The actual text message (plain text only, 1-1200 characters)","type":"string","maxLength":1200,"minLength":1,"example":"Premium SPF 50 mineral sunscreen","isRequired":true,"uniqueKey":"checkout_session.custom_text.oneOf.0.shipping_address.oneOf.0.message","typeLabel":"string"}},"uniqueKey":"checkout_session.custom_text.oneOf.0.shipping_address.oneOf.0","typeLabel":"object"},{"type":"null","description":"Custom text shown in the shipping address collection section. `null` to use the default.","uniqueKey":"checkout_session.custom_text.oneOf.0.shipping_address.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.custom_text.oneOf.0.shipping_address","typeLabel":"object | null"},"submit":{"oneOf":[{"type":"object","description":"Custom text shown near the submit (pay) button. `null` to use the default.","required":["message"],"example":{"message":"Premium SPF 50 mineral sunscreen"},"properties":{"message":{"description":"The actual text message (plain text only, 1-1200 characters)","type":"string","maxLength":1200,"minLength":1,"example":"Premium SPF 50 mineral sunscreen","isRequired":true,"uniqueKey":"checkout_session.custom_text.oneOf.0.submit.oneOf.0.message","typeLabel":"string"}},"uniqueKey":"checkout_session.custom_text.oneOf.0.submit.oneOf.0","typeLabel":"object"},{"type":"null","description":"Custom text shown near the submit (pay) button. `null` to use the default.","uniqueKey":"checkout_session.custom_text.oneOf.0.submit.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.custom_text.oneOf.0.submit","typeLabel":"object | null"},"terms_of_service_acceptance":{"oneOf":[{"type":"object","description":"Custom text shown alongside the terms of service acceptance. `null` to use the default.","required":["message"],"example":{"message":"Premium SPF 50 mineral sunscreen"},"properties":{"message":{"description":"The actual text message (plain text only, 1-1200 characters)","type":"string","maxLength":1200,"minLength":1,"example":"Premium SPF 50 mineral sunscreen","isRequired":true,"uniqueKey":"checkout_session.custom_text.oneOf.0.terms_of_service_acceptance.oneOf.0.message","typeLabel":"string"}},"uniqueKey":"checkout_session.custom_text.oneOf.0.terms_of_service_acceptance.oneOf.0","typeLabel":"object"},{"type":"null","description":"Custom text shown alongside the terms of service acceptance. `null` to use the default.","uniqueKey":"checkout_session.custom_text.oneOf.0.terms_of_service_acceptance.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.custom_text.oneOf.0.terms_of_service_acceptance","typeLabel":"object | null"},"terms_of_service_checkbox_required":{"oneOf":[{"description":"Whether the customer must check a terms of service checkbox before paying. `null` to use the default.","type":"boolean","example":false,"uniqueKey":"checkout_session.custom_text.oneOf.0.terms_of_service_checkbox_required.oneOf.0","typeLabel":"boolean"},{"description":"Whether the customer must check a terms of service checkbox before paying. `null` to use the default.","type":"null","example":false,"uniqueKey":"checkout_session.custom_text.oneOf.0.terms_of_service_checkbox_required.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.custom_text.oneOf.0.terms_of_service_checkbox_required","typeLabel":"boolean | null"},"payment":{"oneOf":[{"type":"object","description":"Custom text shown in the payment section. `null` to use the default.","required":["message"],"example":{"message":"Premium SPF 50 mineral sunscreen"},"properties":{"message":{"description":"The actual text message (plain text only, 1-1200 characters)","type":"string","maxLength":1200,"minLength":1,"example":"Premium SPF 50 mineral sunscreen","isRequired":true,"uniqueKey":"checkout_session.custom_text.oneOf.0.payment.oneOf.0.message","typeLabel":"string"}},"uniqueKey":"checkout_session.custom_text.oneOf.0.payment.oneOf.0","typeLabel":"object"},{"type":"null","description":"Custom text shown in the payment section. `null` to use the default.","uniqueKey":"checkout_session.custom_text.oneOf.0.payment.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.custom_text.oneOf.0.payment","typeLabel":"object | null"}},"uniqueKey":"checkout_session.custom_text.oneOf.0","typeLabel":"object"},{"type":"null","description":"Custom text to display to the customer on the hosted checkout page. `null` to use the default text.","uniqueKey":"checkout_session.custom_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.custom_text","typeLabel":"object | null"}},"example":{"allow_promotion_codes":false,"line_items":[{"price":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","price_data":{"description":"Premium SPF 50 mineral sunscreen","unit_amount":2500,"recurring":{"interval":"day","interval_count":0,"trial_period_days":0},"metadata":{"order_id":"8842","channel":"shopify"},"product":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","product_data":{"name":"Example","description":"Premium SPF 50 mineral sunscreen","upc_code":"example_value","gtin":"example_value","reference_gtin":"example_value","url":"https://example.com","client_reference_id":"example_value","metadata":{"order_id":"8842","channel":"shopify"},"image_urls":["https://example.com/image.png"],"categories":["string"],"components":["string"]}},"quantity":0,"shipping_options":{"shipping_rate_id":"fshr_01J9XR8M3K7VZ8N2YB4WJ6T0RA","shipping_rate_data":{"display_name":"Example","amount":2500,"metadata":{"order_id":"8842","channel":"shopify"}}},"tax_rate":{"amount":2500},"components":[{"quantity":1,"dressing_mode":"MIXED","component_id":"fcomp_01J9XR8M3K7VZ8N2YB4WJ6T0RA","client_reference_id":"string"}]}],"cancel_url":"https://example.com","capture_method":"automatic","client_reference_id":"example_value","defaults":{"customer_id":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","email":"john.doe@example.com","first_name":"John","last_name":"Doe","phone":"+14155550142"},"discounts":[{"coupon_id":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","promo_code_id":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","coupon_data":{"applies_to":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"name":"Coupon","amount_off":100,"duration":"once","percent_off":10,"max_redemptions":100,"metadata":{"key":"value"}}}],"mode":"payment","metadata":{"order_id":"8842","channel":"shopify"},"shipping_options":{"shipping_rate_id":"fshr_01J9XR8M3K7VZ8N2YB4WJ6T0RA","shipping_rate_data":{"display_name":"Example","amount":2500,"metadata":{"order_id":"8842","channel":"shopify"}}},"shipping_address_collection":false,"subscription_data":{"trial_end":"2026-06-15T14:30:00Z","cancel_at":"2026-06-15T14:30:00Z","cancel_at_period_end":false,"trial_period_days":0,"trial_settings":{"end_behavior":{"missing_payment_method":"cancel"}}},"success_url":"https://example.com","tax_rate":{"amount":2500},"tax_calculation_mode":"exclusive","setup_future_use":"on_session","payment_method_options":{"card":{"request_three_d_secure":"automatic"}},"payment_method":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"string","fees":[{"name":"Example","description":"Premium SPF 50 mineral sunscreen","amount":2500,"fee_type":"lmn_consultation"}],"custom_text":{"after_submit":{"message":"Premium SPF 50 mineral sunscreen"},"shipping_address":{"message":"Premium SPF 50 mineral sunscreen"},"submit":{"message":"Premium SPF 50 mineral sunscreen"},"terms_of_service_acceptance":{"message":"Premium SPF 50 mineral sunscreen"},"terms_of_service_checkbox_required":false,"payment":{"message":"Premium SPF 50 mineral sunscreen"}}},"isRequired":true,"uniqueKey":"checkout_session","typeLabel":"object"}},"example":{"checkout_session":{"allow_promotion_codes":false,"line_items":[{"price":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","price_data":{"description":"Premium SPF 50 mineral sunscreen","unit_amount":2500,"recurring":{"interval":"day","interval_count":0,"trial_period_days":0},"metadata":{"order_id":"8842","channel":"shopify"},"product":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","product_data":{"name":"Example","description":"Premium SPF 50 mineral sunscreen","upc_code":"example_value","gtin":"example_value","reference_gtin":"example_value","url":"https://example.com","client_reference_id":"example_value","metadata":{"order_id":"8842","channel":"shopify"},"image_urls":["https://example.com/image.png"],"categories":["string"],"components":["string"]}},"quantity":0,"shipping_options":{"shipping_rate_id":"fshr_01J9XR8M3K7VZ8N2YB4WJ6T0RA","shipping_rate_data":{"display_name":"Example","amount":2500,"metadata":{"order_id":"8842","channel":"shopify"}}},"tax_rate":{"amount":2500},"components":[{"quantity":1,"dressing_mode":"MIXED","component_id":"fcomp_01J9XR8M3K7VZ8N2YB4WJ6T0RA","client_reference_id":"string"}]}],"cancel_url":"https://example.com","capture_method":"automatic","client_reference_id":"example_value","defaults":{"customer_id":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","email":"john.doe@example.com","first_name":"John","last_name":"Doe","phone":"+14155550142"},"discounts":[{"coupon_id":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","promo_code_id":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","coupon_data":{"applies_to":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"name":"Coupon","amount_off":100,"duration":"once","percent_off":10,"max_redemptions":100,"metadata":{"key":"value"}}}],"mode":"payment","metadata":{"order_id":"8842","channel":"shopify"},"shipping_options":{"shipping_rate_id":"fshr_01J9XR8M3K7VZ8N2YB4WJ6T0RA","shipping_rate_data":{"display_name":"Example","amount":2500,"metadata":{"order_id":"8842","channel":"shopify"}}},"shipping_address_collection":false,"subscription_data":{"trial_end":"2026-06-15T14:30:00Z","cancel_at":"2026-06-15T14:30:00Z","cancel_at_period_end":false,"trial_period_days":0,"trial_settings":{"end_behavior":{"missing_payment_method":"cancel"}}},"success_url":"https://example.com","tax_rate":{"amount":2500},"tax_calculation_mode":"exclusive","setup_future_use":"on_session","payment_method_options":{"card":{"request_three_d_secure":"automatic"}},"payment_method":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"string","fees":[{"name":"Example","description":"Premium SPF 50 mineral sunscreen","amount":2500,"fee_type":"lmn_consultation"}],"custom_text":{"after_submit":{"message":"Premium SPF 50 mineral sunscreen"},"shipping_address":{"message":"Premium SPF 50 mineral sunscreen"},"submit":{"message":"Premium SPF 50 mineral sunscreen"},"terms_of_service_acceptance":{"message":"Premium SPF 50 mineral sunscreen"},"terms_of_service_checkbox_required":false,"payment":{"message":"Premium SPF 50 mineral sunscreen"}}}},"uniqueKey":"","typeLabel":"object"},"example":{"checkout_session":{"allow_promotion_codes":false,"line_items":[{"price":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","price_data":{"description":"Premium SPF 50 mineral sunscreen","unit_amount":2500,"recurring":{"interval":"day","interval_count":0,"trial_period_days":0},"metadata":{"order_id":"8842","channel":"shopify"},"product":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","product_data":{"name":"Example","description":"Premium SPF 50 mineral sunscreen","upc_code":"example_value","gtin":"example_value","reference_gtin":"example_value","url":"https://example.com","client_reference_id":"example_value","metadata":{"order_id":"8842","channel":"shopify"},"image_urls":["https://example.com/image.png"],"categories":["string"],"components":["string"]}},"quantity":0,"shipping_options":{"shipping_rate_id":"fshr_01J9XR8M3K7VZ8N2YB4WJ6T0RA","shipping_rate_data":{"display_name":"Example","amount":2500,"metadata":{"order_id":"8842","channel":"shopify"}}},"tax_rate":{"amount":2500},"components":[{"quantity":1,"dressing_mode":"MIXED","component_id":"fcomp_01J9XR8M3K7VZ8N2YB4WJ6T0RA","client_reference_id":"string"}]}],"cancel_url":"https://example.com","capture_method":"automatic","client_reference_id":"example_value","defaults":{"customer_id":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","email":"john.doe@example.com","first_name":"John","last_name":"Doe","phone":"+14155550142"},"discounts":[{"coupon_id":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","promo_code_id":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","coupon_data":{"applies_to":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"name":"Coupon","amount_off":100,"duration":"once","percent_off":10,"max_redemptions":100,"metadata":{"key":"value"}}}],"mode":"payment","metadata":{"order_id":"8842","channel":"shopify"},"shipping_options":{"shipping_rate_id":"fshr_01J9XR8M3K7VZ8N2YB4WJ6T0RA","shipping_rate_data":{"display_name":"Example","amount":2500,"metadata":{"order_id":"8842","channel":"shopify"}}},"shipping_address_collection":false,"subscription_data":{"trial_end":"2026-06-15T14:30:00Z","cancel_at":"2026-06-15T14:30:00Z","cancel_at_period_end":false,"trial_period_days":0,"trial_settings":{"end_behavior":{"missing_payment_method":"cancel"}}},"success_url":"https://example.com","tax_rate":{"amount":2500},"tax_calculation_mode":"exclusive","setup_future_use":"on_session","payment_method_options":{"card":{"request_three_d_secure":"automatic"}},"payment_method":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"string","fees":[{"name":"Example","description":"Premium SPF 50 mineral sunscreen","amount":2500,"fee_type":"lmn_consultation"}],"custom_text":{"after_submit":{"message":"Premium SPF 50 mineral sunscreen"},"shipping_address":{"message":"Premium SPF 50 mineral sunscreen"},"submit":{"message":"Premium SPF 50 mineral sunscreen"},"terms_of_service_acceptance":{"message":"Premium SPF 50 mineral sunscreen"},"terms_of_service_checkbox_required":false,"payment":{"message":"Premium SPF 50 mineral sunscreen"}}}},"examples":{"Example":{"title":"Example","value":{"checkout_session":{"allow_promotion_codes":false,"line_items":[{"price":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","price_data":{"description":"Premium SPF 50 mineral sunscreen","unit_amount":2500,"recurring":{"interval":"day","interval_count":0,"trial_period_days":0},"metadata":{"order_id":"8842","channel":"shopify"},"product":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","product_data":{"name":"Example","description":"Premium SPF 50 mineral sunscreen","upc_code":"example_value","gtin":"example_value","reference_gtin":"example_value","url":"https://example.com","client_reference_id":"example_value","metadata":{"order_id":"8842","channel":"shopify"},"image_urls":["https://example.com/image.png"],"categories":["string"],"components":["string"]}},"quantity":0,"shipping_options":{"shipping_rate_id":"fshr_01J9XR8M3K7VZ8N2YB4WJ6T0RA","shipping_rate_data":{"display_name":"Example","amount":2500,"metadata":{"order_id":"8842","channel":"shopify"}}},"tax_rate":{"amount":2500},"components":[{"quantity":1,"dressing_mode":"MIXED","component_id":"fcomp_01J9XR8M3K7VZ8N2YB4WJ6T0RA","client_reference_id":"string"}]}],"cancel_url":"https://example.com","capture_method":"automatic","client_reference_id":"example_value","defaults":{"customer_id":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","email":"john.doe@example.com","first_name":"John","last_name":"Doe","phone":"+14155550142"},"discounts":[{"coupon_id":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","promo_code_id":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","coupon_data":{"applies_to":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"name":"Coupon","amount_off":100,"duration":"once","percent_off":10,"max_redemptions":100,"metadata":{"key":"value"}}}],"mode":"payment","metadata":{"order_id":"8842","channel":"shopify"},"shipping_options":{"shipping_rate_id":"fshr_01J9XR8M3K7VZ8N2YB4WJ6T0RA","shipping_rate_data":{"display_name":"Example","amount":2500,"metadata":{"order_id":"8842","channel":"shopify"}}},"shipping_address_collection":false,"subscription_data":{"trial_end":"2026-06-15T14:30:00Z","cancel_at":"2026-06-15T14:30:00Z","cancel_at_period_end":false,"trial_period_days":0,"trial_settings":{"end_behavior":{"missing_payment_method":"cancel"}}},"success_url":"https://example.com","tax_rate":{"amount":2500},"tax_calculation_mode":"exclusive","setup_future_use":"on_session","payment_method_options":{"card":{"request_three_d_secure":"automatic"}},"payment_method":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"string","fees":[{"name":"Example","description":"Premium SPF 50 mineral sunscreen","amount":2500,"fee_type":"lmn_consultation"}],"custom_text":{"after_submit":{"message":"Premium SPF 50 mineral sunscreen"},"shipping_address":{"message":"Premium SPF 50 mineral sunscreen"},"submit":{"message":"Premium SPF 50 mineral sunscreen"},"terms_of_service_acceptance":{"message":"Premium SPF 50 mineral sunscreen"},"terms_of_service_checkbox_required":false,"payment":{"message":"Premium SPF 50 mineral sunscreen"}}}}}},"exampleType":"examples"}},"required":true,"exampleType":"examples"},"responses":{"1f09e7ac-2fa9-40ef-bca8-6968bc3d715e":{"description":"An envelope wrapping a single checkout session object.","content":{"application/json":{"schema":{"description":"An envelope wrapping a single checkout session object.","type":"object","required":["checkout_session"],"properties":{"checkout_session":{"description":"The checkout session payload.","type":"object","required":["allow_promotion_codes","amount_subtotal","amount_total","capture_method","captures","checkout_session_id","created_at","expires_at","hsa_fsa_eligible","letter_of_medical_necessity_required","mode","redirect_url","refunds","shipping_address_collection","status","success_url","test_mode","total_details"],"properties":{"allow_promotion_codes":{"description":"Whether promotion codes can be applied to the checkout session.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.allow_promotion_codes","typeLabel":"boolean"},"amount_total":{"description":"The total amount of the checkout session.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.amount_total","typeLabel":"integer\u003cint32>"},"amount_subtotal":{"description":"The subtotal amount of the checkout session.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.amount_subtotal","typeLabel":"integer\u003cint32>"},"captures":{"description":"A list of captures associated with the checkout session.","type":"array","items":{"oneOf":[{"type":"string","description":"An expandable field — either a string ID or an expanded V1Capture object.","example":"fcap_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"object","description":"An expandable field — either a string ID or an expanded V1Capture object.","required":["amount_captured","capture_id","created_at","items","test_mode"],"example":"fcap_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"amount_captured":{"description":"The total amount captured from the capture request","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.amount_captured","typeLabel":"integer\u003cint32>"},"capture_id":{"description":"The unique identifier for the capture.","type":"string","example":"fcap_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.capture_id","typeLabel":"string"},"created_at":{"description":"The created at timestamp for the capture","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.created_at","typeLabel":"string"},"items":{"description":"The items associated with the capture","type":"array","items":{"description":"A CaptureItem represents the portion of a single line item that was captured as part of a Capture, including the amount taken and the price and payment intent it was settled against.","type":"object","required":["amount_captured","capture_item_id","created_at","test_mode"],"properties":{"amount_captured":{"description":"The amount captured that is associated with this specific capture item","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].amount_captured","typeLabel":"integer\u003cint32>"},"capture_item_id":{"description":"The unique identifier for the capture item.","type":"string","example":"fcapi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].capture_item_id","typeLabel":"string"},"created_at":{"description":"The created at timestamp for the capture item","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].created_at","typeLabel":"string"},"test_mode":{"description":"Whether the capture item is in test mode","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].test_mode","typeLabel":"boolean"},"price":{"oneOf":[{"type":"string","description":"The price id associated with the capture item","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.0","typeLabel":"string"},{"type":"object","description":"The price id associated with the capture item","required":["active","created_at","price_id","product","test_mode","type","unit_amount"],"example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"price_id":{"description":"The unique identifier for the price.","type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.price_id","typeLabel":"string"},"unit_amount":{"description":"The amount to charge per unit, in the smallest currency unit (e.g., `2500` = $25.00 USD).","type":"integer","format":"int32","minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.unit_amount","typeLabel":"integer\u003cint32>"},"active":{"description":"Whether the price is currently active.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.active","typeLabel":"boolean"},"product":{"oneOf":[{"type":"string","description":"The product this price belongs to. Returned as a product ID by default, or as the full Product object when expanded.","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.0","typeLabel":"string"},{"type":"object","description":"The product this price belongs to. Returned as a product ID by default, or as the full Product object when expanded.","required":["active","created_at","hsa_fsa_eligibility","name","product_id","test_mode"],"example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"product_id":{"description":"The unique identifier for the product.","type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.product_id","typeLabel":"string"},"name":{"description":"The name of the product.","type":"string","example":"Example","isRequired":true,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.name","typeLabel":"string"},"created_at":{"description":"The date the product was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.created_at","typeLabel":"string"},"active":{"description":"Determines if the product is active or not.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.active","typeLabel":"boolean"},"hsa_fsa_eligibility":{"description":"The elegibility of the product for HSA/FSA.","type":"string","enum":["not_eligible","auto_substantiation","private_label","letter_of_medical_necessity","prescription","vision","service","pending"],"example":"not_eligible","isRequired":true,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.hsa_fsa_eligibility","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the product is in test mode or not.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The ID of the account that owns this product. For products shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the account that owns this product. For products shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"null","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.owner_partner_id","typeLabel":"string | null"},"description":{"oneOf":[{"description":"The description of the product.","type":"string","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.description.oneOf.0","typeLabel":"string"},{"description":"The description of the product.","type":"null","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.description","typeLabel":"string | null"},"document_description":{"oneOf":[{"description":"Medical-grade description optimized for use in Letters of Medical Necessity and receipts.","deprecated":true,"type":"string","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.document_description.oneOf.0","typeLabel":"string"},{"description":"Medical-grade description optimized for use in Letters of Medical Necessity and receipts.","deprecated":true,"type":"null","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.document_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.document_description","typeLabel":"string | null"},"receipt_description":{"oneOf":[{"description":"Shortened description tailored to receipt line items","type":"string","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.receipt_description.oneOf.0","typeLabel":"string"},{"description":"Shortened description tailored to receipt line items","type":"null","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.receipt_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.receipt_description","typeLabel":"string | null"},"visit_type":{"oneOf":[{"type":"string","description":"The visit type of the product if a letter of medical necessity is required.","enum":["cbtSleep","notApplicable","metabolomics","tinnitus","gym","exerciseDiet","orthopedic","alcohol","airPurification","vaginalHealth","menstrual","canopy","alopecia","genate","weightBlanket","bedJet","siderAl","sunwinkPowder","wavWatch","bodyComplete","ageRate","nitrousOxide","happyV","groupChat","icalmAnxiety","redBloom","foodom","branchErgonomicFurniture","curalife","eloraInfantWellness","nutriHealth","olipop","goldIntimate","touchStoneEssentials","utiva","sleepGeekz","figBrew","auBabyBlanket","babySleepSack","oshWellness","currentBodyRedLight","mito","circularRing","lymaRedLight","goodAirRx","tastermonial","karunaHome","ergoStandingChair","jbaGlucoseControl","bloomNutrition","buoyDrops","luxeWonderWig","saunaMarketplace","amrioreEyewear","pivotOrthoShoe","lumenCynergy","roga","pulsetto","mitoRedLight","gutPersonal","goFlaus","myHixel","calmigo","dotFit","stripesBeauty","mixHers","pmd","positivityWithPurpose","techRing","popVeneers","vertaClean","lumen","medicalMeal","emnHealth","detergentAllergy","lowImpactExercise","mediumImpactExercise","highImpactExercise","gardening","babyCarrier","smartGlasses","automatedCleaner","uvClothing","adaptiveShoes","breathWork","nonenalOdor","meneralsNootropicPouch","babyMonitorSplit","babySleepApp","coolingSleepwear","bodyPillow","uvGlasses","nursingChairs","coolingBed","posture","supplements","sleep","redLightTherapy","fitness","smartRing","womensVaginalHealth","fertilitySupport","femaleReproduction","femaleReproductionFood","pregnancyLiterature","iceBath","orthopedicShoes","sexualHealth","glucose","metabolicTest","skinCare","oralHealth","oralAnxiety","blueLightGlasses","anxiety","brainHealth","babyMonitor","compressionSocks","compressionShorts","waterPurification","medSpa","essentialOils","sleepBuds","latchLight","nutritionist","rairflow","enduranceTraining","hydration","hairGrowth","eD","postureFitness","childDevelopment","adaptiveClothing","sleepConsulting","hairRemoval","menopause","maleFertility","anxietyHealth","bidets","speechHealth","artOfLiving","breastMilk","petSupport","diapers","gutSupplements","smartWatch","medicalBotox","biomechanicalAssessment","erectileReset","femaleOrgasm","pornAddiction","memorySupport","oralHealthMasticGum","orthopedicSandals","childDevelopmentAnxietySleep","childDevelopmentAdjustment","childDevelopmentBehavior","childDevelopmentIdentity","emnHealthMobility","adaptiveShoesDependent","speechHealthDependent","breathWorkDependent"],"example":"cbtSleep","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.visit_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The visit type of the product if a letter of medical necessity is required.","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.visit_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.visit_type","typeLabel":"enum\u003cstring> | null"},"upc_code":{"oneOf":[{"description":"The upc code of the product.","type":"string","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.upc_code.oneOf.0","typeLabel":"string"},{"description":"The upc code of the product.","type":"null","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.upc_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.upc_code","typeLabel":"string | null"},"gtin":{"oneOf":[{"description":"The gtin code of the product.","type":"string","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.gtin.oneOf.0","typeLabel":"string"},{"description":"The gtin code of the product.","type":"null","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.gtin.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.gtin","typeLabel":"string | null"},"reference_gtin":{"oneOf":[{"description":"The GTIN of a private-label reference product, used to establish HSA/FSA eligibility.","type":"string","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.reference_gtin.oneOf.0","typeLabel":"string"},{"description":"The GTIN of a private-label reference product, used to establish HSA/FSA eligibility.","type":"null","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.reference_gtin.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.reference_gtin","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the product.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the product.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata","typeLabel":"object | null"},"url":{"oneOf":[{"description":"The URL of the product.","type":"string","example":"https://example.com","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.url.oneOf.0","typeLabel":"string"},{"description":"The URL of the product.","type":"null","example":"https://example.com","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.url","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"An optional identifier for the product set by the client at creation time. Immutable after creation.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"An optional identifier for the product set by the client at creation time. Immutable after creation.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.client_reference_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.product","typeLabel":"string | object"},"created_at":{"description":"The date the price was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.created_at","typeLabel":"string"},"type":{"description":"The type of the price: a single one-time charge, or a recurring charge billed on a schedule.","type":"string","enum":["one_time","recurring"],"example":"one_time","isRequired":true,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.type","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the price is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The ID of the account that owns this price. For prices shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the account that owns this price. For prices shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"null","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.owner_partner_id","typeLabel":"string | null"},"description":{"oneOf":[{"description":"The description of the price.","type":"string","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.description.oneOf.0","typeLabel":"string"},{"description":"The description of the price.","type":"null","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.description","typeLabel":"string | null"},"trial_period_days":{"oneOf":[{"description":"The number of trial period days before the customer is first charged for a recurring price.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.trial_period_days.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The number of trial period days before the customer is first charged for a recurring price.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.trial_period_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.trial_period_days","typeLabel":"integer\u003cint32> | null"},"recurring":{"oneOf":[{"type":"object","description":"The recurring components of a price such as interval and trial period days.","required":["interval"],"example":{"interval":"day","interval_count":0,"trial_period_days":0},"properties":{"interval":{"description":"The billing cadence for the price.","type":"string","enum":["day","week","month","year"],"example":"day","isRequired":true,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval","typeLabel":"enum\u003cstring>"},"interval_count":{"oneOf":[{"description":"The number of intervals","type":"integer","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval_count.oneOf.0","typeLabel":"integer\u003cint64>"},{"description":"The number of intervals","type":"null","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval_count","typeLabel":"integer\u003cint64> | null"},"trial_period_days":{"oneOf":[{"description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","type":"integer","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.trial_period_days.oneOf.0","typeLabel":"integer\u003cint64>"},{"description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","type":"null","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.trial_period_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.trial_period_days","typeLabel":"integer\u003cint64> | null"}},"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0","typeLabel":"object"},{"type":"null","description":"The recurring components of a price such as interval and trial period days.","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata information for the price object","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata information for the price object","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.metadata","typeLabel":"object | null"},"lookup_key":{"oneOf":[{"description":"A stable, partner-owned key for this price. Unique per account and mode across all prices, archived ones included. `null` until you set one.","type":"string","maxLength":200,"example":"standard_monthly","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.lookup_key.oneOf.0","typeLabel":"string"},{"description":"A stable, partner-owned key for this price. Unique per account and mode across all prices, archived ones included. `null` until you set one.","type":"null","maxLength":200,"example":"standard_monthly","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.lookup_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.lookup_key","typeLabel":"string | null"},"hsa_fsa_eligibility":{"oneOf":[{"type":"string","description":"The HSA/FSA eligibility for the price.","enum":["not_eligible","auto_substantiation","private_label","letter_of_medical_necessity","prescription","vision","service","pending"],"example":"not_eligible","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.hsa_fsa_eligibility.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The HSA/FSA eligibility for the price.","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.hsa_fsa_eligibility.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1.hsa_fsa_eligibility","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.1","typeLabel":"object"},{"type":"null","description":"The price id associated with the capture item","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].price","typeLabel":"string | object | null"},"payment_intent":{"oneOf":[{"description":"ID of the PaymentIntent that this capture item was settled against. `null` if no payment intent is associated with the item.","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_intent.oneOf.0","typeLabel":"string"},{"description":"ID of the PaymentIntent that this capture item was settled against. `null` if no payment intent is associated with the item.","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_intent.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_intent","typeLabel":"string | null"}},"example":{"amount_captured":2500,"capture_item_id":"fcapi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","created_at":"2026-06-15T14:30:00Z","price":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","payment_intent":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false},"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.\\items","typeLabel":"object[]"},"test_mode":{"description":"Whether the capture is in test mode","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.test_mode","typeLabel":"boolean"},"amount_shipping_captured":{"oneOf":[{"description":"The shipping amount captured","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.amount_shipping_captured.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The shipping amount captured","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.amount_shipping_captured.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.amount_shipping_captured","typeLabel":"integer\u003cint32> | null"},"amount_discount_captured":{"oneOf":[{"description":"The discount amount captured","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.amount_discount_captured.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The discount amount captured","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.amount_discount_captured.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.amount_discount_captured","typeLabel":"integer\u003cint32> | null"},"amount_tax_captured":{"oneOf":[{"description":"The tax amount captured","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.amount_tax_captured.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The tax amount captured","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.amount_tax_captured.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.amount_tax_captured","typeLabel":"integer\u003cint32> | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the capture","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the capture","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.captures.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"checkout_session.captures.items.[INDEX]","typeLabel":"string | object"},"isRequired":true,"uniqueKey":"checkout_session.captures","typeLabel":"(string | object)[]"},"capture_method":{"description":"Controls when funds are captured from the customer's account. One of `automatic` or `automatic_async` (capture immediately when the customer pays), or `manual` (authorize the payment and require a later capture via the capture endpoint).","type":"string","enum":["automatic","automatic_async","manual"],"example":"automatic","isRequired":true,"uniqueKey":"checkout_session.capture_method","typeLabel":"enum\u003cstring>"},"checkout_session_id":{"description":"The ID of the Checkout Session.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.checkout_session_id","typeLabel":"string"},"created_at":{"description":"Time at which the Checkout Session was created, as a Unix timestamp in seconds.","type":"integer","format":"int64","example":2500,"minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"checkout_session.created_at","typeLabel":"integer\u003cint64>"},"expires_at":{"description":"The time at which the Checkout Session will expire.","type":"integer","format":"int64","example":2500,"minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"checkout_session.expires_at","typeLabel":"integer\u003cint64>"},"hsa_fsa_eligible":{"description":"Whether the Checkout Session is HSA/FSA eligible.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.hsa_fsa_eligible","typeLabel":"boolean"},"letter_of_medical_necessity_required":{"description":"Whether a letter of medical necessity is required for this Checkout Session.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.letter_of_medical_necessity_required","typeLabel":"boolean"},"mode":{"description":"The mode of the Checkout Session.","type":"string","enum":["payment","subscription","off_session","setup","reimbursement"],"example":"payment","isRequired":true,"uniqueKey":"checkout_session.mode","typeLabel":"enum\u003cstring>"},"redirect_url":{"description":"The URL to redirect to access the checkout session.","type":"string","format":"uri","example":"https://example.com","isRequired":true,"uniqueKey":"checkout_session.redirect_url","typeLabel":"string\u003curi>"},"refunds":{"description":"The refunds associated with this Checkout Session.","type":"array","items":{"oneOf":[{"type":"string","description":"An expandable field — either a string ID or an expanded Refund object.","example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"object","description":"An expandable field — either a string ID or an expanded Refund object.","required":["amount","created_at","refund_id","status","test_mode"],"example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"refund_id":{"description":"The ID of the refund","type":"string","example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.refund_id","typeLabel":"string"},"amount":{"description":"The amount of the refund in cents","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.amount","typeLabel":"integer\u003cint32>"},"created_at":{"description":"The time at which the refund was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.created_at","typeLabel":"string"},"status":{"description":"The status of the refund","type":"string","enum":["pending","requires_action","succeeded","failed","canceled"],"example":"pending","isRequired":true,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the refund was created in test mode","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.test_mode","typeLabel":"boolean"},"payment_intent_id":{"oneOf":[{"description":"The ID of the payment intent that the refund is associated with","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.payment_intent_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the payment intent that the refund is associated with","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.payment_intent_id","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","description":"The reason for the refund","enum":["duplicate","fraudulent","requested_by_customer","expired_uncaptured_charge"],"example":"duplicate","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The reason for the refund","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.reason","typeLabel":"enum\u003cstring> | null"},"metadata":{"oneOf":[{"description":"Metadata attached to the refund","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata attached to the refund","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.metadata","typeLabel":"object | null"},"reference_id":{"oneOf":[{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.reference_id.oneOf.0","typeLabel":"string"},{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.reference_id","typeLabel":"string | null"},"reference_type":{"oneOf":[{"type":"string","description":"Type of the reference number used for the refund","enum":["acquirer_reference_number","system_trace_audit_number","retrieval_reference_number"],"example":"acquirer_reference_number","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.reference_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Type of the reference number used for the refund","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.reference_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.reference_type","typeLabel":"enum\u003cstring> | null"},"reference_status":{"oneOf":[{"type":"string","description":"Status of the reference number used for the refund","enum":["available","pending","unavailable"],"example":"available","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.reference_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Status of the reference number used for the refund","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.reference_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.reference_status","typeLabel":"enum\u003cstring> | null"},"items":{"description":"List of refund items (charges that were refunded)","default":[],"type":"array","items":{"description":"Represents a single refund item (charge that was refunded)","type":"object","required":["amount_refunded"],"properties":{"amount_refunded":{"description":"The amount refunded from this charge in cents","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.\\items.items.[INDEX].amount_refunded","typeLabel":"integer\u003cint32>"},"payment_intent":{"oneOf":[{"description":"The ID of the payment intent that the refund is associated with","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_intent.oneOf.0","typeLabel":"string"},{"description":"The ID of the payment intent that the refund is associated with","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_intent.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_intent","typeLabel":"string | null"},"payment_method_id":{"oneOf":[{"description":"The ID of the payment method used for this refund","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_method_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the payment method used for this refund","type":"null","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_method_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_method_id","typeLabel":"string | null"},"reference_id":{"oneOf":[{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_id.oneOf.0","typeLabel":"string"},{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_id","typeLabel":"string | null"},"reference_type":{"oneOf":[{"type":"string","description":"Type of the reference number used for the refund","enum":["acquirer_reference_number","system_trace_audit_number","retrieval_reference_number"],"example":"acquirer_reference_number","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Type of the reference number used for the refund","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_type","typeLabel":"enum\u003cstring> | null"},"reference_status":{"oneOf":[{"type":"string","description":"Status of the reference number used for the refund","enum":["available","pending","unavailable"],"example":"available","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Status of the reference number used for the refund","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_status","typeLabel":"enum\u003cstring> | null"}},"example":{"amount_refunded":2500,"payment_intent":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","payment_method_id":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","reference_id":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","reference_type":"acquirer_reference_number","reference_status":"available"},"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.\\items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.\\items","typeLabel":"object[]"},"subscription_id":{"oneOf":[{"description":"The subscription this refund is associated with (for subscription cancellation refunds)","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.subscription_id.oneOf.0","typeLabel":"string"},{"description":"The subscription this refund is associated with (for subscription cancellation refunds)","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.subscription_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.subscription_id","typeLabel":"string | null"},"invoice_id":{"oneOf":[{"description":"The invoice this refund is associated with (for subscription billing period refunds)","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.invoice_id.oneOf.0","typeLabel":"string"},{"description":"The invoice this refund is associated with (for subscription billing period refunds)","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.invoice_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.invoice_id","typeLabel":"string | null"},"balance_transaction":{"oneOf":[{"type":"string","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.0","typeLabel":"string"},{"type":"object","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.balance_transaction_id","typeLabel":"string"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.amount","typeLabel":"integer\u003cint32>"},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.fee","typeLabel":"integer\u003cint32>"},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.net","typeLabel":"integer\u003cint32>"},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available","isRequired":true,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.test_mode","typeLabel":"boolean"},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.available_on.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp.","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.available_on.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.available_on","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.created_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.created_at","typeLabel":"string | null"},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.exchange_rate","typeLabel":"number\u003cdouble> | null"},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.reporting_category.oneOf.0","typeLabel":"string"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.reporting_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.reporting_category","typeLabel":"string | null"},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.checkout_session_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.checkout_session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.checkout_session_id","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.client_reference_id","typeLabel":"string | null"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.source_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.source_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.source_id","typeLabel":"string | null"},"type":{"oneOf":[{"description":"The type of transaction.","type":"string","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.type.oneOf.0","typeLabel":"string"},{"description":"The type of transaction.","type":"null","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.type","typeLabel":"string | null"},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id","typeLabel":"string | null"},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.mid.oneOf.0","typeLabel":"string"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.mid.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.mid","typeLabel":"string | null"},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.currency.oneOf.0","typeLabel":"string"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.currency","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.metadata","typeLabel":"object | null"},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount","typeLabel":"integer\u003cint32> | null"},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount","typeLabel":"integer\u003cint32> | null"},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount","typeLabel":"integer\u003cint32> | null"},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount","typeLabel":"integer\u003cint32> | null"},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_type.oneOf.0","typeLabel":"string"},{"description":"Card funding type used for the transaction.","type":"null","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_type","typeLabel":"string | null"},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_network.oneOf.0","typeLabel":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_network.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_network","typeLabel":"string | null"}},"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.1","typeLabel":"object"},{"type":"null","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.balance_transaction","typeLabel":"string | object | null"},"failure_balance_transaction":{"oneOf":[{"type":"string","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.0","typeLabel":"string"},{"type":"object","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.balance_transaction_id","typeLabel":"string"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.amount","typeLabel":"integer\u003cint32>"},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.fee","typeLabel":"integer\u003cint32>"},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.net","typeLabel":"integer\u003cint32>"},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available","isRequired":true,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.test_mode","typeLabel":"boolean"},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.available_on.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp.","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.available_on.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.available_on","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.created_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.created_at","typeLabel":"string | null"},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate","typeLabel":"number\u003cdouble> | null"},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.reporting_category.oneOf.0","typeLabel":"string"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.reporting_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.reporting_category","typeLabel":"string | null"},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id","typeLabel":"string | null"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.source_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.source_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.source_id","typeLabel":"string | null"},"type":{"oneOf":[{"description":"The type of transaction.","type":"string","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.type.oneOf.0","typeLabel":"string"},{"description":"The type of transaction.","type":"null","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.type","typeLabel":"string | null"},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id","typeLabel":"string | null"},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.mid.oneOf.0","typeLabel":"string"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.mid.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.mid","typeLabel":"string | null"},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.currency.oneOf.0","typeLabel":"string"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.currency","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.metadata","typeLabel":"object | null"},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount","typeLabel":"integer\u003cint32> | null"},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount","typeLabel":"integer\u003cint32> | null"},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount","typeLabel":"integer\u003cint32> | null"},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount","typeLabel":"integer\u003cint32> | null"},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_type.oneOf.0","typeLabel":"string"},{"description":"Card funding type used for the transaction.","type":"null","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_type","typeLabel":"string | null"},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_network.oneOf.0","typeLabel":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_network.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_network","typeLabel":"string | null"}},"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1","typeLabel":"object"},{"type":"null","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1.failure_balance_transaction","typeLabel":"string | object | null"}},"uniqueKey":"checkout_session.refunds.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"checkout_session.refunds.items.[INDEX]","typeLabel":"string | object"},"isRequired":true,"uniqueKey":"checkout_session.refunds","typeLabel":"(string | object)[]"},"shipping_address_collection":{"description":"When set, present options for shipping address collection from a customer.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.shipping_address_collection","typeLabel":"boolean"},"status":{"description":"The status of the checkout session.","type":"string","enum":["open","paid","complete","canceled","expired"],"example":"open","isRequired":true,"uniqueKey":"checkout_session.status","typeLabel":"enum\u003cstring>"},"success_url":{"description":"The URL the customer will be directed to after the payment or subscription creation is successful.","type":"string","example":"https://example.com","isRequired":true,"uniqueKey":"checkout_session.success_url","typeLabel":"string"},"test_mode":{"description":"Whether the Checkout Session is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.test_mode","typeLabel":"boolean"},"total_details":{"description":"Tax and discount details for the computed total amount.","type":"object","properties":{"amount_discount":{"oneOf":[{"description":"Sum of discounts recorded on line items, plus any unscoped subscription discount allocated to fees. Fee-scoped coupon reductions are reflected in `amount_fee` instead of being duplicated here.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.total_details.amount_discount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Sum of discounts recorded on line items, plus any unscoped subscription discount allocated to fees. Fee-scoped coupon reductions are reflected in `amount_fee` instead of being duplicated here.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.total_details.amount_discount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.total_details.amount_discount","typeLabel":"integer\u003cint32> | null"},"amount_tax":{"oneOf":[{"description":"This is the sum of all the tax amounts.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.total_details.amount_tax.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"This is the sum of all the tax amounts.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.total_details.amount_tax.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.total_details.amount_tax","typeLabel":"integer\u003cint32> | null"},"amount_shipping":{"oneOf":[{"description":"This is the sum of all the shipping amounts.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.total_details.amount_shipping.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"This is the sum of all the shipping amounts.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.total_details.amount_shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.total_details.amount_shipping","typeLabel":"integer\u003cint32> | null"},"amount_iias":{"oneOf":[{"description":"This is the sum of all the iias line items.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.total_details.amount_iias.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"This is the sum of all the iias line items.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.total_details.amount_iias.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.total_details.amount_iias","typeLabel":"integer\u003cint32> | null"},"amount_vision":{"oneOf":[{"description":"Sum of the line item amounts classified as vision care, in the smallest currency unit (e.g., `2500` = $25.00 USD). `null` when no vision items are present.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.total_details.amount_vision.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Sum of the line item amounts classified as vision care, in the smallest currency unit (e.g., `2500` = $25.00 USD). `null` when no vision items are present.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.total_details.amount_vision.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.total_details.amount_vision","typeLabel":"integer\u003cint32> | null"},"amount_prescription":{"oneOf":[{"description":"Sum of the line item amounts classified as prescription, in the smallest currency unit (e.g., `3000` = $30.00 USD). `null` when no prescription items are present.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.total_details.amount_prescription.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Sum of the line item amounts classified as prescription, in the smallest currency unit (e.g., `3000` = $30.00 USD). `null` when no prescription items are present.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.total_details.amount_prescription.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.total_details.amount_prescription","typeLabel":"integer\u003cint32> | null"},"amount_service":{"oneOf":[{"description":"Sum of the line item amounts classified as a medical service, in the smallest currency unit (e.g., `5000` = $50.00 USD). `null` when no service items are present.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.total_details.amount_service.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Sum of the line item amounts classified as a medical service, in the smallest currency unit (e.g., `5000` = $50.00 USD). `null` when no service items are present.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.total_details.amount_service.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.total_details.amount_service","typeLabel":"integer\u003cint32> | null"},"amount_fee":{"oneOf":[{"description":"The fee contribution after fee-scoped coupons and before any unscoped subscription discount reported in `amount_discount`.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.total_details.amount_fee.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The fee contribution after fee-scoped coupons and before any unscoped subscription discount reported in `amount_discount`.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.total_details.amount_fee.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.total_details.amount_fee","typeLabel":"integer\u003cint32> | null"},"breakdown":{"oneOf":[{"type":"object","description":"Breakdown of the components that make up the total details.","example":{"discounts":[{"discount":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"}}]},"properties":{"discounts":{"description":"The aggregated discounts.","type":"array","items":{"description":"A discount applied to the checkout session.\n\nMatches Stripe's `line_items_discount_amount` schema.","type":"object","required":["discount"],"properties":{"discount":{"description":"The discount that was applied.","type":"object","required":["discount_id","source","start","test_mode"],"properties":{"discount_id":{"description":"The ID of the discount.","type":"string","example":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.discount_id","typeLabel":"string"},"source":{"description":"The source of the discount (coupon or promotion code).","type":"object","required":["coupon","type"],"properties":{"coupon":{"oneOf":[{"type":"string","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.0","typeLabel":"string"},{"type":"object","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","required":["coupon_id","created_at","duration","name","test_mode","valid"],"example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"coupon_id":{"description":"Unique identifier for the object.","type":"string","example":"fcoup_1234567890","isRequired":true,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.coupon_id","typeLabel":"string"},"duration":{"type":"string","enum":["once","repeating","forever"],"x-ms-enum":{"name":"CouponDuration","modelAsString":false,"values":[{"value":"once","name":"Once","description":"Applies to the first charge from a subscription with this coupon applied."},{"value":"repeating","name":"Repeating","description":"Applies to charges in the first duration_in_months months from a subscription with this coupon applied."},{"value":"forever","name":"Forever","description":"Applies to all charges from a subscription with this coupon applied."}]},"description":"One of forever, once, and repeating. Describes how long a customer who applies this coupon will get the discount.","example":"once","isRequired":true,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.duration","typeLabel":"enum\u003cstring>"},"name":{"description":"Name of the coupon displayed to customers.","type":"string","example":"Example","isRequired":true,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.name","typeLabel":"string"},"valid":{"description":"Taking account of the above properties, whether this coupon can still be applied to a customer.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.valid","typeLabel":"boolean"},"created_at":{"description":"Date when this coupon was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the coupon is in test mode","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.test_mode","typeLabel":"boolean"},"amount_off":{"oneOf":[{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.amount_off.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.amount_off.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.amount_off","typeLabel":"integer\u003cint32> | null"},"applies_to":{"oneOf":[{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["products"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"properties":{"products":{"description":"The product that this coupon applies to.","type":"array","items":{"type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.applies_to.oneOf.0.products.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.applies_to.oneOf.0.products","typeLabel":"string[]"}},"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.applies_to.oneOf.0","typeLabel":"object"},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["prices"],"properties":{"prices":{"description":"The price that this coupon applies to.","type":"array","items":{"type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.applies_to.oneOf.1.prices.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.applies_to.oneOf.1.prices","typeLabel":"string[]"}},"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.applies_to.oneOf.1","typeLabel":"object"},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["fee_types"],"properties":{"fee_types":{"description":"The fee types that this coupon applies to.","type":"array","items":{"description":"The kind of fee applied to a checkout session: a Letter of Medical Necessity consultation fee, or a custom fee you define.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation","uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.applies_to.oneOf.2.fee_types.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.applies_to.oneOf.2.fee_types","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.applies_to.oneOf.2","typeLabel":"object"},{"type":"string","description":"An object containing the ID of the product that the coupon can be applied to.","enum":["shipping"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.applies_to.oneOf.3","typeLabel":"enum\u003cstring>"},{"type":"null","description":"An object containing the ID of the product that the coupon can be applied to.","uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.applies_to.oneOf.4","typeLabel":"null"}],"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.applies_to","typeLabel":"object · object · object · enum\u003cstring> · null"},"duration_in_months":{"oneOf":[{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.duration_in_months.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.duration_in_months.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.duration_in_months","typeLabel":"integer\u003cint32> | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.metadata","typeLabel":"object | null"},"percent_off":{"oneOf":[{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"number","format":"double","uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.percent_off.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"null","format":"double","uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.percent_off.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.percent_off","typeLabel":"number\u003cdouble> | null"},"max_redemptions":{"oneOf":[{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.max_redemptions.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.max_redemptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.max_redemptions","typeLabel":"integer\u003cint32> | null"},"times_redeemed":{"oneOf":[{"description":"Number of times this coupon has been applied to a customer.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.times_redeemed.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Number of times this coupon has been applied to a customer.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.times_redeemed.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1.times_redeemed","typeLabel":"integer\u003cint32> | null"}},"isRequired":true,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.coupon","typeLabel":"string | object"},"type":{"description":"The type of source.","type":"string","enum":["coupon","promotion_code"],"example":"coupon","isRequired":true,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source.type","typeLabel":"enum\u003cstring>"}},"example":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"isRequired":true,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.source","typeLabel":"object"},"test_mode":{"description":"Whether the discount was applied in test mode","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.test_mode","typeLabel":"boolean"},"start":{"description":"Date that the coupon was applied.","type":"string","example":"string","isRequired":true,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.start","typeLabel":"string"},"checkout_session":{"oneOf":[{"description":"The checkout session that the discount was applied to.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.checkout_session.oneOf.0","typeLabel":"string"},{"description":"The checkout session that the discount was applied to.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.checkout_session.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.checkout_session","typeLabel":"string | null"},"customer":{"oneOf":[{"description":"The customer that the discount was applied to.","type":"string","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.customer.oneOf.0","typeLabel":"string"},{"description":"The customer that the discount was applied to.","type":"null","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.customer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.customer","typeLabel":"string | null"},"subscription":{"oneOf":[{"description":"The subscription that the discount was applied to.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.subscription.oneOf.0","typeLabel":"string"},{"description":"The subscription that the discount was applied to.","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.subscription.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.subscription","typeLabel":"string | null"},"invoice":{"oneOf":[{"description":"The invoice that the discount was applied to.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.invoice.oneOf.0","typeLabel":"string"},{"description":"The invoice that the discount was applied to.","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.invoice.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.invoice","typeLabel":"string | null"},"promo_code":{"oneOf":[{"description":"The promo code applied to create the discount.","type":"string","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.promo_code.oneOf.0","typeLabel":"string"},{"description":"The promo code applied to create the discount.","type":"null","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.promo_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.promo_code","typeLabel":"string | null"},"end":{"oneOf":[{"type":"string","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","example":"string","uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.end.oneOf.0","typeLabel":"string"},{"type":"null","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount.end","typeLabel":"string | null"}},"example":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"},"isRequired":true,"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX].discount","typeLabel":"object"}},"example":{"discount":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"}},"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0.discounts","typeLabel":"object[]"}},"uniqueKey":"checkout_session.total_details.breakdown.oneOf.0","typeLabel":"object"},{"type":"null","description":"Breakdown of the components that make up the total details.","uniqueKey":"checkout_session.total_details.breakdown.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.total_details.breakdown","typeLabel":"object | null"}},"example":{"amount_discount":2500,"amount_tax":2500,"amount_shipping":2500,"amount_iias":2500,"amount_vision":2500,"amount_prescription":2500,"amount_service":2500,"amount_fee":2500,"breakdown":{"discounts":[{"discount":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"}}]}},"isRequired":true,"uniqueKey":"checkout_session.total_details","typeLabel":"object"},"amount_received":{"oneOf":[{"description":"The amount actually received from payment intents.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.amount_received.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The amount actually received from payment intents.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.amount_received.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.amount_received","typeLabel":"integer\u003cint32> | null"},"amount_refunded":{"oneOf":[{"description":"The total amount refunded for this checkout session.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.amount_refunded.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The total amount refunded for this checkout session.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.amount_refunded.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.amount_refunded","typeLabel":"integer\u003cint32> | null"},"amount_disputed":{"oneOf":[{"description":"The total amount currently in dispute for this checkout session. Includes all dispute statuses except Won and Prevented.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.amount_disputed.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The total amount currently in dispute for this checkout session. Includes all dispute statuses except Won and Prevented.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.amount_disputed.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.amount_disputed","typeLabel":"integer\u003cint32> | null"},"cancel_url":{"oneOf":[{"description":"If set, Checkout displays a back button and customers will be directed to this URL if they decide to cancel payment and return to your website.","type":"string","example":"https://example.com","uniqueKey":"checkout_session.cancel_url.oneOf.0","typeLabel":"string"},{"description":"If set, Checkout displays a back button and customers will be directed to this URL if they decide to cancel payment and return to your website.","type":"null","example":"https://example.com","uniqueKey":"checkout_session.cancel_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.cancel_url","typeLabel":"string | null"},"disputes":{"description":"Disputes associated with this checkout session's payment intents.","default":[],"type":"array","items":{"oneOf":[{"type":"string","description":"An expandable field — either a string ID or an expanded Dispute object.","example":"fdp_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"object","description":"An expandable field — either a string ID or an expanded Dispute object.","required":["amount","created_at","currency","dispute_id","is_charge_refundable","metadata","payment_intent_id","reason","status","test_mode"],"example":"fdp_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"dispute_id":{"description":"Unique identifier for the dispute, prefixed with `fdp_`.","type":"string","example":"fdp_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.dispute_id","typeLabel":"string"},"payment_intent_id":{"description":"ID of the PaymentIntent that was disputed.","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.payment_intent_id","typeLabel":"string"},"amount":{"description":"Disputed amount, in the smallest currency unit (e.g., `2500` = $25.00 USD). Usually the full amount of the disputed payment.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.amount","typeLabel":"integer\u003cint32>"},"currency":{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd","isRequired":true,"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.currency","typeLabel":"string"},"metadata":{"description":"Set of key-value pairs attached to the dispute for storing additional structured information.","type":"object","example":{"order_id":"8842","channel":"shopify"},"isRequired":true,"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.metadata","typeLabel":"object"},"created_at":{"description":"Time at which the dispute was created, as an RFC 3339 date-time string.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.created_at","typeLabel":"string"},"status":{"oneOf":[{"type":"string","description":"The current status of the dispute. Evidence can only be submitted while the status is `needs_response` or `warning_needs_response`.","enum":["lost","needs_response","under_review","warning_closed","warning_needs_response","warning_under_review","won"],"example":"lost","isRequired":true,"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"The current status of the dispute. Evidence can only be submitted while the status is `needs_response` or `warning_needs_response`.","enum":["prevented"],"example":"lost","isRequired":true,"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.status.oneOf.1","typeLabel":"enum\u003cstring>"}],"isRequired":true,"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"},"reason":{"description":"Reason the dispute was filed, as reported by the card network.","type":"string","enum":["bank_cannot_process","check_returned","credit_not_processed","customer_initiated","debit_not_authorized","duplicate","fraudulent","general","incorrect_account_details","insufficient_funds","noncompliant","product_not_received","product_unacceptable","subscription_canceled","unrecognized"],"example":"bank_cannot_process","isRequired":true,"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.reason","typeLabel":"enum\u003cstring>"},"is_charge_refundable":{"description":"Whether the disputed charge can still be refunded. Once a payment is disputed, refunding it is typically no longer possible.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.is_charge_refundable","typeLabel":"boolean"},"test_mode":{"description":"Whether the dispute was created in test mode. `true` for disputes created with test API keys.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.test_mode","typeLabel":"boolean"},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session associated with the disputed payment. `null` if the payment was not created via a checkout session.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.checkout_session_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Checkout Session associated with the disputed payment. `null` if the payment was not created via a checkout session.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.checkout_session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.checkout_session_id","typeLabel":"string | null"},"charge_id":{"oneOf":[{"description":"ID of the Charge that was disputed. `null` if the originating charge could not be resolved.","type":"string","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.charge_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Charge that was disputed. `null` if the originating charge could not be resolved.","type":"null","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.charge_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.charge_id","typeLabel":"string | null"},"evidence":{"oneOf":[{"type":"object","description":"Evidence collected to respond to the dispute. On the list endpoint this is included only when you pass `expand=evidence`; `null` when no evidence has been recorded.","example":{"access_activity_log":"string","customer_name":"string","customer_email_address":"string","customer_purchase_ip":"string","billing_address":"string","shipping_address":"string","shipping_tracking_number":"string","shipping_carrier":"string","shipping_date":"string","service_date":"string","product_description":"string","refund_policy_disclosure":"string","refund_refusal_explanation":"string","cancellation_policy_disclosure":"string","cancellation_rebuttal":"string","duplicate_charge_explanation":"string","duplicate_charge_id":"string","uncategorized_text":"string","customer_communication":{"file_id":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","filename":"string","stripe_file_id":"string"},"customer_signature":{"file_id":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","filename":"string","stripe_file_id":"string"},"shipping_documentation":{"file_id":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","filename":"string","stripe_file_id":"string"},"receipt":{"file_id":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","filename":"string","stripe_file_id":"string"},"duplicate_charge_documentation":{"file_id":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","filename":"string","stripe_file_id":"string"},"service_documentation":{"file_id":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","filename":"string","stripe_file_id":"string"},"uncategorized_file":{"file_id":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","filename":"string","stripe_file_id":"string"},"cancellation_policy":{"file_id":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","filename":"string","stripe_file_id":"string"},"refund_policy":{"file_id":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","filename":"string","stripe_file_id":"string"}},"properties":{"access_activity_log":{"oneOf":[{"description":"A description of the activity on the customer's account or the order, showing that they accessed or used the product or service.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.access_activity_log.oneOf.0","typeLabel":"string"},{"description":"A description of the activity on the customer's account or the order, showing that they accessed or used the product or service.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.access_activity_log.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.access_activity_log","typeLabel":"string | null"},"customer_name":{"oneOf":[{"description":"The name of the customer.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_name.oneOf.0","typeLabel":"string"},{"description":"The name of the customer.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_name","typeLabel":"string | null"},"customer_email_address":{"oneOf":[{"description":"The email address of the customer.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_email_address.oneOf.0","typeLabel":"string"},{"description":"The email address of the customer.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_email_address.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_email_address","typeLabel":"string | null"},"customer_purchase_ip":{"oneOf":[{"description":"The IP address from which the customer made the purchase.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_purchase_ip.oneOf.0","typeLabel":"string"},{"description":"The IP address from which the customer made the purchase.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_purchase_ip.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_purchase_ip","typeLabel":"string | null"},"billing_address":{"oneOf":[{"description":"The billing address provided by the customer.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.billing_address.oneOf.0","typeLabel":"string"},{"description":"The billing address provided by the customer.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.billing_address.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.billing_address","typeLabel":"string | null"},"shipping_address":{"oneOf":[{"description":"The address to which a physical product was shipped.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.shipping_address.oneOf.0","typeLabel":"string"},{"description":"The address to which a physical product was shipped.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.shipping_address.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.shipping_address","typeLabel":"string | null"},"shipping_tracking_number":{"oneOf":[{"description":"The tracking number for a physical product shipped to the customer.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.shipping_tracking_number.oneOf.0","typeLabel":"string"},{"description":"The tracking number for a physical product shipped to the customer.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.shipping_tracking_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.shipping_tracking_number","typeLabel":"string | null"},"shipping_carrier":{"oneOf":[{"description":"The delivery service that shipped a physical product (e.g., `usps`, `fedex`).","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.shipping_carrier.oneOf.0","typeLabel":"string"},{"description":"The delivery service that shipped a physical product (e.g., `usps`, `fedex`).","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.shipping_carrier.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.shipping_carrier","typeLabel":"string | null"},"shipping_date":{"oneOf":[{"description":"The date on which a physical product was shipped to the customer.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.shipping_date.oneOf.0","typeLabel":"string"},{"description":"The date on which a physical product was shipped to the customer.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.shipping_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.shipping_date","typeLabel":"string | null"},"service_date":{"oneOf":[{"description":"The date on which the service was provided to the customer.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.service_date.oneOf.0","typeLabel":"string"},{"description":"The date on which the service was provided to the customer.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.service_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.service_date","typeLabel":"string | null"},"product_description":{"oneOf":[{"description":"A description of the product or service purchased and an explanation of why the customer's claim is unwarranted.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.product_description.oneOf.0","typeLabel":"string"},{"description":"A description of the product or service purchased and an explanation of why the customer's claim is unwarranted.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.product_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.product_description","typeLabel":"string | null"},"refund_policy_disclosure":{"oneOf":[{"description":"Your refund policy as shown to the customer.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.refund_policy_disclosure.oneOf.0","typeLabel":"string"},{"description":"Your refund policy as shown to the customer.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.refund_policy_disclosure.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.refund_policy_disclosure","typeLabel":"string | null"},"refund_refusal_explanation":{"oneOf":[{"description":"An explanation of why the customer is not entitled to a refund.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.refund_refusal_explanation.oneOf.0","typeLabel":"string"},{"description":"An explanation of why the customer is not entitled to a refund.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.refund_refusal_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.refund_refusal_explanation","typeLabel":"string | null"},"cancellation_policy_disclosure":{"oneOf":[{"description":"Your cancellation policy as shown to the customer.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.cancellation_policy_disclosure.oneOf.0","typeLabel":"string"},{"description":"Your cancellation policy as shown to the customer.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.cancellation_policy_disclosure.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.cancellation_policy_disclosure","typeLabel":"string | null"},"cancellation_rebuttal":{"oneOf":[{"description":"An explanation of how the customer was shown that the subscription or service was not canceled.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.cancellation_rebuttal.oneOf.0","typeLabel":"string"},{"description":"An explanation of how the customer was shown that the subscription or service was not canceled.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.cancellation_rebuttal.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.cancellation_rebuttal","typeLabel":"string | null"},"duplicate_charge_explanation":{"oneOf":[{"description":"An explanation of the difference between the disputed payment and the charge the customer believes is a duplicate.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.duplicate_charge_explanation.oneOf.0","typeLabel":"string"},{"description":"An explanation of the difference between the disputed payment and the charge the customer believes is a duplicate.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.duplicate_charge_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.duplicate_charge_explanation","typeLabel":"string | null"},"duplicate_charge_id":{"oneOf":[{"description":"The ID of the charge the customer claims is a duplicate of the disputed charge.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.duplicate_charge_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the charge the customer claims is a duplicate of the disputed charge.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.duplicate_charge_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.duplicate_charge_id","typeLabel":"string | null"},"uncategorized_text":{"oneOf":[{"description":"Any additional evidence as free-form text.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.uncategorized_text.oneOf.0","typeLabel":"string"},{"description":"Any additional evidence as free-form text.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.uncategorized_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.uncategorized_text","typeLabel":"string | null"},"customer_communication":{"oneOf":[{"type":"object","description":"File evidence of any communication with the customer, such as emails proving they received the product or service.","example":{"file_id":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","filename":"string","stripe_file_id":"string"},"properties":{"file_id":{"oneOf":[{"description":"The Flex file ID (e.g., `ffile_xxx`).","type":"string","example":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_communication.oneOf.0.file_id.oneOf.0","typeLabel":"string"},{"description":"The Flex file ID (e.g., `ffile_xxx`).","type":"null","example":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_communication.oneOf.0.file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_communication.oneOf.0.file_id","typeLabel":"string | null"},"filename":{"oneOf":[{"description":"The original filename from upload.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_communication.oneOf.0.filename.oneOf.0","typeLabel":"string"},{"description":"The original filename from upload.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_communication.oneOf.0.filename.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_communication.oneOf.0.filename","typeLabel":"string | null"},"stripe_file_id":{"oneOf":[{"description":"Underlying card-network file ID, present when the file could not be matched to a Flex file ID.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_communication.oneOf.0.stripe_file_id.oneOf.0","typeLabel":"string"},{"description":"Underlying card-network file ID, present when the file could not be matched to a Flex file ID.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_communication.oneOf.0.stripe_file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_communication.oneOf.0.stripe_file_id","typeLabel":"string | null"}},"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_communication.oneOf.0","typeLabel":"object"},{"type":"null","description":"File evidence of any communication with the customer, such as emails proving they received the product or service.","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_communication.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_communication","typeLabel":"object | null"},"customer_signature":{"oneOf":[{"type":"object","description":"File evidence of the customer's signature, such as a proof of delivery signed by the customer.","example":{"file_id":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","filename":"string","stripe_file_id":"string"},"properties":{"file_id":{"oneOf":[{"description":"The Flex file ID (e.g., `ffile_xxx`).","type":"string","example":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_signature.oneOf.0.file_id.oneOf.0","typeLabel":"string"},{"description":"The Flex file ID (e.g., `ffile_xxx`).","type":"null","example":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_signature.oneOf.0.file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_signature.oneOf.0.file_id","typeLabel":"string | null"},"filename":{"oneOf":[{"description":"The original filename from upload.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_signature.oneOf.0.filename.oneOf.0","typeLabel":"string"},{"description":"The original filename from upload.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_signature.oneOf.0.filename.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_signature.oneOf.0.filename","typeLabel":"string | null"},"stripe_file_id":{"oneOf":[{"description":"Underlying card-network file ID, present when the file could not be matched to a Flex file ID.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_signature.oneOf.0.stripe_file_id.oneOf.0","typeLabel":"string"},{"description":"Underlying card-network file ID, present when the file could not be matched to a Flex file ID.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_signature.oneOf.0.stripe_file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_signature.oneOf.0.stripe_file_id","typeLabel":"string | null"}},"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_signature.oneOf.0","typeLabel":"object"},{"type":"null","description":"File evidence of the customer's signature, such as a proof of delivery signed by the customer.","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_signature.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.customer_signature","typeLabel":"object | null"},"shipping_documentation":{"oneOf":[{"type":"object","description":"File documentation showing that a physical product was shipped to the customer (e.g., a shipping label or carrier receipt).","example":{"file_id":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","filename":"string","stripe_file_id":"string"},"properties":{"file_id":{"oneOf":[{"description":"The Flex file ID (e.g., `ffile_xxx`).","type":"string","example":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.shipping_documentation.oneOf.0.file_id.oneOf.0","typeLabel":"string"},{"description":"The Flex file ID (e.g., `ffile_xxx`).","type":"null","example":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.shipping_documentation.oneOf.0.file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.shipping_documentation.oneOf.0.file_id","typeLabel":"string | null"},"filename":{"oneOf":[{"description":"The original filename from upload.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.shipping_documentation.oneOf.0.filename.oneOf.0","typeLabel":"string"},{"description":"The original filename from upload.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.shipping_documentation.oneOf.0.filename.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.shipping_documentation.oneOf.0.filename","typeLabel":"string | null"},"stripe_file_id":{"oneOf":[{"description":"Underlying card-network file ID, present when the file could not be matched to a Flex file ID.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.shipping_documentation.oneOf.0.stripe_file_id.oneOf.0","typeLabel":"string"},{"description":"Underlying card-network file ID, present when the file could not be matched to a Flex file ID.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.shipping_documentation.oneOf.0.stripe_file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.shipping_documentation.oneOf.0.stripe_file_id","typeLabel":"string | null"}},"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.shipping_documentation.oneOf.0","typeLabel":"object"},{"type":"null","description":"File documentation showing that a physical product was shipped to the customer (e.g., a shipping label or carrier receipt).","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.shipping_documentation.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.shipping_documentation","typeLabel":"object | null"},"receipt":{"oneOf":[{"type":"object","description":"File evidence of the receipt or message sent to the customer notifying them of the charge.","example":{"file_id":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","filename":"string","stripe_file_id":"string"},"properties":{"file_id":{"oneOf":[{"description":"The Flex file ID (e.g., `ffile_xxx`).","type":"string","example":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.receipt.oneOf.0.file_id.oneOf.0","typeLabel":"string"},{"description":"The Flex file ID (e.g., `ffile_xxx`).","type":"null","example":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.receipt.oneOf.0.file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.receipt.oneOf.0.file_id","typeLabel":"string | null"},"filename":{"oneOf":[{"description":"The original filename from upload.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.receipt.oneOf.0.filename.oneOf.0","typeLabel":"string"},{"description":"The original filename from upload.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.receipt.oneOf.0.filename.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.receipt.oneOf.0.filename","typeLabel":"string | null"},"stripe_file_id":{"oneOf":[{"description":"Underlying card-network file ID, present when the file could not be matched to a Flex file ID.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.receipt.oneOf.0.stripe_file_id.oneOf.0","typeLabel":"string"},{"description":"Underlying card-network file ID, present when the file could not be matched to a Flex file ID.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.receipt.oneOf.0.stripe_file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.receipt.oneOf.0.stripe_file_id","typeLabel":"string | null"}},"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.receipt.oneOf.0","typeLabel":"object"},{"type":"null","description":"File evidence of the receipt or message sent to the customer notifying them of the charge.","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.receipt.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.receipt","typeLabel":"object | null"},"duplicate_charge_documentation":{"oneOf":[{"type":"object","description":"File documentation for the prior charge the customer claims is a duplicate.","example":{"file_id":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","filename":"string","stripe_file_id":"string"},"properties":{"file_id":{"oneOf":[{"description":"The Flex file ID (e.g., `ffile_xxx`).","type":"string","example":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.duplicate_charge_documentation.oneOf.0.file_id.oneOf.0","typeLabel":"string"},{"description":"The Flex file ID (e.g., `ffile_xxx`).","type":"null","example":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.duplicate_charge_documentation.oneOf.0.file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.duplicate_charge_documentation.oneOf.0.file_id","typeLabel":"string | null"},"filename":{"oneOf":[{"description":"The original filename from upload.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.duplicate_charge_documentation.oneOf.0.filename.oneOf.0","typeLabel":"string"},{"description":"The original filename from upload.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.duplicate_charge_documentation.oneOf.0.filename.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.duplicate_charge_documentation.oneOf.0.filename","typeLabel":"string | null"},"stripe_file_id":{"oneOf":[{"description":"Underlying card-network file ID, present when the file could not be matched to a Flex file ID.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.duplicate_charge_documentation.oneOf.0.stripe_file_id.oneOf.0","typeLabel":"string"},{"description":"Underlying card-network file ID, present when the file could not be matched to a Flex file ID.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.duplicate_charge_documentation.oneOf.0.stripe_file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.duplicate_charge_documentation.oneOf.0.stripe_file_id","typeLabel":"string | null"}},"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.duplicate_charge_documentation.oneOf.0","typeLabel":"object"},{"type":"null","description":"File documentation for the prior charge the customer claims is a duplicate.","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.duplicate_charge_documentation.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.duplicate_charge_documentation","typeLabel":"object | null"},"service_documentation":{"oneOf":[{"type":"object","description":"File documentation showing that a service was provided to the customer.","example":{"file_id":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","filename":"string","stripe_file_id":"string"},"properties":{"file_id":{"oneOf":[{"description":"The Flex file ID (e.g., `ffile_xxx`).","type":"string","example":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.service_documentation.oneOf.0.file_id.oneOf.0","typeLabel":"string"},{"description":"The Flex file ID (e.g., `ffile_xxx`).","type":"null","example":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.service_documentation.oneOf.0.file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.service_documentation.oneOf.0.file_id","typeLabel":"string | null"},"filename":{"oneOf":[{"description":"The original filename from upload.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.service_documentation.oneOf.0.filename.oneOf.0","typeLabel":"string"},{"description":"The original filename from upload.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.service_documentation.oneOf.0.filename.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.service_documentation.oneOf.0.filename","typeLabel":"string | null"},"stripe_file_id":{"oneOf":[{"description":"Underlying card-network file ID, present when the file could not be matched to a Flex file ID.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.service_documentation.oneOf.0.stripe_file_id.oneOf.0","typeLabel":"string"},{"description":"Underlying card-network file ID, present when the file could not be matched to a Flex file ID.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.service_documentation.oneOf.0.stripe_file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.service_documentation.oneOf.0.stripe_file_id","typeLabel":"string | null"}},"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.service_documentation.oneOf.0","typeLabel":"object"},{"type":"null","description":"File documentation showing that a service was provided to the customer.","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.service_documentation.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.service_documentation","typeLabel":"object | null"},"uncategorized_file":{"oneOf":[{"type":"object","description":"Any additional file evidence that does not fit another category.","example":{"file_id":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","filename":"string","stripe_file_id":"string"},"properties":{"file_id":{"oneOf":[{"description":"The Flex file ID (e.g., `ffile_xxx`).","type":"string","example":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.uncategorized_file.oneOf.0.file_id.oneOf.0","typeLabel":"string"},{"description":"The Flex file ID (e.g., `ffile_xxx`).","type":"null","example":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.uncategorized_file.oneOf.0.file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.uncategorized_file.oneOf.0.file_id","typeLabel":"string | null"},"filename":{"oneOf":[{"description":"The original filename from upload.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.uncategorized_file.oneOf.0.filename.oneOf.0","typeLabel":"string"},{"description":"The original filename from upload.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.uncategorized_file.oneOf.0.filename.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.uncategorized_file.oneOf.0.filename","typeLabel":"string | null"},"stripe_file_id":{"oneOf":[{"description":"Underlying card-network file ID, present when the file could not be matched to a Flex file ID.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.uncategorized_file.oneOf.0.stripe_file_id.oneOf.0","typeLabel":"string"},{"description":"Underlying card-network file ID, present when the file could not be matched to a Flex file ID.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.uncategorized_file.oneOf.0.stripe_file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.uncategorized_file.oneOf.0.stripe_file_id","typeLabel":"string | null"}},"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.uncategorized_file.oneOf.0","typeLabel":"object"},{"type":"null","description":"Any additional file evidence that does not fit another category.","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.uncategorized_file.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.uncategorized_file","typeLabel":"object | null"},"cancellation_policy":{"oneOf":[{"type":"object","description":"File evidence of your cancellation policy as shown to the customer.","example":{"file_id":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","filename":"string","stripe_file_id":"string"},"properties":{"file_id":{"oneOf":[{"description":"The Flex file ID (e.g., `ffile_xxx`).","type":"string","example":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.cancellation_policy.oneOf.0.file_id.oneOf.0","typeLabel":"string"},{"description":"The Flex file ID (e.g., `ffile_xxx`).","type":"null","example":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.cancellation_policy.oneOf.0.file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.cancellation_policy.oneOf.0.file_id","typeLabel":"string | null"},"filename":{"oneOf":[{"description":"The original filename from upload.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.cancellation_policy.oneOf.0.filename.oneOf.0","typeLabel":"string"},{"description":"The original filename from upload.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.cancellation_policy.oneOf.0.filename.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.cancellation_policy.oneOf.0.filename","typeLabel":"string | null"},"stripe_file_id":{"oneOf":[{"description":"Underlying card-network file ID, present when the file could not be matched to a Flex file ID.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.cancellation_policy.oneOf.0.stripe_file_id.oneOf.0","typeLabel":"string"},{"description":"Underlying card-network file ID, present when the file could not be matched to a Flex file ID.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.cancellation_policy.oneOf.0.stripe_file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.cancellation_policy.oneOf.0.stripe_file_id","typeLabel":"string | null"}},"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.cancellation_policy.oneOf.0","typeLabel":"object"},{"type":"null","description":"File evidence of your cancellation policy as shown to the customer.","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.cancellation_policy.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.cancellation_policy","typeLabel":"object | null"},"refund_policy":{"oneOf":[{"type":"object","description":"File evidence of your refund policy as shown to the customer.","example":{"file_id":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","filename":"string","stripe_file_id":"string"},"properties":{"file_id":{"oneOf":[{"description":"The Flex file ID (e.g., `ffile_xxx`).","type":"string","example":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.refund_policy.oneOf.0.file_id.oneOf.0","typeLabel":"string"},{"description":"The Flex file ID (e.g., `ffile_xxx`).","type":"null","example":"ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.refund_policy.oneOf.0.file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.refund_policy.oneOf.0.file_id","typeLabel":"string | null"},"filename":{"oneOf":[{"description":"The original filename from upload.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.refund_policy.oneOf.0.filename.oneOf.0","typeLabel":"string"},{"description":"The original filename from upload.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.refund_policy.oneOf.0.filename.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.refund_policy.oneOf.0.filename","typeLabel":"string | null"},"stripe_file_id":{"oneOf":[{"description":"Underlying card-network file ID, present when the file could not be matched to a Flex file ID.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.refund_policy.oneOf.0.stripe_file_id.oneOf.0","typeLabel":"string"},{"description":"Underlying card-network file ID, present when the file could not be matched to a Flex file ID.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.refund_policy.oneOf.0.stripe_file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.refund_policy.oneOf.0.stripe_file_id","typeLabel":"string | null"}},"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.refund_policy.oneOf.0","typeLabel":"object"},{"type":"null","description":"File evidence of your refund policy as shown to the customer.","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.refund_policy.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0.refund_policy","typeLabel":"object | null"}},"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.0","typeLabel":"object"},{"type":"null","description":"Evidence collected to respond to the dispute. On the list endpoint this is included only when you pass `expand=evidence`; `null` when no evidence has been recorded.","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence","typeLabel":"object | null"},"evidence_details":{"oneOf":[{"type":"object","description":"Metadata about the evidence submission, including the response deadline and whether evidence has been submitted.","required":["has_evidence","past_due","submission_count"],"example":{"due_by":"2026-06-15T14:30:00Z","has_evidence":false,"past_due":false,"submission_count":3},"properties":{"has_evidence":{"description":"Whether evidence has been submitted","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence_details.oneOf.0.has_evidence","typeLabel":"boolean"},"past_due":{"description":"Whether the evidence deadline has passed","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence_details.oneOf.0.past_due","typeLabel":"boolean"},"submission_count":{"description":"Number of times evidence has been submitted","type":"integer","format":"int32","example":3,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence_details.oneOf.0.submission_count","typeLabel":"integer\u003cint32>"},"due_by":{"oneOf":[{"type":"string","description":"Deadline for submitting evidence, as an RFC 3339 date-time string.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence_details.oneOf.0.due_by.oneOf.0","typeLabel":"string"},{"type":"null","description":"Deadline for submitting evidence, as an RFC 3339 date-time string.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence_details.oneOf.0.due_by.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence_details.oneOf.0.due_by","typeLabel":"string | null"}},"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence_details.oneOf.0","typeLabel":"object"},{"type":"null","description":"Metadata about the evidence submission, including the response deadline and whether evidence has been submitted.","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.evidence_details","typeLabel":"object | null"},"balance_transactions":{"oneOf":[{"description":"Balance transactions that record the funds withdrawn and returned as the dispute progresses (e.g., the initial debit and any reversal). An empty array when there are none.","type":"array","items":{"description":"A summary of a balance transaction associated with a dispute, recording how funds moved on your balance as the dispute progressed (for example the initial debit when the dispute was filed, or the reversal if it was won).","type":"object","required":["amount","balance_transaction_id","fee","net","status"],"properties":{"balance_transaction_id":{"description":"ID of the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.balance_transactions.oneOf.0.items.[INDEX].balance_transaction_id","typeLabel":"string"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `2500` = $25.00 USD). Negative when funds are withdrawn from your balance.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.balance_transactions.oneOf.0.items.[INDEX].amount","typeLabel":"integer\u003cint32>"},"fee":{"description":"Fee applied to the transaction, in the smallest currency unit (e.g., `1500` = $15.00 USD). For a dispute, this is typically the dispute (chargeback) fee.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.balance_transactions.oneOf.0.items.[INDEX].fee","typeLabel":"integer\u003cint32>"},"net":{"description":"Net amount applied to your balance after fees, in the smallest currency unit (`net = amount - fee`).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.balance_transactions.oneOf.0.items.[INDEX].net","typeLabel":"integer\u003cint32>"},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Status of the balance transaction: `available` or `pending`.","example":"available","isRequired":true,"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.balance_transactions.oneOf.0.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"type":{"oneOf":[{"description":"The type of balance transaction (e.g., `adjustment`). `null` when not classified.","type":"string","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.balance_transactions.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"string"},{"description":"The type of balance transaction (e.g., `adjustment`). `null` when not classified.","type":"null","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.balance_transactions.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.balance_transactions.oneOf.0.items.[INDEX].type","typeLabel":"string | null"},"reporting_category":{"oneOf":[{"description":"The reporting category used to group the transaction in financial reports.","type":"string","example":"example_value","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.balance_transactions.oneOf.0.items.[INDEX].reporting_category.oneOf.0","typeLabel":"string"},{"description":"The reporting category used to group the transaction in financial reports.","type":"null","example":"example_value","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.balance_transactions.oneOf.0.items.[INDEX].reporting_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.balance_transactions.oneOf.0.items.[INDEX].reporting_category","typeLabel":"string | null"},"category":{"oneOf":[{"description":"The role this transaction plays within the dispute (e.g., the initial debit or a reversal). `null` when not categorized.","type":"string","example":"example_value","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.balance_transactions.oneOf.0.items.[INDEX].category.oneOf.0","typeLabel":"string"},{"description":"The role this transaction plays within the dispute (e.g., the initial debit or a reversal). `null` when not categorized.","type":"null","example":"example_value","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.balance_transactions.oneOf.0.items.[INDEX].category.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.balance_transactions.oneOf.0.items.[INDEX].category","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","description":"Time at which the balance transaction was created, as an RFC 3339 date-time string. `null` when unavailable.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.balance_transactions.oneOf.0.items.[INDEX].created_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"Time at which the balance transaction was created, as an RFC 3339 date-time string. `null` when unavailable.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.balance_transactions.oneOf.0.items.[INDEX].created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.balance_transactions.oneOf.0.items.[INDEX].created_at","typeLabel":"string | null"}},"example":{"balance_transaction_id":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","amount":2500,"fee":2500,"net":2500,"status":"available","type":"string","reporting_category":"example_value","category":"example_value","created_at":"2026-06-15T14:30:00Z"},"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.balance_transactions.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.balance_transactions.oneOf.0","typeLabel":"object[]"},{"description":"Balance transactions that record the funds withdrawn and returned as the dispute progresses (e.g., the initial debit and any reversal). An empty array when there are none.","type":"null","items":{"description":"A summary of a balance transaction associated with a dispute, recording how funds moved on your balance as the dispute progressed (for example the initial debit when the dispute was filed, or the reversal if it was won).","type":"object","required":["amount","balance_transaction_id","fee","net","status"],"properties":{"balance_transaction_id":{"description":"ID of the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `2500` = $25.00 USD). Negative when funds are withdrawn from your balance.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"fee":{"description":"Fee applied to the transaction, in the smallest currency unit (e.g., `1500` = $15.00 USD). For a dispute, this is typically the dispute (chargeback) fee.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"net":{"description":"Net amount applied to your balance after fees, in the smallest currency unit (`net = amount - fee`).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Status of the balance transaction: `available` or `pending`.","example":"available"},"type":{"oneOf":[{"description":"The type of balance transaction (e.g., `adjustment`). `null` when not classified.","type":"string"},{"description":"The type of balance transaction (e.g., `adjustment`). `null` when not classified.","type":"null"}]},"reporting_category":{"oneOf":[{"description":"The reporting category used to group the transaction in financial reports.","type":"string","example":"example_value"},{"description":"The reporting category used to group the transaction in financial reports.","type":"null","example":"example_value"}]},"category":{"oneOf":[{"description":"The role this transaction plays within the dispute (e.g., the initial debit or a reversal). `null` when not categorized.","type":"string","example":"example_value"},{"description":"The role this transaction plays within the dispute (e.g., the initial debit or a reversal). `null` when not categorized.","type":"null","example":"example_value"}]},"created_at":{"oneOf":[{"type":"string","description":"Time at which the balance transaction was created, as an RFC 3339 date-time string. `null` when unavailable.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"Time at which the balance transaction was created, as an RFC 3339 date-time string. `null` when unavailable.","example":"2026-06-15T14:30:00Z"}]}},"example":{"balance_transaction_id":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","amount":2500,"fee":2500,"net":2500,"status":"available","type":"string","reporting_category":"example_value","category":"example_value","created_at":"2026-06-15T14:30:00Z"}},"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.balance_transactions.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.balance_transactions","typeLabel":"object[] | null"},"payment_method_details":{"oneOf":[{"type":"object","description":"Details of the payment method that was disputed, such as the card brand and network reason code. `null` when no payment method details are available.","required":["type"],"example":{"type":"string","card":{"brand":"visa","network_reason_code":"example_value"}},"properties":{"type":{"description":"The type of payment method that was disputed (e.g., `card`).","type":"string","isRequired":true,"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.payment_method_details.oneOf.0.type","typeLabel":"string"},"card":{"oneOf":[{"type":"object","description":"Card-specific details, present when `type` is `card`. `null` for other payment method types.","example":{"brand":"visa","network_reason_code":"example_value"},"properties":{"brand":{"oneOf":[{"description":"The card brand. `null` when unknown.","type":"string","example":"visa","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.payment_method_details.oneOf.0.card.oneOf.0.brand.oneOf.0","typeLabel":"string"},{"description":"The card brand. `null` when unknown.","type":"null","example":"visa","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.payment_method_details.oneOf.0.card.oneOf.0.brand.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.payment_method_details.oneOf.0.card.oneOf.0.brand","typeLabel":"string | null"},"network_reason_code":{"oneOf":[{"description":"The reason code the card network assigned to the dispute, as reported by the issuer.","type":"string","example":"example_value","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.payment_method_details.oneOf.0.card.oneOf.0.network_reason_code.oneOf.0","typeLabel":"string"},{"description":"The reason code the card network assigned to the dispute, as reported by the issuer.","type":"null","example":"example_value","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.payment_method_details.oneOf.0.card.oneOf.0.network_reason_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.payment_method_details.oneOf.0.card.oneOf.0.network_reason_code","typeLabel":"string | null"}},"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.payment_method_details.oneOf.0.card.oneOf.0","typeLabel":"object"},{"type":"null","description":"Card-specific details, present when `type` is `card`. `null` for other payment method types.","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.payment_method_details.oneOf.0.card.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.payment_method_details.oneOf.0.card","typeLabel":"object | null"}},"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.payment_method_details.oneOf.0","typeLabel":"object"},{"type":"null","description":"Details of the payment method that was disputed, such as the card brand and network reason code. `null` when no payment method details are available.","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.payment_method_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.payment_method_details","typeLabel":"object | null"},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the customer or payment this dispute relates to, copied from the originating payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"Your own identifier for the customer or payment this dispute relates to, copied from the originating payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1.client_reference_id","typeLabel":"string | null"}},"uniqueKey":"checkout_session.disputes.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"checkout_session.disputes.items.[INDEX]","typeLabel":"string | object"},"uniqueKey":"checkout_session.disputes","typeLabel":"(string | object)[]"},"client_reference_id":{"oneOf":[{"description":"A unique string to reference the Checkout Session. This can be a customer ID, a cart ID, or similar, and can be used to reconcile the session with your internal systems.","type":"string","example":"example_value","uniqueKey":"checkout_session.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"A unique string to reference the Checkout Session. This can be a customer ID, a cart ID, or similar, and can be used to reconcile the session with your internal systems.","type":"null","example":"example_value","uniqueKey":"checkout_session.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.client_reference_id","typeLabel":"string | null"},"customer":{"oneOf":[{"type":"string","description":"The ID of the customer for this Session. This object is expandable if expand_customer is set.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The ID of the customer for this Session. This object is expandable if expand_customer is set.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.customer.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.customer.oneOf.1","typeLabel":"object"},{"type":"null","description":"The ID of the customer for this Session. This object is expandable if expand_customer is set.","uniqueKey":"checkout_session.customer.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.customer","typeLabel":"string | object | null"},"defaults":{"oneOf":[{"type":"object","description":"The customer values to prefill the customer details in the checkout page.","example":{"customer_id":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","email":"john.doe@example.com","first_name":"John","last_name":"Doe","phone":"+14155550142"},"properties":{"customer_id":{"oneOf":[{"description":"ID of an existing Customer to associate with the session. When set, the customer's saved details are used instead of the other fields.","type":"string","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.defaults.oneOf.0.customer_id.oneOf.0","typeLabel":"string"},{"description":"ID of an existing Customer to associate with the session. When set, the customer's saved details are used instead of the other fields.","type":"null","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.defaults.oneOf.0.customer_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.defaults.oneOf.0.customer_id","typeLabel":"string | null"},"email":{"oneOf":[{"description":"The customer's email address, prefilled on the checkout page.","type":"string","example":"john.doe@example.com","uniqueKey":"checkout_session.defaults.oneOf.0.email.oneOf.0","typeLabel":"string"},{"description":"The customer's email address, prefilled on the checkout page.","type":"null","example":"john.doe@example.com","uniqueKey":"checkout_session.defaults.oneOf.0.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.defaults.oneOf.0.email","typeLabel":"string | null"},"first_name":{"oneOf":[{"description":"The customer's first name, prefilled on the checkout page.","type":"string","example":"John","uniqueKey":"checkout_session.defaults.oneOf.0.first_name.oneOf.0","typeLabel":"string"},{"description":"The customer's first name, prefilled on the checkout page.","type":"null","example":"John","uniqueKey":"checkout_session.defaults.oneOf.0.first_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.defaults.oneOf.0.first_name","typeLabel":"string | null"},"last_name":{"oneOf":[{"description":"The customer's last name, prefilled on the checkout page.","type":"string","example":"Doe","uniqueKey":"checkout_session.defaults.oneOf.0.last_name.oneOf.0","typeLabel":"string"},{"description":"The customer's last name, prefilled on the checkout page.","type":"null","example":"Doe","uniqueKey":"checkout_session.defaults.oneOf.0.last_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.defaults.oneOf.0.last_name","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number in E.164 format, prefilled on the checkout page.","type":"string","example":"+14155550142","uniqueKey":"checkout_session.defaults.oneOf.0.phone.oneOf.0","typeLabel":"string"},{"description":"The customer's phone number in E.164 format, prefilled on the checkout page.","type":"null","example":"+14155550142","uniqueKey":"checkout_session.defaults.oneOf.0.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.defaults.oneOf.0.phone","typeLabel":"string | null"}},"uniqueKey":"checkout_session.defaults.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer values to prefill the customer details in the checkout page.","uniqueKey":"checkout_session.defaults.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.defaults","typeLabel":"object | null"},"invoice":{"oneOf":[{"description":"The ID of the invoice this Checkout Session is for, if any.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.invoice.oneOf.0","typeLabel":"string"},{"description":"The ID of the invoice this Checkout Session is for, if any.","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.invoice.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.invoice","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Metadata to attach to the Checkout Session.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata to attach to the Checkout Session.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.metadata","typeLabel":"object | null"},"origin":{"oneOf":[{"type":"string","description":"Where the Checkout Session was generated. `null` for sessions created directly via the API.","enum":["shopify","shopline","prepurchase","postpurchase","renewal"],"example":"shopify","uniqueKey":"checkout_session.origin.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Where the Checkout Session was generated. `null` for sessions created directly via the API.","uniqueKey":"checkout_session.origin.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.origin","typeLabel":"enum\u003cstring> | null"},"payment_intent":{"oneOf":[{"type":"string","description":"The payment intent that belongs to this Checkout Session. This object is expandable if expand_payment_intent is set.","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.0","typeLabel":"string"},{"type":"object","description":"The payment intent that belongs to this Checkout Session. This object is expandable if expand_payment_intent is set.","required":["amount","capture_method","created_at","payment_intent_id","status","test_mode"],"example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_intent_id":{"description":"The unique identifier for the payment intent.","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_intent_id","typeLabel":"string"},"amount":{"description":"The amount of the payment intent in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.amount","typeLabel":"integer\u003cint32>"},"status":{"description":"The status of the payment intent.","type":"string","enum":["canceled","processing","requires_action","requires_capture","requires_confirmation","requires_payment_method","succeeded"],"example":"canceled","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.status","typeLabel":"enum\u003cstring>"},"created_at":{"description":"The time the payment intent was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.created_at","typeLabel":"string"},"capture_method":{"description":"The capture method of the payment intent.","type":"string","enum":["automatic","automatic_async","manual"],"example":"automatic","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.capture_method","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the payment intent is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.test_mode","typeLabel":"boolean"},"amount_capturable":{"oneOf":[{"description":"The amount that can be captured from this PaymentIntent.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.amount_capturable.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The amount that can be captured from this PaymentIntent.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.amount_capturable.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.amount_capturable","typeLabel":"integer\u003cint32> | null"},"amount_received":{"oneOf":[{"description":"The amount that was received in cents.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.amount_received.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The amount that was received in cents.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.amount_received.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.amount_received","typeLabel":"integer\u003cint32> | null"},"application_fee_amount":{"oneOf":[{"description":"The amount of the Flex application fee.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.application_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The amount of the Flex application fee.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.application_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.application_fee_amount","typeLabel":"integer\u003cint32> | null"},"customer":{"oneOf":[{"type":"string","description":"The customer associated with the payment intent.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The customer associated with the payment intent.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.1","typeLabel":"object"},{"type":"null","description":"The customer associated with the payment intent.","uniqueKey":"checkout_session.payment_intent.oneOf.1.customer.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.customer","typeLabel":"string | object | null"},"transfer_data":{"oneOf":[{"type":"object","description":"The data related to the amount being transferred.","required":["destination"],"example":{"amount":2500,"destination":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"properties":{"destination":{"description":"The destination account of the transfer.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.transfer_data.oneOf.0.destination","typeLabel":"string"},"amount":{"oneOf":[{"description":"The amount to transfer, in cents.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.transfer_data.oneOf.0.amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The amount to transfer, in cents.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.transfer_data.oneOf.0.amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.transfer_data.oneOf.0.amount","typeLabel":"integer\u003cint32> | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.transfer_data.oneOf.0","typeLabel":"object"},{"type":"null","description":"The data related to the amount being transferred.","uniqueKey":"checkout_session.payment_intent.oneOf.1.transfer_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.transfer_data","typeLabel":"object | null"},"latest_charge":{"oneOf":[{"type":"string","description":"The latest charge associated with the payment intent.","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.0","typeLabel":"string"},{"type":"object","description":"The latest charge associated with the payment intent.","required":["amount","amount_captured","amount_refunded","captured","charge_id","created_at","disputed","paid","payment_intent","refunded","status","test_mode"],"example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"charge_id":{"description":"Unique identifier for the charge.","type":"string","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.charge_id","typeLabel":"string"},"amount":{"description":"Amount intended to be collected by this payment.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.amount","typeLabel":"integer\u003cint32>"},"amount_captured":{"description":"Amount in cents captured (can be less than the amount attribute on the charge if a partial capture was made).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.amount_captured","typeLabel":"integer\u003cint32>"},"amount_refunded":{"description":"Amount in cents refunded (can be less than the amount attribute on the charge if a partial refund was made).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.amount_refunded","typeLabel":"integer\u003cint32>"},"captured":{"description":"If the charge was created without capturing, this Boolean represents whether it is still uncaptured or has since been captured.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.captured","typeLabel":"boolean"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.created_at","typeLabel":"string"},"disputed":{"description":"Whether the charge has been disputed.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.disputed","typeLabel":"boolean"},"paid":{"description":"true if the charge succeeded, or was successfully authorized for later capture.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.paid","typeLabel":"boolean"},"refunded":{"description":"Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunded","typeLabel":"boolean"},"payment_intent":{"$circularRef":"8fbcacc5-2464-4789-9a44-67dbaef1711b","description":"The payment intent that generated this charge.","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.payment_intent","typeLabel":"any"},"status":{"description":"The status of the charge.","type":"string","enum":["succeeded","pending","failed"],"example":"succeeded","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the charge was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.test_mode","typeLabel":"boolean"},"application_fee_amount":{"oneOf":[{"description":"The Flex application fee for the charge","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.application_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The Flex application fee for the charge","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.application_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.application_fee_amount","typeLabel":"integer\u003cint32> | null"},"customer":{"oneOf":[{"type":"string","description":"The customer this charge is for if one exists.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The customer this charge is for if one exists.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1","typeLabel":"object"},{"type":"null","description":"The customer this charge is for if one exists.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.customer","typeLabel":"string | object | null"},"invoice":{"oneOf":[{"type":"string","description":"The invoice this charge is for if one exists.","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.0","typeLabel":"string"},{"type":"object","description":"The invoice this charge is for if one exists.","required":["amount_due","amount_paid","collection_method","created_at","invoice_id","status","test_mode","total"],"example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"invoice_id":{"description":"The id of the invoice.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.invoice_id","typeLabel":"string"},"total":{"description":"The total amount of the invoice in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.total","typeLabel":"integer\u003cint32>"},"amount_due":{"description":"The amount due in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.amount_due","typeLabel":"integer\u003cint32>"},"amount_paid":{"description":"The amount paid in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.amount_paid","typeLabel":"integer\u003cint32>"},"status":{"description":"The status of the invoice.","type":"string","enum":["draft","open","void","paid","uncollectible"],"example":"draft","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.status","typeLabel":"enum\u003cstring>"},"collection_method":{"description":"Either charge_automatically or send_invoice. When charging automatically, Flex will attempt to pay this invoice using the default payment method attached to the customer. When sending an invoice, Flex will email this invoice to the customer with payment instructions.","type":"string","enum":["charge_automatically","send_invoice"],"example":"charge_automatically","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.collection_method","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether or not the invoice was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.test_mode","typeLabel":"boolean"},"created_at":{"description":"When the invoice was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.created_at","typeLabel":"string"},"payment_intent":{"oneOf":[{"description":"The payment intent associated with this invoice. The payment intent is created when the invoice is finalized.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.payment_intent.oneOf.0","typeLabel":"any"},{"type":"null","description":"The payment intent associated with this invoice. The payment intent is created when the invoice is finalized.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.payment_intent.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.payment_intent","typeLabel":"any | null"},"charge":{"oneOf":[{"description":"The id of the latest charge for this invoice.","type":"string","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.charge.oneOf.0","typeLabel":"string"},{"description":"The id of the latest charge for this invoice.","type":"null","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.charge.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.charge","typeLabel":"string | null"},"customer":{"oneOf":[{"type":"string","description":"The id of the customer this invoice is for.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The id of the customer this invoice is for.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1","typeLabel":"object"},{"type":"null","description":"The id of the customer this invoice is for.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer","typeLabel":"string | object | null"},"period_end":{"oneOf":[{"type":"string","description":"End of the usage period.","example":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.period_end.oneOf.0","typeLabel":"string"},{"type":"null","description":"End of the usage period.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.period_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.period_end","typeLabel":"string | null"},"period_start":{"oneOf":[{"type":"string","description":"Start of the usage period.","example":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.period_start.oneOf.0","typeLabel":"string"},{"type":"null","description":"Start of the usage period.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.period_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.period_start","typeLabel":"string | null"},"subscription":{"oneOf":[{"type":"string","description":"The subscription that this invoice was prepared for.","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.0","typeLabel":"string"},{"type":"object","description":"The subscription that this invoice was prepared for.","required":["cancel_at_period_end","created_at","items","status","subscription_id","test_mode"],"example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"subscription_id":{"description":"Unique identifier for the object.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.subscription_id","typeLabel":"string"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.created_at","typeLabel":"string"},"items":{"description":"The items the customer is subscribed to.","type":"array","items":{"description":"A Subscription Item represents a single recurring Price billed as part of a Subscription, together with the quantity of that price the customer is subscribed to. A subscription has one item per recurring price it bills.","type":"object","required":["created_at","price","quantity","subscription_item_id","test_mode"],"properties":{"subscription_item_id":{"description":"Unique identifier for the subscription item.","type":"string","example":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].subscription_item_id","typeLabel":"string"},"price":{"oneOf":[{"type":"string","description":"The recurring Price this item bills. Returned as a price ID by default, or as the full Price object when expanded.","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.0","typeLabel":"string"},{"type":"object","description":"The recurring Price this item bills. Returned as a price ID by default, or as the full Price object when expanded.","required":["active","created_at","price_id","product","test_mode","type","unit_amount"],"example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"price_id":{"description":"The unique identifier for the price.","type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.price_id","typeLabel":"string"},"unit_amount":{"description":"The amount to charge per unit, in the smallest currency unit (e.g., `2500` = $25.00 USD).","type":"integer","format":"int32","minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.unit_amount","typeLabel":"integer\u003cint32>"},"active":{"description":"Whether the price is currently active.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.active","typeLabel":"boolean"},"product":{"oneOf":[{"type":"string","description":"The product this price belongs to. Returned as a product ID by default, or as the full Product object when expanded.","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.0","typeLabel":"string"},{"type":"object","description":"The product this price belongs to. Returned as a product ID by default, or as the full Product object when expanded.","required":["active","created_at","hsa_fsa_eligibility","name","product_id","test_mode"],"example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"product_id":{"description":"The unique identifier for the product.","type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.product_id","typeLabel":"string"},"name":{"description":"The name of the product.","type":"string","example":"Example","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.name","typeLabel":"string"},"created_at":{"description":"The date the product was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.created_at","typeLabel":"string"},"active":{"description":"Determines if the product is active or not.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.active","typeLabel":"boolean"},"hsa_fsa_eligibility":{"description":"The elegibility of the product for HSA/FSA.","type":"string","enum":["not_eligible","auto_substantiation","private_label","letter_of_medical_necessity","prescription","vision","service","pending"],"example":"not_eligible","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.hsa_fsa_eligibility","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the product is in test mode or not.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The ID of the account that owns this product. For products shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the account that owns this product. For products shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"null","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.owner_partner_id","typeLabel":"string | null"},"description":{"oneOf":[{"description":"The description of the product.","type":"string","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.description.oneOf.0","typeLabel":"string"},{"description":"The description of the product.","type":"null","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.description","typeLabel":"string | null"},"document_description":{"oneOf":[{"description":"Medical-grade description optimized for use in Letters of Medical Necessity and receipts.","deprecated":true,"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.document_description.oneOf.0","typeLabel":"string"},{"description":"Medical-grade description optimized for use in Letters of Medical Necessity and receipts.","deprecated":true,"type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.document_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.document_description","typeLabel":"string | null"},"receipt_description":{"oneOf":[{"description":"Shortened description tailored to receipt line items","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.receipt_description.oneOf.0","typeLabel":"string"},{"description":"Shortened description tailored to receipt line items","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.receipt_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.receipt_description","typeLabel":"string | null"},"visit_type":{"type":"any","description":"The visit type of the product if a letter of medical necessity is required.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.visit_type","typeLabel":"any"},"upc_code":{"oneOf":[{"description":"The upc code of the product.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.upc_code.oneOf.0","typeLabel":"string"},{"description":"The upc code of the product.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.upc_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.upc_code","typeLabel":"string | null"},"gtin":{"oneOf":[{"description":"The gtin code of the product.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.gtin.oneOf.0","typeLabel":"string"},{"description":"The gtin code of the product.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.gtin.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.gtin","typeLabel":"string | null"},"reference_gtin":{"oneOf":[{"description":"The GTIN of a private-label reference product, used to establish HSA/FSA eligibility.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.reference_gtin.oneOf.0","typeLabel":"string"},{"description":"The GTIN of a private-label reference product, used to establish HSA/FSA eligibility.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.reference_gtin.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.reference_gtin","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the product.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the product.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata","typeLabel":"object | null"},"url":{"oneOf":[{"description":"The URL of the product.","type":"string","example":"https://example.com","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.url.oneOf.0","typeLabel":"string"},{"description":"The URL of the product.","type":"null","example":"https://example.com","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.url","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"An optional identifier for the product set by the client at creation time. Immutable after creation.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"An optional identifier for the product set by the client at creation time. Immutable after creation.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.client_reference_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product","typeLabel":"string | object"},"created_at":{"description":"The date the price was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.created_at","typeLabel":"string"},"type":{"description":"The type of the price: a single one-time charge, or a recurring charge billed on a schedule.","type":"string","enum":["one_time","recurring"],"example":"one_time","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.type","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the price is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The ID of the account that owns this price. For prices shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the account that owns this price. For prices shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"null","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.owner_partner_id","typeLabel":"string | null"},"description":{"oneOf":[{"description":"The description of the price.","type":"string","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.description.oneOf.0","typeLabel":"string"},{"description":"The description of the price.","type":"null","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.description","typeLabel":"string | null"},"trial_period_days":{"oneOf":[{"description":"The number of trial period days before the customer is first charged for a recurring price.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.trial_period_days.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The number of trial period days before the customer is first charged for a recurring price.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.trial_period_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.trial_period_days","typeLabel":"integer\u003cint32> | null"},"recurring":{"oneOf":[{"type":"object","description":"The recurring components of a price such as interval and trial period days.","required":["interval"],"example":{"interval":"day","interval_count":0,"trial_period_days":0},"properties":{"interval":{"description":"The billing cadence for the price.","type":"string","enum":["day","week","month","year"],"example":"day","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval","typeLabel":"enum\u003cstring>"},"interval_count":{"oneOf":[{"description":"The number of intervals","type":"integer","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval_count.oneOf.0","typeLabel":"integer\u003cint64>"},{"description":"The number of intervals","type":"null","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval_count","typeLabel":"integer\u003cint64> | null"},"trial_period_days":{"oneOf":[{"description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","type":"integer","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.trial_period_days.oneOf.0","typeLabel":"integer\u003cint64>"},{"description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","type":"null","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.trial_period_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.trial_period_days","typeLabel":"integer\u003cint64> | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0","typeLabel":"object"},{"type":"null","description":"The recurring components of a price such as interval and trial period days.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata information for the price object","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata information for the price object","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.metadata","typeLabel":"object | null"},"lookup_key":{"oneOf":[{"description":"A stable, partner-owned key for this price. Unique per account and mode across all prices, archived ones included. `null` until you set one.","type":"string","maxLength":200,"example":"standard_monthly","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.lookup_key.oneOf.0","typeLabel":"string"},{"description":"A stable, partner-owned key for this price. Unique per account and mode across all prices, archived ones included. `null` until you set one.","type":"null","maxLength":200,"example":"standard_monthly","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.lookup_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.lookup_key","typeLabel":"string | null"},"hsa_fsa_eligibility":{"oneOf":[{"type":"string","description":"The HSA/FSA eligibility for the price.","enum":["not_eligible","auto_substantiation","private_label","letter_of_medical_necessity","prescription","vision","service","pending"],"example":"not_eligible","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.hsa_fsa_eligibility.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The HSA/FSA eligibility for the price.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.hsa_fsa_eligibility.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.hsa_fsa_eligibility","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price","typeLabel":"string | object"},"quantity":{"description":"The number of units of the price the customer is subscribed to.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"created_at":{"description":"Time at which the subscription item was created, as an RFC 3339 timestamp.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].created_at","typeLabel":"string"},"test_mode":{"description":"Whether the subscription item exists in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].test_mode","typeLabel":"boolean"},"updated_at":{"oneOf":[{"type":"string","description":"Time at which the subscription item was last updated, as an RFC 3339 timestamp. `null` if the item has not been updated since creation.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"Time at which the subscription item was last updated, as an RFC 3339 timestamp. `null` if the item has not been updated since creation.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].updated_at","typeLabel":"string | null"}},"example":{"subscription_item_id":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","price":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","quantity":2500,"created_at":"2026-06-15T14:30:00Z","updated_at":"2026-06-15T14:30:00Z","test_mode":false},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items","typeLabel":"object[]"},"status":{"description":"Possible values are incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, or paused.","type":"string","enum":["incomplete","incomplete_expired","trialing","active","past_due","canceled","unpaid","paused"],"example":"incomplete","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.status","typeLabel":"enum\u003cstring>"},"cancel_at_period_end":{"description":"If the subscription has been canceled with the at_period_end flag set to true, cancel_at_period_end on the subscription will be true. You can use this attribute to determine whether a subscription that has a status of active is scheduled to be canceled at the end of the current period.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at_period_end","typeLabel":"boolean"},"test_mode":{"description":"Whether the subscription is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.test_mode","typeLabel":"boolean"},"latest_invoice":{"oneOf":[{"description":"The ID of the latest invoice generated for this subscription.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.latest_invoice.oneOf.0","typeLabel":"any"},{"type":"null","description":"The ID of the latest invoice generated for this subscription.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.latest_invoice.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.latest_invoice","typeLabel":"any | null"},"customer":{"oneOf":[{"type":"string","description":"The ID of the customer who owns the subscription.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The ID of the customer who owns the subscription.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"type":"any","description":"The customer's shipping address.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping","typeLabel":"any"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1","typeLabel":"object"},{"type":"null","description":"The ID of the customer who owns the subscription.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer","typeLabel":"string | object | null"},"current_period_end":{"oneOf":[{"type":"string","description":"End of the current period that the subscription has been invoiced for.","example":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_end.oneOf.0","typeLabel":"string"},{"type":"null","description":"End of the current period that the subscription has been invoiced for.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_end","typeLabel":"string | null"},"current_period_start":{"oneOf":[{"type":"string","description":"Start of the current period that the subscription has been invoiced for.","example":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_start.oneOf.0","typeLabel":"string"},{"type":"null","description":"Start of the current period that the subscription has been invoiced for.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_start","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"A set of key/value pairs that you can attach to a subscription object.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"A set of key/value pairs that you can attach to a subscription object.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.metadata","typeLabel":"object | null"},"client_secret":{"oneOf":[{"type":"object","description":"Client secrets used to confirm the subscription's first payment or payment-method setup from your frontend. Present only while the subscription is being activated; omitted otherwise. Do not log or store these secrets; expose them only to the customer over TLS.","example":{"setup_secret":"string","payment_secret":"string"},"properties":{"setup_secret":{"oneOf":[{"description":"Client secret of the SetupIntent used to collect and save a payment method for the subscription (for example, during a trial with no immediate charge). `null` when no setup is required. Do not log or store it; expose only to the customer over TLS.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.setup_secret.oneOf.0","typeLabel":"string"},{"description":"Client secret of the SetupIntent used to collect and save a payment method for the subscription (for example, during a trial with no immediate charge). `null` when no setup is required. Do not log or store it; expose only to the customer over TLS.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.setup_secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.setup_secret","typeLabel":"string | null"},"payment_secret":{"oneOf":[{"description":"Client secret of the PaymentIntent used to confirm the subscription's first payment from your frontend. `null` when no immediate payment is required. Do not log or store it; expose only to the customer over TLS.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.payment_secret.oneOf.0","typeLabel":"string"},{"description":"Client secret of the PaymentIntent used to confirm the subscription's first payment from your frontend. `null` when no immediate payment is required. Do not log or store it; expose only to the customer over TLS.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.payment_secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.payment_secret","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0","typeLabel":"object"},{"type":"null","description":"Client secrets used to confirm the subscription's first payment or payment-method setup from your frontend. Present only while the subscription is being activated; omitted otherwise. Do not log or store these secrets; expose them only to the customer over TLS.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret","typeLabel":"object | null"},"proration_behavior":{"oneOf":[{"type":"string","description":"The proration behavior for the subscription.","enum":["always_invoice","create_prorations","none"],"example":"always_invoice","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.proration_behavior.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The proration behavior for the subscription.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.proration_behavior.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.proration_behavior","typeLabel":"enum\u003cstring> | null"},"trial_start":{"oneOf":[{"type":"string","description":"Start of the subscription's trial period, as an RFC 3339 timestamp. `null` if the subscription has no trial.","example":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_start.oneOf.0","typeLabel":"string"},{"type":"null","description":"Start of the subscription's trial period, as an RFC 3339 timestamp. `null` if the subscription has no trial.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_start","typeLabel":"string | null"},"trial_end":{"oneOf":[{"type":"string","description":"End of the subscription's trial period, as an RFC 3339 timestamp. After this time the customer is billed normally. `null` if the subscription has no trial.","example":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_end.oneOf.0","typeLabel":"string"},{"type":"null","description":"End of the subscription's trial period, as an RFC 3339 timestamp. After this time the customer is billed normally. `null` if the subscription has no trial.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_end","typeLabel":"string | null"},"cancel_at":{"oneOf":[{"type":"string","description":"A future RFC 3339 timestamp at which the subscription will automatically be canceled. `null` unless a future cancellation has been scheduled.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"A future RFC 3339 timestamp at which the subscription will automatically be canceled. `null` unless a future cancellation has been scheduled.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at","typeLabel":"string | null"},"canceled_at":{"oneOf":[{"type":"string","description":"The RFC 3339 timestamp at which the subscription was actually canceled. `null` if the subscription has not been canceled. Unlike `cancel_at` (a future scheduled cancellation), this is set once the cancellation has occurred.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.canceled_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The RFC 3339 timestamp at which the subscription was actually canceled. `null` if the subscription has not been canceled. Unlike `cancel_at` (a future scheduled cancellation), this is set once the cancellation has occurred.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.canceled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.canceled_at","typeLabel":"string | null"},"default_payment_method":{"oneOf":[{"type":"string","description":"The default payment method for the subscription (expandable).","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.0","typeLabel":"string"},{"type":"object","description":"The default payment method for the subscription (expandable).","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.payment_method_id","typeLabel":"string"},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"type":"any","description":"The billing address.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address","typeLabel":"any"},"email":{"oneOf":[{"description":"The billing email address.","type":"string","example":"john.doe@example.com","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.email.oneOf.0","typeLabel":"string"},{"description":"The billing email address.","type":"null","example":"john.doe@example.com","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.email","typeLabel":"string | null"},"name":{"oneOf":[{"description":"The billing name.","type":"string","example":"Example","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.name.oneOf.0","typeLabel":"string"},{"description":"The billing name.","type":"null","example":"Example","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.name","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The billing phone number.","type":"string","example":"+14155550142","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.phone.oneOf.0","typeLabel":"string"},{"description":"The billing phone number.","type":"null","example":"+14155550142","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.phone","typeLabel":"string | null"}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details","typeLabel":"object"},"customer":{"type":"any","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer","typeLabel":"any"},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.brand","typeLabel":"enum\u003cstring>"},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.country","typeLabel":"string"},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.exp_month","typeLabel":"integer\u003cint32>"},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.exp_year","typeLabel":"integer\u003cint32>"},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.fingerprint","typeLabel":"string"},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.funding","typeLabel":"enum\u003cstring>"},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.last4","typeLabel":"string"}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card","typeLabel":"object"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.test_mode","typeLabel":"boolean"},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.off_session","typeLabel":"boolean"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","additionalProperties":{"type":"object","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","additionalProperties":{"type":"object","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1","typeLabel":"object"},{"type":"null","description":"The default payment method for the subscription (expandable).","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method","typeLabel":"string | object | null"},"backup_payment_method":{"oneOf":[{"type":"string","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.0","typeLabel":"string"},{"type":"object","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.payment_method_id","typeLabel":"string"},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"type":"any","description":"The billing address.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address","typeLabel":"any"},"email":{"oneOf":[{"description":"The billing email address.","type":"string","example":"john.doe@example.com","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.email.oneOf.0","typeLabel":"string"},{"description":"The billing email address.","type":"null","example":"john.doe@example.com","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.email","typeLabel":"string | null"},"name":{"oneOf":[{"description":"The billing name.","type":"string","example":"Example","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.name.oneOf.0","typeLabel":"string"},{"description":"The billing name.","type":"null","example":"Example","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.name","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The billing phone number.","type":"string","example":"+14155550142","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.phone.oneOf.0","typeLabel":"string"},{"description":"The billing phone number.","type":"null","example":"+14155550142","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.phone","typeLabel":"string | null"}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details","typeLabel":"object"},"customer":{"type":"any","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer","typeLabel":"any"},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.brand","typeLabel":"enum\u003cstring>"},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.country","typeLabel":"string"},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.exp_month","typeLabel":"integer\u003cint32>"},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.exp_year","typeLabel":"integer\u003cint32>"},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.fingerprint","typeLabel":"string"},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.funding","typeLabel":"enum\u003cstring>"},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.last4","typeLabel":"string"}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card","typeLabel":"object"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.test_mode","typeLabel":"boolean"},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.off_session","typeLabel":"boolean"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","additionalProperties":{"type":"object","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","additionalProperties":{"type":"object","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1","typeLabel":"object"},{"type":"null","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method","typeLabel":"string | object | null"},"discounts":{"oneOf":[{"description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)","type":"array","items":{"description":"A Discount object represents the application of a coupon or promotion code to a checkout session, customer, subscription, or invoice. It records which coupon was redeemed, what the discount was applied to, and the time window over which it applies.","type":"object","required":["discount_id","source","start","test_mode"],"properties":{"discount_id":{"description":"The ID of the discount.","type":"string","example":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].discount_id","typeLabel":"string"},"source":{"description":"The source of the discount (coupon or promotion code).","type":"object","required":["coupon","type"],"properties":{"coupon":{"oneOf":[{"type":"string","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.0","typeLabel":"string"},{"type":"object","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","required":["coupon_id","created_at","duration","name","test_mode","valid"],"example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"coupon_id":{"description":"Unique identifier for the object.","type":"string","example":"fcoup_1234567890","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.coupon_id","typeLabel":"string"},"duration":{"type":"string","enum":["once","repeating","forever"],"x-ms-enum":{"name":"CouponDuration","modelAsString":false,"values":[{"value":"once","name":"Once","description":"Applies to the first charge from a subscription with this coupon applied."},{"value":"repeating","name":"Repeating","description":"Applies to charges in the first duration_in_months months from a subscription with this coupon applied."},{"value":"forever","name":"Forever","description":"Applies to all charges from a subscription with this coupon applied."}]},"description":"One of forever, once, and repeating. Describes how long a customer who applies this coupon will get the discount.","example":"once","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration","typeLabel":"enum\u003cstring>"},"name":{"description":"Name of the coupon displayed to customers.","type":"string","example":"Example","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.name","typeLabel":"string"},"valid":{"description":"Taking account of the above properties, whether this coupon can still be applied to a customer.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.valid","typeLabel":"boolean"},"created_at":{"description":"Date when this coupon was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the coupon is in test mode","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.test_mode","typeLabel":"boolean"},"amount_off":{"oneOf":[{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.amount_off.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.amount_off.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.amount_off","typeLabel":"integer\u003cint32> | null"},"applies_to":{"oneOf":[{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["products"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"properties":{"products":{"description":"The product that this coupon applies to.","type":"array","items":{"type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.0.products.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.0.products","typeLabel":"string[]"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.0","typeLabel":"object"},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["prices"],"properties":{"prices":{"description":"The price that this coupon applies to.","type":"array","items":{"type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.1.prices.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.1.prices","typeLabel":"string[]"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.1","typeLabel":"object"},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["fee_types"],"properties":{"fee_types":{"description":"The fee types that this coupon applies to.","type":"array","items":{"description":"The kind of fee applied to a checkout session: a Letter of Medical Necessity consultation fee, or a custom fee you define.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.2.fee_types.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.2.fee_types","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.2","typeLabel":"object"},{"type":"string","description":"An object containing the ID of the product that the coupon can be applied to.","enum":["shipping"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.3","typeLabel":"enum\u003cstring>"},{"type":"null","description":"An object containing the ID of the product that the coupon can be applied to.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.4","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to","typeLabel":"object · object · object · enum\u003cstring> · null"},"duration_in_months":{"oneOf":[{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration_in_months.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration_in_months.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration_in_months","typeLabel":"integer\u003cint32> | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.metadata","typeLabel":"object | null"},"percent_off":{"oneOf":[{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"number","format":"double","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.percent_off.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"null","format":"double","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.percent_off.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.percent_off","typeLabel":"number\u003cdouble> | null"},"max_redemptions":{"oneOf":[{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.max_redemptions.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.max_redemptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.max_redemptions","typeLabel":"integer\u003cint32> | null"},"times_redeemed":{"oneOf":[{"description":"Number of times this coupon has been applied to a customer.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.times_redeemed.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Number of times this coupon has been applied to a customer.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.times_redeemed.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.times_redeemed","typeLabel":"integer\u003cint32> | null"}},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon","typeLabel":"string | object"},"type":{"description":"The type of source.","type":"string","enum":["coupon","promotion_code"],"example":"coupon","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.type","typeLabel":"enum\u003cstring>"}},"example":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source","typeLabel":"object"},"test_mode":{"description":"Whether the discount was applied in test mode","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].test_mode","typeLabel":"boolean"},"start":{"description":"Date that the coupon was applied.","type":"string","example":"string","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].start","typeLabel":"string"},"checkout_session":{"oneOf":[{"description":"The checkout session that the discount was applied to.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session.oneOf.0","typeLabel":"string"},{"description":"The checkout session that the discount was applied to.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session","typeLabel":"string | null"},"customer":{"oneOf":[{"description":"The customer that the discount was applied to.","type":"string","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer.oneOf.0","typeLabel":"string"},{"description":"The customer that the discount was applied to.","type":"null","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer","typeLabel":"string | null"},"subscription":{"oneOf":[{"description":"The subscription that the discount was applied to.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription.oneOf.0","typeLabel":"string"},{"description":"The subscription that the discount was applied to.","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription","typeLabel":"string | null"},"invoice":{"oneOf":[{"description":"The invoice that the discount was applied to.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice.oneOf.0","typeLabel":"string"},{"description":"The invoice that the discount was applied to.","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice","typeLabel":"string | null"},"promo_code":{"oneOf":[{"description":"The promo code applied to create the discount.","type":"string","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code.oneOf.0","typeLabel":"string"},{"description":"The promo code applied to create the discount.","type":"null","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code","typeLabel":"string | null"},"end":{"oneOf":[{"type":"string","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","example":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].end.oneOf.0","typeLabel":"string"},{"type":"null","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].end","typeLabel":"string | null"}},"example":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0","typeLabel":"object[]"},{"description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)","type":"null","items":{"description":"A Discount object represents the application of a coupon or promotion code to a checkout session, customer, subscription, or invoice. It records which coupon was redeemed, what the discount was applied to, and the time window over which it applies.","type":"object","required":["discount_id","source","start","test_mode"],"properties":{"discount_id":{"description":"The ID of the discount.","type":"string","example":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"checkout_session":{"oneOf":[{"description":"The checkout session that the discount was applied to.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The checkout session that the discount was applied to.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"customer":{"oneOf":[{"description":"The customer that the discount was applied to.","type":"string","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The customer that the discount was applied to.","type":"null","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"subscription":{"oneOf":[{"description":"The subscription that the discount was applied to.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The subscription that the discount was applied to.","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"invoice":{"oneOf":[{"description":"The invoice that the discount was applied to.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The invoice that the discount was applied to.","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"source":{"description":"The source of the discount (coupon or promotion code).","type":"object","required":["coupon","type"],"properties":{"coupon":{"oneOf":[{"type":"string","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","required":["coupon_id","created_at","duration","name","test_mode","valid"],"example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"coupon_id":{"description":"Unique identifier for the object.","type":"string","example":"fcoup_1234567890"},"amount_off":{"oneOf":[{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648},{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648}]},"applies_to":{"oneOf":[{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["products"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"properties":{"products":{"description":"The product that this coupon applies to.","type":"array","items":{"type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["prices"],"properties":{"prices":{"description":"The price that this coupon applies to.","type":"array","items":{"type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["fee_types"],"properties":{"fee_types":{"description":"The fee types that this coupon applies to.","type":"array","items":{"description":"The kind of fee applied to a checkout session: a Letter of Medical Necessity consultation fee, or a custom fee you define.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation"}}}},{"type":"string","description":"An object containing the ID of the product that the coupon can be applied to.","enum":["shipping"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]}},{"type":"null","description":"An object containing the ID of the product that the coupon can be applied to."}]},"duration":{"type":"string","enum":["once","repeating","forever"],"x-ms-enum":{"name":"CouponDuration","modelAsString":false,"values":[{"value":"once","name":"Once","description":"Applies to the first charge from a subscription with this coupon applied."},{"value":"repeating","name":"Repeating","description":"Applies to charges in the first duration_in_months months from a subscription with this coupon applied."},{"value":"forever","name":"Forever","description":"Applies to all charges from a subscription with this coupon applied."}]},"description":"One of forever, once, and repeating. Describes how long a customer who applies this coupon will get the discount.","example":"once"},"duration_in_months":{"oneOf":[{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","example":{"order_id":"8842","channel":"shopify"}}]},"name":{"description":"Name of the coupon displayed to customers.","type":"string","example":"Example"},"percent_off":{"oneOf":[{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"number","format":"double"},{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"null","format":"double"}]},"max_redemptions":{"oneOf":[{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"times_redeemed":{"oneOf":[{"description":"Number of times this coupon has been applied to a customer.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Number of times this coupon has been applied to a customer.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"valid":{"description":"Taking account of the above properties, whether this coupon can still be applied to a customer.","type":"boolean","example":false},"created_at":{"description":"Date when this coupon was created.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether the coupon is in test mode","type":"boolean","example":false}}}]},"type":{"description":"The type of source.","type":"string","enum":["coupon","promotion_code"],"example":"coupon"}},"example":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"}},"promo_code":{"oneOf":[{"description":"The promo code applied to create the discount.","type":"string","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The promo code applied to create the discount.","type":"null","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether the discount was applied in test mode","type":"boolean","example":false},"end":{"oneOf":[{"type":"string","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","example":"string"},{"type":"null","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null."}]},"start":{"description":"Date that the coupon was applied.","type":"string","example":"string"}},"example":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts","typeLabel":"object[] | null"},"pause":{"oneOf":[{"type":"object","description":"The current pause. Present only while the subscription is paused.","required":["paused_at"],"example":{"paused_at":"2026-06-15T14:30:00Z","resume_at":"2026-06-15T14:30:00Z","billing_cycle_anchor":"unchanged","proration_behavior":"always_invoice","credit":"unused_time"},"properties":{"paused_at":{"description":"When the subscription was paused. ISO 8601 format. While paused, this is also the subscription's `current_period_end`.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.paused_at","typeLabel":"string"},"resume_at":{"oneOf":[{"type":"string","description":"When Flex resumes the subscription on its own. `null` when it stays paused until you resume it.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.resume_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When Flex resumes the subscription on its own. `null` when it stays paused until you resume it.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.resume_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.resume_at","typeLabel":"string | null"},"billing_cycle_anchor":{"oneOf":[{"type":"string","description":"Where billing restarts when Flex resumes at `resume_at`: `now` or `unchanged`. `null` when no resume is scheduled.","enum":["now","unchanged"],"x-ms-enum":{"name":"SubscriptionResumeBillingCycleAnchor","modelAsString":false,"values":[{"value":"now","name":"Now","description":"Bill monthly from the resume date, charging the full period now, net of any unused time credited at the pause. After an uncredited pause that ends inside the paid period, nothing is charged now and the next charge covers the time from the old period end."},{"value":"unchanged","name":"Unchanged","description":"Keep the original billing date."}]},"example":"unchanged","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.billing_cycle_anchor.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Where billing restarts when Flex resumes at `resume_at`: `now` or `unchanged`. `null` when no resume is scheduled.","example":"unchanged","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.billing_cycle_anchor.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.billing_cycle_anchor","typeLabel":"enum\u003cstring> | null"},"proration_behavior":{"oneOf":[{"type":"string","description":"How the partial period is billed when `billing_cycle_anchor` is `unchanged`. `null` otherwise.","enum":["create_prorations","always_invoice"],"x-ms-enum":{"name":"SubscriptionResumeProrationBehavior","modelAsString":false,"values":[{"value":"create_prorations","name":"CreateProrations","description":"Bill the partial period on the original billing date, with the next full period."},{"value":"always_invoice","name":"AlwaysInvoice","description":"Bill the partial period now, net of any unused time credited at the pause. A negative amount charges nothing and goes to the customer's balance."}]},"example":"always_invoice","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.proration_behavior.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"How the partial period is billed when `billing_cycle_anchor` is `unchanged`. `null` otherwise.","example":"always_invoice","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.proration_behavior.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.proration_behavior","typeLabel":"enum\u003cstring> | null"},"credit":{"type":"string","enum":["unused_time","none"],"x-ms-enum":{"name":"SubscriptionPauseCredit","modelAsString":false,"values":[{"value":"unused_time","name":"UnusedTime","description":"Credit the unused paid time from the pause to the period end. The resume charge is net of it."},{"value":"none","name":"None","description":"Credit nothing for the paused days inside the paid period. A resume before the period ends keeps the paid days after it."}]},"description":"What the pause credited for the paid time left in the period.","example":"unused_time","default":"unused_time","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.credit","typeLabel":"enum\u003cstring>"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0","typeLabel":"object"},{"type":"null","description":"The current pause. Present only while the subscription is paused.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1","typeLabel":"object"},{"type":"null","description":"The subscription that this invoice was prepared for.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription","typeLabel":"string | object | null"},"paid_at":{"oneOf":[{"type":"string","description":"When the invoice was paid.","example":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.paid_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the invoice was paid.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.paid_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.paid_at","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the invoice.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the invoice.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.metadata","typeLabel":"object | null"},"backup_charge_status":{"oneOf":[{"type":"string","description":"Outcome of the backup-payment-method fallback for this invoice. Omitted when no fallback applied. `succeeded` on a paid invoice means the subscription's backup card covered this renewal after the default payment method failed.","enum":["pending","succeeded","failed","skipped"],"example":"pending","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.backup_charge_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Outcome of the backup-payment-method fallback for this invoice. Omitted when no fallback applied. `succeeded` on a paid invoice means the subscription's backup card covered this renewal after the default payment method failed.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.backup_charge_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.backup_charge_status","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1","typeLabel":"object"},{"type":"null","description":"The invoice this charge is for if one exists.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice","typeLabel":"string | object | null"},"failure_message":{"oneOf":[{"description":"Message to user further explaining reason for charge failure if available.","type":"string","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_message.oneOf.0","typeLabel":"string"},{"description":"Message to user further explaining reason for charge failure if available.","type":"null","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_message","typeLabel":"string | null"},"refunds":{"oneOf":[{"description":"A list of refunds that have been applied to the charge.","type":"array","items":{"oneOf":[{"type":"string","description":"An expandable field — either a string ID or an expanded Refund object.","example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"object","description":"An expandable field — either a string ID or an expanded Refund object.","required":["amount","created_at","refund_id","status","test_mode"],"example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"refund_id":{"description":"The ID of the refund","type":"string","example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.refund_id","typeLabel":"string"},"amount":{"description":"The amount of the refund in cents","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.amount","typeLabel":"integer\u003cint32>"},"created_at":{"description":"The time at which the refund was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.created_at","typeLabel":"string"},"status":{"description":"The status of the refund","type":"string","enum":["pending","requires_action","succeeded","failed","canceled"],"example":"pending","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the refund was created in test mode","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.test_mode","typeLabel":"boolean"},"payment_intent_id":{"oneOf":[{"description":"The ID of the payment intent that the refund is associated with","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.payment_intent_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the payment intent that the refund is associated with","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.payment_intent_id","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","description":"The reason for the refund","enum":["duplicate","fraudulent","requested_by_customer","expired_uncaptured_charge"],"example":"duplicate","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The reason for the refund","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reason","typeLabel":"enum\u003cstring> | null"},"metadata":{"oneOf":[{"description":"Metadata attached to the refund","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata attached to the refund","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.metadata","typeLabel":"object | null"},"reference_id":{"oneOf":[{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_id.oneOf.0","typeLabel":"string"},{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_id","typeLabel":"string | null"},"reference_type":{"oneOf":[{"type":"string","description":"Type of the reference number used for the refund","enum":["acquirer_reference_number","system_trace_audit_number","retrieval_reference_number"],"example":"acquirer_reference_number","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Type of the reference number used for the refund","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_type","typeLabel":"enum\u003cstring> | null"},"reference_status":{"oneOf":[{"type":"string","description":"Status of the reference number used for the refund","enum":["available","pending","unavailable"],"example":"available","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Status of the reference number used for the refund","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_status","typeLabel":"enum\u003cstring> | null"},"items":{"description":"List of refund items (charges that were refunded)","default":[],"type":"array","items":{"description":"Represents a single refund item (charge that was refunded)","type":"object","required":["amount_refunded"],"properties":{"amount_refunded":{"description":"The amount refunded from this charge in cents","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].amount_refunded","typeLabel":"integer\u003cint32>"},"payment_intent":{"oneOf":[{"description":"The ID of the payment intent that the refund is associated with","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_intent.oneOf.0","typeLabel":"string"},{"description":"The ID of the payment intent that the refund is associated with","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_intent.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_intent","typeLabel":"string | null"},"payment_method_id":{"oneOf":[{"description":"The ID of the payment method used for this refund","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_method_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the payment method used for this refund","type":"null","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_method_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_method_id","typeLabel":"string | null"},"reference_id":{"oneOf":[{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_id.oneOf.0","typeLabel":"string"},{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_id","typeLabel":"string | null"},"reference_type":{"oneOf":[{"type":"string","description":"Type of the reference number used for the refund","enum":["acquirer_reference_number","system_trace_audit_number","retrieval_reference_number"],"example":"acquirer_reference_number","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Type of the reference number used for the refund","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_type","typeLabel":"enum\u003cstring> | null"},"reference_status":{"oneOf":[{"type":"string","description":"Status of the reference number used for the refund","enum":["available","pending","unavailable"],"example":"available","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Status of the reference number used for the refund","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_status","typeLabel":"enum\u003cstring> | null"}},"example":{"amount_refunded":2500,"payment_intent":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","payment_method_id":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","reference_id":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","reference_type":"acquirer_reference_number","reference_status":"available"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items","typeLabel":"object[]"},"subscription_id":{"oneOf":[{"description":"The subscription this refund is associated with (for subscription cancellation refunds)","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.subscription_id.oneOf.0","typeLabel":"string"},{"description":"The subscription this refund is associated with (for subscription cancellation refunds)","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.subscription_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.subscription_id","typeLabel":"string | null"},"invoice_id":{"oneOf":[{"description":"The invoice this refund is associated with (for subscription billing period refunds)","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.invoice_id.oneOf.0","typeLabel":"string"},{"description":"The invoice this refund is associated with (for subscription billing period refunds)","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.invoice_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.invoice_id","typeLabel":"string | null"},"balance_transaction":{"oneOf":[{"type":"string","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.0","typeLabel":"string"},{"type":"object","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.balance_transaction_id","typeLabel":"string"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.amount","typeLabel":"integer\u003cint32>"},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.fee","typeLabel":"integer\u003cint32>"},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.net","typeLabel":"integer\u003cint32>"},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.test_mode","typeLabel":"boolean"},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.available_on.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.available_on.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.available_on","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.created_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.created_at","typeLabel":"string | null"},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.exchange_rate","typeLabel":"number\u003cdouble> | null"},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.reporting_category.oneOf.0","typeLabel":"string"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.reporting_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.reporting_category","typeLabel":"string | null"},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.checkout_session_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.checkout_session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.checkout_session_id","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.client_reference_id","typeLabel":"string | null"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.source_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.source_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.source_id","typeLabel":"string | null"},"type":{"oneOf":[{"description":"The type of transaction.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.type.oneOf.0","typeLabel":"string"},{"description":"The type of transaction.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.type","typeLabel":"string | null"},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id","typeLabel":"string | null"},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.mid.oneOf.0","typeLabel":"string"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.mid.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.mid","typeLabel":"string | null"},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.currency.oneOf.0","typeLabel":"string"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.currency","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.metadata","typeLabel":"object | null"},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount","typeLabel":"integer\u003cint32> | null"},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount","typeLabel":"integer\u003cint32> | null"},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount","typeLabel":"integer\u003cint32> | null"},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount","typeLabel":"integer\u003cint32> | null"},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_type.oneOf.0","typeLabel":"string"},{"description":"Card funding type used for the transaction.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_type","typeLabel":"string | null"},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_network.oneOf.0","typeLabel":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_network.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_network","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1","typeLabel":"object"},{"type":"null","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction","typeLabel":"string | object | null"},"failure_balance_transaction":{"oneOf":[{"type":"string","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.0","typeLabel":"string"},{"type":"object","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.balance_transaction_id","typeLabel":"string"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.amount","typeLabel":"integer\u003cint32>"},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.fee","typeLabel":"integer\u003cint32>"},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.net","typeLabel":"integer\u003cint32>"},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.test_mode","typeLabel":"boolean"},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.available_on.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.available_on.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.available_on","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.created_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.created_at","typeLabel":"string | null"},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate","typeLabel":"number\u003cdouble> | null"},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.reporting_category.oneOf.0","typeLabel":"string"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.reporting_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.reporting_category","typeLabel":"string | null"},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id","typeLabel":"string | null"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.source_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.source_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.source_id","typeLabel":"string | null"},"type":{"oneOf":[{"description":"The type of transaction.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.type.oneOf.0","typeLabel":"string"},{"description":"The type of transaction.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.type","typeLabel":"string | null"},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id","typeLabel":"string | null"},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.mid.oneOf.0","typeLabel":"string"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.mid.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.mid","typeLabel":"string | null"},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.currency.oneOf.0","typeLabel":"string"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.currency","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.metadata","typeLabel":"object | null"},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount","typeLabel":"integer\u003cint32> | null"},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount","typeLabel":"integer\u003cint32> | null"},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount","typeLabel":"integer\u003cint32> | null"},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount","typeLabel":"integer\u003cint32> | null"},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_type.oneOf.0","typeLabel":"string"},{"description":"Card funding type used for the transaction.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_type","typeLabel":"string | null"},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_network.oneOf.0","typeLabel":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_network.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_network","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1","typeLabel":"object"},{"type":"null","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction","typeLabel":"string | object | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX]","typeLabel":"string | object"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0","typeLabel":"(string | object)[]"},{"description":"A list of refunds that have been applied to the charge.","type":"null","items":{"oneOf":[{"type":"string","description":"An expandable field — either a string ID or an expanded Refund object.","example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"An expandable field — either a string ID or an expanded Refund object.","required":["amount","created_at","refund_id","status","test_mode"],"example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"refund_id":{"description":"The ID of the refund","type":"string","example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"payment_intent_id":{"oneOf":[{"description":"The ID of the payment intent that the refund is associated with","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The ID of the payment intent that the refund is associated with","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"amount":{"description":"The amount of the refund in cents","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"created_at":{"description":"The time at which the refund was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z"},"reason":{"oneOf":[{"type":"string","description":"The reason for the refund","enum":["duplicate","fraudulent","requested_by_customer","expired_uncaptured_charge"],"example":"duplicate"},{"type":"null","description":"The reason for the refund"}]},"status":{"description":"The status of the refund","type":"string","enum":["pending","requires_action","succeeded","failed","canceled"],"example":"pending"},"test_mode":{"description":"Whether the refund was created in test mode","type":"boolean","example":false},"metadata":{"oneOf":[{"description":"Metadata attached to the refund","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Metadata attached to the refund","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"reference_id":{"oneOf":[{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"reference_type":{"oneOf":[{"type":"string","description":"Type of the reference number used for the refund","enum":["acquirer_reference_number","system_trace_audit_number","retrieval_reference_number"],"example":"acquirer_reference_number"},{"type":"null","description":"Type of the reference number used for the refund"}]},"reference_status":{"oneOf":[{"type":"string","description":"Status of the reference number used for the refund","enum":["available","pending","unavailable"],"example":"available"},{"type":"null","description":"Status of the reference number used for the refund"}]},"items":{"description":"List of refund items (charges that were refunded)","default":[],"type":"array","items":{"description":"Represents a single refund item (charge that was refunded)","type":"object","required":["amount_refunded"],"properties":{"amount_refunded":{"description":"The amount refunded from this charge in cents","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"payment_intent":{"oneOf":[{"description":"The ID of the payment intent that the refund is associated with","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The ID of the payment intent that the refund is associated with","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"payment_method_id":{"oneOf":[{"description":"The ID of the payment method used for this refund","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The ID of the payment method used for this refund","type":"null","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"reference_id":{"oneOf":[{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"reference_type":{"oneOf":[{"type":"string","description":"Type of the reference number used for the refund","enum":["acquirer_reference_number","system_trace_audit_number","retrieval_reference_number"],"example":"acquirer_reference_number"},{"type":"null","description":"Type of the reference number used for the refund"}]},"reference_status":{"oneOf":[{"type":"string","description":"Status of the reference number used for the refund","enum":["available","pending","unavailable"],"example":"available"},{"type":"null","description":"Status of the reference number used for the refund"}]}},"example":{"amount_refunded":2500,"payment_intent":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","payment_method_id":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","reference_id":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","reference_type":"acquirer_reference_number","reference_status":"available"}}},"subscription_id":{"oneOf":[{"description":"The subscription this refund is associated with (for subscription cancellation refunds)","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The subscription this refund is associated with (for subscription cancellation refunds)","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"invoice_id":{"oneOf":[{"description":"The invoice this refund is associated with (for subscription billing period refunds)","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The invoice this refund is associated with (for subscription billing period refunds)","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"balance_transaction":{"oneOf":[{"type":"string","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp."}]},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"}]},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1}]},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value"}]},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"type":{"oneOf":[{"description":"The type of transaction.","type":"string"},{"description":"The type of transaction.","type":"null"}]},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value"}]},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd"}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string"},{"description":"Card funding type used for the transaction.","type":"null"}]},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null"}]}}},{"type":"null","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object."}]},"failure_balance_transaction":{"oneOf":[{"type":"string","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp."}]},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"}]},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1}]},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value"}]},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"type":{"oneOf":[{"description":"The type of transaction.","type":"string"},{"description":"The type of transaction.","type":"null"}]},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value"}]},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd"}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string"},{"description":"Card funding type used for the transaction.","type":"null"}]},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null"}]}}},{"type":"null","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance."}]}}}]},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds","typeLabel":"(string | object)[] | null"},"transfer_group":{"oneOf":[{"description":"A string that identifies the resulting payment as part of a group","type":"string","example":"example_value","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.transfer_group.oneOf.0","typeLabel":"string"},{"description":"A string that identifies the resulting payment as part of a group","type":"null","example":"example_value","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.transfer_group.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.transfer_group","typeLabel":"string | null"},"payment_method_id":{"oneOf":[{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.payment_method_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the PaymentMethod.","type":"null","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.payment_method_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.payment_method_id","typeLabel":"string | null"},"three_d_secure":{"oneOf":[{"type":"object","description":"3D Secure authentication outcome details, if 3DS was used.","example":{"authentication_flow":"string","result":"string","result_reason":"string","version":"string"},"properties":{"authentication_flow":{"oneOf":[{"description":"How the customer was authenticated: `challenge` or `frictionless`.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.authentication_flow.oneOf.0","typeLabel":"string"},{"description":"How the customer was authenticated: `challenge` or `frictionless`.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.authentication_flow.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.authentication_flow","typeLabel":"string | null"},"result":{"oneOf":[{"description":"Outcome of 3D Secure authentication.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.result.oneOf.0","typeLabel":"string"},{"description":"Outcome of 3D Secure authentication.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.result.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.result","typeLabel":"string | null"},"result_reason":{"oneOf":[{"description":"Additional detail about why 3DS succeeded or failed.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.result_reason.oneOf.0","typeLabel":"string"},{"description":"Additional detail about why 3DS succeeded or failed.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.result_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.result_reason","typeLabel":"string | null"},"version":{"oneOf":[{"description":"The version of 3D Secure used.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.version.oneOf.0","typeLabel":"string"},{"description":"The version of 3D Secure used.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.version.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.version","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0","typeLabel":"object"},{"type":"null","description":"3D Secure authentication outcome details, if 3DS was used.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure","typeLabel":"object | null"},"decline_details":{"oneOf":[{"type":"object","description":"Decline and risk details for failed or blocked charges.","example":{"failure_code":"string","decline_code":"string","failure_message":"string","outcome_type":"string","network_status":"string","seller_message":"string","reason":"string","risk_level":"string"},"properties":{"failure_code":{"oneOf":[{"description":"Error code for the charge failure (e.g. `card_declined`, `expired_card`).","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.failure_code.oneOf.0","typeLabel":"string"},{"description":"Error code for the charge failure (e.g. `card_declined`, `expired_card`).","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.failure_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.failure_code","typeLabel":"string | null"},"decline_code":{"oneOf":[{"description":"More specific decline reason (e.g. `insufficient_funds`, `lost_card`).","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.decline_code.oneOf.0","typeLabel":"string"},{"description":"More specific decline reason (e.g. `insufficient_funds`, `lost_card`).","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.decline_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.decline_code","typeLabel":"string | null"},"failure_message":{"oneOf":[{"description":"User-facing failure message.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.failure_message.oneOf.0","typeLabel":"string"},{"description":"User-facing failure message.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.failure_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.failure_message","typeLabel":"string | null"},"outcome_type":{"oneOf":[{"description":"The outcome type of the decline.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.outcome_type.oneOf.0","typeLabel":"string"},{"description":"The outcome type of the decline.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.outcome_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.outcome_type","typeLabel":"string | null"},"network_status":{"oneOf":[{"description":"Network-level status: `approved_by_network`, `declined_by_network`, etc.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.network_status.oneOf.0","typeLabel":"string"},{"description":"Network-level status: `approved_by_network`, `declined_by_network`, etc.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.network_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.network_status","typeLabel":"string | null"},"seller_message":{"oneOf":[{"description":"Technical explanation of the outcome for the merchant.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.seller_message.oneOf.0","typeLabel":"string"},{"description":"Technical explanation of the outcome for the merchant.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.seller_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.seller_message","typeLabel":"string | null"},"reason":{"oneOf":[{"description":"Fraud/risk reason (e.g. `elevated_risk_level`).","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.reason.oneOf.0","typeLabel":"string"},{"description":"Fraud/risk reason (e.g. `elevated_risk_level`).","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.reason","typeLabel":"string | null"},"risk_level":{"oneOf":[{"description":"The risk level assessed for the payment.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.risk_level.oneOf.0","typeLabel":"string"},{"description":"The risk level assessed for the payment.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.risk_level.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.risk_level","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0","typeLabel":"object"},{"type":"null","description":"Decline and risk details for failed or blocked charges.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details","typeLabel":"object | null"},"balance_transaction":{"oneOf":[{"type":"string","description":"Balance transaction that describes the impact of this charge on your balance. Populated on successful capture, returned as the balance transaction ID. Always serialized; `null` for uncaptured charges.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.0","typeLabel":"string"},{"type":"object","description":"Balance transaction that describes the impact of this charge on your balance. Populated on successful capture, returned as the balance transaction ID. Always serialized; `null` for uncaptured charges.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.balance_transaction_id","typeLabel":"string"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.amount","typeLabel":"integer\u003cint32>"},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.fee","typeLabel":"integer\u003cint32>"},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.net","typeLabel":"integer\u003cint32>"},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.test_mode","typeLabel":"boolean"},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.available_on.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.available_on.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.available_on","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.created_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.created_at","typeLabel":"string | null"},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.exchange_rate","typeLabel":"number\u003cdouble> | null"},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.reporting_category.oneOf.0","typeLabel":"string"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.reporting_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.reporting_category","typeLabel":"string | null"},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.checkout_session_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.checkout_session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.checkout_session_id","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.client_reference_id","typeLabel":"string | null"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.source_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.source_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.source_id","typeLabel":"string | null"},"type":{"oneOf":[{"description":"The type of transaction.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.type.oneOf.0","typeLabel":"string"},{"description":"The type of transaction.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.type","typeLabel":"string | null"},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id","typeLabel":"string | null"},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.mid.oneOf.0","typeLabel":"string"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.mid.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.mid","typeLabel":"string | null"},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.currency.oneOf.0","typeLabel":"string"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.currency","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.metadata","typeLabel":"object | null"},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount","typeLabel":"integer\u003cint32> | null"},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount","typeLabel":"integer\u003cint32> | null"},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount","typeLabel":"integer\u003cint32> | null"},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount","typeLabel":"integer\u003cint32> | null"},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.card_type.oneOf.0","typeLabel":"string"},{"description":"Card funding type used for the transaction.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.card_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.card_type","typeLabel":"string | null"},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.card_network.oneOf.0","typeLabel":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.card_network.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.card_network","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1","typeLabel":"object"},{"type":"null","description":"Balance transaction that describes the impact of this charge on your balance. Populated on successful capture, returned as the balance transaction ID. Always serialized; `null` for uncaptured charges.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction","typeLabel":"string | object | null"},"failure_balance_transaction":{"oneOf":[{"type":"string","description":"Reversal balance transaction created when a captured charge fails or is otherwise reversed and funds are credited back. Always serialized; `null` on the common success path.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.0","typeLabel":"string"},{"type":"object","description":"Reversal balance transaction created when a captured charge fails or is otherwise reversed and funds are credited back. Always serialized; `null` on the common success path.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.balance_transaction_id","typeLabel":"string"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.amount","typeLabel":"integer\u003cint32>"},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.fee","typeLabel":"integer\u003cint32>"},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.net","typeLabel":"integer\u003cint32>"},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.test_mode","typeLabel":"boolean"},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.available_on.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.available_on.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.available_on","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.created_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.created_at","typeLabel":"string | null"},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate","typeLabel":"number\u003cdouble> | null"},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.reporting_category.oneOf.0","typeLabel":"string"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.reporting_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.reporting_category","typeLabel":"string | null"},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id","typeLabel":"string | null"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.source_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.source_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.source_id","typeLabel":"string | null"},"type":{"oneOf":[{"description":"The type of transaction.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.type.oneOf.0","typeLabel":"string"},{"description":"The type of transaction.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.type","typeLabel":"string | null"},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id","typeLabel":"string | null"},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.mid.oneOf.0","typeLabel":"string"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.mid.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.mid","typeLabel":"string | null"},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.currency.oneOf.0","typeLabel":"string"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.currency","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.metadata","typeLabel":"object | null"},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount","typeLabel":"integer\u003cint32> | null"},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount","typeLabel":"integer\u003cint32> | null"},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount","typeLabel":"integer\u003cint32> | null"},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount","typeLabel":"integer\u003cint32> | null"},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.card_type.oneOf.0","typeLabel":"string"},{"description":"Card funding type used for the transaction.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.card_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.card_type","typeLabel":"string | null"},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.card_network.oneOf.0","typeLabel":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.card_network.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.card_network","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1","typeLabel":"object"},{"type":"null","description":"Reversal balance transaction created when a captured charge fails or is otherwise reversed and funds are credited back. Always serialized; `null` on the common success path.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction","typeLabel":"string | object | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.1","typeLabel":"object"},{"type":"null","description":"The latest charge associated with the payment intent.","uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.latest_charge","typeLabel":"string | object | null"},"invoice":{"oneOf":[{"type":"string","description":"The invoice associated with the payment intent.","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.0","typeLabel":"string"},{"type":"object","description":"The invoice associated with the payment intent.","required":["amount_due","amount_paid","collection_method","created_at","invoice_id","status","test_mode","total"],"example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"invoice_id":{"description":"The id of the invoice.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.invoice_id","typeLabel":"string"},"total":{"description":"The total amount of the invoice in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.total","typeLabel":"integer\u003cint32>"},"amount_due":{"description":"The amount due in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.amount_due","typeLabel":"integer\u003cint32>"},"amount_paid":{"description":"The amount paid in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.amount_paid","typeLabel":"integer\u003cint32>"},"status":{"description":"The status of the invoice.","type":"string","enum":["draft","open","void","paid","uncollectible"],"example":"draft","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.status","typeLabel":"enum\u003cstring>"},"collection_method":{"description":"Either charge_automatically or send_invoice. When charging automatically, Flex will attempt to pay this invoice using the default payment method attached to the customer. When sending an invoice, Flex will email this invoice to the customer with payment instructions.","type":"string","enum":["charge_automatically","send_invoice"],"example":"charge_automatically","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.collection_method","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether or not the invoice was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.test_mode","typeLabel":"boolean"},"created_at":{"description":"When the invoice was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.created_at","typeLabel":"string"},"payment_intent":{"oneOf":[{"description":"The payment intent associated with this invoice. The payment intent is created when the invoice is finalized.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.payment_intent.oneOf.0","typeLabel":"any"},{"type":"null","description":"The payment intent associated with this invoice. The payment intent is created when the invoice is finalized.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.payment_intent.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.payment_intent","typeLabel":"any | null"},"charge":{"oneOf":[{"description":"The id of the latest charge for this invoice.","type":"string","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.charge.oneOf.0","typeLabel":"string"},{"description":"The id of the latest charge for this invoice.","type":"null","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.charge.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.charge","typeLabel":"string | null"},"customer":{"oneOf":[{"type":"string","description":"The id of the customer this invoice is for.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The id of the customer this invoice is for.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1","typeLabel":"object"},{"type":"null","description":"The id of the customer this invoice is for.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.customer","typeLabel":"string | object | null"},"period_end":{"oneOf":[{"type":"string","description":"End of the usage period.","example":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.period_end.oneOf.0","typeLabel":"string"},{"type":"null","description":"End of the usage period.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.period_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.period_end","typeLabel":"string | null"},"period_start":{"oneOf":[{"type":"string","description":"Start of the usage period.","example":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.period_start.oneOf.0","typeLabel":"string"},{"type":"null","description":"Start of the usage period.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.period_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.period_start","typeLabel":"string | null"},"subscription":{"oneOf":[{"type":"string","description":"The subscription that this invoice was prepared for.","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.0","typeLabel":"string"},{"type":"object","description":"The subscription that this invoice was prepared for.","required":["cancel_at_period_end","created_at","items","status","subscription_id","test_mode"],"example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"subscription_id":{"description":"Unique identifier for the object.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.subscription_id","typeLabel":"string"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.created_at","typeLabel":"string"},"items":{"description":"The items the customer is subscribed to.","type":"array","items":{"description":"A Subscription Item represents a single recurring Price billed as part of a Subscription, together with the quantity of that price the customer is subscribed to. A subscription has one item per recurring price it bills.","type":"object","required":["created_at","price","quantity","subscription_item_id","test_mode"],"properties":{"subscription_item_id":{"description":"Unique identifier for the subscription item.","type":"string","example":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].subscription_item_id","typeLabel":"string"},"price":{"oneOf":[{"type":"string","description":"The recurring Price this item bills. Returned as a price ID by default, or as the full Price object when expanded.","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.0","typeLabel":"string"},{"type":"object","description":"The recurring Price this item bills. Returned as a price ID by default, or as the full Price object when expanded.","required":["active","created_at","price_id","product","test_mode","type","unit_amount"],"example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"price_id":{"description":"The unique identifier for the price.","type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.price_id","typeLabel":"string"},"unit_amount":{"description":"The amount to charge per unit, in the smallest currency unit (e.g., `2500` = $25.00 USD).","type":"integer","format":"int32","minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.unit_amount","typeLabel":"integer\u003cint32>"},"active":{"description":"Whether the price is currently active.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.active","typeLabel":"boolean"},"product":{"oneOf":[{"type":"string","description":"The product this price belongs to. Returned as a product ID by default, or as the full Product object when expanded.","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.0","typeLabel":"string"},{"type":"object","description":"The product this price belongs to. Returned as a product ID by default, or as the full Product object when expanded.","required":["active","created_at","hsa_fsa_eligibility","name","product_id","test_mode"],"example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"product_id":{"description":"The unique identifier for the product.","type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.product_id","typeLabel":"string"},"name":{"description":"The name of the product.","type":"string","example":"Example","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.name","typeLabel":"string"},"created_at":{"description":"The date the product was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.created_at","typeLabel":"string"},"active":{"description":"Determines if the product is active or not.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.active","typeLabel":"boolean"},"hsa_fsa_eligibility":{"description":"The elegibility of the product for HSA/FSA.","type":"string","enum":["not_eligible","auto_substantiation","private_label","letter_of_medical_necessity","prescription","vision","service","pending"],"example":"not_eligible","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.hsa_fsa_eligibility","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the product is in test mode or not.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The ID of the account that owns this product. For products shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the account that owns this product. For products shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"null","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.owner_partner_id","typeLabel":"string | null"},"description":{"oneOf":[{"description":"The description of the product.","type":"string","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.description.oneOf.0","typeLabel":"string"},{"description":"The description of the product.","type":"null","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.description","typeLabel":"string | null"},"document_description":{"oneOf":[{"description":"Medical-grade description optimized for use in Letters of Medical Necessity and receipts.","deprecated":true,"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.document_description.oneOf.0","typeLabel":"string"},{"description":"Medical-grade description optimized for use in Letters of Medical Necessity and receipts.","deprecated":true,"type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.document_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.document_description","typeLabel":"string | null"},"receipt_description":{"oneOf":[{"description":"Shortened description tailored to receipt line items","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.receipt_description.oneOf.0","typeLabel":"string"},{"description":"Shortened description tailored to receipt line items","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.receipt_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.receipt_description","typeLabel":"string | null"},"visit_type":{"oneOf":[{"type":"string","description":"The visit type of the product if a letter of medical necessity is required.","enum":["cbtSleep","notApplicable","metabolomics","tinnitus","gym","exerciseDiet","orthopedic","alcohol","airPurification","vaginalHealth","menstrual","canopy","alopecia","genate","weightBlanket","bedJet","siderAl","sunwinkPowder","wavWatch","bodyComplete","ageRate","nitrousOxide","happyV","groupChat","icalmAnxiety","redBloom","foodom","branchErgonomicFurniture","curalife","eloraInfantWellness","nutriHealth","olipop","goldIntimate","touchStoneEssentials","utiva","sleepGeekz","figBrew","auBabyBlanket","babySleepSack","oshWellness","currentBodyRedLight","mito","circularRing","lymaRedLight","goodAirRx","tastermonial","karunaHome","ergoStandingChair","jbaGlucoseControl","bloomNutrition","buoyDrops","luxeWonderWig","saunaMarketplace","amrioreEyewear","pivotOrthoShoe","lumenCynergy","roga","pulsetto","mitoRedLight","gutPersonal","goFlaus","myHixel","calmigo","dotFit","stripesBeauty","mixHers","pmd","positivityWithPurpose","techRing","popVeneers","vertaClean","lumen","medicalMeal","emnHealth","detergentAllergy","lowImpactExercise","mediumImpactExercise","highImpactExercise","gardening","babyCarrier","smartGlasses","automatedCleaner","uvClothing","adaptiveShoes","breathWork","nonenalOdor","meneralsNootropicPouch","babyMonitorSplit","babySleepApp","coolingSleepwear","bodyPillow","uvGlasses","nursingChairs","coolingBed","posture","supplements","sleep","redLightTherapy","fitness","smartRing","womensVaginalHealth","fertilitySupport","femaleReproduction","femaleReproductionFood","pregnancyLiterature","iceBath","orthopedicShoes","sexualHealth","glucose","metabolicTest","skinCare","oralHealth","oralAnxiety","blueLightGlasses","anxiety","brainHealth","babyMonitor","compressionSocks","compressionShorts","waterPurification","medSpa","essentialOils","sleepBuds","latchLight","nutritionist","rairflow","enduranceTraining","hydration","hairGrowth","eD","postureFitness","childDevelopment","adaptiveClothing","sleepConsulting","hairRemoval","menopause","maleFertility","anxietyHealth","bidets","speechHealth","artOfLiving","breastMilk","petSupport","diapers","gutSupplements","smartWatch","medicalBotox","biomechanicalAssessment","erectileReset","femaleOrgasm","pornAddiction","memorySupport","oralHealthMasticGum","orthopedicSandals","childDevelopmentAnxietySleep","childDevelopmentAdjustment","childDevelopmentBehavior","childDevelopmentIdentity","emnHealthMobility","adaptiveShoesDependent","speechHealthDependent","breathWorkDependent"],"example":"cbtSleep","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.visit_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The visit type of the product if a letter of medical necessity is required.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.visit_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.visit_type","typeLabel":"enum\u003cstring> | null"},"upc_code":{"oneOf":[{"description":"The upc code of the product.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.upc_code.oneOf.0","typeLabel":"string"},{"description":"The upc code of the product.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.upc_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.upc_code","typeLabel":"string | null"},"gtin":{"oneOf":[{"description":"The gtin code of the product.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.gtin.oneOf.0","typeLabel":"string"},{"description":"The gtin code of the product.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.gtin.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.gtin","typeLabel":"string | null"},"reference_gtin":{"oneOf":[{"description":"The GTIN of a private-label reference product, used to establish HSA/FSA eligibility.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.reference_gtin.oneOf.0","typeLabel":"string"},{"description":"The GTIN of a private-label reference product, used to establish HSA/FSA eligibility.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.reference_gtin.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.reference_gtin","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the product.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the product.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata","typeLabel":"object | null"},"url":{"oneOf":[{"description":"The URL of the product.","type":"string","example":"https://example.com","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.url.oneOf.0","typeLabel":"string"},{"description":"The URL of the product.","type":"null","example":"https://example.com","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.url","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"An optional identifier for the product set by the client at creation time. Immutable after creation.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"An optional identifier for the product set by the client at creation time. Immutable after creation.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.client_reference_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product","typeLabel":"string | object"},"created_at":{"description":"The date the price was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.created_at","typeLabel":"string"},"type":{"description":"The type of the price: a single one-time charge, or a recurring charge billed on a schedule.","type":"string","enum":["one_time","recurring"],"example":"one_time","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.type","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the price is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The ID of the account that owns this price. For prices shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the account that owns this price. For prices shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"null","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.owner_partner_id","typeLabel":"string | null"},"description":{"oneOf":[{"description":"The description of the price.","type":"string","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.description.oneOf.0","typeLabel":"string"},{"description":"The description of the price.","type":"null","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.description","typeLabel":"string | null"},"trial_period_days":{"oneOf":[{"description":"The number of trial period days before the customer is first charged for a recurring price.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.trial_period_days.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The number of trial period days before the customer is first charged for a recurring price.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.trial_period_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.trial_period_days","typeLabel":"integer\u003cint32> | null"},"recurring":{"oneOf":[{"type":"object","description":"The recurring components of a price such as interval and trial period days.","required":["interval"],"example":{"interval":"day","interval_count":0,"trial_period_days":0},"properties":{"interval":{"description":"The billing cadence for the price.","type":"string","enum":["day","week","month","year"],"example":"day","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval","typeLabel":"enum\u003cstring>"},"interval_count":{"oneOf":[{"description":"The number of intervals","type":"integer","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval_count.oneOf.0","typeLabel":"integer\u003cint64>"},{"description":"The number of intervals","type":"null","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval_count","typeLabel":"integer\u003cint64> | null"},"trial_period_days":{"oneOf":[{"description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","type":"integer","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.trial_period_days.oneOf.0","typeLabel":"integer\u003cint64>"},{"description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","type":"null","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.trial_period_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.trial_period_days","typeLabel":"integer\u003cint64> | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0","typeLabel":"object"},{"type":"null","description":"The recurring components of a price such as interval and trial period days.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata information for the price object","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata information for the price object","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.metadata","typeLabel":"object | null"},"lookup_key":{"oneOf":[{"description":"A stable, partner-owned key for this price. Unique per account and mode across all prices, archived ones included. `null` until you set one.","type":"string","maxLength":200,"example":"standard_monthly","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.lookup_key.oneOf.0","typeLabel":"string"},{"description":"A stable, partner-owned key for this price. Unique per account and mode across all prices, archived ones included. `null` until you set one.","type":"null","maxLength":200,"example":"standard_monthly","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.lookup_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.lookup_key","typeLabel":"string | null"},"hsa_fsa_eligibility":{"oneOf":[{"type":"string","description":"The HSA/FSA eligibility for the price.","enum":["not_eligible","auto_substantiation","private_label","letter_of_medical_necessity","prescription","vision","service","pending"],"example":"not_eligible","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.hsa_fsa_eligibility.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The HSA/FSA eligibility for the price.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.hsa_fsa_eligibility.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.hsa_fsa_eligibility","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price","typeLabel":"string | object"},"quantity":{"description":"The number of units of the price the customer is subscribed to.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"created_at":{"description":"Time at which the subscription item was created, as an RFC 3339 timestamp.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].created_at","typeLabel":"string"},"test_mode":{"description":"Whether the subscription item exists in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].test_mode","typeLabel":"boolean"},"updated_at":{"oneOf":[{"type":"string","description":"Time at which the subscription item was last updated, as an RFC 3339 timestamp. `null` if the item has not been updated since creation.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"Time at which the subscription item was last updated, as an RFC 3339 timestamp. `null` if the item has not been updated since creation.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].updated_at","typeLabel":"string | null"}},"example":{"subscription_item_id":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","price":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","quantity":2500,"created_at":"2026-06-15T14:30:00Z","updated_at":"2026-06-15T14:30:00Z","test_mode":false},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items","typeLabel":"object[]"},"status":{"description":"Possible values are incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, or paused.","type":"string","enum":["incomplete","incomplete_expired","trialing","active","past_due","canceled","unpaid","paused"],"example":"incomplete","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.status","typeLabel":"enum\u003cstring>"},"cancel_at_period_end":{"description":"If the subscription has been canceled with the at_period_end flag set to true, cancel_at_period_end on the subscription will be true. You can use this attribute to determine whether a subscription that has a status of active is scheduled to be canceled at the end of the current period.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at_period_end","typeLabel":"boolean"},"test_mode":{"description":"Whether the subscription is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.test_mode","typeLabel":"boolean"},"latest_invoice":{"oneOf":[{"description":"The ID of the latest invoice generated for this subscription.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.latest_invoice.oneOf.0","typeLabel":"any"},{"type":"null","description":"The ID of the latest invoice generated for this subscription.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.latest_invoice.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.latest_invoice","typeLabel":"any | null"},"customer":{"oneOf":[{"type":"string","description":"The ID of the customer who owns the subscription.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The ID of the customer who owns the subscription.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1","typeLabel":"object"},{"type":"null","description":"The ID of the customer who owns the subscription.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer","typeLabel":"string | object | null"},"current_period_end":{"oneOf":[{"type":"string","description":"End of the current period that the subscription has been invoiced for.","example":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_end.oneOf.0","typeLabel":"string"},{"type":"null","description":"End of the current period that the subscription has been invoiced for.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_end","typeLabel":"string | null"},"current_period_start":{"oneOf":[{"type":"string","description":"Start of the current period that the subscription has been invoiced for.","example":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_start.oneOf.0","typeLabel":"string"},{"type":"null","description":"Start of the current period that the subscription has been invoiced for.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_start","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"A set of key/value pairs that you can attach to a subscription object.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"A set of key/value pairs that you can attach to a subscription object.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.metadata","typeLabel":"object | null"},"client_secret":{"oneOf":[{"type":"object","description":"Client secrets used to confirm the subscription's first payment or payment-method setup from your frontend. Present only while the subscription is being activated; omitted otherwise. Do not log or store these secrets; expose them only to the customer over TLS.","example":{"setup_secret":"string","payment_secret":"string"},"properties":{"setup_secret":{"oneOf":[{"description":"Client secret of the SetupIntent used to collect and save a payment method for the subscription (for example, during a trial with no immediate charge). `null` when no setup is required. Do not log or store it; expose only to the customer over TLS.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.setup_secret.oneOf.0","typeLabel":"string"},{"description":"Client secret of the SetupIntent used to collect and save a payment method for the subscription (for example, during a trial with no immediate charge). `null` when no setup is required. Do not log or store it; expose only to the customer over TLS.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.setup_secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.setup_secret","typeLabel":"string | null"},"payment_secret":{"oneOf":[{"description":"Client secret of the PaymentIntent used to confirm the subscription's first payment from your frontend. `null` when no immediate payment is required. Do not log or store it; expose only to the customer over TLS.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.payment_secret.oneOf.0","typeLabel":"string"},{"description":"Client secret of the PaymentIntent used to confirm the subscription's first payment from your frontend. `null` when no immediate payment is required. Do not log or store it; expose only to the customer over TLS.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.payment_secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.payment_secret","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0","typeLabel":"object"},{"type":"null","description":"Client secrets used to confirm the subscription's first payment or payment-method setup from your frontend. Present only while the subscription is being activated; omitted otherwise. Do not log or store these secrets; expose them only to the customer over TLS.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret","typeLabel":"object | null"},"proration_behavior":{"oneOf":[{"type":"string","description":"The proration behavior for the subscription.","enum":["always_invoice","create_prorations","none"],"example":"always_invoice","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.proration_behavior.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The proration behavior for the subscription.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.proration_behavior.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.proration_behavior","typeLabel":"enum\u003cstring> | null"},"trial_start":{"oneOf":[{"type":"string","description":"Start of the subscription's trial period, as an RFC 3339 timestamp. `null` if the subscription has no trial.","example":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_start.oneOf.0","typeLabel":"string"},{"type":"null","description":"Start of the subscription's trial period, as an RFC 3339 timestamp. `null` if the subscription has no trial.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_start","typeLabel":"string | null"},"trial_end":{"oneOf":[{"type":"string","description":"End of the subscription's trial period, as an RFC 3339 timestamp. After this time the customer is billed normally. `null` if the subscription has no trial.","example":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_end.oneOf.0","typeLabel":"string"},{"type":"null","description":"End of the subscription's trial period, as an RFC 3339 timestamp. After this time the customer is billed normally. `null` if the subscription has no trial.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_end","typeLabel":"string | null"},"cancel_at":{"oneOf":[{"type":"string","description":"A future RFC 3339 timestamp at which the subscription will automatically be canceled. `null` unless a future cancellation has been scheduled.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"A future RFC 3339 timestamp at which the subscription will automatically be canceled. `null` unless a future cancellation has been scheduled.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at","typeLabel":"string | null"},"canceled_at":{"oneOf":[{"type":"string","description":"The RFC 3339 timestamp at which the subscription was actually canceled. `null` if the subscription has not been canceled. Unlike `cancel_at` (a future scheduled cancellation), this is set once the cancellation has occurred.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.canceled_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The RFC 3339 timestamp at which the subscription was actually canceled. `null` if the subscription has not been canceled. Unlike `cancel_at` (a future scheduled cancellation), this is set once the cancellation has occurred.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.canceled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.canceled_at","typeLabel":"string | null"},"default_payment_method":{"oneOf":[{"type":"string","description":"The default payment method for the subscription (expandable).","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.0","typeLabel":"string"},{"type":"object","description":"The default payment method for the subscription (expandable).","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.payment_method_id","typeLabel":"string"},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"oneOf":[{"type":"object","description":"The billing address.","example":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"properties":{"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.city","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter ISO country code (e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter ISO country code (e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.country","typeLabel":"string | null"},"line1":{"oneOf":[{"description":"Address line 1, such as the street, PO box, or company name.","type":"string","example":"123 Main St","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"Address line 1, such as the street, PO box, or company name.","type":"null","example":"123 Main St","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"string","example":"Suite 100","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"null","example":"Suite 100","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.state","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"The billing address.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address","typeLabel":"object | null"},"email":{"oneOf":[{"description":"The billing email address.","type":"string","example":"john.doe@example.com","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.email.oneOf.0","typeLabel":"string"},{"description":"The billing email address.","type":"null","example":"john.doe@example.com","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.email","typeLabel":"string | null"},"name":{"oneOf":[{"description":"The billing name.","type":"string","example":"Example","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.name.oneOf.0","typeLabel":"string"},{"description":"The billing name.","type":"null","example":"Example","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.name","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The billing phone number.","type":"string","example":"+14155550142","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.phone.oneOf.0","typeLabel":"string"},{"description":"The billing phone number.","type":"null","example":"+14155550142","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.phone","typeLabel":"string | null"}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details","typeLabel":"object"},"customer":{"oneOf":[{"type":"string","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer","typeLabel":"string | object"},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.brand","typeLabel":"enum\u003cstring>"},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.country","typeLabel":"string"},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.exp_month","typeLabel":"integer\u003cint32>"},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.exp_year","typeLabel":"integer\u003cint32>"},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.fingerprint","typeLabel":"string"},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.funding","typeLabel":"enum\u003cstring>"},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.last4","typeLabel":"string"}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card","typeLabel":"object"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.test_mode","typeLabel":"boolean"},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.off_session","typeLabel":"boolean"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","additionalProperties":{"type":"object","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","additionalProperties":{"type":"object","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1","typeLabel":"object"},{"type":"null","description":"The default payment method for the subscription (expandable).","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method","typeLabel":"string | object | null"},"backup_payment_method":{"oneOf":[{"type":"string","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.0","typeLabel":"string"},{"type":"object","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.payment_method_id","typeLabel":"string"},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"oneOf":[{"type":"object","description":"The billing address.","example":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"properties":{"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.city","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter ISO country code (e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter ISO country code (e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.country","typeLabel":"string | null"},"line1":{"oneOf":[{"description":"Address line 1, such as the street, PO box, or company name.","type":"string","example":"123 Main St","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"Address line 1, such as the street, PO box, or company name.","type":"null","example":"123 Main St","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"string","example":"Suite 100","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"null","example":"Suite 100","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.state","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"The billing address.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address","typeLabel":"object | null"},"email":{"oneOf":[{"description":"The billing email address.","type":"string","example":"john.doe@example.com","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.email.oneOf.0","typeLabel":"string"},{"description":"The billing email address.","type":"null","example":"john.doe@example.com","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.email","typeLabel":"string | null"},"name":{"oneOf":[{"description":"The billing name.","type":"string","example":"Example","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.name.oneOf.0","typeLabel":"string"},{"description":"The billing name.","type":"null","example":"Example","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.name","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The billing phone number.","type":"string","example":"+14155550142","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.phone.oneOf.0","typeLabel":"string"},{"description":"The billing phone number.","type":"null","example":"+14155550142","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.phone","typeLabel":"string | null"}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details","typeLabel":"object"},"customer":{"oneOf":[{"type":"string","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer","typeLabel":"string | object"},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.brand","typeLabel":"enum\u003cstring>"},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.country","typeLabel":"string"},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.exp_month","typeLabel":"integer\u003cint32>"},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.exp_year","typeLabel":"integer\u003cint32>"},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.fingerprint","typeLabel":"string"},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.funding","typeLabel":"enum\u003cstring>"},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.last4","typeLabel":"string"}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card","typeLabel":"object"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.test_mode","typeLabel":"boolean"},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.off_session","typeLabel":"boolean"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","additionalProperties":{"type":"object","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","additionalProperties":{"type":"object","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1","typeLabel":"object"},{"type":"null","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method","typeLabel":"string | object | null"},"discounts":{"oneOf":[{"description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)","type":"array","items":{"description":"A Discount object represents the application of a coupon or promotion code to a checkout session, customer, subscription, or invoice. It records which coupon was redeemed, what the discount was applied to, and the time window over which it applies.","type":"object","required":["discount_id","source","start","test_mode"],"properties":{"discount_id":{"description":"The ID of the discount.","type":"string","example":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].discount_id","typeLabel":"string"},"source":{"description":"The source of the discount (coupon or promotion code).","type":"object","required":["coupon","type"],"properties":{"coupon":{"oneOf":[{"type":"string","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.0","typeLabel":"string"},{"type":"object","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","required":["coupon_id","created_at","duration","name","test_mode","valid"],"example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"coupon_id":{"description":"Unique identifier for the object.","type":"string","example":"fcoup_1234567890","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.coupon_id","typeLabel":"string"},"duration":{"type":"string","enum":["once","repeating","forever"],"x-ms-enum":{"name":"CouponDuration","modelAsString":false,"values":[{"value":"once","name":"Once","description":"Applies to the first charge from a subscription with this coupon applied."},{"value":"repeating","name":"Repeating","description":"Applies to charges in the first duration_in_months months from a subscription with this coupon applied."},{"value":"forever","name":"Forever","description":"Applies to all charges from a subscription with this coupon applied."}]},"description":"One of forever, once, and repeating. Describes how long a customer who applies this coupon will get the discount.","example":"once","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration","typeLabel":"enum\u003cstring>"},"name":{"description":"Name of the coupon displayed to customers.","type":"string","example":"Example","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.name","typeLabel":"string"},"valid":{"description":"Taking account of the above properties, whether this coupon can still be applied to a customer.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.valid","typeLabel":"boolean"},"created_at":{"description":"Date when this coupon was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the coupon is in test mode","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.test_mode","typeLabel":"boolean"},"amount_off":{"oneOf":[{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.amount_off.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.amount_off.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.amount_off","typeLabel":"integer\u003cint32> | null"},"applies_to":{"oneOf":[{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["products"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"properties":{"products":{"description":"The product that this coupon applies to.","type":"array","items":{"type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.0.products.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.0.products","typeLabel":"string[]"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.0","typeLabel":"object"},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["prices"],"properties":{"prices":{"description":"The price that this coupon applies to.","type":"array","items":{"type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.1.prices.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.1.prices","typeLabel":"string[]"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.1","typeLabel":"object"},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["fee_types"],"properties":{"fee_types":{"description":"The fee types that this coupon applies to.","type":"array","items":{"description":"The kind of fee applied to a checkout session: a Letter of Medical Necessity consultation fee, or a custom fee you define.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.2.fee_types.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.2.fee_types","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.2","typeLabel":"object"},{"type":"string","description":"An object containing the ID of the product that the coupon can be applied to.","enum":["shipping"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.3","typeLabel":"enum\u003cstring>"},{"type":"null","description":"An object containing the ID of the product that the coupon can be applied to.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.4","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to","typeLabel":"object · object · object · enum\u003cstring> · null"},"duration_in_months":{"oneOf":[{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration_in_months.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration_in_months.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration_in_months","typeLabel":"integer\u003cint32> | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.metadata","typeLabel":"object | null"},"percent_off":{"oneOf":[{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"number","format":"double","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.percent_off.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"null","format":"double","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.percent_off.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.percent_off","typeLabel":"number\u003cdouble> | null"},"max_redemptions":{"oneOf":[{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.max_redemptions.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.max_redemptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.max_redemptions","typeLabel":"integer\u003cint32> | null"},"times_redeemed":{"oneOf":[{"description":"Number of times this coupon has been applied to a customer.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.times_redeemed.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Number of times this coupon has been applied to a customer.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.times_redeemed.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.times_redeemed","typeLabel":"integer\u003cint32> | null"}},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon","typeLabel":"string | object"},"type":{"description":"The type of source.","type":"string","enum":["coupon","promotion_code"],"example":"coupon","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.type","typeLabel":"enum\u003cstring>"}},"example":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source","typeLabel":"object"},"test_mode":{"description":"Whether the discount was applied in test mode","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].test_mode","typeLabel":"boolean"},"start":{"description":"Date that the coupon was applied.","type":"string","example":"string","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].start","typeLabel":"string"},"checkout_session":{"oneOf":[{"description":"The checkout session that the discount was applied to.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session.oneOf.0","typeLabel":"string"},{"description":"The checkout session that the discount was applied to.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session","typeLabel":"string | null"},"customer":{"oneOf":[{"description":"The customer that the discount was applied to.","type":"string","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer.oneOf.0","typeLabel":"string"},{"description":"The customer that the discount was applied to.","type":"null","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer","typeLabel":"string | null"},"subscription":{"oneOf":[{"description":"The subscription that the discount was applied to.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription.oneOf.0","typeLabel":"string"},{"description":"The subscription that the discount was applied to.","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription","typeLabel":"string | null"},"invoice":{"oneOf":[{"description":"The invoice that the discount was applied to.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice.oneOf.0","typeLabel":"string"},{"description":"The invoice that the discount was applied to.","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice","typeLabel":"string | null"},"promo_code":{"oneOf":[{"description":"The promo code applied to create the discount.","type":"string","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code.oneOf.0","typeLabel":"string"},{"description":"The promo code applied to create the discount.","type":"null","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code","typeLabel":"string | null"},"end":{"oneOf":[{"type":"string","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","example":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].end.oneOf.0","typeLabel":"string"},{"type":"null","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].end","typeLabel":"string | null"}},"example":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0","typeLabel":"object[]"},{"description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)","type":"null","items":{"description":"A Discount object represents the application of a coupon or promotion code to a checkout session, customer, subscription, or invoice. It records which coupon was redeemed, what the discount was applied to, and the time window over which it applies.","type":"object","required":["discount_id","source","start","test_mode"],"properties":{"discount_id":{"description":"The ID of the discount.","type":"string","example":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"checkout_session":{"oneOf":[{"description":"The checkout session that the discount was applied to.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The checkout session that the discount was applied to.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"customer":{"oneOf":[{"description":"The customer that the discount was applied to.","type":"string","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The customer that the discount was applied to.","type":"null","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"subscription":{"oneOf":[{"description":"The subscription that the discount was applied to.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The subscription that the discount was applied to.","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"invoice":{"oneOf":[{"description":"The invoice that the discount was applied to.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The invoice that the discount was applied to.","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"source":{"description":"The source of the discount (coupon or promotion code).","type":"object","required":["coupon","type"],"properties":{"coupon":{"oneOf":[{"type":"string","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","required":["coupon_id","created_at","duration","name","test_mode","valid"],"example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"coupon_id":{"description":"Unique identifier for the object.","type":"string","example":"fcoup_1234567890"},"amount_off":{"oneOf":[{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648},{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648}]},"applies_to":{"oneOf":[{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["products"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"properties":{"products":{"description":"The product that this coupon applies to.","type":"array","items":{"type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["prices"],"properties":{"prices":{"description":"The price that this coupon applies to.","type":"array","items":{"type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["fee_types"],"properties":{"fee_types":{"description":"The fee types that this coupon applies to.","type":"array","items":{"description":"The kind of fee applied to a checkout session: a Letter of Medical Necessity consultation fee, or a custom fee you define.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation"}}}},{"type":"string","description":"An object containing the ID of the product that the coupon can be applied to.","enum":["shipping"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]}},{"type":"null","description":"An object containing the ID of the product that the coupon can be applied to."}]},"duration":{"type":"string","enum":["once","repeating","forever"],"x-ms-enum":{"name":"CouponDuration","modelAsString":false,"values":[{"value":"once","name":"Once","description":"Applies to the first charge from a subscription with this coupon applied."},{"value":"repeating","name":"Repeating","description":"Applies to charges in the first duration_in_months months from a subscription with this coupon applied."},{"value":"forever","name":"Forever","description":"Applies to all charges from a subscription with this coupon applied."}]},"description":"One of forever, once, and repeating. Describes how long a customer who applies this coupon will get the discount.","example":"once"},"duration_in_months":{"oneOf":[{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","example":{"order_id":"8842","channel":"shopify"}}]},"name":{"description":"Name of the coupon displayed to customers.","type":"string","example":"Example"},"percent_off":{"oneOf":[{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"number","format":"double"},{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"null","format":"double"}]},"max_redemptions":{"oneOf":[{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"times_redeemed":{"oneOf":[{"description":"Number of times this coupon has been applied to a customer.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Number of times this coupon has been applied to a customer.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"valid":{"description":"Taking account of the above properties, whether this coupon can still be applied to a customer.","type":"boolean","example":false},"created_at":{"description":"Date when this coupon was created.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether the coupon is in test mode","type":"boolean","example":false}}}]},"type":{"description":"The type of source.","type":"string","enum":["coupon","promotion_code"],"example":"coupon"}},"example":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"}},"promo_code":{"oneOf":[{"description":"The promo code applied to create the discount.","type":"string","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The promo code applied to create the discount.","type":"null","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether the discount was applied in test mode","type":"boolean","example":false},"end":{"oneOf":[{"type":"string","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","example":"string"},{"type":"null","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null."}]},"start":{"description":"Date that the coupon was applied.","type":"string","example":"string"}},"example":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts","typeLabel":"object[] | null"},"pause":{"oneOf":[{"type":"object","description":"The current pause. Present only while the subscription is paused.","required":["paused_at"],"example":{"paused_at":"2026-06-15T14:30:00Z","resume_at":"2026-06-15T14:30:00Z","billing_cycle_anchor":"unchanged","proration_behavior":"always_invoice","credit":"unused_time"},"properties":{"paused_at":{"description":"When the subscription was paused. ISO 8601 format. While paused, this is also the subscription's `current_period_end`.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.paused_at","typeLabel":"string"},"resume_at":{"oneOf":[{"type":"string","description":"When Flex resumes the subscription on its own. `null` when it stays paused until you resume it.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.resume_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When Flex resumes the subscription on its own. `null` when it stays paused until you resume it.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.resume_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.resume_at","typeLabel":"string | null"},"billing_cycle_anchor":{"oneOf":[{"type":"string","description":"Where billing restarts when Flex resumes at `resume_at`: `now` or `unchanged`. `null` when no resume is scheduled.","enum":["now","unchanged"],"x-ms-enum":{"name":"SubscriptionResumeBillingCycleAnchor","modelAsString":false,"values":[{"value":"now","name":"Now","description":"Bill monthly from the resume date, charging the full period now, net of any unused time credited at the pause. After an uncredited pause that ends inside the paid period, nothing is charged now and the next charge covers the time from the old period end."},{"value":"unchanged","name":"Unchanged","description":"Keep the original billing date."}]},"example":"unchanged","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.billing_cycle_anchor.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Where billing restarts when Flex resumes at `resume_at`: `now` or `unchanged`. `null` when no resume is scheduled.","example":"unchanged","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.billing_cycle_anchor.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.billing_cycle_anchor","typeLabel":"enum\u003cstring> | null"},"proration_behavior":{"oneOf":[{"type":"string","description":"How the partial period is billed when `billing_cycle_anchor` is `unchanged`. `null` otherwise.","enum":["create_prorations","always_invoice"],"x-ms-enum":{"name":"SubscriptionResumeProrationBehavior","modelAsString":false,"values":[{"value":"create_prorations","name":"CreateProrations","description":"Bill the partial period on the original billing date, with the next full period."},{"value":"always_invoice","name":"AlwaysInvoice","description":"Bill the partial period now, net of any unused time credited at the pause. A negative amount charges nothing and goes to the customer's balance."}]},"example":"always_invoice","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.proration_behavior.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"How the partial period is billed when `billing_cycle_anchor` is `unchanged`. `null` otherwise.","example":"always_invoice","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.proration_behavior.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.proration_behavior","typeLabel":"enum\u003cstring> | null"},"credit":{"type":"string","enum":["unused_time","none"],"x-ms-enum":{"name":"SubscriptionPauseCredit","modelAsString":false,"values":[{"value":"unused_time","name":"UnusedTime","description":"Credit the unused paid time from the pause to the period end. The resume charge is net of it."},{"value":"none","name":"None","description":"Credit nothing for the paused days inside the paid period. A resume before the period ends keeps the paid days after it."}]},"description":"What the pause credited for the paid time left in the period.","example":"unused_time","default":"unused_time","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.credit","typeLabel":"enum\u003cstring>"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0","typeLabel":"object"},{"type":"null","description":"The current pause. Present only while the subscription is paused.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1","typeLabel":"object"},{"type":"null","description":"The subscription that this invoice was prepared for.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.subscription","typeLabel":"string | object | null"},"paid_at":{"oneOf":[{"type":"string","description":"When the invoice was paid.","example":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.paid_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the invoice was paid.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.paid_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.paid_at","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the invoice.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the invoice.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.metadata","typeLabel":"object | null"},"backup_charge_status":{"oneOf":[{"type":"string","description":"Outcome of the backup-payment-method fallback for this invoice. Omitted when no fallback applied. `succeeded` on a paid invoice means the subscription's backup card covered this renewal after the default payment method failed.","enum":["pending","succeeded","failed","skipped"],"example":"pending","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.backup_charge_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Outcome of the backup-payment-method fallback for this invoice. Omitted when no fallback applied. `succeeded` on a paid invoice means the subscription's backup card covered this renewal after the default payment method failed.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.backup_charge_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1.backup_charge_status","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.1","typeLabel":"object"},{"type":"null","description":"The invoice associated with the payment intent.","uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.invoice","typeLabel":"string | object | null"},"client_secret":{"oneOf":[{"description":"The client secret of the payment intent.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.client_secret.oneOf.0","typeLabel":"string"},{"description":"The client secret of the payment intent.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.client_secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.client_secret","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"The metadata associated with the payment intent.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"The metadata associated with the payment intent.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.metadata","typeLabel":"object | null"},"payment_method":{"oneOf":[{"type":"string","description":"The payment method associated with the payment intent.","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.0","typeLabel":"string"},{"type":"object","description":"The payment method associated with the payment intent.","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.payment_method_id","typeLabel":"string"},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"oneOf":[{"type":"object","description":"The billing address.","example":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"properties":{"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.city","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter ISO country code (e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter ISO country code (e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.country","typeLabel":"string | null"},"line1":{"oneOf":[{"description":"Address line 1, such as the street, PO box, or company name.","type":"string","example":"123 Main St","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"Address line 1, such as the street, PO box, or company name.","type":"null","example":"123 Main St","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"string","example":"Suite 100","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"null","example":"Suite 100","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.state","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"The billing address.","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address","typeLabel":"object | null"},"email":{"oneOf":[{"description":"The billing email address.","type":"string","example":"john.doe@example.com","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.email.oneOf.0","typeLabel":"string"},{"description":"The billing email address.","type":"null","example":"john.doe@example.com","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.email","typeLabel":"string | null"},"name":{"oneOf":[{"description":"The billing name.","type":"string","example":"Example","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.name.oneOf.0","typeLabel":"string"},{"description":"The billing name.","type":"null","example":"Example","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.name","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The billing phone number.","type":"string","example":"+14155550142","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.phone.oneOf.0","typeLabel":"string"},{"description":"The billing phone number.","type":"null","example":"+14155550142","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.phone","typeLabel":"string | null"}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details","typeLabel":"object"},"customer":{"oneOf":[{"type":"string","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.customer","typeLabel":"string | object"},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.card.brand","typeLabel":"enum\u003cstring>"},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.card.country","typeLabel":"string"},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.card.exp_month","typeLabel":"integer\u003cint32>"},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.card.exp_year","typeLabel":"integer\u003cint32>"},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.card.fingerprint","typeLabel":"string"},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.card.funding","typeLabel":"enum\u003cstring>"},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.card.last4","typeLabel":"string"}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"},"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.card","typeLabel":"object"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.test_mode","typeLabel":"boolean"},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.off_session","typeLabel":"boolean"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","additionalProperties":{"type":"object","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","additionalProperties":{"type":"object","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.1","typeLabel":"object"},{"type":"null","description":"The payment method associated with the payment intent.","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_method","typeLabel":"string | object | null"},"transfer_group":{"oneOf":[{"description":"A string that identifies the resulting payment as part of a group","type":"string","example":"example_value","uniqueKey":"checkout_session.payment_intent.oneOf.1.transfer_group.oneOf.0","typeLabel":"string"},{"description":"A string that identifies the resulting payment as part of a group","type":"null","example":"example_value","uniqueKey":"checkout_session.payment_intent.oneOf.1.transfer_group.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.transfer_group","typeLabel":"string | null"},"payment_card_type":{"oneOf":[{"type":"string","description":"The primary card type used for this payment intent","enum":["primary","secondary"],"x-ms-enum":{"name":"PaymentCardType","modelAsString":false,"values":[{"value":"primary","name":"Primary","description":"In a split cart, `Primary` refers to the HSA/FSA eligible card. In a single cart (whether it's HSA/FSA or a fully ineligible cart), `Primary` refers to the only payment card used."},{"value":"secondary","name":"Secondary","description":"In a split cart and partial authorization payment, `Secondary` refers to the non-eligible or backup credit card used for ineligible items."}]},"example":"primary","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_card_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The primary card type used for this payment intent","uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_card_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.payment_card_type","typeLabel":"enum\u003cstring> | null"},"letter_fee_amount":{"oneOf":[{"description":"Letter fee portion of application_fee_amount (waterfall allocation to HSA/FSA)","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.letter_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Letter fee portion of application_fee_amount (waterfall allocation to HSA/FSA)","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.letter_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.letter_fee_amount","typeLabel":"integer\u003cint32> | null"},"transaction_fee":{"oneOf":[{"description":"Transaction fee portion of application_fee_amount (percentage + fixed fee)","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.transaction_fee.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Transaction fee portion of application_fee_amount (percentage + fixed fee)","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intent.oneOf.1.transaction_fee.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.transaction_fee","typeLabel":"integer\u003cint32> | null"},"last_payment_error":{"oneOf":[{"type":"object","description":"The error from the most recent failed payment attempt, if any.","required":["type"],"example":{"type":"string","code":"string","decline_code":"string","message":"string","payment_method":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"properties":{"type":{"description":"The type of error (card, invalid_request, api, etc.)","type":"string","isRequired":true,"uniqueKey":"checkout_session.payment_intent.oneOf.1.last_payment_error.oneOf.0.type","typeLabel":"string"},"code":{"oneOf":[{"description":"Machine-readable error code (card_declined, expired_card, etc.)","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.last_payment_error.oneOf.0.code.oneOf.0","typeLabel":"string"},{"description":"Machine-readable error code (card_declined, expired_card, etc.)","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.last_payment_error.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.last_payment_error.oneOf.0.code","typeLabel":"string | null"},"decline_code":{"oneOf":[{"description":"Card-specific decline code (insufficient_funds, lost_card, etc.)","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.last_payment_error.oneOf.0.decline_code.oneOf.0","typeLabel":"string"},{"description":"Card-specific decline code (insufficient_funds, lost_card, etc.)","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.last_payment_error.oneOf.0.decline_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.last_payment_error.oneOf.0.decline_code","typeLabel":"string | null"},"message":{"oneOf":[{"description":"Human-readable error description.","type":"string","uniqueKey":"checkout_session.payment_intent.oneOf.1.last_payment_error.oneOf.0.message.oneOf.0","typeLabel":"string"},{"description":"Human-readable error description.","type":"null","uniqueKey":"checkout_session.payment_intent.oneOf.1.last_payment_error.oneOf.0.message.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.last_payment_error.oneOf.0.message","typeLabel":"string | null"},"payment_method":{"oneOf":[{"description":"The Flex payment method ID that failed.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.last_payment_error.oneOf.0.payment_method.oneOf.0","typeLabel":"string"},{"description":"The Flex payment method ID that failed.","type":"null","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intent.oneOf.1.last_payment_error.oneOf.0.payment_method.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.last_payment_error.oneOf.0.payment_method","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1.last_payment_error.oneOf.0","typeLabel":"object"},{"type":"null","description":"The error from the most recent failed payment attempt, if any.","uniqueKey":"checkout_session.payment_intent.oneOf.1.last_payment_error.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent.oneOf.1.last_payment_error","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intent.oneOf.1","typeLabel":"object"},{"type":"null","description":"The payment intent that belongs to this Checkout Session. This object is expandable if expand_payment_intent is set.","uniqueKey":"checkout_session.payment_intent.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intent","typeLabel":"string | object | null"},"payment_intents":{"oneOf":[{"description":"All payment intents that belong to this Checkout Session. Each is expandable if expand_payment_intent is set.","type":"array","items":{"oneOf":[{"type":"string","description":"An expandable field — either a string ID or an expanded PaymentIntent object.","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"object","description":"An expandable field — either a string ID or an expanded PaymentIntent object.","required":["amount","capture_method","created_at","payment_intent_id","status","test_mode"],"example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_intent_id":{"description":"The unique identifier for the payment intent.","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_intent_id","typeLabel":"string"},"amount":{"description":"The amount of the payment intent in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.amount","typeLabel":"integer\u003cint32>"},"status":{"description":"The status of the payment intent.","type":"string","enum":["canceled","processing","requires_action","requires_capture","requires_confirmation","requires_payment_method","succeeded"],"example":"canceled","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"},"created_at":{"description":"The time the payment intent was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.created_at","typeLabel":"string"},"capture_method":{"description":"The capture method of the payment intent.","type":"string","enum":["automatic","automatic_async","manual"],"example":"automatic","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.capture_method","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the payment intent is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.test_mode","typeLabel":"boolean"},"amount_capturable":{"oneOf":[{"description":"The amount that can be captured from this PaymentIntent.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.amount_capturable.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The amount that can be captured from this PaymentIntent.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.amount_capturable.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.amount_capturable","typeLabel":"integer\u003cint32> | null"},"amount_received":{"oneOf":[{"description":"The amount that was received in cents.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.amount_received.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The amount that was received in cents.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.amount_received.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.amount_received","typeLabel":"integer\u003cint32> | null"},"application_fee_amount":{"oneOf":[{"description":"The amount of the Flex application fee.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.application_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The amount of the Flex application fee.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.application_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.application_fee_amount","typeLabel":"integer\u003cint32> | null"},"customer":{"oneOf":[{"type":"string","description":"The customer associated with the payment intent.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The customer associated with the payment intent.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.1","typeLabel":"object"},{"type":"null","description":"The customer associated with the payment intent.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.customer","typeLabel":"string | object | null"},"transfer_data":{"oneOf":[{"type":"object","description":"The data related to the amount being transferred.","required":["destination"],"example":{"amount":2500,"destination":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"properties":{"destination":{"description":"The destination account of the transfer.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.transfer_data.oneOf.0.destination","typeLabel":"string"},"amount":{"oneOf":[{"description":"The amount to transfer, in cents.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.transfer_data.oneOf.0.amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The amount to transfer, in cents.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.transfer_data.oneOf.0.amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.transfer_data.oneOf.0.amount","typeLabel":"integer\u003cint32> | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.transfer_data.oneOf.0","typeLabel":"object"},{"type":"null","description":"The data related to the amount being transferred.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.transfer_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.transfer_data","typeLabel":"object | null"},"latest_charge":{"oneOf":[{"type":"string","description":"The latest charge associated with the payment intent.","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.0","typeLabel":"string"},{"type":"object","description":"The latest charge associated with the payment intent.","required":["amount","amount_captured","amount_refunded","captured","charge_id","created_at","disputed","paid","payment_intent","refunded","status","test_mode"],"example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"charge_id":{"description":"Unique identifier for the charge.","type":"string","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.charge_id","typeLabel":"string"},"amount":{"description":"Amount intended to be collected by this payment.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.amount","typeLabel":"integer\u003cint32>"},"amount_captured":{"description":"Amount in cents captured (can be less than the amount attribute on the charge if a partial capture was made).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.amount_captured","typeLabel":"integer\u003cint32>"},"amount_refunded":{"description":"Amount in cents refunded (can be less than the amount attribute on the charge if a partial refund was made).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.amount_refunded","typeLabel":"integer\u003cint32>"},"captured":{"description":"If the charge was created without capturing, this Boolean represents whether it is still uncaptured or has since been captured.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.captured","typeLabel":"boolean"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.created_at","typeLabel":"string"},"disputed":{"description":"Whether the charge has been disputed.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.disputed","typeLabel":"boolean"},"paid":{"description":"true if the charge succeeded, or was successfully authorized for later capture.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.paid","typeLabel":"boolean"},"refunded":{"description":"Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunded","typeLabel":"boolean"},"payment_intent":{"$circularRef":"8fbcacc5-2464-4789-9a44-67dbaef1711b","description":"The payment intent that generated this charge.","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.payment_intent","typeLabel":"any"},"status":{"description":"The status of the charge.","type":"string","enum":["succeeded","pending","failed"],"example":"succeeded","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the charge was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.test_mode","typeLabel":"boolean"},"application_fee_amount":{"oneOf":[{"description":"The Flex application fee for the charge","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.application_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The Flex application fee for the charge","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.application_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.application_fee_amount","typeLabel":"integer\u003cint32> | null"},"customer":{"oneOf":[{"type":"string","description":"The customer this charge is for if one exists.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The customer this charge is for if one exists.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.1","typeLabel":"object"},{"type":"null","description":"The customer this charge is for if one exists.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.customer","typeLabel":"string | object | null"},"invoice":{"oneOf":[{"type":"string","description":"The invoice this charge is for if one exists.","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.0","typeLabel":"string"},{"type":"object","description":"The invoice this charge is for if one exists.","required":["amount_due","amount_paid","collection_method","created_at","invoice_id","status","test_mode","total"],"example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"invoice_id":{"description":"The id of the invoice.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.invoice_id","typeLabel":"string"},"total":{"description":"The total amount of the invoice in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.total","typeLabel":"integer\u003cint32>"},"amount_due":{"description":"The amount due in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.amount_due","typeLabel":"integer\u003cint32>"},"amount_paid":{"description":"The amount paid in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.amount_paid","typeLabel":"integer\u003cint32>"},"status":{"description":"The status of the invoice.","type":"string","enum":["draft","open","void","paid","uncollectible"],"example":"draft","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.status","typeLabel":"enum\u003cstring>"},"collection_method":{"description":"Either charge_automatically or send_invoice. When charging automatically, Flex will attempt to pay this invoice using the default payment method attached to the customer. When sending an invoice, Flex will email this invoice to the customer with payment instructions.","type":"string","enum":["charge_automatically","send_invoice"],"example":"charge_automatically","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.collection_method","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether or not the invoice was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.test_mode","typeLabel":"boolean"},"created_at":{"description":"When the invoice was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.created_at","typeLabel":"string"},"payment_intent":{"oneOf":[{"description":"The payment intent associated with this invoice. The payment intent is created when the invoice is finalized.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.payment_intent.oneOf.0","typeLabel":"any"},{"type":"null","description":"The payment intent associated with this invoice. The payment intent is created when the invoice is finalized.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.payment_intent.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.payment_intent","typeLabel":"any | null"},"charge":{"oneOf":[{"description":"The id of the latest charge for this invoice.","type":"string","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.charge.oneOf.0","typeLabel":"string"},{"description":"The id of the latest charge for this invoice.","type":"null","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.charge.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.charge","typeLabel":"string | null"},"customer":{"oneOf":[{"type":"string","description":"The id of the customer this invoice is for.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The id of the customer this invoice is for.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1","typeLabel":"object"},{"type":"null","description":"The id of the customer this invoice is for.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer","typeLabel":"string | object | null"},"period_end":{"oneOf":[{"type":"string","description":"End of the usage period.","example":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.period_end.oneOf.0","typeLabel":"string"},{"type":"null","description":"End of the usage period.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.period_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.period_end","typeLabel":"string | null"},"period_start":{"oneOf":[{"type":"string","description":"Start of the usage period.","example":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.period_start.oneOf.0","typeLabel":"string"},{"type":"null","description":"Start of the usage period.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.period_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.period_start","typeLabel":"string | null"},"subscription":{"oneOf":[{"type":"string","description":"The subscription that this invoice was prepared for.","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.0","typeLabel":"string"},{"type":"object","description":"The subscription that this invoice was prepared for.","required":["cancel_at_period_end","created_at","items","status","subscription_id","test_mode"],"example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"subscription_id":{"description":"Unique identifier for the object.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.subscription_id","typeLabel":"string"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.created_at","typeLabel":"string"},"items":{"description":"The items the customer is subscribed to.","type":"array","items":{"description":"A Subscription Item represents a single recurring Price billed as part of a Subscription, together with the quantity of that price the customer is subscribed to. A subscription has one item per recurring price it bills.","type":"object","required":["created_at","price","quantity","subscription_item_id","test_mode"],"properties":{"subscription_item_id":{"description":"Unique identifier for the subscription item.","type":"string","example":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].subscription_item_id","typeLabel":"string"},"price":{"oneOf":[{"type":"string","description":"The recurring Price this item bills. Returned as a price ID by default, or as the full Price object when expanded.","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.0","typeLabel":"string"},{"type":"object","description":"The recurring Price this item bills. Returned as a price ID by default, or as the full Price object when expanded.","required":["active","created_at","price_id","product","test_mode","type","unit_amount"],"example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"price_id":{"description":"The unique identifier for the price.","type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.price_id","typeLabel":"string"},"unit_amount":{"description":"The amount to charge per unit, in the smallest currency unit (e.g., `2500` = $25.00 USD).","type":"integer","format":"int32","minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.unit_amount","typeLabel":"integer\u003cint32>"},"active":{"description":"Whether the price is currently active.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.active","typeLabel":"boolean"},"product":{"oneOf":[{"type":"string","description":"The product this price belongs to. Returned as a product ID by default, or as the full Product object when expanded.","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.0","typeLabel":"string"},{"type":"object","description":"The product this price belongs to. Returned as a product ID by default, or as the full Product object when expanded.","required":["active","created_at","hsa_fsa_eligibility","name","product_id","test_mode"],"example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"product_id":{"description":"The unique identifier for the product.","type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.product_id","typeLabel":"string"},"name":{"description":"The name of the product.","type":"string","example":"Example","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.name","typeLabel":"string"},"created_at":{"description":"The date the product was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.created_at","typeLabel":"string"},"active":{"description":"Determines if the product is active or not.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.active","typeLabel":"boolean"},"hsa_fsa_eligibility":{"description":"The elegibility of the product for HSA/FSA.","type":"string","enum":["not_eligible","auto_substantiation","private_label","letter_of_medical_necessity","prescription","vision","service","pending"],"example":"not_eligible","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.hsa_fsa_eligibility","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the product is in test mode or not.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The ID of the account that owns this product. For products shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the account that owns this product. For products shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"null","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.owner_partner_id","typeLabel":"string | null"},"description":{"oneOf":[{"description":"The description of the product.","type":"string","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.description.oneOf.0","typeLabel":"string"},{"description":"The description of the product.","type":"null","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.description","typeLabel":"string | null"},"document_description":{"oneOf":[{"description":"Medical-grade description optimized for use in Letters of Medical Necessity and receipts.","deprecated":true,"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.document_description.oneOf.0","typeLabel":"string"},{"description":"Medical-grade description optimized for use in Letters of Medical Necessity and receipts.","deprecated":true,"type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.document_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.document_description","typeLabel":"string | null"},"receipt_description":{"oneOf":[{"description":"Shortened description tailored to receipt line items","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.receipt_description.oneOf.0","typeLabel":"string"},{"description":"Shortened description tailored to receipt line items","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.receipt_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.receipt_description","typeLabel":"string | null"},"visit_type":{"oneOf":[{"type":"string","description":"The visit type of the product if a letter of medical necessity is required.","enum":["cbtSleep","notApplicable","metabolomics","tinnitus","gym","exerciseDiet","orthopedic","alcohol","airPurification","vaginalHealth","menstrual","canopy","alopecia","genate","weightBlanket","bedJet","siderAl","sunwinkPowder","wavWatch","bodyComplete","ageRate","nitrousOxide","happyV","groupChat","icalmAnxiety","redBloom","foodom","branchErgonomicFurniture","curalife","eloraInfantWellness","nutriHealth","olipop","goldIntimate","touchStoneEssentials","utiva","sleepGeekz","figBrew","auBabyBlanket","babySleepSack","oshWellness","currentBodyRedLight","mito","circularRing","lymaRedLight","goodAirRx","tastermonial","karunaHome","ergoStandingChair","jbaGlucoseControl","bloomNutrition","buoyDrops","luxeWonderWig","saunaMarketplace","amrioreEyewear","pivotOrthoShoe","lumenCynergy","roga","pulsetto","mitoRedLight","gutPersonal","goFlaus","myHixel","calmigo","dotFit","stripesBeauty","mixHers","pmd","positivityWithPurpose","techRing","popVeneers","vertaClean","lumen","medicalMeal","emnHealth","detergentAllergy","lowImpactExercise","mediumImpactExercise","highImpactExercise","gardening","babyCarrier","smartGlasses","automatedCleaner","uvClothing","adaptiveShoes","breathWork","nonenalOdor","meneralsNootropicPouch","babyMonitorSplit","babySleepApp","coolingSleepwear","bodyPillow","uvGlasses","nursingChairs","coolingBed","posture","supplements","sleep","redLightTherapy","fitness","smartRing","womensVaginalHealth","fertilitySupport","femaleReproduction","femaleReproductionFood","pregnancyLiterature","iceBath","orthopedicShoes","sexualHealth","glucose","metabolicTest","skinCare","oralHealth","oralAnxiety","blueLightGlasses","anxiety","brainHealth","babyMonitor","compressionSocks","compressionShorts","waterPurification","medSpa","essentialOils","sleepBuds","latchLight","nutritionist","rairflow","enduranceTraining","hydration","hairGrowth","eD","postureFitness","childDevelopment","adaptiveClothing","sleepConsulting","hairRemoval","menopause","maleFertility","anxietyHealth","bidets","speechHealth","artOfLiving","breastMilk","petSupport","diapers","gutSupplements","smartWatch","medicalBotox","biomechanicalAssessment","erectileReset","femaleOrgasm","pornAddiction","memorySupport","oralHealthMasticGum","orthopedicSandals","childDevelopmentAnxietySleep","childDevelopmentAdjustment","childDevelopmentBehavior","childDevelopmentIdentity","emnHealthMobility","adaptiveShoesDependent","speechHealthDependent","breathWorkDependent"],"example":"cbtSleep","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.visit_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The visit type of the product if a letter of medical necessity is required.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.visit_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.visit_type","typeLabel":"enum\u003cstring> | null"},"upc_code":{"oneOf":[{"description":"The upc code of the product.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.upc_code.oneOf.0","typeLabel":"string"},{"description":"The upc code of the product.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.upc_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.upc_code","typeLabel":"string | null"},"gtin":{"oneOf":[{"description":"The gtin code of the product.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.gtin.oneOf.0","typeLabel":"string"},{"description":"The gtin code of the product.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.gtin.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.gtin","typeLabel":"string | null"},"reference_gtin":{"oneOf":[{"description":"The GTIN of a private-label reference product, used to establish HSA/FSA eligibility.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.reference_gtin.oneOf.0","typeLabel":"string"},{"description":"The GTIN of a private-label reference product, used to establish HSA/FSA eligibility.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.reference_gtin.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.reference_gtin","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the product.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the product.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata","typeLabel":"object | null"},"url":{"oneOf":[{"description":"The URL of the product.","type":"string","example":"https://example.com","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.url.oneOf.0","typeLabel":"string"},{"description":"The URL of the product.","type":"null","example":"https://example.com","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.url","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"An optional identifier for the product set by the client at creation time. Immutable after creation.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"An optional identifier for the product set by the client at creation time. Immutable after creation.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.client_reference_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product","typeLabel":"string | object"},"created_at":{"description":"The date the price was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.created_at","typeLabel":"string"},"type":{"description":"The type of the price: a single one-time charge, or a recurring charge billed on a schedule.","type":"string","enum":["one_time","recurring"],"example":"one_time","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.type","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the price is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The ID of the account that owns this price. For prices shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the account that owns this price. For prices shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"null","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.owner_partner_id","typeLabel":"string | null"},"description":{"oneOf":[{"description":"The description of the price.","type":"string","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.description.oneOf.0","typeLabel":"string"},{"description":"The description of the price.","type":"null","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.description","typeLabel":"string | null"},"trial_period_days":{"oneOf":[{"description":"The number of trial period days before the customer is first charged for a recurring price.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.trial_period_days.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The number of trial period days before the customer is first charged for a recurring price.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.trial_period_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.trial_period_days","typeLabel":"integer\u003cint32> | null"},"recurring":{"oneOf":[{"type":"object","description":"The recurring components of a price such as interval and trial period days.","required":["interval"],"example":{"interval":"day","interval_count":0,"trial_period_days":0},"properties":{"interval":{"description":"The billing cadence for the price.","type":"string","enum":["day","week","month","year"],"example":"day","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval","typeLabel":"enum\u003cstring>"},"interval_count":{"oneOf":[{"description":"The number of intervals","type":"integer","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval_count.oneOf.0","typeLabel":"integer\u003cint64>"},{"description":"The number of intervals","type":"null","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval_count","typeLabel":"integer\u003cint64> | null"},"trial_period_days":{"oneOf":[{"description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","type":"integer","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.trial_period_days.oneOf.0","typeLabel":"integer\u003cint64>"},{"description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","type":"null","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.trial_period_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.trial_period_days","typeLabel":"integer\u003cint64> | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0","typeLabel":"object"},{"type":"null","description":"The recurring components of a price such as interval and trial period days.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata information for the price object","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata information for the price object","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.metadata","typeLabel":"object | null"},"lookup_key":{"oneOf":[{"description":"A stable, partner-owned key for this price. Unique per account and mode across all prices, archived ones included. `null` until you set one.","type":"string","maxLength":200,"example":"standard_monthly","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.lookup_key.oneOf.0","typeLabel":"string"},{"description":"A stable, partner-owned key for this price. Unique per account and mode across all prices, archived ones included. `null` until you set one.","type":"null","maxLength":200,"example":"standard_monthly","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.lookup_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.lookup_key","typeLabel":"string | null"},"hsa_fsa_eligibility":{"oneOf":[{"type":"string","description":"The HSA/FSA eligibility for the price.","enum":["not_eligible","auto_substantiation","private_label","letter_of_medical_necessity","prescription","vision","service","pending"],"example":"not_eligible","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.hsa_fsa_eligibility.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The HSA/FSA eligibility for the price.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.hsa_fsa_eligibility.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.hsa_fsa_eligibility","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price","typeLabel":"string | object"},"quantity":{"description":"The number of units of the price the customer is subscribed to.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"created_at":{"description":"Time at which the subscription item was created, as an RFC 3339 timestamp.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].created_at","typeLabel":"string"},"test_mode":{"description":"Whether the subscription item exists in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].test_mode","typeLabel":"boolean"},"updated_at":{"oneOf":[{"type":"string","description":"Time at which the subscription item was last updated, as an RFC 3339 timestamp. `null` if the item has not been updated since creation.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"Time at which the subscription item was last updated, as an RFC 3339 timestamp. `null` if the item has not been updated since creation.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].updated_at","typeLabel":"string | null"}},"example":{"subscription_item_id":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","price":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","quantity":2500,"created_at":"2026-06-15T14:30:00Z","updated_at":"2026-06-15T14:30:00Z","test_mode":false},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items","typeLabel":"object[]"},"status":{"description":"Possible values are incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, or paused.","type":"string","enum":["incomplete","incomplete_expired","trialing","active","past_due","canceled","unpaid","paused"],"example":"incomplete","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.status","typeLabel":"enum\u003cstring>"},"cancel_at_period_end":{"description":"If the subscription has been canceled with the at_period_end flag set to true, cancel_at_period_end on the subscription will be true. You can use this attribute to determine whether a subscription that has a status of active is scheduled to be canceled at the end of the current period.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at_period_end","typeLabel":"boolean"},"test_mode":{"description":"Whether the subscription is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.test_mode","typeLabel":"boolean"},"latest_invoice":{"oneOf":[{"description":"The ID of the latest invoice generated for this subscription.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.latest_invoice.oneOf.0","typeLabel":"any"},{"type":"null","description":"The ID of the latest invoice generated for this subscription.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.latest_invoice.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.latest_invoice","typeLabel":"any | null"},"customer":{"oneOf":[{"type":"string","description":"The ID of the customer who owns the subscription.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The ID of the customer who owns the subscription.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1","typeLabel":"object"},{"type":"null","description":"The ID of the customer who owns the subscription.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer","typeLabel":"string | object | null"},"current_period_end":{"oneOf":[{"type":"string","description":"End of the current period that the subscription has been invoiced for.","example":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_end.oneOf.0","typeLabel":"string"},{"type":"null","description":"End of the current period that the subscription has been invoiced for.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_end","typeLabel":"string | null"},"current_period_start":{"oneOf":[{"type":"string","description":"Start of the current period that the subscription has been invoiced for.","example":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_start.oneOf.0","typeLabel":"string"},{"type":"null","description":"Start of the current period that the subscription has been invoiced for.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_start","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"A set of key/value pairs that you can attach to a subscription object.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"A set of key/value pairs that you can attach to a subscription object.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.metadata","typeLabel":"object | null"},"client_secret":{"oneOf":[{"type":"object","description":"Client secrets used to confirm the subscription's first payment or payment-method setup from your frontend. Present only while the subscription is being activated; omitted otherwise. Do not log or store these secrets; expose them only to the customer over TLS.","example":{"setup_secret":"string","payment_secret":"string"},"properties":{"setup_secret":{"oneOf":[{"description":"Client secret of the SetupIntent used to collect and save a payment method for the subscription (for example, during a trial with no immediate charge). `null` when no setup is required. Do not log or store it; expose only to the customer over TLS.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.setup_secret.oneOf.0","typeLabel":"string"},{"description":"Client secret of the SetupIntent used to collect and save a payment method for the subscription (for example, during a trial with no immediate charge). `null` when no setup is required. Do not log or store it; expose only to the customer over TLS.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.setup_secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.setup_secret","typeLabel":"string | null"},"payment_secret":{"oneOf":[{"description":"Client secret of the PaymentIntent used to confirm the subscription's first payment from your frontend. `null` when no immediate payment is required. Do not log or store it; expose only to the customer over TLS.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.payment_secret.oneOf.0","typeLabel":"string"},{"description":"Client secret of the PaymentIntent used to confirm the subscription's first payment from your frontend. `null` when no immediate payment is required. Do not log or store it; expose only to the customer over TLS.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.payment_secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.payment_secret","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0","typeLabel":"object"},{"type":"null","description":"Client secrets used to confirm the subscription's first payment or payment-method setup from your frontend. Present only while the subscription is being activated; omitted otherwise. Do not log or store these secrets; expose them only to the customer over TLS.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret","typeLabel":"object | null"},"proration_behavior":{"oneOf":[{"type":"string","description":"The proration behavior for the subscription.","enum":["always_invoice","create_prorations","none"],"example":"always_invoice","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.proration_behavior.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The proration behavior for the subscription.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.proration_behavior.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.proration_behavior","typeLabel":"enum\u003cstring> | null"},"trial_start":{"oneOf":[{"type":"string","description":"Start of the subscription's trial period, as an RFC 3339 timestamp. `null` if the subscription has no trial.","example":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_start.oneOf.0","typeLabel":"string"},{"type":"null","description":"Start of the subscription's trial period, as an RFC 3339 timestamp. `null` if the subscription has no trial.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_start","typeLabel":"string | null"},"trial_end":{"oneOf":[{"type":"string","description":"End of the subscription's trial period, as an RFC 3339 timestamp. After this time the customer is billed normally. `null` if the subscription has no trial.","example":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_end.oneOf.0","typeLabel":"string"},{"type":"null","description":"End of the subscription's trial period, as an RFC 3339 timestamp. After this time the customer is billed normally. `null` if the subscription has no trial.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_end","typeLabel":"string | null"},"cancel_at":{"oneOf":[{"type":"string","description":"A future RFC 3339 timestamp at which the subscription will automatically be canceled. `null` unless a future cancellation has been scheduled.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"A future RFC 3339 timestamp at which the subscription will automatically be canceled. `null` unless a future cancellation has been scheduled.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at","typeLabel":"string | null"},"canceled_at":{"oneOf":[{"type":"string","description":"The RFC 3339 timestamp at which the subscription was actually canceled. `null` if the subscription has not been canceled. Unlike `cancel_at` (a future scheduled cancellation), this is set once the cancellation has occurred.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.canceled_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The RFC 3339 timestamp at which the subscription was actually canceled. `null` if the subscription has not been canceled. Unlike `cancel_at` (a future scheduled cancellation), this is set once the cancellation has occurred.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.canceled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.canceled_at","typeLabel":"string | null"},"default_payment_method":{"oneOf":[{"type":"string","description":"The default payment method for the subscription (expandable).","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.0","typeLabel":"string"},{"type":"object","description":"The default payment method for the subscription (expandable).","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.payment_method_id","typeLabel":"string"},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"oneOf":[{"type":"object","description":"The billing address.","example":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"properties":{"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.city","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter ISO country code (e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter ISO country code (e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.country","typeLabel":"string | null"},"line1":{"oneOf":[{"description":"Address line 1, such as the street, PO box, or company name.","type":"string","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"Address line 1, such as the street, PO box, or company name.","type":"null","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"string","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"null","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.state","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"The billing address.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address","typeLabel":"object | null"},"email":{"oneOf":[{"description":"The billing email address.","type":"string","example":"john.doe@example.com","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.email.oneOf.0","typeLabel":"string"},{"description":"The billing email address.","type":"null","example":"john.doe@example.com","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.email","typeLabel":"string | null"},"name":{"oneOf":[{"description":"The billing name.","type":"string","example":"Example","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.name.oneOf.0","typeLabel":"string"},{"description":"The billing name.","type":"null","example":"Example","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.name","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The billing phone number.","type":"string","example":"+14155550142","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.phone.oneOf.0","typeLabel":"string"},{"description":"The billing phone number.","type":"null","example":"+14155550142","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.phone","typeLabel":"string | null"}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details","typeLabel":"object"},"customer":{"oneOf":[{"type":"string","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"type":"any","description":"The customer's shipping address.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping","typeLabel":"any"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer","typeLabel":"string | object"},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.brand","typeLabel":"enum\u003cstring>"},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.country","typeLabel":"string"},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.exp_month","typeLabel":"integer\u003cint32>"},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.exp_year","typeLabel":"integer\u003cint32>"},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.fingerprint","typeLabel":"string"},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.funding","typeLabel":"enum\u003cstring>"},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.last4","typeLabel":"string"}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card","typeLabel":"object"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.test_mode","typeLabel":"boolean"},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.off_session","typeLabel":"boolean"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","additionalProperties":{"type":"object","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","additionalProperties":{"type":"object","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1","typeLabel":"object"},{"type":"null","description":"The default payment method for the subscription (expandable).","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method","typeLabel":"string | object | null"},"backup_payment_method":{"oneOf":[{"type":"string","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.0","typeLabel":"string"},{"type":"object","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.payment_method_id","typeLabel":"string"},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"oneOf":[{"type":"object","description":"The billing address.","example":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"properties":{"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.city","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter ISO country code (e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter ISO country code (e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.country","typeLabel":"string | null"},"line1":{"oneOf":[{"description":"Address line 1, such as the street, PO box, or company name.","type":"string","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"Address line 1, such as the street, PO box, or company name.","type":"null","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"string","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"null","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.state","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"The billing address.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address","typeLabel":"object | null"},"email":{"oneOf":[{"description":"The billing email address.","type":"string","example":"john.doe@example.com","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.email.oneOf.0","typeLabel":"string"},{"description":"The billing email address.","type":"null","example":"john.doe@example.com","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.email","typeLabel":"string | null"},"name":{"oneOf":[{"description":"The billing name.","type":"string","example":"Example","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.name.oneOf.0","typeLabel":"string"},{"description":"The billing name.","type":"null","example":"Example","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.name","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The billing phone number.","type":"string","example":"+14155550142","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.phone.oneOf.0","typeLabel":"string"},{"description":"The billing phone number.","type":"null","example":"+14155550142","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.phone","typeLabel":"string | null"}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details","typeLabel":"object"},"customer":{"oneOf":[{"type":"string","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"type":"any","description":"The customer's shipping address.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping","typeLabel":"any"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer","typeLabel":"string | object"},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.brand","typeLabel":"enum\u003cstring>"},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.country","typeLabel":"string"},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.exp_month","typeLabel":"integer\u003cint32>"},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.exp_year","typeLabel":"integer\u003cint32>"},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.fingerprint","typeLabel":"string"},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.funding","typeLabel":"enum\u003cstring>"},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.last4","typeLabel":"string"}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card","typeLabel":"object"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.test_mode","typeLabel":"boolean"},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.off_session","typeLabel":"boolean"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","additionalProperties":{"type":"object","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","additionalProperties":{"type":"object","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1","typeLabel":"object"},{"type":"null","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method","typeLabel":"string | object | null"},"discounts":{"oneOf":[{"description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)","type":"array","items":{"description":"A Discount object represents the application of a coupon or promotion code to a checkout session, customer, subscription, or invoice. It records which coupon was redeemed, what the discount was applied to, and the time window over which it applies.","type":"object","required":["discount_id","source","start","test_mode"],"properties":{"discount_id":{"description":"The ID of the discount.","type":"string","example":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].discount_id","typeLabel":"string"},"source":{"description":"The source of the discount (coupon or promotion code).","type":"object","required":["coupon","type"],"properties":{"coupon":{"oneOf":[{"type":"string","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.0","typeLabel":"string"},{"type":"object","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","required":["coupon_id","created_at","duration","name","test_mode","valid"],"example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"coupon_id":{"description":"Unique identifier for the object.","type":"string","example":"fcoup_1234567890","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.coupon_id","typeLabel":"string"},"duration":{"type":"string","enum":["once","repeating","forever"],"x-ms-enum":{"name":"CouponDuration","modelAsString":false,"values":[{"value":"once","name":"Once","description":"Applies to the first charge from a subscription with this coupon applied."},{"value":"repeating","name":"Repeating","description":"Applies to charges in the first duration_in_months months from a subscription with this coupon applied."},{"value":"forever","name":"Forever","description":"Applies to all charges from a subscription with this coupon applied."}]},"description":"One of forever, once, and repeating. Describes how long a customer who applies this coupon will get the discount.","example":"once","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration","typeLabel":"enum\u003cstring>"},"name":{"description":"Name of the coupon displayed to customers.","type":"string","example":"Example","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.name","typeLabel":"string"},"valid":{"description":"Taking account of the above properties, whether this coupon can still be applied to a customer.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.valid","typeLabel":"boolean"},"created_at":{"description":"Date when this coupon was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the coupon is in test mode","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.test_mode","typeLabel":"boolean"},"amount_off":{"oneOf":[{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.amount_off.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.amount_off.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.amount_off","typeLabel":"integer\u003cint32> | null"},"applies_to":{"oneOf":[{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["products"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"properties":{"products":{"description":"The product that this coupon applies to.","type":"array","items":{"type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.0.products.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.0.products","typeLabel":"string[]"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.0","typeLabel":"object"},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["prices"],"properties":{"prices":{"description":"The price that this coupon applies to.","type":"array","items":{"type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.1.prices.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.1.prices","typeLabel":"string[]"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.1","typeLabel":"object"},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["fee_types"],"properties":{"fee_types":{"description":"The fee types that this coupon applies to.","type":"array","items":{"description":"The kind of fee applied to a checkout session: a Letter of Medical Necessity consultation fee, or a custom fee you define.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.2.fee_types.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.2.fee_types","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.2","typeLabel":"object"},{"type":"string","description":"An object containing the ID of the product that the coupon can be applied to.","enum":["shipping"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.3","typeLabel":"enum\u003cstring>"},{"type":"null","description":"An object containing the ID of the product that the coupon can be applied to.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.4","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to","typeLabel":"object · object · object · enum\u003cstring> · null"},"duration_in_months":{"oneOf":[{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration_in_months.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration_in_months.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration_in_months","typeLabel":"integer\u003cint32> | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.metadata","typeLabel":"object | null"},"percent_off":{"oneOf":[{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"number","format":"double","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.percent_off.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"null","format":"double","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.percent_off.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.percent_off","typeLabel":"number\u003cdouble> | null"},"max_redemptions":{"oneOf":[{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.max_redemptions.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.max_redemptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.max_redemptions","typeLabel":"integer\u003cint32> | null"},"times_redeemed":{"oneOf":[{"description":"Number of times this coupon has been applied to a customer.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.times_redeemed.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Number of times this coupon has been applied to a customer.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.times_redeemed.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.times_redeemed","typeLabel":"integer\u003cint32> | null"}},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon","typeLabel":"string | object"},"type":{"description":"The type of source.","type":"string","enum":["coupon","promotion_code"],"example":"coupon","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.type","typeLabel":"enum\u003cstring>"}},"example":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source","typeLabel":"object"},"test_mode":{"description":"Whether the discount was applied in test mode","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].test_mode","typeLabel":"boolean"},"start":{"description":"Date that the coupon was applied.","type":"string","example":"string","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].start","typeLabel":"string"},"checkout_session":{"oneOf":[{"description":"The checkout session that the discount was applied to.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session.oneOf.0","typeLabel":"string"},{"description":"The checkout session that the discount was applied to.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session","typeLabel":"string | null"},"customer":{"oneOf":[{"description":"The customer that the discount was applied to.","type":"string","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer.oneOf.0","typeLabel":"string"},{"description":"The customer that the discount was applied to.","type":"null","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer","typeLabel":"string | null"},"subscription":{"oneOf":[{"description":"The subscription that the discount was applied to.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription.oneOf.0","typeLabel":"string"},{"description":"The subscription that the discount was applied to.","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription","typeLabel":"string | null"},"invoice":{"oneOf":[{"description":"The invoice that the discount was applied to.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice.oneOf.0","typeLabel":"string"},{"description":"The invoice that the discount was applied to.","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice","typeLabel":"string | null"},"promo_code":{"oneOf":[{"description":"The promo code applied to create the discount.","type":"string","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code.oneOf.0","typeLabel":"string"},{"description":"The promo code applied to create the discount.","type":"null","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code","typeLabel":"string | null"},"end":{"oneOf":[{"type":"string","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","example":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].end.oneOf.0","typeLabel":"string"},{"type":"null","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].end","typeLabel":"string | null"}},"example":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0","typeLabel":"object[]"},{"description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)","type":"null","items":{"description":"A Discount object represents the application of a coupon or promotion code to a checkout session, customer, subscription, or invoice. It records which coupon was redeemed, what the discount was applied to, and the time window over which it applies.","type":"object","required":["discount_id","source","start","test_mode"],"properties":{"discount_id":{"description":"The ID of the discount.","type":"string","example":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"checkout_session":{"oneOf":[{"description":"The checkout session that the discount was applied to.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The checkout session that the discount was applied to.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"customer":{"oneOf":[{"description":"The customer that the discount was applied to.","type":"string","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The customer that the discount was applied to.","type":"null","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"subscription":{"oneOf":[{"description":"The subscription that the discount was applied to.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The subscription that the discount was applied to.","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"invoice":{"oneOf":[{"description":"The invoice that the discount was applied to.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The invoice that the discount was applied to.","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"source":{"description":"The source of the discount (coupon or promotion code).","type":"object","required":["coupon","type"],"properties":{"coupon":{"oneOf":[{"type":"string","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","required":["coupon_id","created_at","duration","name","test_mode","valid"],"example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"coupon_id":{"description":"Unique identifier for the object.","type":"string","example":"fcoup_1234567890"},"amount_off":{"oneOf":[{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648},{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648}]},"applies_to":{"oneOf":[{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["products"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"properties":{"products":{"description":"The product that this coupon applies to.","type":"array","items":{"type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["prices"],"properties":{"prices":{"description":"The price that this coupon applies to.","type":"array","items":{"type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["fee_types"],"properties":{"fee_types":{"description":"The fee types that this coupon applies to.","type":"array","items":{"description":"The kind of fee applied to a checkout session: a Letter of Medical Necessity consultation fee, or a custom fee you define.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation"}}}},{"type":"string","description":"An object containing the ID of the product that the coupon can be applied to.","enum":["shipping"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]}},{"type":"null","description":"An object containing the ID of the product that the coupon can be applied to."}]},"duration":{"type":"string","enum":["once","repeating","forever"],"x-ms-enum":{"name":"CouponDuration","modelAsString":false,"values":[{"value":"once","name":"Once","description":"Applies to the first charge from a subscription with this coupon applied."},{"value":"repeating","name":"Repeating","description":"Applies to charges in the first duration_in_months months from a subscription with this coupon applied."},{"value":"forever","name":"Forever","description":"Applies to all charges from a subscription with this coupon applied."}]},"description":"One of forever, once, and repeating. Describes how long a customer who applies this coupon will get the discount.","example":"once"},"duration_in_months":{"oneOf":[{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","example":{"order_id":"8842","channel":"shopify"}}]},"name":{"description":"Name of the coupon displayed to customers.","type":"string","example":"Example"},"percent_off":{"oneOf":[{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"number","format":"double"},{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"null","format":"double"}]},"max_redemptions":{"oneOf":[{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"times_redeemed":{"oneOf":[{"description":"Number of times this coupon has been applied to a customer.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Number of times this coupon has been applied to a customer.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"valid":{"description":"Taking account of the above properties, whether this coupon can still be applied to a customer.","type":"boolean","example":false},"created_at":{"description":"Date when this coupon was created.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether the coupon is in test mode","type":"boolean","example":false}}}]},"type":{"description":"The type of source.","type":"string","enum":["coupon","promotion_code"],"example":"coupon"}},"example":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"}},"promo_code":{"oneOf":[{"description":"The promo code applied to create the discount.","type":"string","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The promo code applied to create the discount.","type":"null","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether the discount was applied in test mode","type":"boolean","example":false},"end":{"oneOf":[{"type":"string","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","example":"string"},{"type":"null","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null."}]},"start":{"description":"Date that the coupon was applied.","type":"string","example":"string"}},"example":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts","typeLabel":"object[] | null"},"pause":{"oneOf":[{"type":"object","description":"The current pause. Present only while the subscription is paused.","required":["paused_at"],"example":{"paused_at":"2026-06-15T14:30:00Z","resume_at":"2026-06-15T14:30:00Z","billing_cycle_anchor":"unchanged","proration_behavior":"always_invoice","credit":"unused_time"},"properties":{"paused_at":{"description":"When the subscription was paused. ISO 8601 format. While paused, this is also the subscription's `current_period_end`.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.paused_at","typeLabel":"string"},"resume_at":{"oneOf":[{"type":"string","description":"When Flex resumes the subscription on its own. `null` when it stays paused until you resume it.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.resume_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When Flex resumes the subscription on its own. `null` when it stays paused until you resume it.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.resume_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.resume_at","typeLabel":"string | null"},"billing_cycle_anchor":{"oneOf":[{"type":"string","description":"Where billing restarts when Flex resumes at `resume_at`: `now` or `unchanged`. `null` when no resume is scheduled.","enum":["now","unchanged"],"x-ms-enum":{"name":"SubscriptionResumeBillingCycleAnchor","modelAsString":false,"values":[{"value":"now","name":"Now","description":"Bill monthly from the resume date, charging the full period now, net of any unused time credited at the pause. After an uncredited pause that ends inside the paid period, nothing is charged now and the next charge covers the time from the old period end."},{"value":"unchanged","name":"Unchanged","description":"Keep the original billing date."}]},"example":"unchanged","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.billing_cycle_anchor.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Where billing restarts when Flex resumes at `resume_at`: `now` or `unchanged`. `null` when no resume is scheduled.","example":"unchanged","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.billing_cycle_anchor.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.billing_cycle_anchor","typeLabel":"enum\u003cstring> | null"},"proration_behavior":{"oneOf":[{"type":"string","description":"How the partial period is billed when `billing_cycle_anchor` is `unchanged`. `null` otherwise.","enum":["create_prorations","always_invoice"],"x-ms-enum":{"name":"SubscriptionResumeProrationBehavior","modelAsString":false,"values":[{"value":"create_prorations","name":"CreateProrations","description":"Bill the partial period on the original billing date, with the next full period."},{"value":"always_invoice","name":"AlwaysInvoice","description":"Bill the partial period now, net of any unused time credited at the pause. A negative amount charges nothing and goes to the customer's balance."}]},"example":"always_invoice","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.proration_behavior.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"How the partial period is billed when `billing_cycle_anchor` is `unchanged`. `null` otherwise.","example":"always_invoice","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.proration_behavior.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.proration_behavior","typeLabel":"enum\u003cstring> | null"},"credit":{"type":"string","enum":["unused_time","none"],"x-ms-enum":{"name":"SubscriptionPauseCredit","modelAsString":false,"values":[{"value":"unused_time","name":"UnusedTime","description":"Credit the unused paid time from the pause to the period end. The resume charge is net of it."},{"value":"none","name":"None","description":"Credit nothing for the paused days inside the paid period. A resume before the period ends keeps the paid days after it."}]},"description":"What the pause credited for the paid time left in the period.","example":"unused_time","default":"unused_time","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.credit","typeLabel":"enum\u003cstring>"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0","typeLabel":"object"},{"type":"null","description":"The current pause. Present only while the subscription is paused.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1","typeLabel":"object"},{"type":"null","description":"The subscription that this invoice was prepared for.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription","typeLabel":"string | object | null"},"paid_at":{"oneOf":[{"type":"string","description":"When the invoice was paid.","example":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.paid_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the invoice was paid.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.paid_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.paid_at","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the invoice.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the invoice.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.metadata","typeLabel":"object | null"},"backup_charge_status":{"oneOf":[{"type":"string","description":"Outcome of the backup-payment-method fallback for this invoice. Omitted when no fallback applied. `succeeded` on a paid invoice means the subscription's backup card covered this renewal after the default payment method failed.","enum":["pending","succeeded","failed","skipped"],"example":"pending","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.backup_charge_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Outcome of the backup-payment-method fallback for this invoice. Omitted when no fallback applied. `succeeded` on a paid invoice means the subscription's backup card covered this renewal after the default payment method failed.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.backup_charge_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.backup_charge_status","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1","typeLabel":"object"},{"type":"null","description":"The invoice this charge is for if one exists.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.invoice","typeLabel":"string | object | null"},"failure_message":{"oneOf":[{"description":"Message to user further explaining reason for charge failure if available.","type":"string","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_message.oneOf.0","typeLabel":"string"},{"description":"Message to user further explaining reason for charge failure if available.","type":"null","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_message","typeLabel":"string | null"},"refunds":{"oneOf":[{"description":"A list of refunds that have been applied to the charge.","type":"array","items":{"oneOf":[{"type":"string","description":"An expandable field — either a string ID or an expanded Refund object.","example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"object","description":"An expandable field — either a string ID or an expanded Refund object.","required":["amount","created_at","refund_id","status","test_mode"],"example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"refund_id":{"description":"The ID of the refund","type":"string","example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.refund_id","typeLabel":"string"},"amount":{"description":"The amount of the refund in cents","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.amount","typeLabel":"integer\u003cint32>"},"created_at":{"description":"The time at which the refund was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.created_at","typeLabel":"string"},"status":{"description":"The status of the refund","type":"string","enum":["pending","requires_action","succeeded","failed","canceled"],"example":"pending","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the refund was created in test mode","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.test_mode","typeLabel":"boolean"},"payment_intent_id":{"oneOf":[{"description":"The ID of the payment intent that the refund is associated with","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.payment_intent_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the payment intent that the refund is associated with","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.payment_intent_id","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","description":"The reason for the refund","enum":["duplicate","fraudulent","requested_by_customer","expired_uncaptured_charge"],"example":"duplicate","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The reason for the refund","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reason","typeLabel":"enum\u003cstring> | null"},"metadata":{"oneOf":[{"description":"Metadata attached to the refund","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata attached to the refund","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.metadata","typeLabel":"object | null"},"reference_id":{"oneOf":[{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_id.oneOf.0","typeLabel":"string"},{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_id","typeLabel":"string | null"},"reference_type":{"oneOf":[{"type":"string","description":"Type of the reference number used for the refund","enum":["acquirer_reference_number","system_trace_audit_number","retrieval_reference_number"],"example":"acquirer_reference_number","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Type of the reference number used for the refund","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_type","typeLabel":"enum\u003cstring> | null"},"reference_status":{"oneOf":[{"type":"string","description":"Status of the reference number used for the refund","enum":["available","pending","unavailable"],"example":"available","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Status of the reference number used for the refund","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_status","typeLabel":"enum\u003cstring> | null"},"items":{"description":"List of refund items (charges that were refunded)","default":[],"type":"array","items":{"description":"Represents a single refund item (charge that was refunded)","type":"object","required":["amount_refunded"],"properties":{"amount_refunded":{"description":"The amount refunded from this charge in cents","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].amount_refunded","typeLabel":"integer\u003cint32>"},"payment_intent":{"oneOf":[{"description":"The ID of the payment intent that the refund is associated with","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_intent.oneOf.0","typeLabel":"string"},{"description":"The ID of the payment intent that the refund is associated with","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_intent.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_intent","typeLabel":"string | null"},"payment_method_id":{"oneOf":[{"description":"The ID of the payment method used for this refund","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_method_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the payment method used for this refund","type":"null","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_method_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_method_id","typeLabel":"string | null"},"reference_id":{"oneOf":[{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_id.oneOf.0","typeLabel":"string"},{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_id","typeLabel":"string | null"},"reference_type":{"oneOf":[{"type":"string","description":"Type of the reference number used for the refund","enum":["acquirer_reference_number","system_trace_audit_number","retrieval_reference_number"],"example":"acquirer_reference_number","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Type of the reference number used for the refund","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_type","typeLabel":"enum\u003cstring> | null"},"reference_status":{"oneOf":[{"type":"string","description":"Status of the reference number used for the refund","enum":["available","pending","unavailable"],"example":"available","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Status of the reference number used for the refund","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_status","typeLabel":"enum\u003cstring> | null"}},"example":{"amount_refunded":2500,"payment_intent":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","payment_method_id":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","reference_id":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","reference_type":"acquirer_reference_number","reference_status":"available"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items","typeLabel":"object[]"},"subscription_id":{"oneOf":[{"description":"The subscription this refund is associated with (for subscription cancellation refunds)","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.subscription_id.oneOf.0","typeLabel":"string"},{"description":"The subscription this refund is associated with (for subscription cancellation refunds)","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.subscription_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.subscription_id","typeLabel":"string | null"},"invoice_id":{"oneOf":[{"description":"The invoice this refund is associated with (for subscription billing period refunds)","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.invoice_id.oneOf.0","typeLabel":"string"},{"description":"The invoice this refund is associated with (for subscription billing period refunds)","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.invoice_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.invoice_id","typeLabel":"string | null"},"balance_transaction":{"oneOf":[{"type":"string","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.0","typeLabel":"string"},{"type":"object","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.balance_transaction_id","typeLabel":"string"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.amount","typeLabel":"integer\u003cint32>"},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.fee","typeLabel":"integer\u003cint32>"},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.net","typeLabel":"integer\u003cint32>"},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.test_mode","typeLabel":"boolean"},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.available_on.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.available_on.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.available_on","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.created_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.created_at","typeLabel":"string | null"},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.exchange_rate","typeLabel":"number\u003cdouble> | null"},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.reporting_category.oneOf.0","typeLabel":"string"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.reporting_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.reporting_category","typeLabel":"string | null"},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.checkout_session_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.checkout_session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.checkout_session_id","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.client_reference_id","typeLabel":"string | null"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.source_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.source_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.source_id","typeLabel":"string | null"},"type":{"oneOf":[{"description":"The type of transaction.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.type.oneOf.0","typeLabel":"string"},{"description":"The type of transaction.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.type","typeLabel":"string | null"},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id","typeLabel":"string | null"},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.mid.oneOf.0","typeLabel":"string"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.mid.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.mid","typeLabel":"string | null"},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.currency.oneOf.0","typeLabel":"string"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.currency","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.metadata","typeLabel":"object | null"},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount","typeLabel":"integer\u003cint32> | null"},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount","typeLabel":"integer\u003cint32> | null"},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount","typeLabel":"integer\u003cint32> | null"},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount","typeLabel":"integer\u003cint32> | null"},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_type.oneOf.0","typeLabel":"string"},{"description":"Card funding type used for the transaction.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_type","typeLabel":"string | null"},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_network.oneOf.0","typeLabel":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_network.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_network","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1","typeLabel":"object"},{"type":"null","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction","typeLabel":"string | object | null"},"failure_balance_transaction":{"oneOf":[{"type":"string","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.0","typeLabel":"string"},{"type":"object","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.balance_transaction_id","typeLabel":"string"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.amount","typeLabel":"integer\u003cint32>"},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.fee","typeLabel":"integer\u003cint32>"},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.net","typeLabel":"integer\u003cint32>"},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.test_mode","typeLabel":"boolean"},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.available_on.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.available_on.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.available_on","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.created_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.created_at","typeLabel":"string | null"},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate","typeLabel":"number\u003cdouble> | null"},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.reporting_category.oneOf.0","typeLabel":"string"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.reporting_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.reporting_category","typeLabel":"string | null"},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id","typeLabel":"string | null"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.source_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.source_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.source_id","typeLabel":"string | null"},"type":{"oneOf":[{"description":"The type of transaction.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.type.oneOf.0","typeLabel":"string"},{"description":"The type of transaction.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.type","typeLabel":"string | null"},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id","typeLabel":"string | null"},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.mid.oneOf.0","typeLabel":"string"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.mid.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.mid","typeLabel":"string | null"},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.currency.oneOf.0","typeLabel":"string"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.currency","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.metadata","typeLabel":"object | null"},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount","typeLabel":"integer\u003cint32> | null"},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount","typeLabel":"integer\u003cint32> | null"},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount","typeLabel":"integer\u003cint32> | null"},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount","typeLabel":"integer\u003cint32> | null"},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_type.oneOf.0","typeLabel":"string"},{"description":"Card funding type used for the transaction.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_type","typeLabel":"string | null"},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_network.oneOf.0","typeLabel":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_network.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_network","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1","typeLabel":"object"},{"type":"null","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction","typeLabel":"string | object | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX]","typeLabel":"string | object"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0","typeLabel":"(string | object)[]"},{"description":"A list of refunds that have been applied to the charge.","type":"null","items":{"oneOf":[{"type":"string","description":"An expandable field — either a string ID or an expanded Refund object.","example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"An expandable field — either a string ID or an expanded Refund object.","required":["amount","created_at","refund_id","status","test_mode"],"example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"refund_id":{"description":"The ID of the refund","type":"string","example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"payment_intent_id":{"oneOf":[{"description":"The ID of the payment intent that the refund is associated with","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The ID of the payment intent that the refund is associated with","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"amount":{"description":"The amount of the refund in cents","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"created_at":{"description":"The time at which the refund was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z"},"reason":{"oneOf":[{"type":"string","description":"The reason for the refund","enum":["duplicate","fraudulent","requested_by_customer","expired_uncaptured_charge"],"example":"duplicate"},{"type":"null","description":"The reason for the refund"}]},"status":{"description":"The status of the refund","type":"string","enum":["pending","requires_action","succeeded","failed","canceled"],"example":"pending"},"test_mode":{"description":"Whether the refund was created in test mode","type":"boolean","example":false},"metadata":{"oneOf":[{"description":"Metadata attached to the refund","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Metadata attached to the refund","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"reference_id":{"oneOf":[{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"reference_type":{"oneOf":[{"type":"string","description":"Type of the reference number used for the refund","enum":["acquirer_reference_number","system_trace_audit_number","retrieval_reference_number"],"example":"acquirer_reference_number"},{"type":"null","description":"Type of the reference number used for the refund"}]},"reference_status":{"oneOf":[{"type":"string","description":"Status of the reference number used for the refund","enum":["available","pending","unavailable"],"example":"available"},{"type":"null","description":"Status of the reference number used for the refund"}]},"items":{"description":"List of refund items (charges that were refunded)","default":[],"type":"array","items":{"description":"Represents a single refund item (charge that was refunded)","type":"object","required":["amount_refunded"],"properties":{"amount_refunded":{"description":"The amount refunded from this charge in cents","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"payment_intent":{"oneOf":[{"description":"The ID of the payment intent that the refund is associated with","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The ID of the payment intent that the refund is associated with","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"payment_method_id":{"oneOf":[{"description":"The ID of the payment method used for this refund","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The ID of the payment method used for this refund","type":"null","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"reference_id":{"oneOf":[{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"reference_type":{"oneOf":[{"type":"string","description":"Type of the reference number used for the refund","enum":["acquirer_reference_number","system_trace_audit_number","retrieval_reference_number"],"example":"acquirer_reference_number"},{"type":"null","description":"Type of the reference number used for the refund"}]},"reference_status":{"oneOf":[{"type":"string","description":"Status of the reference number used for the refund","enum":["available","pending","unavailable"],"example":"available"},{"type":"null","description":"Status of the reference number used for the refund"}]}},"example":{"amount_refunded":2500,"payment_intent":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","payment_method_id":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","reference_id":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","reference_type":"acquirer_reference_number","reference_status":"available"}}},"subscription_id":{"oneOf":[{"description":"The subscription this refund is associated with (for subscription cancellation refunds)","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The subscription this refund is associated with (for subscription cancellation refunds)","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"invoice_id":{"oneOf":[{"description":"The invoice this refund is associated with (for subscription billing period refunds)","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The invoice this refund is associated with (for subscription billing period refunds)","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"balance_transaction":{"oneOf":[{"type":"string","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp."}]},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"}]},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1}]},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value"}]},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"type":{"oneOf":[{"description":"The type of transaction.","type":"string"},{"description":"The type of transaction.","type":"null"}]},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value"}]},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd"}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string"},{"description":"Card funding type used for the transaction.","type":"null"}]},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null"}]}}},{"type":"null","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object."}]},"failure_balance_transaction":{"oneOf":[{"type":"string","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp."}]},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"}]},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1}]},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value"}]},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"type":{"oneOf":[{"description":"The type of transaction.","type":"string"},{"description":"The type of transaction.","type":"null"}]},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value"}]},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd"}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string"},{"description":"Card funding type used for the transaction.","type":"null"}]},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null"}]}}},{"type":"null","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance."}]}}}]},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.refunds","typeLabel":"(string | object)[] | null"},"transfer_group":{"oneOf":[{"description":"A string that identifies the resulting payment as part of a group","type":"string","example":"example_value","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.transfer_group.oneOf.0","typeLabel":"string"},{"description":"A string that identifies the resulting payment as part of a group","type":"null","example":"example_value","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.transfer_group.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.transfer_group","typeLabel":"string | null"},"payment_method_id":{"oneOf":[{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.payment_method_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the PaymentMethod.","type":"null","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.payment_method_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.payment_method_id","typeLabel":"string | null"},"three_d_secure":{"oneOf":[{"type":"object","description":"3D Secure authentication outcome details, if 3DS was used.","example":{"authentication_flow":"string","result":"string","result_reason":"string","version":"string"},"properties":{"authentication_flow":{"oneOf":[{"description":"How the customer was authenticated: `challenge` or `frictionless`.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.authentication_flow.oneOf.0","typeLabel":"string"},{"description":"How the customer was authenticated: `challenge` or `frictionless`.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.authentication_flow.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.authentication_flow","typeLabel":"string | null"},"result":{"oneOf":[{"description":"Outcome of 3D Secure authentication.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.result.oneOf.0","typeLabel":"string"},{"description":"Outcome of 3D Secure authentication.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.result.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.result","typeLabel":"string | null"},"result_reason":{"oneOf":[{"description":"Additional detail about why 3DS succeeded or failed.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.result_reason.oneOf.0","typeLabel":"string"},{"description":"Additional detail about why 3DS succeeded or failed.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.result_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.result_reason","typeLabel":"string | null"},"version":{"oneOf":[{"description":"The version of 3D Secure used.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.version.oneOf.0","typeLabel":"string"},{"description":"The version of 3D Secure used.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.version.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.version","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0","typeLabel":"object"},{"type":"null","description":"3D Secure authentication outcome details, if 3DS was used.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.three_d_secure","typeLabel":"object | null"},"decline_details":{"oneOf":[{"type":"object","description":"Decline and risk details for failed or blocked charges.","example":{"failure_code":"string","decline_code":"string","failure_message":"string","outcome_type":"string","network_status":"string","seller_message":"string","reason":"string","risk_level":"string"},"properties":{"failure_code":{"oneOf":[{"description":"Error code for the charge failure (e.g. `card_declined`, `expired_card`).","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.failure_code.oneOf.0","typeLabel":"string"},{"description":"Error code for the charge failure (e.g. `card_declined`, `expired_card`).","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.failure_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.failure_code","typeLabel":"string | null"},"decline_code":{"oneOf":[{"description":"More specific decline reason (e.g. `insufficient_funds`, `lost_card`).","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.decline_code.oneOf.0","typeLabel":"string"},{"description":"More specific decline reason (e.g. `insufficient_funds`, `lost_card`).","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.decline_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.decline_code","typeLabel":"string | null"},"failure_message":{"oneOf":[{"description":"User-facing failure message.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.failure_message.oneOf.0","typeLabel":"string"},{"description":"User-facing failure message.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.failure_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.failure_message","typeLabel":"string | null"},"outcome_type":{"oneOf":[{"description":"The outcome type of the decline.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.outcome_type.oneOf.0","typeLabel":"string"},{"description":"The outcome type of the decline.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.outcome_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.outcome_type","typeLabel":"string | null"},"network_status":{"oneOf":[{"description":"Network-level status: `approved_by_network`, `declined_by_network`, etc.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.network_status.oneOf.0","typeLabel":"string"},{"description":"Network-level status: `approved_by_network`, `declined_by_network`, etc.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.network_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.network_status","typeLabel":"string | null"},"seller_message":{"oneOf":[{"description":"Technical explanation of the outcome for the merchant.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.seller_message.oneOf.0","typeLabel":"string"},{"description":"Technical explanation of the outcome for the merchant.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.seller_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.seller_message","typeLabel":"string | null"},"reason":{"oneOf":[{"description":"Fraud/risk reason (e.g. `elevated_risk_level`).","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.reason.oneOf.0","typeLabel":"string"},{"description":"Fraud/risk reason (e.g. `elevated_risk_level`).","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.reason","typeLabel":"string | null"},"risk_level":{"oneOf":[{"description":"The risk level assessed for the payment.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.risk_level.oneOf.0","typeLabel":"string"},{"description":"The risk level assessed for the payment.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.risk_level.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.risk_level","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0","typeLabel":"object"},{"type":"null","description":"Decline and risk details for failed or blocked charges.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.decline_details","typeLabel":"object | null"},"balance_transaction":{"oneOf":[{"type":"string","description":"Balance transaction that describes the impact of this charge on your balance. Populated on successful capture, returned as the balance transaction ID. Always serialized; `null` for uncaptured charges.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.0","typeLabel":"string"},{"type":"object","description":"Balance transaction that describes the impact of this charge on your balance. Populated on successful capture, returned as the balance transaction ID. Always serialized; `null` for uncaptured charges.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.balance_transaction_id","typeLabel":"string"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.amount","typeLabel":"integer\u003cint32>"},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.fee","typeLabel":"integer\u003cint32>"},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.net","typeLabel":"integer\u003cint32>"},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.test_mode","typeLabel":"boolean"},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.available_on.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.available_on.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.available_on","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.created_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.created_at","typeLabel":"string | null"},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.exchange_rate","typeLabel":"number\u003cdouble> | null"},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.reporting_category.oneOf.0","typeLabel":"string"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.reporting_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.reporting_category","typeLabel":"string | null"},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.checkout_session_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.checkout_session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.checkout_session_id","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.client_reference_id","typeLabel":"string | null"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.source_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.source_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.source_id","typeLabel":"string | null"},"type":{"oneOf":[{"description":"The type of transaction.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.type.oneOf.0","typeLabel":"string"},{"description":"The type of transaction.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.type","typeLabel":"string | null"},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id","typeLabel":"string | null"},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.mid.oneOf.0","typeLabel":"string"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.mid.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.mid","typeLabel":"string | null"},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.currency.oneOf.0","typeLabel":"string"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.currency","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.metadata","typeLabel":"object | null"},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount","typeLabel":"integer\u003cint32> | null"},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount","typeLabel":"integer\u003cint32> | null"},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount","typeLabel":"integer\u003cint32> | null"},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount","typeLabel":"integer\u003cint32> | null"},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.card_type.oneOf.0","typeLabel":"string"},{"description":"Card funding type used for the transaction.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.card_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.card_type","typeLabel":"string | null"},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.card_network.oneOf.0","typeLabel":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.card_network.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.card_network","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1","typeLabel":"object"},{"type":"null","description":"Balance transaction that describes the impact of this charge on your balance. Populated on successful capture, returned as the balance transaction ID. Always serialized; `null` for uncaptured charges.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.balance_transaction","typeLabel":"string | object | null"},"failure_balance_transaction":{"oneOf":[{"type":"string","description":"Reversal balance transaction created when a captured charge fails or is otherwise reversed and funds are credited back. Always serialized; `null` on the common success path.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.0","typeLabel":"string"},{"type":"object","description":"Reversal balance transaction created when a captured charge fails or is otherwise reversed and funds are credited back. Always serialized; `null` on the common success path.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.balance_transaction_id","typeLabel":"string"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.amount","typeLabel":"integer\u003cint32>"},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.fee","typeLabel":"integer\u003cint32>"},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.net","typeLabel":"integer\u003cint32>"},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.test_mode","typeLabel":"boolean"},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.available_on.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.available_on.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.available_on","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.created_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.created_at","typeLabel":"string | null"},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate","typeLabel":"number\u003cdouble> | null"},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.reporting_category.oneOf.0","typeLabel":"string"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.reporting_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.reporting_category","typeLabel":"string | null"},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id","typeLabel":"string | null"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.source_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.source_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.source_id","typeLabel":"string | null"},"type":{"oneOf":[{"description":"The type of transaction.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.type.oneOf.0","typeLabel":"string"},{"description":"The type of transaction.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.type","typeLabel":"string | null"},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id","typeLabel":"string | null"},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.mid.oneOf.0","typeLabel":"string"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.mid.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.mid","typeLabel":"string | null"},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.currency.oneOf.0","typeLabel":"string"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.currency","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.metadata","typeLabel":"object | null"},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount","typeLabel":"integer\u003cint32> | null"},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount","typeLabel":"integer\u003cint32> | null"},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount","typeLabel":"integer\u003cint32> | null"},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount","typeLabel":"integer\u003cint32> | null"},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.card_type.oneOf.0","typeLabel":"string"},{"description":"Card funding type used for the transaction.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.card_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.card_type","typeLabel":"string | null"},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.card_network.oneOf.0","typeLabel":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.card_network.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.card_network","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1","typeLabel":"object"},{"type":"null","description":"Reversal balance transaction created when a captured charge fails or is otherwise reversed and funds are credited back. Always serialized; `null` on the common success path.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1.failure_balance_transaction","typeLabel":"string | object | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.1","typeLabel":"object"},{"type":"null","description":"The latest charge associated with the payment intent.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.latest_charge","typeLabel":"string | object | null"},"invoice":{"oneOf":[{"type":"string","description":"The invoice associated with the payment intent.","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.0","typeLabel":"string"},{"type":"object","description":"The invoice associated with the payment intent.","required":["amount_due","amount_paid","collection_method","created_at","invoice_id","status","test_mode","total"],"example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"invoice_id":{"description":"The id of the invoice.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.invoice_id","typeLabel":"string"},"total":{"description":"The total amount of the invoice in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.total","typeLabel":"integer\u003cint32>"},"amount_due":{"description":"The amount due in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.amount_due","typeLabel":"integer\u003cint32>"},"amount_paid":{"description":"The amount paid in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.amount_paid","typeLabel":"integer\u003cint32>"},"status":{"description":"The status of the invoice.","type":"string","enum":["draft","open","void","paid","uncollectible"],"example":"draft","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.status","typeLabel":"enum\u003cstring>"},"collection_method":{"description":"Either charge_automatically or send_invoice. When charging automatically, Flex will attempt to pay this invoice using the default payment method attached to the customer. When sending an invoice, Flex will email this invoice to the customer with payment instructions.","type":"string","enum":["charge_automatically","send_invoice"],"example":"charge_automatically","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.collection_method","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether or not the invoice was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.test_mode","typeLabel":"boolean"},"created_at":{"description":"When the invoice was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.created_at","typeLabel":"string"},"payment_intent":{"oneOf":[{"description":"The payment intent associated with this invoice. The payment intent is created when the invoice is finalized.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.payment_intent.oneOf.0","typeLabel":"any"},{"type":"null","description":"The payment intent associated with this invoice. The payment intent is created when the invoice is finalized.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.payment_intent.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.payment_intent","typeLabel":"any | null"},"charge":{"oneOf":[{"description":"The id of the latest charge for this invoice.","type":"string","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.charge.oneOf.0","typeLabel":"string"},{"description":"The id of the latest charge for this invoice.","type":"null","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.charge.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.charge","typeLabel":"string | null"},"customer":{"oneOf":[{"type":"string","description":"The id of the customer this invoice is for.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The id of the customer this invoice is for.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.1","typeLabel":"object"},{"type":"null","description":"The id of the customer this invoice is for.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.customer","typeLabel":"string | object | null"},"period_end":{"oneOf":[{"type":"string","description":"End of the usage period.","example":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.period_end.oneOf.0","typeLabel":"string"},{"type":"null","description":"End of the usage period.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.period_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.period_end","typeLabel":"string | null"},"period_start":{"oneOf":[{"type":"string","description":"Start of the usage period.","example":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.period_start.oneOf.0","typeLabel":"string"},{"type":"null","description":"Start of the usage period.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.period_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.period_start","typeLabel":"string | null"},"subscription":{"oneOf":[{"type":"string","description":"The subscription that this invoice was prepared for.","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.0","typeLabel":"string"},{"type":"object","description":"The subscription that this invoice was prepared for.","required":["cancel_at_period_end","created_at","items","status","subscription_id","test_mode"],"example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"subscription_id":{"description":"Unique identifier for the object.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.subscription_id","typeLabel":"string"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.created_at","typeLabel":"string"},"items":{"description":"The items the customer is subscribed to.","type":"array","items":{"description":"A Subscription Item represents a single recurring Price billed as part of a Subscription, together with the quantity of that price the customer is subscribed to. A subscription has one item per recurring price it bills.","type":"object","required":["created_at","price","quantity","subscription_item_id","test_mode"],"properties":{"subscription_item_id":{"description":"Unique identifier for the subscription item.","type":"string","example":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].subscription_item_id","typeLabel":"string"},"price":{"oneOf":[{"type":"string","description":"The recurring Price this item bills. Returned as a price ID by default, or as the full Price object when expanded.","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.0","typeLabel":"string"},{"type":"object","description":"The recurring Price this item bills. Returned as a price ID by default, or as the full Price object when expanded.","required":["active","created_at","price_id","product","test_mode","type","unit_amount"],"example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"price_id":{"description":"The unique identifier for the price.","type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.price_id","typeLabel":"string"},"unit_amount":{"description":"The amount to charge per unit, in the smallest currency unit (e.g., `2500` = $25.00 USD).","type":"integer","format":"int32","minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.unit_amount","typeLabel":"integer\u003cint32>"},"active":{"description":"Whether the price is currently active.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.active","typeLabel":"boolean"},"product":{"oneOf":[{"type":"string","description":"The product this price belongs to. Returned as a product ID by default, or as the full Product object when expanded.","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.0","typeLabel":"string"},{"type":"object","description":"The product this price belongs to. Returned as a product ID by default, or as the full Product object when expanded.","required":["active","created_at","hsa_fsa_eligibility","name","product_id","test_mode"],"example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"product_id":{"description":"The unique identifier for the product.","type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.product_id","typeLabel":"string"},"name":{"description":"The name of the product.","type":"string","example":"Example","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.name","typeLabel":"string"},"created_at":{"description":"The date the product was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.created_at","typeLabel":"string"},"active":{"description":"Determines if the product is active or not.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.active","typeLabel":"boolean"},"hsa_fsa_eligibility":{"description":"The elegibility of the product for HSA/FSA.","type":"string","enum":["not_eligible","auto_substantiation","private_label","letter_of_medical_necessity","prescription","vision","service","pending"],"example":"not_eligible","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.hsa_fsa_eligibility","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the product is in test mode or not.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The ID of the account that owns this product. For products shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the account that owns this product. For products shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"null","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.owner_partner_id","typeLabel":"string | null"},"description":{"oneOf":[{"description":"The description of the product.","type":"string","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.description.oneOf.0","typeLabel":"string"},{"description":"The description of the product.","type":"null","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.description","typeLabel":"string | null"},"document_description":{"oneOf":[{"description":"Medical-grade description optimized for use in Letters of Medical Necessity and receipts.","deprecated":true,"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.document_description.oneOf.0","typeLabel":"string"},{"description":"Medical-grade description optimized for use in Letters of Medical Necessity and receipts.","deprecated":true,"type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.document_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.document_description","typeLabel":"string | null"},"receipt_description":{"oneOf":[{"description":"Shortened description tailored to receipt line items","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.receipt_description.oneOf.0","typeLabel":"string"},{"description":"Shortened description tailored to receipt line items","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.receipt_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.receipt_description","typeLabel":"string | null"},"visit_type":{"oneOf":[{"type":"string","description":"The visit type of the product if a letter of medical necessity is required.","enum":["cbtSleep","notApplicable","metabolomics","tinnitus","gym","exerciseDiet","orthopedic","alcohol","airPurification","vaginalHealth","menstrual","canopy","alopecia","genate","weightBlanket","bedJet","siderAl","sunwinkPowder","wavWatch","bodyComplete","ageRate","nitrousOxide","happyV","groupChat","icalmAnxiety","redBloom","foodom","branchErgonomicFurniture","curalife","eloraInfantWellness","nutriHealth","olipop","goldIntimate","touchStoneEssentials","utiva","sleepGeekz","figBrew","auBabyBlanket","babySleepSack","oshWellness","currentBodyRedLight","mito","circularRing","lymaRedLight","goodAirRx","tastermonial","karunaHome","ergoStandingChair","jbaGlucoseControl","bloomNutrition","buoyDrops","luxeWonderWig","saunaMarketplace","amrioreEyewear","pivotOrthoShoe","lumenCynergy","roga","pulsetto","mitoRedLight","gutPersonal","goFlaus","myHixel","calmigo","dotFit","stripesBeauty","mixHers","pmd","positivityWithPurpose","techRing","popVeneers","vertaClean","lumen","medicalMeal","emnHealth","detergentAllergy","lowImpactExercise","mediumImpactExercise","highImpactExercise","gardening","babyCarrier","smartGlasses","automatedCleaner","uvClothing","adaptiveShoes","breathWork","nonenalOdor","meneralsNootropicPouch","babyMonitorSplit","babySleepApp","coolingSleepwear","bodyPillow","uvGlasses","nursingChairs","coolingBed","posture","supplements","sleep","redLightTherapy","fitness","smartRing","womensVaginalHealth","fertilitySupport","femaleReproduction","femaleReproductionFood","pregnancyLiterature","iceBath","orthopedicShoes","sexualHealth","glucose","metabolicTest","skinCare","oralHealth","oralAnxiety","blueLightGlasses","anxiety","brainHealth","babyMonitor","compressionSocks","compressionShorts","waterPurification","medSpa","essentialOils","sleepBuds","latchLight","nutritionist","rairflow","enduranceTraining","hydration","hairGrowth","eD","postureFitness","childDevelopment","adaptiveClothing","sleepConsulting","hairRemoval","menopause","maleFertility","anxietyHealth","bidets","speechHealth","artOfLiving","breastMilk","petSupport","diapers","gutSupplements","smartWatch","medicalBotox","biomechanicalAssessment","erectileReset","femaleOrgasm","pornAddiction","memorySupport","oralHealthMasticGum","orthopedicSandals","childDevelopmentAnxietySleep","childDevelopmentAdjustment","childDevelopmentBehavior","childDevelopmentIdentity","emnHealthMobility","adaptiveShoesDependent","speechHealthDependent","breathWorkDependent"],"example":"cbtSleep","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.visit_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The visit type of the product if a letter of medical necessity is required.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.visit_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.visit_type","typeLabel":"enum\u003cstring> | null"},"upc_code":{"oneOf":[{"description":"The upc code of the product.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.upc_code.oneOf.0","typeLabel":"string"},{"description":"The upc code of the product.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.upc_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.upc_code","typeLabel":"string | null"},"gtin":{"oneOf":[{"description":"The gtin code of the product.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.gtin.oneOf.0","typeLabel":"string"},{"description":"The gtin code of the product.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.gtin.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.gtin","typeLabel":"string | null"},"reference_gtin":{"oneOf":[{"description":"The GTIN of a private-label reference product, used to establish HSA/FSA eligibility.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.reference_gtin.oneOf.0","typeLabel":"string"},{"description":"The GTIN of a private-label reference product, used to establish HSA/FSA eligibility.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.reference_gtin.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.reference_gtin","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the product.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the product.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata","typeLabel":"object | null"},"url":{"oneOf":[{"description":"The URL of the product.","type":"string","example":"https://example.com","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.url.oneOf.0","typeLabel":"string"},{"description":"The URL of the product.","type":"null","example":"https://example.com","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.url","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"An optional identifier for the product set by the client at creation time. Immutable after creation.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"An optional identifier for the product set by the client at creation time. Immutable after creation.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.client_reference_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product","typeLabel":"string | object"},"created_at":{"description":"The date the price was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.created_at","typeLabel":"string"},"type":{"description":"The type of the price: a single one-time charge, or a recurring charge billed on a schedule.","type":"string","enum":["one_time","recurring"],"example":"one_time","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.type","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the price is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The ID of the account that owns this price. For prices shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the account that owns this price. For prices shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"null","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.owner_partner_id","typeLabel":"string | null"},"description":{"oneOf":[{"description":"The description of the price.","type":"string","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.description.oneOf.0","typeLabel":"string"},{"description":"The description of the price.","type":"null","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.description","typeLabel":"string | null"},"trial_period_days":{"oneOf":[{"description":"The number of trial period days before the customer is first charged for a recurring price.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.trial_period_days.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The number of trial period days before the customer is first charged for a recurring price.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.trial_period_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.trial_period_days","typeLabel":"integer\u003cint32> | null"},"recurring":{"oneOf":[{"type":"object","description":"The recurring components of a price such as interval and trial period days.","required":["interval"],"example":{"interval":"day","interval_count":0,"trial_period_days":0},"properties":{"interval":{"description":"The billing cadence for the price.","type":"string","enum":["day","week","month","year"],"example":"day","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval","typeLabel":"enum\u003cstring>"},"interval_count":{"oneOf":[{"description":"The number of intervals","type":"integer","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval_count.oneOf.0","typeLabel":"integer\u003cint64>"},{"description":"The number of intervals","type":"null","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval_count","typeLabel":"integer\u003cint64> | null"},"trial_period_days":{"oneOf":[{"description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","type":"integer","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.trial_period_days.oneOf.0","typeLabel":"integer\u003cint64>"},{"description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","type":"null","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.trial_period_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.trial_period_days","typeLabel":"integer\u003cint64> | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0","typeLabel":"object"},{"type":"null","description":"The recurring components of a price such as interval and trial period days.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata information for the price object","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata information for the price object","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.metadata","typeLabel":"object | null"},"lookup_key":{"oneOf":[{"description":"A stable, partner-owned key for this price. Unique per account and mode across all prices, archived ones included. `null` until you set one.","type":"string","maxLength":200,"example":"standard_monthly","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.lookup_key.oneOf.0","typeLabel":"string"},{"description":"A stable, partner-owned key for this price. Unique per account and mode across all prices, archived ones included. `null` until you set one.","type":"null","maxLength":200,"example":"standard_monthly","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.lookup_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.lookup_key","typeLabel":"string | null"},"hsa_fsa_eligibility":{"oneOf":[{"type":"string","description":"The HSA/FSA eligibility for the price.","enum":["not_eligible","auto_substantiation","private_label","letter_of_medical_necessity","prescription","vision","service","pending"],"example":"not_eligible","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.hsa_fsa_eligibility.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The HSA/FSA eligibility for the price.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.hsa_fsa_eligibility.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.hsa_fsa_eligibility","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price","typeLabel":"string | object"},"quantity":{"description":"The number of units of the price the customer is subscribed to.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"created_at":{"description":"Time at which the subscription item was created, as an RFC 3339 timestamp.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].created_at","typeLabel":"string"},"test_mode":{"description":"Whether the subscription item exists in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].test_mode","typeLabel":"boolean"},"updated_at":{"oneOf":[{"type":"string","description":"Time at which the subscription item was last updated, as an RFC 3339 timestamp. `null` if the item has not been updated since creation.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"Time at which the subscription item was last updated, as an RFC 3339 timestamp. `null` if the item has not been updated since creation.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].updated_at","typeLabel":"string | null"}},"example":{"subscription_item_id":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","price":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","quantity":2500,"created_at":"2026-06-15T14:30:00Z","updated_at":"2026-06-15T14:30:00Z","test_mode":false},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items","typeLabel":"object[]"},"status":{"description":"Possible values are incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, or paused.","type":"string","enum":["incomplete","incomplete_expired","trialing","active","past_due","canceled","unpaid","paused"],"example":"incomplete","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.status","typeLabel":"enum\u003cstring>"},"cancel_at_period_end":{"description":"If the subscription has been canceled with the at_period_end flag set to true, cancel_at_period_end on the subscription will be true. You can use this attribute to determine whether a subscription that has a status of active is scheduled to be canceled at the end of the current period.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at_period_end","typeLabel":"boolean"},"test_mode":{"description":"Whether the subscription is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.test_mode","typeLabel":"boolean"},"latest_invoice":{"oneOf":[{"description":"The ID of the latest invoice generated for this subscription.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.latest_invoice.oneOf.0","typeLabel":"any"},{"type":"null","description":"The ID of the latest invoice generated for this subscription.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.latest_invoice.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.latest_invoice","typeLabel":"any | null"},"customer":{"oneOf":[{"type":"string","description":"The ID of the customer who owns the subscription.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The ID of the customer who owns the subscription.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1","typeLabel":"object"},{"type":"null","description":"The ID of the customer who owns the subscription.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer","typeLabel":"string | object | null"},"current_period_end":{"oneOf":[{"type":"string","description":"End of the current period that the subscription has been invoiced for.","example":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_end.oneOf.0","typeLabel":"string"},{"type":"null","description":"End of the current period that the subscription has been invoiced for.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_end","typeLabel":"string | null"},"current_period_start":{"oneOf":[{"type":"string","description":"Start of the current period that the subscription has been invoiced for.","example":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_start.oneOf.0","typeLabel":"string"},{"type":"null","description":"Start of the current period that the subscription has been invoiced for.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_start","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"A set of key/value pairs that you can attach to a subscription object.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"A set of key/value pairs that you can attach to a subscription object.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.metadata","typeLabel":"object | null"},"client_secret":{"oneOf":[{"type":"object","description":"Client secrets used to confirm the subscription's first payment or payment-method setup from your frontend. Present only while the subscription is being activated; omitted otherwise. Do not log or store these secrets; expose them only to the customer over TLS.","example":{"setup_secret":"string","payment_secret":"string"},"properties":{"setup_secret":{"oneOf":[{"description":"Client secret of the SetupIntent used to collect and save a payment method for the subscription (for example, during a trial with no immediate charge). `null` when no setup is required. Do not log or store it; expose only to the customer over TLS.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.setup_secret.oneOf.0","typeLabel":"string"},{"description":"Client secret of the SetupIntent used to collect and save a payment method for the subscription (for example, during a trial with no immediate charge). `null` when no setup is required. Do not log or store it; expose only to the customer over TLS.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.setup_secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.setup_secret","typeLabel":"string | null"},"payment_secret":{"oneOf":[{"description":"Client secret of the PaymentIntent used to confirm the subscription's first payment from your frontend. `null` when no immediate payment is required. Do not log or store it; expose only to the customer over TLS.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.payment_secret.oneOf.0","typeLabel":"string"},{"description":"Client secret of the PaymentIntent used to confirm the subscription's first payment from your frontend. `null` when no immediate payment is required. Do not log or store it; expose only to the customer over TLS.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.payment_secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.payment_secret","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0","typeLabel":"object"},{"type":"null","description":"Client secrets used to confirm the subscription's first payment or payment-method setup from your frontend. Present only while the subscription is being activated; omitted otherwise. Do not log or store these secrets; expose them only to the customer over TLS.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret","typeLabel":"object | null"},"proration_behavior":{"oneOf":[{"type":"string","description":"The proration behavior for the subscription.","enum":["always_invoice","create_prorations","none"],"example":"always_invoice","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.proration_behavior.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The proration behavior for the subscription.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.proration_behavior.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.proration_behavior","typeLabel":"enum\u003cstring> | null"},"trial_start":{"oneOf":[{"type":"string","description":"Start of the subscription's trial period, as an RFC 3339 timestamp. `null` if the subscription has no trial.","example":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_start.oneOf.0","typeLabel":"string"},{"type":"null","description":"Start of the subscription's trial period, as an RFC 3339 timestamp. `null` if the subscription has no trial.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_start","typeLabel":"string | null"},"trial_end":{"oneOf":[{"type":"string","description":"End of the subscription's trial period, as an RFC 3339 timestamp. After this time the customer is billed normally. `null` if the subscription has no trial.","example":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_end.oneOf.0","typeLabel":"string"},{"type":"null","description":"End of the subscription's trial period, as an RFC 3339 timestamp. After this time the customer is billed normally. `null` if the subscription has no trial.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_end","typeLabel":"string | null"},"cancel_at":{"oneOf":[{"type":"string","description":"A future RFC 3339 timestamp at which the subscription will automatically be canceled. `null` unless a future cancellation has been scheduled.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"A future RFC 3339 timestamp at which the subscription will automatically be canceled. `null` unless a future cancellation has been scheduled.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at","typeLabel":"string | null"},"canceled_at":{"oneOf":[{"type":"string","description":"The RFC 3339 timestamp at which the subscription was actually canceled. `null` if the subscription has not been canceled. Unlike `cancel_at` (a future scheduled cancellation), this is set once the cancellation has occurred.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.canceled_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The RFC 3339 timestamp at which the subscription was actually canceled. `null` if the subscription has not been canceled. Unlike `cancel_at` (a future scheduled cancellation), this is set once the cancellation has occurred.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.canceled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.canceled_at","typeLabel":"string | null"},"default_payment_method":{"oneOf":[{"type":"string","description":"The default payment method for the subscription (expandable).","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.0","typeLabel":"string"},{"type":"object","description":"The default payment method for the subscription (expandable).","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.payment_method_id","typeLabel":"string"},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"oneOf":[{"type":"object","description":"The billing address.","example":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"properties":{"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.city","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter ISO country code (e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter ISO country code (e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.country","typeLabel":"string | null"},"line1":{"oneOf":[{"description":"Address line 1, such as the street, PO box, or company name.","type":"string","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"Address line 1, such as the street, PO box, or company name.","type":"null","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"string","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"null","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.state","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"The billing address.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address","typeLabel":"object | null"},"email":{"oneOf":[{"description":"The billing email address.","type":"string","example":"john.doe@example.com","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.email.oneOf.0","typeLabel":"string"},{"description":"The billing email address.","type":"null","example":"john.doe@example.com","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.email","typeLabel":"string | null"},"name":{"oneOf":[{"description":"The billing name.","type":"string","example":"Example","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.name.oneOf.0","typeLabel":"string"},{"description":"The billing name.","type":"null","example":"Example","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.name","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The billing phone number.","type":"string","example":"+14155550142","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.phone.oneOf.0","typeLabel":"string"},{"description":"The billing phone number.","type":"null","example":"+14155550142","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.phone","typeLabel":"string | null"}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details","typeLabel":"object"},"customer":{"oneOf":[{"type":"string","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer","typeLabel":"string | object"},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.brand","typeLabel":"enum\u003cstring>"},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.country","typeLabel":"string"},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.exp_month","typeLabel":"integer\u003cint32>"},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.exp_year","typeLabel":"integer\u003cint32>"},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.fingerprint","typeLabel":"string"},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.funding","typeLabel":"enum\u003cstring>"},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.last4","typeLabel":"string"}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card","typeLabel":"object"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.test_mode","typeLabel":"boolean"},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.off_session","typeLabel":"boolean"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","additionalProperties":{"type":"object","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","additionalProperties":{"type":"object","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1","typeLabel":"object"},{"type":"null","description":"The default payment method for the subscription (expandable).","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method","typeLabel":"string | object | null"},"backup_payment_method":{"oneOf":[{"type":"string","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.0","typeLabel":"string"},{"type":"object","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.payment_method_id","typeLabel":"string"},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"oneOf":[{"type":"object","description":"The billing address.","example":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"properties":{"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.city","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter ISO country code (e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter ISO country code (e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.country","typeLabel":"string | null"},"line1":{"oneOf":[{"description":"Address line 1, such as the street, PO box, or company name.","type":"string","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"Address line 1, such as the street, PO box, or company name.","type":"null","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"string","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"null","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.state","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"The billing address.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address","typeLabel":"object | null"},"email":{"oneOf":[{"description":"The billing email address.","type":"string","example":"john.doe@example.com","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.email.oneOf.0","typeLabel":"string"},{"description":"The billing email address.","type":"null","example":"john.doe@example.com","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.email","typeLabel":"string | null"},"name":{"oneOf":[{"description":"The billing name.","type":"string","example":"Example","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.name.oneOf.0","typeLabel":"string"},{"description":"The billing name.","type":"null","example":"Example","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.name","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The billing phone number.","type":"string","example":"+14155550142","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.phone.oneOf.0","typeLabel":"string"},{"description":"The billing phone number.","type":"null","example":"+14155550142","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.phone","typeLabel":"string | null"}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details","typeLabel":"object"},"customer":{"oneOf":[{"type":"string","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer","typeLabel":"string | object"},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.brand","typeLabel":"enum\u003cstring>"},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.country","typeLabel":"string"},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.exp_month","typeLabel":"integer\u003cint32>"},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.exp_year","typeLabel":"integer\u003cint32>"},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.fingerprint","typeLabel":"string"},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.funding","typeLabel":"enum\u003cstring>"},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.last4","typeLabel":"string"}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card","typeLabel":"object"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.test_mode","typeLabel":"boolean"},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.off_session","typeLabel":"boolean"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","additionalProperties":{"type":"object","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","additionalProperties":{"type":"object","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1","typeLabel":"object"},{"type":"null","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method","typeLabel":"string | object | null"},"discounts":{"oneOf":[{"description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)","type":"array","items":{"description":"A Discount object represents the application of a coupon or promotion code to a checkout session, customer, subscription, or invoice. It records which coupon was redeemed, what the discount was applied to, and the time window over which it applies.","type":"object","required":["discount_id","source","start","test_mode"],"properties":{"discount_id":{"description":"The ID of the discount.","type":"string","example":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].discount_id","typeLabel":"string"},"source":{"description":"The source of the discount (coupon or promotion code).","type":"object","required":["coupon","type"],"properties":{"coupon":{"oneOf":[{"type":"string","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.0","typeLabel":"string"},{"type":"object","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","required":["coupon_id","created_at","duration","name","test_mode","valid"],"example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"coupon_id":{"description":"Unique identifier for the object.","type":"string","example":"fcoup_1234567890","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.coupon_id","typeLabel":"string"},"duration":{"type":"string","enum":["once","repeating","forever"],"x-ms-enum":{"name":"CouponDuration","modelAsString":false,"values":[{"value":"once","name":"Once","description":"Applies to the first charge from a subscription with this coupon applied."},{"value":"repeating","name":"Repeating","description":"Applies to charges in the first duration_in_months months from a subscription with this coupon applied."},{"value":"forever","name":"Forever","description":"Applies to all charges from a subscription with this coupon applied."}]},"description":"One of forever, once, and repeating. Describes how long a customer who applies this coupon will get the discount.","example":"once","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration","typeLabel":"enum\u003cstring>"},"name":{"description":"Name of the coupon displayed to customers.","type":"string","example":"Example","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.name","typeLabel":"string"},"valid":{"description":"Taking account of the above properties, whether this coupon can still be applied to a customer.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.valid","typeLabel":"boolean"},"created_at":{"description":"Date when this coupon was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the coupon is in test mode","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.test_mode","typeLabel":"boolean"},"amount_off":{"oneOf":[{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.amount_off.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.amount_off.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.amount_off","typeLabel":"integer\u003cint32> | null"},"applies_to":{"oneOf":[{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["products"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"properties":{"products":{"description":"The product that this coupon applies to.","type":"array","items":{"type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.0.products.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.0.products","typeLabel":"string[]"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.0","typeLabel":"object"},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["prices"],"properties":{"prices":{"description":"The price that this coupon applies to.","type":"array","items":{"type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.1.prices.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.1.prices","typeLabel":"string[]"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.1","typeLabel":"object"},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["fee_types"],"properties":{"fee_types":{"description":"The fee types that this coupon applies to.","type":"array","items":{"description":"The kind of fee applied to a checkout session: a Letter of Medical Necessity consultation fee, or a custom fee you define.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.2.fee_types.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.2.fee_types","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.2","typeLabel":"object"},{"type":"string","description":"An object containing the ID of the product that the coupon can be applied to.","enum":["shipping"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.3","typeLabel":"enum\u003cstring>"},{"type":"null","description":"An object containing the ID of the product that the coupon can be applied to.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.4","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to","typeLabel":"object · object · object · enum\u003cstring> · null"},"duration_in_months":{"oneOf":[{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration_in_months.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration_in_months.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration_in_months","typeLabel":"integer\u003cint32> | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.metadata","typeLabel":"object | null"},"percent_off":{"oneOf":[{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"number","format":"double","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.percent_off.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"null","format":"double","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.percent_off.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.percent_off","typeLabel":"number\u003cdouble> | null"},"max_redemptions":{"oneOf":[{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.max_redemptions.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.max_redemptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.max_redemptions","typeLabel":"integer\u003cint32> | null"},"times_redeemed":{"oneOf":[{"description":"Number of times this coupon has been applied to a customer.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.times_redeemed.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Number of times this coupon has been applied to a customer.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.times_redeemed.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.times_redeemed","typeLabel":"integer\u003cint32> | null"}},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon","typeLabel":"string | object"},"type":{"description":"The type of source.","type":"string","enum":["coupon","promotion_code"],"example":"coupon","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.type","typeLabel":"enum\u003cstring>"}},"example":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source","typeLabel":"object"},"test_mode":{"description":"Whether the discount was applied in test mode","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].test_mode","typeLabel":"boolean"},"start":{"description":"Date that the coupon was applied.","type":"string","example":"string","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].start","typeLabel":"string"},"checkout_session":{"oneOf":[{"description":"The checkout session that the discount was applied to.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session.oneOf.0","typeLabel":"string"},{"description":"The checkout session that the discount was applied to.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session","typeLabel":"string | null"},"customer":{"oneOf":[{"description":"The customer that the discount was applied to.","type":"string","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer.oneOf.0","typeLabel":"string"},{"description":"The customer that the discount was applied to.","type":"null","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer","typeLabel":"string | null"},"subscription":{"oneOf":[{"description":"The subscription that the discount was applied to.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription.oneOf.0","typeLabel":"string"},{"description":"The subscription that the discount was applied to.","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription","typeLabel":"string | null"},"invoice":{"oneOf":[{"description":"The invoice that the discount was applied to.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice.oneOf.0","typeLabel":"string"},{"description":"The invoice that the discount was applied to.","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice","typeLabel":"string | null"},"promo_code":{"oneOf":[{"description":"The promo code applied to create the discount.","type":"string","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code.oneOf.0","typeLabel":"string"},{"description":"The promo code applied to create the discount.","type":"null","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code","typeLabel":"string | null"},"end":{"oneOf":[{"type":"string","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","example":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].end.oneOf.0","typeLabel":"string"},{"type":"null","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].end","typeLabel":"string | null"}},"example":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0","typeLabel":"object[]"},{"description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)","type":"null","items":{"description":"A Discount object represents the application of a coupon or promotion code to a checkout session, customer, subscription, or invoice. It records which coupon was redeemed, what the discount was applied to, and the time window over which it applies.","type":"object","required":["discount_id","source","start","test_mode"],"properties":{"discount_id":{"description":"The ID of the discount.","type":"string","example":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"checkout_session":{"oneOf":[{"description":"The checkout session that the discount was applied to.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The checkout session that the discount was applied to.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"customer":{"oneOf":[{"description":"The customer that the discount was applied to.","type":"string","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The customer that the discount was applied to.","type":"null","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"subscription":{"oneOf":[{"description":"The subscription that the discount was applied to.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The subscription that the discount was applied to.","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"invoice":{"oneOf":[{"description":"The invoice that the discount was applied to.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The invoice that the discount was applied to.","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"source":{"description":"The source of the discount (coupon or promotion code).","type":"object","required":["coupon","type"],"properties":{"coupon":{"oneOf":[{"type":"string","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","required":["coupon_id","created_at","duration","name","test_mode","valid"],"example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"coupon_id":{"description":"Unique identifier for the object.","type":"string","example":"fcoup_1234567890"},"amount_off":{"oneOf":[{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648},{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648}]},"applies_to":{"oneOf":[{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["products"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"properties":{"products":{"description":"The product that this coupon applies to.","type":"array","items":{"type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["prices"],"properties":{"prices":{"description":"The price that this coupon applies to.","type":"array","items":{"type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["fee_types"],"properties":{"fee_types":{"description":"The fee types that this coupon applies to.","type":"array","items":{"description":"The kind of fee applied to a checkout session: a Letter of Medical Necessity consultation fee, or a custom fee you define.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation"}}}},{"type":"string","description":"An object containing the ID of the product that the coupon can be applied to.","enum":["shipping"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]}},{"type":"null","description":"An object containing the ID of the product that the coupon can be applied to."}]},"duration":{"type":"string","enum":["once","repeating","forever"],"x-ms-enum":{"name":"CouponDuration","modelAsString":false,"values":[{"value":"once","name":"Once","description":"Applies to the first charge from a subscription with this coupon applied."},{"value":"repeating","name":"Repeating","description":"Applies to charges in the first duration_in_months months from a subscription with this coupon applied."},{"value":"forever","name":"Forever","description":"Applies to all charges from a subscription with this coupon applied."}]},"description":"One of forever, once, and repeating. Describes how long a customer who applies this coupon will get the discount.","example":"once"},"duration_in_months":{"oneOf":[{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","example":{"order_id":"8842","channel":"shopify"}}]},"name":{"description":"Name of the coupon displayed to customers.","type":"string","example":"Example"},"percent_off":{"oneOf":[{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"number","format":"double"},{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"null","format":"double"}]},"max_redemptions":{"oneOf":[{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"times_redeemed":{"oneOf":[{"description":"Number of times this coupon has been applied to a customer.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Number of times this coupon has been applied to a customer.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"valid":{"description":"Taking account of the above properties, whether this coupon can still be applied to a customer.","type":"boolean","example":false},"created_at":{"description":"Date when this coupon was created.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether the coupon is in test mode","type":"boolean","example":false}}}]},"type":{"description":"The type of source.","type":"string","enum":["coupon","promotion_code"],"example":"coupon"}},"example":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"}},"promo_code":{"oneOf":[{"description":"The promo code applied to create the discount.","type":"string","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The promo code applied to create the discount.","type":"null","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether the discount was applied in test mode","type":"boolean","example":false},"end":{"oneOf":[{"type":"string","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","example":"string"},{"type":"null","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null."}]},"start":{"description":"Date that the coupon was applied.","type":"string","example":"string"}},"example":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts","typeLabel":"object[] | null"},"pause":{"oneOf":[{"type":"object","description":"The current pause. Present only while the subscription is paused.","required":["paused_at"],"example":{"paused_at":"2026-06-15T14:30:00Z","resume_at":"2026-06-15T14:30:00Z","billing_cycle_anchor":"unchanged","proration_behavior":"always_invoice","credit":"unused_time"},"properties":{"paused_at":{"description":"When the subscription was paused. ISO 8601 format. While paused, this is also the subscription's `current_period_end`.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.paused_at","typeLabel":"string"},"resume_at":{"oneOf":[{"type":"string","description":"When Flex resumes the subscription on its own. `null` when it stays paused until you resume it.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.resume_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When Flex resumes the subscription on its own. `null` when it stays paused until you resume it.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.resume_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.resume_at","typeLabel":"string | null"},"billing_cycle_anchor":{"oneOf":[{"type":"string","description":"Where billing restarts when Flex resumes at `resume_at`: `now` or `unchanged`. `null` when no resume is scheduled.","enum":["now","unchanged"],"x-ms-enum":{"name":"SubscriptionResumeBillingCycleAnchor","modelAsString":false,"values":[{"value":"now","name":"Now","description":"Bill monthly from the resume date, charging the full period now, net of any unused time credited at the pause. After an uncredited pause that ends inside the paid period, nothing is charged now and the next charge covers the time from the old period end."},{"value":"unchanged","name":"Unchanged","description":"Keep the original billing date."}]},"example":"unchanged","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.billing_cycle_anchor.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Where billing restarts when Flex resumes at `resume_at`: `now` or `unchanged`. `null` when no resume is scheduled.","example":"unchanged","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.billing_cycle_anchor.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.billing_cycle_anchor","typeLabel":"enum\u003cstring> | null"},"proration_behavior":{"oneOf":[{"type":"string","description":"How the partial period is billed when `billing_cycle_anchor` is `unchanged`. `null` otherwise.","enum":["create_prorations","always_invoice"],"x-ms-enum":{"name":"SubscriptionResumeProrationBehavior","modelAsString":false,"values":[{"value":"create_prorations","name":"CreateProrations","description":"Bill the partial period on the original billing date, with the next full period."},{"value":"always_invoice","name":"AlwaysInvoice","description":"Bill the partial period now, net of any unused time credited at the pause. A negative amount charges nothing and goes to the customer's balance."}]},"example":"always_invoice","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.proration_behavior.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"How the partial period is billed when `billing_cycle_anchor` is `unchanged`. `null` otherwise.","example":"always_invoice","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.proration_behavior.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.proration_behavior","typeLabel":"enum\u003cstring> | null"},"credit":{"type":"string","enum":["unused_time","none"],"x-ms-enum":{"name":"SubscriptionPauseCredit","modelAsString":false,"values":[{"value":"unused_time","name":"UnusedTime","description":"Credit the unused paid time from the pause to the period end. The resume charge is net of it."},{"value":"none","name":"None","description":"Credit nothing for the paused days inside the paid period. A resume before the period ends keeps the paid days after it."}]},"description":"What the pause credited for the paid time left in the period.","example":"unused_time","default":"unused_time","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.credit","typeLabel":"enum\u003cstring>"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0","typeLabel":"object"},{"type":"null","description":"The current pause. Present only while the subscription is paused.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.1","typeLabel":"object"},{"type":"null","description":"The subscription that this invoice was prepared for.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.subscription","typeLabel":"string | object | null"},"paid_at":{"oneOf":[{"type":"string","description":"When the invoice was paid.","example":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.paid_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the invoice was paid.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.paid_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.paid_at","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the invoice.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the invoice.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.metadata","typeLabel":"object | null"},"backup_charge_status":{"oneOf":[{"type":"string","description":"Outcome of the backup-payment-method fallback for this invoice. Omitted when no fallback applied. `succeeded` on a paid invoice means the subscription's backup card covered this renewal after the default payment method failed.","enum":["pending","succeeded","failed","skipped"],"example":"pending","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.backup_charge_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Outcome of the backup-payment-method fallback for this invoice. Omitted when no fallback applied. `succeeded` on a paid invoice means the subscription's backup card covered this renewal after the default payment method failed.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.backup_charge_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1.backup_charge_status","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.1","typeLabel":"object"},{"type":"null","description":"The invoice associated with the payment intent.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.invoice","typeLabel":"string | object | null"},"client_secret":{"oneOf":[{"description":"The client secret of the payment intent.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.client_secret.oneOf.0","typeLabel":"string"},{"description":"The client secret of the payment intent.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.client_secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.client_secret","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"The metadata associated with the payment intent.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"The metadata associated with the payment intent.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.metadata","typeLabel":"object | null"},"payment_method":{"oneOf":[{"type":"string","description":"The payment method associated with the payment intent.","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.0","typeLabel":"string"},{"type":"object","description":"The payment method associated with the payment intent.","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.payment_method_id","typeLabel":"string"},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"oneOf":[{"type":"object","description":"The billing address.","example":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"properties":{"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.city","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter ISO country code (e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter ISO country code (e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.country","typeLabel":"string | null"},"line1":{"oneOf":[{"description":"Address line 1, such as the street, PO box, or company name.","type":"string","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"Address line 1, such as the street, PO box, or company name.","type":"null","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"string","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"null","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.state","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"The billing address.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.address","typeLabel":"object | null"},"email":{"oneOf":[{"description":"The billing email address.","type":"string","example":"john.doe@example.com","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.email.oneOf.0","typeLabel":"string"},{"description":"The billing email address.","type":"null","example":"john.doe@example.com","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.email","typeLabel":"string | null"},"name":{"oneOf":[{"description":"The billing name.","type":"string","example":"Example","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.name.oneOf.0","typeLabel":"string"},{"description":"The billing name.","type":"null","example":"Example","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.name","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The billing phone number.","type":"string","example":"+14155550142","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.phone.oneOf.0","typeLabel":"string"},{"description":"The billing phone number.","type":"null","example":"+14155550142","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details.phone","typeLabel":"string | null"}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.billing_details","typeLabel":"object"},"customer":{"oneOf":[{"type":"string","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.customer","typeLabel":"string | object"},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.card.brand","typeLabel":"enum\u003cstring>"},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.card.country","typeLabel":"string"},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.card.exp_month","typeLabel":"integer\u003cint32>"},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.card.exp_year","typeLabel":"integer\u003cint32>"},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.card.fingerprint","typeLabel":"string"},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.card.funding","typeLabel":"enum\u003cstring>"},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.card.last4","typeLabel":"string"}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"},"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.card","typeLabel":"object"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.test_mode","typeLabel":"boolean"},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.off_session","typeLabel":"boolean"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","additionalProperties":{"type":"object","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","additionalProperties":{"type":"object","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.1","typeLabel":"object"},{"type":"null","description":"The payment method associated with the payment intent.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_method","typeLabel":"string | object | null"},"transfer_group":{"oneOf":[{"description":"A string that identifies the resulting payment as part of a group","type":"string","example":"example_value","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.transfer_group.oneOf.0","typeLabel":"string"},{"description":"A string that identifies the resulting payment as part of a group","type":"null","example":"example_value","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.transfer_group.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.transfer_group","typeLabel":"string | null"},"payment_card_type":{"oneOf":[{"type":"string","description":"The primary card type used for this payment intent","enum":["primary","secondary"],"x-ms-enum":{"name":"PaymentCardType","modelAsString":false,"values":[{"value":"primary","name":"Primary","description":"In a split cart, `Primary` refers to the HSA/FSA eligible card. In a single cart (whether it's HSA/FSA or a fully ineligible cart), `Primary` refers to the only payment card used."},{"value":"secondary","name":"Secondary","description":"In a split cart and partial authorization payment, `Secondary` refers to the non-eligible or backup credit card used for ineligible items."}]},"example":"primary","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_card_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The primary card type used for this payment intent","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_card_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.payment_card_type","typeLabel":"enum\u003cstring> | null"},"letter_fee_amount":{"oneOf":[{"description":"Letter fee portion of application_fee_amount (waterfall allocation to HSA/FSA)","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.letter_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Letter fee portion of application_fee_amount (waterfall allocation to HSA/FSA)","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.letter_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.letter_fee_amount","typeLabel":"integer\u003cint32> | null"},"transaction_fee":{"oneOf":[{"description":"Transaction fee portion of application_fee_amount (percentage + fixed fee)","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.transaction_fee.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Transaction fee portion of application_fee_amount (percentage + fixed fee)","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.transaction_fee.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.transaction_fee","typeLabel":"integer\u003cint32> | null"},"last_payment_error":{"oneOf":[{"type":"object","description":"The error from the most recent failed payment attempt, if any.","required":["type"],"example":{"type":"string","code":"string","decline_code":"string","message":"string","payment_method":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"properties":{"type":{"description":"The type of error (card, invalid_request, api, etc.)","type":"string","isRequired":true,"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.last_payment_error.oneOf.0.type","typeLabel":"string"},"code":{"oneOf":[{"description":"Machine-readable error code (card_declined, expired_card, etc.)","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.last_payment_error.oneOf.0.code.oneOf.0","typeLabel":"string"},{"description":"Machine-readable error code (card_declined, expired_card, etc.)","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.last_payment_error.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.last_payment_error.oneOf.0.code","typeLabel":"string | null"},"decline_code":{"oneOf":[{"description":"Card-specific decline code (insufficient_funds, lost_card, etc.)","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.last_payment_error.oneOf.0.decline_code.oneOf.0","typeLabel":"string"},{"description":"Card-specific decline code (insufficient_funds, lost_card, etc.)","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.last_payment_error.oneOf.0.decline_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.last_payment_error.oneOf.0.decline_code","typeLabel":"string | null"},"message":{"oneOf":[{"description":"Human-readable error description.","type":"string","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.last_payment_error.oneOf.0.message.oneOf.0","typeLabel":"string"},{"description":"Human-readable error description.","type":"null","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.last_payment_error.oneOf.0.message.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.last_payment_error.oneOf.0.message","typeLabel":"string | null"},"payment_method":{"oneOf":[{"description":"The Flex payment method ID that failed.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.last_payment_error.oneOf.0.payment_method.oneOf.0","typeLabel":"string"},{"description":"The Flex payment method ID that failed.","type":"null","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.last_payment_error.oneOf.0.payment_method.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.last_payment_error.oneOf.0.payment_method","typeLabel":"string | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.last_payment_error.oneOf.0","typeLabel":"object"},{"type":"null","description":"The error from the most recent failed payment attempt, if any.","uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.last_payment_error.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1.last_payment_error","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"checkout_session.payment_intents.oneOf.0.items.[INDEX]","typeLabel":"string | object"},"uniqueKey":"checkout_session.payment_intents.oneOf.0","typeLabel":"(string | object)[]"},{"description":"All payment intents that belong to this Checkout Session. Each is expandable if expand_payment_intent is set.","type":"null","items":{"oneOf":[{"type":"string","description":"An expandable field — either a string ID or an expanded PaymentIntent object.","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"An expandable field — either a string ID or an expanded PaymentIntent object.","required":["amount","capture_method","created_at","payment_intent_id","status","test_mode"],"example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_intent_id":{"description":"The unique identifier for the payment intent.","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"amount":{"description":"The amount of the payment intent in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"amount_capturable":{"oneOf":[{"description":"The amount that can be captured from this PaymentIntent.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648},{"description":"The amount that can be captured from this PaymentIntent.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648}]},"amount_received":{"oneOf":[{"description":"The amount that was received in cents.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648},{"description":"The amount that was received in cents.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648}]},"application_fee_amount":{"oneOf":[{"description":"The amount of the Flex application fee.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"The amount of the Flex application fee.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"customer":{"oneOf":[{"type":"string","description":"The customer associated with the payment intent.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The customer associated with the payment intent.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"first_name":{"description":"The customer's first name.","type":"string","example":"John"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555"}]},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex"},{"description":"The customer's employer.","type":"null","example":"Flex"}]},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St"}]},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100"}]},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco"}]},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA"},{"description":"State, county, province, or region.","type":"null","example":"CA"}]},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107"},{"description":"ZIP or postal code.","type":"null","example":"94107"}]},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US"}]}}},{"type":"null","description":"The customer's shipping address."}]},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false}}},{"type":"null","description":"The customer associated with the payment intent."}]},"transfer_data":{"oneOf":[{"type":"object","description":"The data related to the amount being transferred.","required":["destination"],"example":{"amount":2500,"destination":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"properties":{"amount":{"oneOf":[{"description":"The amount to transfer, in cents.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648},{"description":"The amount to transfer, in cents.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648}]},"destination":{"description":"The destination account of the transfer.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}}},{"type":"null","description":"The data related to the amount being transferred."}]},"status":{"description":"The status of the payment intent.","type":"string","enum":["canceled","processing","requires_action","requires_capture","requires_confirmation","requires_payment_method","succeeded"],"example":"canceled"},"latest_charge":{"oneOf":[{"type":"string","description":"The latest charge associated with the payment intent.","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The latest charge associated with the payment intent.","required":["amount","amount_captured","amount_refunded","captured","charge_id","created_at","disputed","paid","payment_intent","refunded","status","test_mode"],"example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"charge_id":{"description":"Unique identifier for the charge.","type":"string","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"amount":{"description":"Amount intended to be collected by this payment.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"amount_captured":{"description":"Amount in cents captured (can be less than the amount attribute on the charge if a partial capture was made).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"amount_refunded":{"description":"Amount in cents refunded (can be less than the amount attribute on the charge if a partial refund was made).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"application_fee_amount":{"oneOf":[{"description":"The Flex application fee for the charge","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"The Flex application fee for the charge","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"captured":{"description":"If the charge was created without capturing, this Boolean represents whether it is still uncaptured or has since been captured.","type":"boolean","example":false},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z"},"customer":{"oneOf":[{"type":"string","description":"The customer this charge is for if one exists.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The customer this charge is for if one exists.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"first_name":{"description":"The customer's first name.","type":"string","example":"John"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555"}]},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex"},{"description":"The customer's employer.","type":"null","example":"Flex"}]},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St"}]},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100"}]},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco"}]},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA"},{"description":"State, county, province, or region.","type":"null","example":"CA"}]},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107"},{"description":"ZIP or postal code.","type":"null","example":"94107"}]},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US"}]}}},{"type":"null","description":"The customer's shipping address."}]},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false}}},{"type":"null","description":"The customer this charge is for if one exists."}]},"invoice":{"oneOf":[{"type":"string","description":"The invoice this charge is for if one exists.","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The invoice this charge is for if one exists.","required":["amount_due","amount_paid","collection_method","created_at","invoice_id","status","test_mode","total"],"example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"invoice_id":{"description":"The id of the invoice.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"total":{"description":"The total amount of the invoice in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"amount_due":{"description":"The amount due in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"amount_paid":{"description":"The amount paid in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"payment_intent":{"oneOf":[{"description":"The payment intent associated with this invoice. The payment intent is created when the invoice is finalized."},{"type":"null","description":"The payment intent associated with this invoice. The payment intent is created when the invoice is finalized."}]},"charge":{"oneOf":[{"description":"The id of the latest charge for this invoice.","type":"string","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The id of the latest charge for this invoice.","type":"null","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"customer":{"oneOf":[{"type":"string","description":"The id of the customer this invoice is for.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The id of the customer this invoice is for.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"first_name":{"description":"The customer's first name.","type":"string","example":"John"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555"}]},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex"},{"description":"The customer's employer.","type":"null","example":"Flex"}]},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St"}]},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100"}]},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco"}]},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA"},{"description":"State, county, province, or region.","type":"null","example":"CA"}]},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107"},{"description":"ZIP or postal code.","type":"null","example":"94107"}]},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US"}]}}},{"type":"null","description":"The customer's shipping address."}]},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false}}},{"type":"null","description":"The id of the customer this invoice is for."}]},"period_end":{"oneOf":[{"type":"string","description":"End of the usage period.","example":"string"},{"type":"null","description":"End of the usage period."}]},"period_start":{"oneOf":[{"type":"string","description":"Start of the usage period.","example":"string"},{"type":"null","description":"Start of the usage period."}]},"subscription":{"oneOf":[{"type":"string","description":"The subscription that this invoice was prepared for.","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The subscription that this invoice was prepared for.","required":["cancel_at_period_end","created_at","items","status","subscription_id","test_mode"],"example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"subscription_id":{"description":"Unique identifier for the object.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z"},"items":{"description":"The items the customer is subscribed to.","type":"array","items":{"description":"A Subscription Item represents a single recurring Price billed as part of a Subscription, together with the quantity of that price the customer is subscribed to. A subscription has one item per recurring price it bills.","type":"object","required":["created_at","price","quantity","subscription_item_id","test_mode"],"properties":{"subscription_item_id":{"description":"Unique identifier for the subscription item.","type":"string","example":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"price":{"oneOf":[{"type":"string","description":"The recurring Price this item bills. Returned as a price ID by default, or as the full Price object when expanded.","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The recurring Price this item bills. Returned as a price ID by default, or as the full Price object when expanded.","required":["active","created_at","price_id","product","test_mode","type","unit_amount"],"example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"price_id":{"description":"The unique identifier for the price.","type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"owner_partner_id":{"oneOf":[{"description":"The ID of the account that owns this price. For prices shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The ID of the account that owns this price. For prices shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"null","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"description":{"oneOf":[{"description":"The description of the price.","type":"string","example":"Premium SPF 50 mineral sunscreen"},{"description":"The description of the price.","type":"null","example":"Premium SPF 50 mineral sunscreen"}]},"trial_period_days":{"oneOf":[{"description":"The number of trial period days before the customer is first charged for a recurring price.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"The number of trial period days before the customer is first charged for a recurring price.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"unit_amount":{"description":"The amount to charge per unit, in the smallest currency unit (e.g., `2500` = $25.00 USD).","type":"integer","format":"int32","minimum":-2147483648,"maximum":2147483647},"recurring":{"oneOf":[{"type":"object","description":"The recurring components of a price such as interval and trial period days.","required":["interval"],"example":{"interval":"day","interval_count":0,"trial_period_days":0},"properties":{"interval":{"description":"The billing cadence for the price.","type":"string","enum":["day","week","month","year"],"example":"day"},"interval_count":{"oneOf":[{"description":"The number of intervals","type":"integer","format":"int64","minimum":0,"maximum":4294967295},{"description":"The number of intervals","type":"null","format":"int64","minimum":0,"maximum":4294967295}]},"trial_period_days":{"oneOf":[{"description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","type":"integer","format":"int64","minimum":0,"maximum":4294967295},{"description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","type":"null","format":"int64","minimum":0,"maximum":4294967295}]}}},{"type":"null","description":"The recurring components of a price such as interval and trial period days."}]},"active":{"description":"Whether the price is currently active.","type":"boolean","example":false},"product":{"oneOf":[{"type":"string","description":"The product this price belongs to. Returned as a product ID by default, or as the full Product object when expanded.","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The product this price belongs to. Returned as a product ID by default, or as the full Product object when expanded.","required":["active","created_at","hsa_fsa_eligibility","name","product_id","test_mode"],"example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"product_id":{"description":"The unique identifier for the product.","type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"owner_partner_id":{"oneOf":[{"description":"The ID of the account that owns this product. For products shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The ID of the account that owns this product. For products shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"null","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"name":{"description":"The name of the product.","type":"string","example":"Example"},"description":{"oneOf":[{"description":"The description of the product.","type":"string","example":"Premium SPF 50 mineral sunscreen"},{"description":"The description of the product.","type":"null","example":"Premium SPF 50 mineral sunscreen"}]},"document_description":{"oneOf":[{"description":"Medical-grade description optimized for use in Letters of Medical Necessity and receipts.","deprecated":true,"type":"string"},{"description":"Medical-grade description optimized for use in Letters of Medical Necessity and receipts.","deprecated":true,"type":"null"}]},"receipt_description":{"oneOf":[{"description":"Shortened description tailored to receipt line items","type":"string"},{"description":"Shortened description tailored to receipt line items","type":"null"}]},"created_at":{"description":"The date the product was created.","type":"string","example":"2026-06-15T14:30:00Z"},"visit_type":{"oneOf":[{"type":"string","description":"The visit type of the product if a letter of medical necessity is required.","enum":["cbtSleep","notApplicable","metabolomics","tinnitus","gym","exerciseDiet","orthopedic","alcohol","airPurification","vaginalHealth","menstrual","canopy","alopecia","genate","weightBlanket","bedJet","siderAl","sunwinkPowder","wavWatch","bodyComplete","ageRate","nitrousOxide","happyV","groupChat","icalmAnxiety","redBloom","foodom","branchErgonomicFurniture","curalife","eloraInfantWellness","nutriHealth","olipop","goldIntimate","touchStoneEssentials","utiva","sleepGeekz","figBrew","auBabyBlanket","babySleepSack","oshWellness","currentBodyRedLight","mito","circularRing","lymaRedLight","goodAirRx","tastermonial","karunaHome","ergoStandingChair","jbaGlucoseControl","bloomNutrition","buoyDrops","luxeWonderWig","saunaMarketplace","amrioreEyewear","pivotOrthoShoe","lumenCynergy","roga","pulsetto","mitoRedLight","gutPersonal","goFlaus","myHixel","calmigo","dotFit","stripesBeauty","mixHers","pmd","positivityWithPurpose","techRing","popVeneers","vertaClean","lumen","medicalMeal","emnHealth","detergentAllergy","lowImpactExercise","mediumImpactExercise","highImpactExercise","gardening","babyCarrier","smartGlasses","automatedCleaner","uvClothing","adaptiveShoes","breathWork","nonenalOdor","meneralsNootropicPouch","babyMonitorSplit","babySleepApp","coolingSleepwear","bodyPillow","uvGlasses","nursingChairs","coolingBed","posture","supplements","sleep","redLightTherapy","fitness","smartRing","womensVaginalHealth","fertilitySupport","femaleReproduction","femaleReproductionFood","pregnancyLiterature","iceBath","orthopedicShoes","sexualHealth","glucose","metabolicTest","skinCare","oralHealth","oralAnxiety","blueLightGlasses","anxiety","brainHealth","babyMonitor","compressionSocks","compressionShorts","waterPurification","medSpa","essentialOils","sleepBuds","latchLight","nutritionist","rairflow","enduranceTraining","hydration","hairGrowth","eD","postureFitness","childDevelopment","adaptiveClothing","sleepConsulting","hairRemoval","menopause","maleFertility","anxietyHealth","bidets","speechHealth","artOfLiving","breastMilk","petSupport","diapers","gutSupplements","smartWatch","medicalBotox","biomechanicalAssessment","erectileReset","femaleOrgasm","pornAddiction","memorySupport","oralHealthMasticGum","orthopedicSandals","childDevelopmentAnxietySleep","childDevelopmentAdjustment","childDevelopmentBehavior","childDevelopmentIdentity","emnHealthMobility","adaptiveShoesDependent","speechHealthDependent","breathWorkDependent"],"example":"cbtSleep"},{"type":"null","description":"The visit type of the product if a letter of medical necessity is required."}]},"active":{"description":"Determines if the product is active or not.","type":"boolean","example":false},"upc_code":{"oneOf":[{"description":"The upc code of the product.","type":"string"},{"description":"The upc code of the product.","type":"null"}]},"gtin":{"oneOf":[{"description":"The gtin code of the product.","type":"string"},{"description":"The gtin code of the product.","type":"null"}]},"reference_gtin":{"oneOf":[{"description":"The GTIN of a private-label reference product, used to establish HSA/FSA eligibility.","type":"string"},{"description":"The GTIN of a private-label reference product, used to establish HSA/FSA eligibility.","type":"null"}]},"hsa_fsa_eligibility":{"description":"The elegibility of the product for HSA/FSA.","type":"string","enum":["not_eligible","auto_substantiation","private_label","letter_of_medical_necessity","prescription","vision","service","pending"],"example":"not_eligible"},"test_mode":{"description":"Whether the product is in test mode or not.","type":"boolean","example":false},"metadata":{"oneOf":[{"description":"Metadata associated with the product.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Metadata associated with the product.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"url":{"oneOf":[{"description":"The URL of the product.","type":"string","example":"https://example.com"},{"description":"The URL of the product.","type":"null","example":"https://example.com"}]},"client_reference_id":{"oneOf":[{"description":"An optional identifier for the product set by the client at creation time. Immutable after creation.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"An optional identifier for the product set by the client at creation time. Immutable after creation.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]}}}]},"created_at":{"description":"The date the price was created.","type":"string","example":"2026-06-15T14:30:00Z"},"type":{"description":"The type of the price: a single one-time charge, or a recurring charge billed on a schedule.","type":"string","enum":["one_time","recurring"],"example":"one_time"},"metadata":{"oneOf":[{"description":"Metadata information for the price object","type":"object","example":{"order_id":"8842","channel":"shopify"}},{"description":"Metadata information for the price object","type":"null","example":{"order_id":"8842","channel":"shopify"}}]},"lookup_key":{"oneOf":[{"description":"A stable, partner-owned key for this price. Unique per account and mode across all prices, archived ones included. `null` until you set one.","type":"string","maxLength":200,"example":"standard_monthly"},{"description":"A stable, partner-owned key for this price. Unique per account and mode across all prices, archived ones included. `null` until you set one.","type":"null","maxLength":200,"example":"standard_monthly"}]},"hsa_fsa_eligibility":{"oneOf":[{"type":"string","description":"The HSA/FSA eligibility for the price.","enum":["not_eligible","auto_substantiation","private_label","letter_of_medical_necessity","prescription","vision","service","pending"],"example":"not_eligible"},{"type":"null","description":"The HSA/FSA eligibility for the price."}]},"test_mode":{"description":"Whether the price is in test mode.","type":"boolean","example":false}}}]},"quantity":{"description":"The number of units of the price the customer is subscribed to.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"created_at":{"description":"Time at which the subscription item was created, as an RFC 3339 timestamp.","type":"string","example":"2026-06-15T14:30:00Z"},"updated_at":{"oneOf":[{"type":"string","description":"Time at which the subscription item was last updated, as an RFC 3339 timestamp. `null` if the item has not been updated since creation.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"Time at which the subscription item was last updated, as an RFC 3339 timestamp. `null` if the item has not been updated since creation.","example":"2026-06-15T14:30:00Z"}]},"test_mode":{"description":"Whether the subscription item exists in test mode.","type":"boolean","example":false}},"example":{"subscription_item_id":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","price":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","quantity":2500,"created_at":"2026-06-15T14:30:00Z","updated_at":"2026-06-15T14:30:00Z","test_mode":false}}},"latest_invoice":{"oneOf":[{"description":"The ID of the latest invoice generated for this subscription."},{"type":"null","description":"The ID of the latest invoice generated for this subscription."}]},"customer":{"oneOf":[{"type":"string","description":"The ID of the customer who owns the subscription.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The ID of the customer who owns the subscription.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"first_name":{"description":"The customer's first name.","type":"string","example":"John"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555"}]},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex"},{"description":"The customer's employer.","type":"null","example":"Flex"}]},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St"}]},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100"}]},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco"}]},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA"},{"description":"State, county, province, or region.","type":"null","example":"CA"}]},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107"},{"description":"ZIP or postal code.","type":"null","example":"94107"}]},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US"}]}}},{"type":"null","description":"The customer's shipping address."}]},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false}}},{"type":"null","description":"The ID of the customer who owns the subscription."}]},"status":{"description":"Possible values are incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, or paused.","type":"string","enum":["incomplete","incomplete_expired","trialing","active","past_due","canceled","unpaid","paused"],"example":"incomplete"},"cancel_at_period_end":{"description":"If the subscription has been canceled with the at_period_end flag set to true, cancel_at_period_end on the subscription will be true. You can use this attribute to determine whether a subscription that has a status of active is scheduled to be canceled at the end of the current period.","type":"boolean","example":false},"current_period_end":{"oneOf":[{"type":"string","description":"End of the current period that the subscription has been invoiced for.","example":"string"},{"type":"null","description":"End of the current period that the subscription has been invoiced for."}]},"current_period_start":{"oneOf":[{"type":"string","description":"Start of the current period that the subscription has been invoiced for.","example":"string"},{"type":"null","description":"Start of the current period that the subscription has been invoiced for."}]},"metadata":{"oneOf":[{"description":"A set of key/value pairs that you can attach to a subscription object.","type":"object","example":{"order_id":"8842","channel":"shopify"}},{"description":"A set of key/value pairs that you can attach to a subscription object.","type":"null","example":{"order_id":"8842","channel":"shopify"}}]},"test_mode":{"description":"Whether the subscription is in test mode.","type":"boolean","example":false},"client_secret":{"oneOf":[{"type":"object","description":"Client secrets used to confirm the subscription's first payment or payment-method setup from your frontend. Present only while the subscription is being activated; omitted otherwise. Do not log or store these secrets; expose them only to the customer over TLS.","example":{"setup_secret":"string","payment_secret":"string"},"properties":{"setup_secret":{"oneOf":[{"description":"Client secret of the SetupIntent used to collect and save a payment method for the subscription (for example, during a trial with no immediate charge). `null` when no setup is required. Do not log or store it; expose only to the customer over TLS.","type":"string"},{"description":"Client secret of the SetupIntent used to collect and save a payment method for the subscription (for example, during a trial with no immediate charge). `null` when no setup is required. Do not log or store it; expose only to the customer over TLS.","type":"null"}]},"payment_secret":{"oneOf":[{"description":"Client secret of the PaymentIntent used to confirm the subscription's first payment from your frontend. `null` when no immediate payment is required. Do not log or store it; expose only to the customer over TLS.","type":"string"},{"description":"Client secret of the PaymentIntent used to confirm the subscription's first payment from your frontend. `null` when no immediate payment is required. Do not log or store it; expose only to the customer over TLS.","type":"null"}]}}},{"type":"null","description":"Client secrets used to confirm the subscription's first payment or payment-method setup from your frontend. Present only while the subscription is being activated; omitted otherwise. Do not log or store these secrets; expose them only to the customer over TLS."}]},"proration_behavior":{"oneOf":[{"type":"string","description":"The proration behavior for the subscription.","enum":["always_invoice","create_prorations","none"],"example":"always_invoice"},{"type":"null","description":"The proration behavior for the subscription."}]},"trial_start":{"oneOf":[{"type":"string","description":"Start of the subscription's trial period, as an RFC 3339 timestamp. `null` if the subscription has no trial.","example":"string"},{"type":"null","description":"Start of the subscription's trial period, as an RFC 3339 timestamp. `null` if the subscription has no trial."}]},"trial_end":{"oneOf":[{"type":"string","description":"End of the subscription's trial period, as an RFC 3339 timestamp. After this time the customer is billed normally. `null` if the subscription has no trial.","example":"string"},{"type":"null","description":"End of the subscription's trial period, as an RFC 3339 timestamp. After this time the customer is billed normally. `null` if the subscription has no trial."}]},"cancel_at":{"oneOf":[{"type":"string","description":"A future RFC 3339 timestamp at which the subscription will automatically be canceled. `null` unless a future cancellation has been scheduled.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"A future RFC 3339 timestamp at which the subscription will automatically be canceled. `null` unless a future cancellation has been scheduled.","example":"2026-06-15T14:30:00Z"}]},"canceled_at":{"oneOf":[{"type":"string","description":"The RFC 3339 timestamp at which the subscription was actually canceled. `null` if the subscription has not been canceled. Unlike `cancel_at` (a future scheduled cancellation), this is set once the cancellation has occurred.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"The RFC 3339 timestamp at which the subscription was actually canceled. `null` if the subscription has not been canceled. Unlike `cancel_at` (a future scheduled cancellation), this is set once the cancellation has occurred.","example":"2026-06-15T14:30:00Z"}]},"default_payment_method":{"oneOf":[{"type":"string","description":"The default payment method for the subscription (expandable).","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The default payment method for the subscription (expandable).","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"oneOf":[{"type":"object","description":"The billing address.","example":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"properties":{"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco"}]},"country":{"oneOf":[{"description":"Two-letter ISO country code (e.g., `US`).","type":"string","example":"US"},{"description":"Two-letter ISO country code (e.g., `US`).","type":"null","example":"US"}]},"line1":{"oneOf":[{"description":"Address line 1, such as the street, PO box, or company name.","type":"string","example":"123 Main St"},{"description":"Address line 1, such as the street, PO box, or company name.","type":"null","example":"123 Main St"}]},"line2":{"oneOf":[{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"string","example":"Suite 100"},{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"null","example":"Suite 100"}]},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107"},{"description":"ZIP or postal code.","type":"null","example":"94107"}]},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA"},{"description":"State, county, province, or region.","type":"null","example":"CA"}]}}},{"type":"null","description":"The billing address."}]},"email":{"oneOf":[{"description":"The billing email address.","type":"string","example":"john.doe@example.com"},{"description":"The billing email address.","type":"null","example":"john.doe@example.com"}]},"name":{"oneOf":[{"description":"The billing name.","type":"string","example":"Example"},{"description":"The billing name.","type":"null","example":"Example"}]},"phone":{"oneOf":[{"description":"The billing phone number.","type":"string","example":"+14155550142"},{"description":"The billing phone number.","type":"null","example":"+14155550142"}]}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"}},"customer":{"oneOf":[{"type":"string","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"first_name":{"description":"The customer's first name.","type":"string","example":"John"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555"}]},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex"},{"description":"The customer's employer.","type":"null","example":"Flex"}]},"shipping":{"type":"any","description":"The customer's shipping address."},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false}}}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","additionalProperties":{"type":"object"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","additionalProperties":{"type":"object"},"example":{"order_id":"8842","channel":"shopify"}}]},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express"},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US"},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123"},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit"},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242"}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"}},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean"}}},{"type":"null","description":"The default payment method for the subscription (expandable)."}]},"backup_payment_method":{"oneOf":[{"type":"string","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"oneOf":[{"type":"object","description":"The billing address.","example":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"properties":{"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco"}]},"country":{"oneOf":[{"description":"Two-letter ISO country code (e.g., `US`).","type":"string","example":"US"},{"description":"Two-letter ISO country code (e.g., `US`).","type":"null","example":"US"}]},"line1":{"oneOf":[{"description":"Address line 1, such as the street, PO box, or company name.","type":"string","example":"123 Main St"},{"description":"Address line 1, such as the street, PO box, or company name.","type":"null","example":"123 Main St"}]},"line2":{"oneOf":[{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"string","example":"Suite 100"},{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"null","example":"Suite 100"}]},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107"},{"description":"ZIP or postal code.","type":"null","example":"94107"}]},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA"},{"description":"State, county, province, or region.","type":"null","example":"CA"}]}}},{"type":"null","description":"The billing address."}]},"email":{"oneOf":[{"description":"The billing email address.","type":"string","example":"john.doe@example.com"},{"description":"The billing email address.","type":"null","example":"john.doe@example.com"}]},"name":{"oneOf":[{"description":"The billing name.","type":"string","example":"Example"},{"description":"The billing name.","type":"null","example":"Example"}]},"phone":{"oneOf":[{"description":"The billing phone number.","type":"string","example":"+14155550142"},{"description":"The billing phone number.","type":"null","example":"+14155550142"}]}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"}},"customer":{"oneOf":[{"type":"string","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"first_name":{"description":"The customer's first name.","type":"string","example":"John"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555"}]},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex"},{"description":"The customer's employer.","type":"null","example":"Flex"}]},"shipping":{"type":"any","description":"The customer's shipping address."},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false}}}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","additionalProperties":{"type":"object"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","additionalProperties":{"type":"object"},"example":{"order_id":"8842","channel":"shopify"}}]},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express"},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US"},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123"},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit"},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242"}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"}},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean"}}},{"type":"null","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup."}]},"discounts":{"oneOf":[{"description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)","type":"array","items":{"description":"A Discount object represents the application of a coupon or promotion code to a checkout session, customer, subscription, or invoice. It records which coupon was redeemed, what the discount was applied to, and the time window over which it applies.","type":"object","required":["discount_id","source","start","test_mode"],"properties":{"discount_id":{"description":"The ID of the discount.","type":"string","example":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"checkout_session":{"oneOf":[{"description":"The checkout session that the discount was applied to.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The checkout session that the discount was applied to.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"customer":{"oneOf":[{"description":"The customer that the discount was applied to.","type":"string","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The customer that the discount was applied to.","type":"null","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"subscription":{"oneOf":[{"description":"The subscription that the discount was applied to.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The subscription that the discount was applied to.","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"invoice":{"oneOf":[{"description":"The invoice that the discount was applied to.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The invoice that the discount was applied to.","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"source":{"description":"The source of the discount (coupon or promotion code).","type":"object","required":["coupon","type"],"properties":{"coupon":{"oneOf":[{"type":"string","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","required":["coupon_id","created_at","duration","name","test_mode","valid"],"example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"coupon_id":{"description":"Unique identifier for the object.","type":"string","example":"fcoup_1234567890"},"amount_off":{"oneOf":[{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648},{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648}]},"applies_to":{"oneOf":[{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["products"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"properties":{"products":{"description":"The product that this coupon applies to.","type":"array","items":{"type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["prices"],"properties":{"prices":{"description":"The price that this coupon applies to.","type":"array","items":{"type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["fee_types"],"properties":{"fee_types":{"description":"The fee types that this coupon applies to.","type":"array","items":{"description":"The kind of fee applied to a checkout session: a Letter of Medical Necessity consultation fee, or a custom fee you define.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation"}}}},{"type":"string","description":"An object containing the ID of the product that the coupon can be applied to.","enum":["shipping"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]}},{"type":"null","description":"An object containing the ID of the product that the coupon can be applied to."}]},"duration":{"type":"string","enum":["once","repeating","forever"],"x-ms-enum":{"name":"CouponDuration","modelAsString":false,"values":[{"value":"once","name":"Once","description":"Applies to the first charge from a subscription with this coupon applied."},{"value":"repeating","name":"Repeating","description":"Applies to charges in the first duration_in_months months from a subscription with this coupon applied."},{"value":"forever","name":"Forever","description":"Applies to all charges from a subscription with this coupon applied."}]},"description":"One of forever, once, and repeating. Describes how long a customer who applies this coupon will get the discount.","example":"once"},"duration_in_months":{"oneOf":[{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","example":{"order_id":"8842","channel":"shopify"}}]},"name":{"description":"Name of the coupon displayed to customers.","type":"string","example":"Example"},"percent_off":{"oneOf":[{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"number","format":"double"},{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"null","format":"double"}]},"max_redemptions":{"oneOf":[{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"times_redeemed":{"oneOf":[{"description":"Number of times this coupon has been applied to a customer.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Number of times this coupon has been applied to a customer.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"valid":{"description":"Taking account of the above properties, whether this coupon can still be applied to a customer.","type":"boolean","example":false},"created_at":{"description":"Date when this coupon was created.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether the coupon is in test mode","type":"boolean","example":false}}}]},"type":{"description":"The type of source.","type":"string","enum":["coupon","promotion_code"],"example":"coupon"}},"example":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"}},"promo_code":{"oneOf":[{"description":"The promo code applied to create the discount.","type":"string","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The promo code applied to create the discount.","type":"null","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether the discount was applied in test mode","type":"boolean","example":false},"end":{"oneOf":[{"type":"string","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","example":"string"},{"type":"null","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null."}]},"start":{"description":"Date that the coupon was applied.","type":"string","example":"string"}},"example":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"}}},{"description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)","type":"null","items":{"description":"A Discount object represents the application of a coupon or promotion code to a checkout session, customer, subscription, or invoice. It records which coupon was redeemed, what the discount was applied to, and the time window over which it applies.","type":"object","required":["discount_id","source","start","test_mode"],"properties":{"discount_id":{"description":"The ID of the discount.","type":"string","example":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"checkout_session":{"oneOf":[{"description":"The checkout session that the discount was applied to.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The checkout session that the discount was applied to.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"customer":{"oneOf":[{"description":"The customer that the discount was applied to.","type":"string","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The customer that the discount was applied to.","type":"null","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"subscription":{"oneOf":[{"description":"The subscription that the discount was applied to.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The subscription that the discount was applied to.","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"invoice":{"oneOf":[{"description":"The invoice that the discount was applied to.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The invoice that the discount was applied to.","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"source":{"description":"The source of the discount (coupon or promotion code).","type":"object","required":["coupon","type"],"properties":{"coupon":{"oneOf":[{"type":"string","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","required":["coupon_id","created_at","duration","name","test_mode","valid"],"example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"coupon_id":{"description":"Unique identifier for the object.","type":"string","example":"fcoup_1234567890"},"amount_off":{"oneOf":[{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648},{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648}]},"applies_to":{"oneOf":[{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["products"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"properties":{"products":{"description":"The product that this coupon applies to.","type":"array","items":{"type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["prices"],"properties":{"prices":{"description":"The price that this coupon applies to.","type":"array","items":{"type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["fee_types"],"properties":{"fee_types":{"description":"The fee types that this coupon applies to.","type":"array","items":{"description":"The kind of fee applied to a checkout session: a Letter of Medical Necessity consultation fee, or a custom fee you define.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation"}}}},{"type":"string","description":"An object containing the ID of the product that the coupon can be applied to.","enum":["shipping"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]}},{"type":"null","description":"An object containing the ID of the product that the coupon can be applied to."}]},"duration":{"type":"string","enum":["once","repeating","forever"],"x-ms-enum":{"name":"CouponDuration","modelAsString":false,"values":[{"value":"once","name":"Once","description":"Applies to the first charge from a subscription with this coupon applied."},{"value":"repeating","name":"Repeating","description":"Applies to charges in the first duration_in_months months from a subscription with this coupon applied."},{"value":"forever","name":"Forever","description":"Applies to all charges from a subscription with this coupon applied."}]},"description":"One of forever, once, and repeating. Describes how long a customer who applies this coupon will get the discount.","example":"once"},"duration_in_months":{"oneOf":[{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","example":{"order_id":"8842","channel":"shopify"}}]},"name":{"description":"Name of the coupon displayed to customers.","type":"string","example":"Example"},"percent_off":{"oneOf":[{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"number","format":"double"},{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"null","format":"double"}]},"max_redemptions":{"oneOf":[{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"times_redeemed":{"oneOf":[{"description":"Number of times this coupon has been applied to a customer.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Number of times this coupon has been applied to a customer.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"valid":{"description":"Taking account of the above properties, whether this coupon can still be applied to a customer.","type":"boolean","example":false},"created_at":{"description":"Date when this coupon was created.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether the coupon is in test mode","type":"boolean","example":false}}}]},"type":{"description":"The type of source.","type":"string","enum":["coupon","promotion_code"],"example":"coupon"}},"example":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"}},"promo_code":{"oneOf":[{"description":"The promo code applied to create the discount.","type":"string","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The promo code applied to create the discount.","type":"null","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether the discount was applied in test mode","type":"boolean","example":false},"end":{"oneOf":[{"type":"string","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","example":"string"},{"type":"null","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null."}]},"start":{"description":"Date that the coupon was applied.","type":"string","example":"string"}},"example":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"}}}]},"pause":{"oneOf":[{"type":"object","description":"The current pause. Present only while the subscription is paused.","required":["paused_at"],"example":{"paused_at":"2026-06-15T14:30:00Z","resume_at":"2026-06-15T14:30:00Z","billing_cycle_anchor":"unchanged","proration_behavior":"always_invoice","credit":"unused_time"},"properties":{"paused_at":{"description":"When the subscription was paused. ISO 8601 format. While paused, this is also the subscription's `current_period_end`.","type":"string","example":"2026-06-15T14:30:00Z"},"resume_at":{"oneOf":[{"type":"string","description":"When Flex resumes the subscription on its own. `null` when it stays paused until you resume it.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"When Flex resumes the subscription on its own. `null` when it stays paused until you resume it.","example":"2026-06-15T14:30:00Z"}]},"billing_cycle_anchor":{"oneOf":[{"type":"string","description":"Where billing restarts when Flex resumes at `resume_at`: `now` or `unchanged`. `null` when no resume is scheduled.","enum":["now","unchanged"],"x-ms-enum":{"name":"SubscriptionResumeBillingCycleAnchor","modelAsString":false,"values":[{"value":"now","name":"Now","description":"Bill monthly from the resume date, charging the full period now, net of any unused time credited at the pause. After an uncredited pause that ends inside the paid period, nothing is charged now and the next charge covers the time from the old period end."},{"value":"unchanged","name":"Unchanged","description":"Keep the original billing date."}]},"example":"unchanged"},{"type":"null","description":"Where billing restarts when Flex resumes at `resume_at`: `now` or `unchanged`. `null` when no resume is scheduled.","example":"unchanged"}]},"proration_behavior":{"oneOf":[{"type":"string","description":"How the partial period is billed when `billing_cycle_anchor` is `unchanged`. `null` otherwise.","enum":["create_prorations","always_invoice"],"x-ms-enum":{"name":"SubscriptionResumeProrationBehavior","modelAsString":false,"values":[{"value":"create_prorations","name":"CreateProrations","description":"Bill the partial period on the original billing date, with the next full period."},{"value":"always_invoice","name":"AlwaysInvoice","description":"Bill the partial period now, net of any unused time credited at the pause. A negative amount charges nothing and goes to the customer's balance."}]},"example":"always_invoice"},{"type":"null","description":"How the partial period is billed when `billing_cycle_anchor` is `unchanged`. `null` otherwise.","example":"always_invoice"}]},"credit":{"type":"string","enum":["unused_time","none"],"x-ms-enum":{"name":"SubscriptionPauseCredit","modelAsString":false,"values":[{"value":"unused_time","name":"UnusedTime","description":"Credit the unused paid time from the pause to the period end. The resume charge is net of it."},{"value":"none","name":"None","description":"Credit nothing for the paused days inside the paid period. A resume before the period ends keeps the paid days after it."}]},"description":"What the pause credited for the paid time left in the period.","example":"unused_time","default":"unused_time"}}},{"type":"null","description":"The current pause. Present only while the subscription is paused."}]}}},{"type":"null","description":"The subscription that this invoice was prepared for."}]},"paid_at":{"oneOf":[{"type":"string","description":"When the invoice was paid.","example":"string"},{"type":"null","description":"When the invoice was paid."}]},"status":{"description":"The status of the invoice.","type":"string","enum":["draft","open","void","paid","uncollectible"],"example":"draft"},"collection_method":{"description":"Either charge_automatically or send_invoice. When charging automatically, Flex will attempt to pay this invoice using the default payment method attached to the customer. When sending an invoice, Flex will email this invoice to the customer with payment instructions.","type":"string","enum":["charge_automatically","send_invoice"],"example":"charge_automatically"},"test_mode":{"description":"Whether or not the invoice was created in test mode.","type":"boolean","example":false},"metadata":{"oneOf":[{"description":"Metadata associated with the invoice.","type":"object","example":{"order_id":"8842","channel":"shopify"}},{"description":"Metadata associated with the invoice.","type":"null","example":{"order_id":"8842","channel":"shopify"}}]},"created_at":{"description":"When the invoice was created.","type":"string","example":"2026-06-15T14:30:00Z"},"backup_charge_status":{"oneOf":[{"type":"string","description":"Outcome of the backup-payment-method fallback for this invoice. Omitted when no fallback applied. `succeeded` on a paid invoice means the subscription's backup card covered this renewal after the default payment method failed.","enum":["pending","succeeded","failed","skipped"],"example":"pending"},{"type":"null","description":"Outcome of the backup-payment-method fallback for this invoice. Omitted when no fallback applied. `succeeded` on a paid invoice means the subscription's backup card covered this renewal after the default payment method failed."}]}}},{"type":"null","description":"The invoice this charge is for if one exists."}]},"failure_message":{"oneOf":[{"description":"Message to user further explaining reason for charge failure if available.","type":"string","example":"Premium SPF 50 mineral sunscreen"},{"description":"Message to user further explaining reason for charge failure if available.","type":"null","example":"Premium SPF 50 mineral sunscreen"}]},"disputed":{"description":"Whether the charge has been disputed.","type":"boolean","example":false},"paid":{"description":"true if the charge succeeded, or was successfully authorized for later capture.","type":"boolean","example":false},"refunded":{"description":"Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.","type":"boolean","example":false},"refunds":{"oneOf":[{"description":"A list of refunds that have been applied to the charge.","type":"array","items":{"oneOf":[{"type":"string","description":"An expandable field — either a string ID or an expanded Refund object.","example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"An expandable field — either a string ID or an expanded Refund object.","required":["amount","created_at","refund_id","status","test_mode"],"example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"refund_id":{"description":"The ID of the refund","type":"string","example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"payment_intent_id":{"oneOf":[{"description":"The ID of the payment intent that the refund is associated with","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The ID of the payment intent that the refund is associated with","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"amount":{"description":"The amount of the refund in cents","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"created_at":{"description":"The time at which the refund was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z"},"reason":{"oneOf":[{"type":"string","description":"The reason for the refund","enum":["duplicate","fraudulent","requested_by_customer","expired_uncaptured_charge"],"example":"duplicate"},{"type":"null","description":"The reason for the refund"}]},"status":{"description":"The status of the refund","type":"string","enum":["pending","requires_action","succeeded","failed","canceled"],"example":"pending"},"test_mode":{"description":"Whether the refund was created in test mode","type":"boolean","example":false},"metadata":{"oneOf":[{"description":"Metadata attached to the refund","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Metadata attached to the refund","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"reference_id":{"oneOf":[{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"reference_type":{"oneOf":[{"type":"string","description":"Type of the reference number used for the refund","enum":["acquirer_reference_number","system_trace_audit_number","retrieval_reference_number"],"example":"acquirer_reference_number"},{"type":"null","description":"Type of the reference number used for the refund"}]},"reference_status":{"oneOf":[{"type":"string","description":"Status of the reference number used for the refund","enum":["available","pending","unavailable"],"example":"available"},{"type":"null","description":"Status of the reference number used for the refund"}]},"items":{"description":"List of refund items (charges that were refunded)","default":[],"type":"array","items":{"description":"Represents a single refund item (charge that was refunded)","type":"object","required":["amount_refunded"],"properties":{"amount_refunded":{"description":"The amount refunded from this charge in cents","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"payment_intent":{"oneOf":[{"description":"The ID of the payment intent that the refund is associated with","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The ID of the payment intent that the refund is associated with","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"payment_method_id":{"oneOf":[{"description":"The ID of the payment method used for this refund","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The ID of the payment method used for this refund","type":"null","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"reference_id":{"oneOf":[{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"reference_type":{"oneOf":[{"type":"string","description":"Type of the reference number used for the refund","enum":["acquirer_reference_number","system_trace_audit_number","retrieval_reference_number"],"example":"acquirer_reference_number"},{"type":"null","description":"Type of the reference number used for the refund"}]},"reference_status":{"oneOf":[{"type":"string","description":"Status of the reference number used for the refund","enum":["available","pending","unavailable"],"example":"available"},{"type":"null","description":"Status of the reference number used for the refund"}]}},"example":{"amount_refunded":2500,"payment_intent":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","payment_method_id":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","reference_id":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","reference_type":"acquirer_reference_number","reference_status":"available"}}},"subscription_id":{"oneOf":[{"description":"The subscription this refund is associated with (for subscription cancellation refunds)","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The subscription this refund is associated with (for subscription cancellation refunds)","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"invoice_id":{"oneOf":[{"description":"The invoice this refund is associated with (for subscription billing period refunds)","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The invoice this refund is associated with (for subscription billing period refunds)","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"balance_transaction":{"oneOf":[{"type":"string","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp."}]},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"}]},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1}]},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value"}]},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"type":{"oneOf":[{"description":"The type of transaction.","type":"string"},{"description":"The type of transaction.","type":"null"}]},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value"}]},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd"}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string"},{"description":"Card funding type used for the transaction.","type":"null"}]},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null"}]}}},{"type":"null","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object."}]},"failure_balance_transaction":{"oneOf":[{"type":"string","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp."}]},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"}]},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1}]},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value"}]},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"type":{"oneOf":[{"description":"The type of transaction.","type":"string"},{"description":"The type of transaction.","type":"null"}]},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value"}]},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd"}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string"},{"description":"Card funding type used for the transaction.","type":"null"}]},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null"}]}}},{"type":"null","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance."}]}}}]}},{"description":"A list of refunds that have been applied to the charge.","type":"null","items":{"oneOf":[{"type":"string","description":"An expandable field — either a string ID or an expanded Refund object.","example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"An expandable field — either a string ID or an expanded Refund object.","required":["amount","created_at","refund_id","status","test_mode"],"example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"refund_id":{"description":"The ID of the refund","type":"string","example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"payment_intent_id":{"oneOf":[{"description":"The ID of the payment intent that the refund is associated with","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The ID of the payment intent that the refund is associated with","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"amount":{"description":"The amount of the refund in cents","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"created_at":{"description":"The time at which the refund was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z"},"reason":{"oneOf":[{"type":"string","description":"The reason for the refund","enum":["duplicate","fraudulent","requested_by_customer","expired_uncaptured_charge"],"example":"duplicate"},{"type":"null","description":"The reason for the refund"}]},"status":{"description":"The status of the refund","type":"string","enum":["pending","requires_action","succeeded","failed","canceled"],"example":"pending"},"test_mode":{"description":"Whether the refund was created in test mode","type":"boolean","example":false},"metadata":{"oneOf":[{"description":"Metadata attached to the refund","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Metadata attached to the refund","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"reference_id":{"oneOf":[{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"reference_type":{"oneOf":[{"type":"string","description":"Type of the reference number used for the refund","enum":["acquirer_reference_number","system_trace_audit_number","retrieval_reference_number"],"example":"acquirer_reference_number"},{"type":"null","description":"Type of the reference number used for the refund"}]},"reference_status":{"oneOf":[{"type":"string","description":"Status of the reference number used for the refund","enum":["available","pending","unavailable"],"example":"available"},{"type":"null","description":"Status of the reference number used for the refund"}]},"items":{"description":"List of refund items (charges that were refunded)","default":[],"type":"array","items":{"description":"Represents a single refund item (charge that was refunded)","type":"object","required":["amount_refunded"],"properties":{"amount_refunded":{"description":"The amount refunded from this charge in cents","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"payment_intent":{"oneOf":[{"description":"The ID of the payment intent that the refund is associated with","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The ID of the payment intent that the refund is associated with","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"payment_method_id":{"oneOf":[{"description":"The ID of the payment method used for this refund","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The ID of the payment method used for this refund","type":"null","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"reference_id":{"oneOf":[{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"reference_type":{"oneOf":[{"type":"string","description":"Type of the reference number used for the refund","enum":["acquirer_reference_number","system_trace_audit_number","retrieval_reference_number"],"example":"acquirer_reference_number"},{"type":"null","description":"Type of the reference number used for the refund"}]},"reference_status":{"oneOf":[{"type":"string","description":"Status of the reference number used for the refund","enum":["available","pending","unavailable"],"example":"available"},{"type":"null","description":"Status of the reference number used for the refund"}]}},"example":{"amount_refunded":2500,"payment_intent":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","payment_method_id":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","reference_id":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","reference_type":"acquirer_reference_number","reference_status":"available"}}},"subscription_id":{"oneOf":[{"description":"The subscription this refund is associated with (for subscription cancellation refunds)","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The subscription this refund is associated with (for subscription cancellation refunds)","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"invoice_id":{"oneOf":[{"description":"The invoice this refund is associated with (for subscription billing period refunds)","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The invoice this refund is associated with (for subscription billing period refunds)","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"balance_transaction":{"oneOf":[{"type":"string","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp."}]},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"}]},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1}]},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value"}]},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"type":{"oneOf":[{"description":"The type of transaction.","type":"string"},{"description":"The type of transaction.","type":"null"}]},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value"}]},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd"}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string"},{"description":"Card funding type used for the transaction.","type":"null"}]},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null"}]}}},{"type":"null","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object."}]},"failure_balance_transaction":{"oneOf":[{"type":"string","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp."}]},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"}]},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1}]},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value"}]},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"type":{"oneOf":[{"description":"The type of transaction.","type":"string"},{"description":"The type of transaction.","type":"null"}]},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value"}]},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd"}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string"},{"description":"Card funding type used for the transaction.","type":"null"}]},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null"}]}}},{"type":"null","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance."}]}}}]}}]},"payment_intent":{"$circularRef":"8fbcacc5-2464-4789-9a44-67dbaef1711b","description":"The payment intent that generated this charge."},"status":{"description":"The status of the charge.","type":"string","enum":["succeeded","pending","failed"],"example":"succeeded"},"test_mode":{"description":"Whether the charge was created in test mode.","type":"boolean","example":false},"transfer_group":{"oneOf":[{"description":"A string that identifies the resulting payment as part of a group","type":"string","example":"example_value"},{"description":"A string that identifies the resulting payment as part of a group","type":"null","example":"example_value"}]},"payment_method_id":{"oneOf":[{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The ID of the PaymentMethod.","type":"null","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"three_d_secure":{"oneOf":[{"type":"object","description":"3D Secure authentication outcome details, if 3DS was used.","example":{"authentication_flow":"string","result":"string","result_reason":"string","version":"string"},"properties":{"authentication_flow":{"oneOf":[{"description":"How the customer was authenticated: `challenge` or `frictionless`.","type":"string"},{"description":"How the customer was authenticated: `challenge` or `frictionless`.","type":"null"}]},"result":{"oneOf":[{"description":"Outcome of 3D Secure authentication.","type":"string"},{"description":"Outcome of 3D Secure authentication.","type":"null"}]},"result_reason":{"oneOf":[{"description":"Additional detail about why 3DS succeeded or failed.","type":"string"},{"description":"Additional detail about why 3DS succeeded or failed.","type":"null"}]},"version":{"oneOf":[{"description":"The version of 3D Secure used.","type":"string"},{"description":"The version of 3D Secure used.","type":"null"}]}}},{"type":"null","description":"3D Secure authentication outcome details, if 3DS was used."}]},"decline_details":{"oneOf":[{"type":"object","description":"Decline and risk details for failed or blocked charges.","example":{"failure_code":"string","decline_code":"string","failure_message":"string","outcome_type":"string","network_status":"string","seller_message":"string","reason":"string","risk_level":"string"},"properties":{"failure_code":{"oneOf":[{"description":"Error code for the charge failure (e.g. `card_declined`, `expired_card`).","type":"string"},{"description":"Error code for the charge failure (e.g. `card_declined`, `expired_card`).","type":"null"}]},"decline_code":{"oneOf":[{"description":"More specific decline reason (e.g. `insufficient_funds`, `lost_card`).","type":"string"},{"description":"More specific decline reason (e.g. `insufficient_funds`, `lost_card`).","type":"null"}]},"failure_message":{"oneOf":[{"description":"User-facing failure message.","type":"string"},{"description":"User-facing failure message.","type":"null"}]},"outcome_type":{"oneOf":[{"description":"The outcome type of the decline.","type":"string"},{"description":"The outcome type of the decline.","type":"null"}]},"network_status":{"oneOf":[{"description":"Network-level status: `approved_by_network`, `declined_by_network`, etc.","type":"string"},{"description":"Network-level status: `approved_by_network`, `declined_by_network`, etc.","type":"null"}]},"seller_message":{"oneOf":[{"description":"Technical explanation of the outcome for the merchant.","type":"string"},{"description":"Technical explanation of the outcome for the merchant.","type":"null"}]},"reason":{"oneOf":[{"description":"Fraud/risk reason (e.g. `elevated_risk_level`).","type":"string"},{"description":"Fraud/risk reason (e.g. `elevated_risk_level`).","type":"null"}]},"risk_level":{"oneOf":[{"description":"The risk level assessed for the payment.","type":"string"},{"description":"The risk level assessed for the payment.","type":"null"}]}}},{"type":"null","description":"Decline and risk details for failed or blocked charges."}]},"balance_transaction":{"oneOf":[{"type":"string","description":"Balance transaction that describes the impact of this charge on your balance. Populated on successful capture, returned as the balance transaction ID. Always serialized; `null` for uncaptured charges.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"Balance transaction that describes the impact of this charge on your balance. Populated on successful capture, returned as the balance transaction ID. Always serialized; `null` for uncaptured charges.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp."}]},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"}]},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1}]},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value"}]},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"type":{"oneOf":[{"description":"The type of transaction.","type":"string"},{"description":"The type of transaction.","type":"null"}]},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value"}]},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd"}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string"},{"description":"Card funding type used for the transaction.","type":"null"}]},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null"}]}}},{"type":"null","description":"Balance transaction that describes the impact of this charge on your balance. Populated on successful capture, returned as the balance transaction ID. Always serialized; `null` for uncaptured charges."}]},"failure_balance_transaction":{"oneOf":[{"type":"string","description":"Reversal balance transaction created when a captured charge fails or is otherwise reversed and funds are credited back. Always serialized; `null` on the common success path.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"Reversal balance transaction created when a captured charge fails or is otherwise reversed and funds are credited back. Always serialized; `null` on the common success path.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp."}]},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"}]},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1}]},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value"}]},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"type":{"oneOf":[{"description":"The type of transaction.","type":"string"},{"description":"The type of transaction.","type":"null"}]},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value"}]},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd"}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string"},{"description":"Card funding type used for the transaction.","type":"null"}]},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null"}]}}},{"type":"null","description":"Reversal balance transaction created when a captured charge fails or is otherwise reversed and funds are credited back. Always serialized; `null` on the common success path."}]}}},{"type":"null","description":"The latest charge associated with the payment intent."}]},"created_at":{"description":"The time the payment intent was created.","type":"string","example":"2026-06-15T14:30:00Z"},"invoice":{"oneOf":[{"type":"string","description":"The invoice associated with the payment intent.","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The invoice associated with the payment intent.","required":["amount_due","amount_paid","collection_method","created_at","invoice_id","status","test_mode","total"],"example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"invoice_id":{"description":"The id of the invoice.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"total":{"description":"The total amount of the invoice in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"amount_due":{"description":"The amount due in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"amount_paid":{"description":"The amount paid in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"payment_intent":{"oneOf":[{"description":"The payment intent associated with this invoice. The payment intent is created when the invoice is finalized."},{"type":"null","description":"The payment intent associated with this invoice. The payment intent is created when the invoice is finalized."}]},"charge":{"oneOf":[{"description":"The id of the latest charge for this invoice.","type":"string","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The id of the latest charge for this invoice.","type":"null","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"customer":{"oneOf":[{"type":"string","description":"The id of the customer this invoice is for.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The id of the customer this invoice is for.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"first_name":{"description":"The customer's first name.","type":"string","example":"John"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555"}]},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex"},{"description":"The customer's employer.","type":"null","example":"Flex"}]},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St"}]},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100"}]},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco"}]},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA"},{"description":"State, county, province, or region.","type":"null","example":"CA"}]},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107"},{"description":"ZIP or postal code.","type":"null","example":"94107"}]},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US"}]}}},{"type":"null","description":"The customer's shipping address."}]},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false}}},{"type":"null","description":"The id of the customer this invoice is for."}]},"period_end":{"oneOf":[{"type":"string","description":"End of the usage period.","example":"string"},{"type":"null","description":"End of the usage period."}]},"period_start":{"oneOf":[{"type":"string","description":"Start of the usage period.","example":"string"},{"type":"null","description":"Start of the usage period."}]},"subscription":{"oneOf":[{"type":"string","description":"The subscription that this invoice was prepared for.","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The subscription that this invoice was prepared for.","required":["cancel_at_period_end","created_at","items","status","subscription_id","test_mode"],"example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"subscription_id":{"description":"Unique identifier for the object.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z"},"items":{"description":"The items the customer is subscribed to.","type":"array","items":{"description":"A Subscription Item represents a single recurring Price billed as part of a Subscription, together with the quantity of that price the customer is subscribed to. A subscription has one item per recurring price it bills.","type":"object","required":["created_at","price","quantity","subscription_item_id","test_mode"],"properties":{"subscription_item_id":{"description":"Unique identifier for the subscription item.","type":"string","example":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"price":{"oneOf":[{"type":"string","description":"The recurring Price this item bills. Returned as a price ID by default, or as the full Price object when expanded.","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The recurring Price this item bills. Returned as a price ID by default, or as the full Price object when expanded.","required":["active","created_at","price_id","product","test_mode","type","unit_amount"],"example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"price_id":{"description":"The unique identifier for the price.","type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"owner_partner_id":{"oneOf":[{"description":"The ID of the account that owns this price. For prices shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The ID of the account that owns this price. For prices shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"null","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"description":{"oneOf":[{"description":"The description of the price.","type":"string","example":"Premium SPF 50 mineral sunscreen"},{"description":"The description of the price.","type":"null","example":"Premium SPF 50 mineral sunscreen"}]},"trial_period_days":{"oneOf":[{"description":"The number of trial period days before the customer is first charged for a recurring price.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"The number of trial period days before the customer is first charged for a recurring price.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"unit_amount":{"description":"The amount to charge per unit, in the smallest currency unit (e.g., `2500` = $25.00 USD).","type":"integer","format":"int32","minimum":-2147483648,"maximum":2147483647},"recurring":{"oneOf":[{"type":"object","description":"The recurring components of a price such as interval and trial period days.","required":["interval"],"example":{"interval":"day","interval_count":0,"trial_period_days":0},"properties":{"interval":{"description":"The billing cadence for the price.","type":"string","enum":["day","week","month","year"],"example":"day"},"interval_count":{"oneOf":[{"description":"The number of intervals","type":"integer","format":"int64","minimum":0,"maximum":4294967295},{"description":"The number of intervals","type":"null","format":"int64","minimum":0,"maximum":4294967295}]},"trial_period_days":{"oneOf":[{"description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","type":"integer","format":"int64","minimum":0,"maximum":4294967295},{"description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","type":"null","format":"int64","minimum":0,"maximum":4294967295}]}}},{"type":"null","description":"The recurring components of a price such as interval and trial period days."}]},"active":{"description":"Whether the price is currently active.","type":"boolean","example":false},"product":{"oneOf":[{"type":"string","description":"The product this price belongs to. Returned as a product ID by default, or as the full Product object when expanded.","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The product this price belongs to. Returned as a product ID by default, or as the full Product object when expanded.","required":["active","created_at","hsa_fsa_eligibility","name","product_id","test_mode"],"example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"product_id":{"description":"The unique identifier for the product.","type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"owner_partner_id":{"oneOf":[{"description":"The ID of the account that owns this product. For products shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The ID of the account that owns this product. For products shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"null","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"name":{"description":"The name of the product.","type":"string","example":"Example"},"description":{"oneOf":[{"description":"The description of the product.","type":"string","example":"Premium SPF 50 mineral sunscreen"},{"description":"The description of the product.","type":"null","example":"Premium SPF 50 mineral sunscreen"}]},"document_description":{"oneOf":[{"description":"Medical-grade description optimized for use in Letters of Medical Necessity and receipts.","deprecated":true,"type":"string"},{"description":"Medical-grade description optimized for use in Letters of Medical Necessity and receipts.","deprecated":true,"type":"null"}]},"receipt_description":{"oneOf":[{"description":"Shortened description tailored to receipt line items","type":"string"},{"description":"Shortened description tailored to receipt line items","type":"null"}]},"created_at":{"description":"The date the product was created.","type":"string","example":"2026-06-15T14:30:00Z"},"visit_type":{"oneOf":[{"type":"string","description":"The visit type of the product if a letter of medical necessity is required.","enum":["cbtSleep","notApplicable","metabolomics","tinnitus","gym","exerciseDiet","orthopedic","alcohol","airPurification","vaginalHealth","menstrual","canopy","alopecia","genate","weightBlanket","bedJet","siderAl","sunwinkPowder","wavWatch","bodyComplete","ageRate","nitrousOxide","happyV","groupChat","icalmAnxiety","redBloom","foodom","branchErgonomicFurniture","curalife","eloraInfantWellness","nutriHealth","olipop","goldIntimate","touchStoneEssentials","utiva","sleepGeekz","figBrew","auBabyBlanket","babySleepSack","oshWellness","currentBodyRedLight","mito","circularRing","lymaRedLight","goodAirRx","tastermonial","karunaHome","ergoStandingChair","jbaGlucoseControl","bloomNutrition","buoyDrops","luxeWonderWig","saunaMarketplace","amrioreEyewear","pivotOrthoShoe","lumenCynergy","roga","pulsetto","mitoRedLight","gutPersonal","goFlaus","myHixel","calmigo","dotFit","stripesBeauty","mixHers","pmd","positivityWithPurpose","techRing","popVeneers","vertaClean","lumen","medicalMeal","emnHealth","detergentAllergy","lowImpactExercise","mediumImpactExercise","highImpactExercise","gardening","babyCarrier","smartGlasses","automatedCleaner","uvClothing","adaptiveShoes","breathWork","nonenalOdor","meneralsNootropicPouch","babyMonitorSplit","babySleepApp","coolingSleepwear","bodyPillow","uvGlasses","nursingChairs","coolingBed","posture","supplements","sleep","redLightTherapy","fitness","smartRing","womensVaginalHealth","fertilitySupport","femaleReproduction","femaleReproductionFood","pregnancyLiterature","iceBath","orthopedicShoes","sexualHealth","glucose","metabolicTest","skinCare","oralHealth","oralAnxiety","blueLightGlasses","anxiety","brainHealth","babyMonitor","compressionSocks","compressionShorts","waterPurification","medSpa","essentialOils","sleepBuds","latchLight","nutritionist","rairflow","enduranceTraining","hydration","hairGrowth","eD","postureFitness","childDevelopment","adaptiveClothing","sleepConsulting","hairRemoval","menopause","maleFertility","anxietyHealth","bidets","speechHealth","artOfLiving","breastMilk","petSupport","diapers","gutSupplements","smartWatch","medicalBotox","biomechanicalAssessment","erectileReset","femaleOrgasm","pornAddiction","memorySupport","oralHealthMasticGum","orthopedicSandals","childDevelopmentAnxietySleep","childDevelopmentAdjustment","childDevelopmentBehavior","childDevelopmentIdentity","emnHealthMobility","adaptiveShoesDependent","speechHealthDependent","breathWorkDependent"],"example":"cbtSleep"},{"type":"null","description":"The visit type of the product if a letter of medical necessity is required."}]},"active":{"description":"Determines if the product is active or not.","type":"boolean","example":false},"upc_code":{"oneOf":[{"description":"The upc code of the product.","type":"string"},{"description":"The upc code of the product.","type":"null"}]},"gtin":{"oneOf":[{"description":"The gtin code of the product.","type":"string"},{"description":"The gtin code of the product.","type":"null"}]},"reference_gtin":{"oneOf":[{"description":"The GTIN of a private-label reference product, used to establish HSA/FSA eligibility.","type":"string"},{"description":"The GTIN of a private-label reference product, used to establish HSA/FSA eligibility.","type":"null"}]},"hsa_fsa_eligibility":{"description":"The elegibility of the product for HSA/FSA.","type":"string","enum":["not_eligible","auto_substantiation","private_label","letter_of_medical_necessity","prescription","vision","service","pending"],"example":"not_eligible"},"test_mode":{"description":"Whether the product is in test mode or not.","type":"boolean","example":false},"metadata":{"oneOf":[{"description":"Metadata associated with the product.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Metadata associated with the product.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"url":{"oneOf":[{"description":"The URL of the product.","type":"string","example":"https://example.com"},{"description":"The URL of the product.","type":"null","example":"https://example.com"}]},"client_reference_id":{"oneOf":[{"description":"An optional identifier for the product set by the client at creation time. Immutable after creation.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"An optional identifier for the product set by the client at creation time. Immutable after creation.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]}}}]},"created_at":{"description":"The date the price was created.","type":"string","example":"2026-06-15T14:30:00Z"},"type":{"description":"The type of the price: a single one-time charge, or a recurring charge billed on a schedule.","type":"string","enum":["one_time","recurring"],"example":"one_time"},"metadata":{"oneOf":[{"description":"Metadata information for the price object","type":"object","example":{"order_id":"8842","channel":"shopify"}},{"description":"Metadata information for the price object","type":"null","example":{"order_id":"8842","channel":"shopify"}}]},"lookup_key":{"oneOf":[{"description":"A stable, partner-owned key for this price. Unique per account and mode across all prices, archived ones included. `null` until you set one.","type":"string","maxLength":200,"example":"standard_monthly"},{"description":"A stable, partner-owned key for this price. Unique per account and mode across all prices, archived ones included. `null` until you set one.","type":"null","maxLength":200,"example":"standard_monthly"}]},"hsa_fsa_eligibility":{"oneOf":[{"type":"string","description":"The HSA/FSA eligibility for the price.","enum":["not_eligible","auto_substantiation","private_label","letter_of_medical_necessity","prescription","vision","service","pending"],"example":"not_eligible"},{"type":"null","description":"The HSA/FSA eligibility for the price."}]},"test_mode":{"description":"Whether the price is in test mode.","type":"boolean","example":false}}}]},"quantity":{"description":"The number of units of the price the customer is subscribed to.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"created_at":{"description":"Time at which the subscription item was created, as an RFC 3339 timestamp.","type":"string","example":"2026-06-15T14:30:00Z"},"updated_at":{"oneOf":[{"type":"string","description":"Time at which the subscription item was last updated, as an RFC 3339 timestamp. `null` if the item has not been updated since creation.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"Time at which the subscription item was last updated, as an RFC 3339 timestamp. `null` if the item has not been updated since creation.","example":"2026-06-15T14:30:00Z"}]},"test_mode":{"description":"Whether the subscription item exists in test mode.","type":"boolean","example":false}},"example":{"subscription_item_id":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","price":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","quantity":2500,"created_at":"2026-06-15T14:30:00Z","updated_at":"2026-06-15T14:30:00Z","test_mode":false}}},"latest_invoice":{"oneOf":[{"description":"The ID of the latest invoice generated for this subscription."},{"type":"null","description":"The ID of the latest invoice generated for this subscription."}]},"customer":{"oneOf":[{"type":"string","description":"The ID of the customer who owns the subscription.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The ID of the customer who owns the subscription.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"first_name":{"description":"The customer's first name.","type":"string","example":"John"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555"}]},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex"},{"description":"The customer's employer.","type":"null","example":"Flex"}]},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St"}]},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100"}]},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco"}]},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA"},{"description":"State, county, province, or region.","type":"null","example":"CA"}]},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107"},{"description":"ZIP or postal code.","type":"null","example":"94107"}]},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US"}]}}},{"type":"null","description":"The customer's shipping address."}]},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false}}},{"type":"null","description":"The ID of the customer who owns the subscription."}]},"status":{"description":"Possible values are incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, or paused.","type":"string","enum":["incomplete","incomplete_expired","trialing","active","past_due","canceled","unpaid","paused"],"example":"incomplete"},"cancel_at_period_end":{"description":"If the subscription has been canceled with the at_period_end flag set to true, cancel_at_period_end on the subscription will be true. You can use this attribute to determine whether a subscription that has a status of active is scheduled to be canceled at the end of the current period.","type":"boolean","example":false},"current_period_end":{"oneOf":[{"type":"string","description":"End of the current period that the subscription has been invoiced for.","example":"string"},{"type":"null","description":"End of the current period that the subscription has been invoiced for."}]},"current_period_start":{"oneOf":[{"type":"string","description":"Start of the current period that the subscription has been invoiced for.","example":"string"},{"type":"null","description":"Start of the current period that the subscription has been invoiced for."}]},"metadata":{"oneOf":[{"description":"A set of key/value pairs that you can attach to a subscription object.","type":"object","example":{"order_id":"8842","channel":"shopify"}},{"description":"A set of key/value pairs that you can attach to a subscription object.","type":"null","example":{"order_id":"8842","channel":"shopify"}}]},"test_mode":{"description":"Whether the subscription is in test mode.","type":"boolean","example":false},"client_secret":{"oneOf":[{"type":"object","description":"Client secrets used to confirm the subscription's first payment or payment-method setup from your frontend. Present only while the subscription is being activated; omitted otherwise. Do not log or store these secrets; expose them only to the customer over TLS.","example":{"setup_secret":"string","payment_secret":"string"},"properties":{"setup_secret":{"oneOf":[{"description":"Client secret of the SetupIntent used to collect and save a payment method for the subscription (for example, during a trial with no immediate charge). `null` when no setup is required. Do not log or store it; expose only to the customer over TLS.","type":"string"},{"description":"Client secret of the SetupIntent used to collect and save a payment method for the subscription (for example, during a trial with no immediate charge). `null` when no setup is required. Do not log or store it; expose only to the customer over TLS.","type":"null"}]},"payment_secret":{"oneOf":[{"description":"Client secret of the PaymentIntent used to confirm the subscription's first payment from your frontend. `null` when no immediate payment is required. Do not log or store it; expose only to the customer over TLS.","type":"string"},{"description":"Client secret of the PaymentIntent used to confirm the subscription's first payment from your frontend. `null` when no immediate payment is required. Do not log or store it; expose only to the customer over TLS.","type":"null"}]}}},{"type":"null","description":"Client secrets used to confirm the subscription's first payment or payment-method setup from your frontend. Present only while the subscription is being activated; omitted otherwise. Do not log or store these secrets; expose them only to the customer over TLS."}]},"proration_behavior":{"oneOf":[{"type":"string","description":"The proration behavior for the subscription.","enum":["always_invoice","create_prorations","none"],"example":"always_invoice"},{"type":"null","description":"The proration behavior for the subscription."}]},"trial_start":{"oneOf":[{"type":"string","description":"Start of the subscription's trial period, as an RFC 3339 timestamp. `null` if the subscription has no trial.","example":"string"},{"type":"null","description":"Start of the subscription's trial period, as an RFC 3339 timestamp. `null` if the subscription has no trial."}]},"trial_end":{"oneOf":[{"type":"string","description":"End of the subscription's trial period, as an RFC 3339 timestamp. After this time the customer is billed normally. `null` if the subscription has no trial.","example":"string"},{"type":"null","description":"End of the subscription's trial period, as an RFC 3339 timestamp. After this time the customer is billed normally. `null` if the subscription has no trial."}]},"cancel_at":{"oneOf":[{"type":"string","description":"A future RFC 3339 timestamp at which the subscription will automatically be canceled. `null` unless a future cancellation has been scheduled.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"A future RFC 3339 timestamp at which the subscription will automatically be canceled. `null` unless a future cancellation has been scheduled.","example":"2026-06-15T14:30:00Z"}]},"canceled_at":{"oneOf":[{"type":"string","description":"The RFC 3339 timestamp at which the subscription was actually canceled. `null` if the subscription has not been canceled. Unlike `cancel_at` (a future scheduled cancellation), this is set once the cancellation has occurred.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"The RFC 3339 timestamp at which the subscription was actually canceled. `null` if the subscription has not been canceled. Unlike `cancel_at` (a future scheduled cancellation), this is set once the cancellation has occurred.","example":"2026-06-15T14:30:00Z"}]},"default_payment_method":{"oneOf":[{"type":"string","description":"The default payment method for the subscription (expandable).","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The default payment method for the subscription (expandable).","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"oneOf":[{"type":"object","description":"The billing address.","example":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"properties":{"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco"}]},"country":{"oneOf":[{"description":"Two-letter ISO country code (e.g., `US`).","type":"string","example":"US"},{"description":"Two-letter ISO country code (e.g., `US`).","type":"null","example":"US"}]},"line1":{"oneOf":[{"description":"Address line 1, such as the street, PO box, or company name.","type":"string","example":"123 Main St"},{"description":"Address line 1, such as the street, PO box, or company name.","type":"null","example":"123 Main St"}]},"line2":{"oneOf":[{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"string","example":"Suite 100"},{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"null","example":"Suite 100"}]},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107"},{"description":"ZIP or postal code.","type":"null","example":"94107"}]},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA"},{"description":"State, county, province, or region.","type":"null","example":"CA"}]}}},{"type":"null","description":"The billing address."}]},"email":{"oneOf":[{"description":"The billing email address.","type":"string","example":"john.doe@example.com"},{"description":"The billing email address.","type":"null","example":"john.doe@example.com"}]},"name":{"oneOf":[{"description":"The billing name.","type":"string","example":"Example"},{"description":"The billing name.","type":"null","example":"Example"}]},"phone":{"oneOf":[{"description":"The billing phone number.","type":"string","example":"+14155550142"},{"description":"The billing phone number.","type":"null","example":"+14155550142"}]}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"}},"customer":{"oneOf":[{"type":"string","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"first_name":{"description":"The customer's first name.","type":"string","example":"John"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555"}]},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex"},{"description":"The customer's employer.","type":"null","example":"Flex"}]},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St"}]},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100"}]},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco"}]},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA"},{"description":"State, county, province, or region.","type":"null","example":"CA"}]},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107"},{"description":"ZIP or postal code.","type":"null","example":"94107"}]},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US"}]}}},{"type":"null","description":"The customer's shipping address."}]},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false}}}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","additionalProperties":{"type":"object"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","additionalProperties":{"type":"object"},"example":{"order_id":"8842","channel":"shopify"}}]},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express"},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US"},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123"},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit"},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242"}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"}},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean"}}},{"type":"null","description":"The default payment method for the subscription (expandable)."}]},"backup_payment_method":{"oneOf":[{"type":"string","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"oneOf":[{"type":"object","description":"The billing address.","example":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"properties":{"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco"}]},"country":{"oneOf":[{"description":"Two-letter ISO country code (e.g., `US`).","type":"string","example":"US"},{"description":"Two-letter ISO country code (e.g., `US`).","type":"null","example":"US"}]},"line1":{"oneOf":[{"description":"Address line 1, such as the street, PO box, or company name.","type":"string","example":"123 Main St"},{"description":"Address line 1, such as the street, PO box, or company name.","type":"null","example":"123 Main St"}]},"line2":{"oneOf":[{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"string","example":"Suite 100"},{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"null","example":"Suite 100"}]},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107"},{"description":"ZIP or postal code.","type":"null","example":"94107"}]},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA"},{"description":"State, county, province, or region.","type":"null","example":"CA"}]}}},{"type":"null","description":"The billing address."}]},"email":{"oneOf":[{"description":"The billing email address.","type":"string","example":"john.doe@example.com"},{"description":"The billing email address.","type":"null","example":"john.doe@example.com"}]},"name":{"oneOf":[{"description":"The billing name.","type":"string","example":"Example"},{"description":"The billing name.","type":"null","example":"Example"}]},"phone":{"oneOf":[{"description":"The billing phone number.","type":"string","example":"+14155550142"},{"description":"The billing phone number.","type":"null","example":"+14155550142"}]}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"}},"customer":{"oneOf":[{"type":"string","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"first_name":{"description":"The customer's first name.","type":"string","example":"John"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555"}]},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex"},{"description":"The customer's employer.","type":"null","example":"Flex"}]},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St"}]},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100"}]},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco"}]},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA"},{"description":"State, county, province, or region.","type":"null","example":"CA"}]},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107"},{"description":"ZIP or postal code.","type":"null","example":"94107"}]},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US"}]}}},{"type":"null","description":"The customer's shipping address."}]},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false}}}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","additionalProperties":{"type":"object"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","additionalProperties":{"type":"object"},"example":{"order_id":"8842","channel":"shopify"}}]},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express"},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US"},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123"},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit"},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242"}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"}},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean"}}},{"type":"null","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup."}]},"discounts":{"oneOf":[{"description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)","type":"array","items":{"description":"A Discount object represents the application of a coupon or promotion code to a checkout session, customer, subscription, or invoice. It records which coupon was redeemed, what the discount was applied to, and the time window over which it applies.","type":"object","required":["discount_id","source","start","test_mode"],"properties":{"discount_id":{"description":"The ID of the discount.","type":"string","example":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"checkout_session":{"oneOf":[{"description":"The checkout session that the discount was applied to.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The checkout session that the discount was applied to.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"customer":{"oneOf":[{"description":"The customer that the discount was applied to.","type":"string","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The customer that the discount was applied to.","type":"null","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"subscription":{"oneOf":[{"description":"The subscription that the discount was applied to.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The subscription that the discount was applied to.","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"invoice":{"oneOf":[{"description":"The invoice that the discount was applied to.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The invoice that the discount was applied to.","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"source":{"description":"The source of the discount (coupon or promotion code).","type":"object","required":["coupon","type"],"properties":{"coupon":{"oneOf":[{"type":"string","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","required":["coupon_id","created_at","duration","name","test_mode","valid"],"example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"coupon_id":{"description":"Unique identifier for the object.","type":"string","example":"fcoup_1234567890"},"amount_off":{"oneOf":[{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648},{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648}]},"applies_to":{"oneOf":[{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["products"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"properties":{"products":{"description":"The product that this coupon applies to.","type":"array","items":{"type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["prices"],"properties":{"prices":{"description":"The price that this coupon applies to.","type":"array","items":{"type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["fee_types"],"properties":{"fee_types":{"description":"The fee types that this coupon applies to.","type":"array","items":{"description":"The kind of fee applied to a checkout session: a Letter of Medical Necessity consultation fee, or a custom fee you define.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation"}}}},{"type":"string","description":"An object containing the ID of the product that the coupon can be applied to.","enum":["shipping"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]}},{"type":"null","description":"An object containing the ID of the product that the coupon can be applied to."}]},"duration":{"type":"string","enum":["once","repeating","forever"],"x-ms-enum":{"name":"CouponDuration","modelAsString":false,"values":[{"value":"once","name":"Once","description":"Applies to the first charge from a subscription with this coupon applied."},{"value":"repeating","name":"Repeating","description":"Applies to charges in the first duration_in_months months from a subscription with this coupon applied."},{"value":"forever","name":"Forever","description":"Applies to all charges from a subscription with this coupon applied."}]},"description":"One of forever, once, and repeating. Describes how long a customer who applies this coupon will get the discount.","example":"once"},"duration_in_months":{"oneOf":[{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","example":{"order_id":"8842","channel":"shopify"}}]},"name":{"description":"Name of the coupon displayed to customers.","type":"string","example":"Example"},"percent_off":{"oneOf":[{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"number","format":"double"},{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"null","format":"double"}]},"max_redemptions":{"oneOf":[{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"times_redeemed":{"oneOf":[{"description":"Number of times this coupon has been applied to a customer.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Number of times this coupon has been applied to a customer.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"valid":{"description":"Taking account of the above properties, whether this coupon can still be applied to a customer.","type":"boolean","example":false},"created_at":{"description":"Date when this coupon was created.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether the coupon is in test mode","type":"boolean","example":false}}}]},"type":{"description":"The type of source.","type":"string","enum":["coupon","promotion_code"],"example":"coupon"}},"example":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"}},"promo_code":{"oneOf":[{"description":"The promo code applied to create the discount.","type":"string","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The promo code applied to create the discount.","type":"null","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether the discount was applied in test mode","type":"boolean","example":false},"end":{"oneOf":[{"type":"string","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","example":"string"},{"type":"null","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null."}]},"start":{"description":"Date that the coupon was applied.","type":"string","example":"string"}},"example":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"}}},{"description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)","type":"null","items":{"description":"A Discount object represents the application of a coupon or promotion code to a checkout session, customer, subscription, or invoice. It records which coupon was redeemed, what the discount was applied to, and the time window over which it applies.","type":"object","required":["discount_id","source","start","test_mode"],"properties":{"discount_id":{"description":"The ID of the discount.","type":"string","example":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"checkout_session":{"oneOf":[{"description":"The checkout session that the discount was applied to.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The checkout session that the discount was applied to.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"customer":{"oneOf":[{"description":"The customer that the discount was applied to.","type":"string","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The customer that the discount was applied to.","type":"null","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"subscription":{"oneOf":[{"description":"The subscription that the discount was applied to.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The subscription that the discount was applied to.","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"invoice":{"oneOf":[{"description":"The invoice that the discount was applied to.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The invoice that the discount was applied to.","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"source":{"description":"The source of the discount (coupon or promotion code).","type":"object","required":["coupon","type"],"properties":{"coupon":{"oneOf":[{"type":"string","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","required":["coupon_id","created_at","duration","name","test_mode","valid"],"example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"coupon_id":{"description":"Unique identifier for the object.","type":"string","example":"fcoup_1234567890"},"amount_off":{"oneOf":[{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648},{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648}]},"applies_to":{"oneOf":[{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["products"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"properties":{"products":{"description":"The product that this coupon applies to.","type":"array","items":{"type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["prices"],"properties":{"prices":{"description":"The price that this coupon applies to.","type":"array","items":{"type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["fee_types"],"properties":{"fee_types":{"description":"The fee types that this coupon applies to.","type":"array","items":{"description":"The kind of fee applied to a checkout session: a Letter of Medical Necessity consultation fee, or a custom fee you define.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation"}}}},{"type":"string","description":"An object containing the ID of the product that the coupon can be applied to.","enum":["shipping"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]}},{"type":"null","description":"An object containing the ID of the product that the coupon can be applied to."}]},"duration":{"type":"string","enum":["once","repeating","forever"],"x-ms-enum":{"name":"CouponDuration","modelAsString":false,"values":[{"value":"once","name":"Once","description":"Applies to the first charge from a subscription with this coupon applied."},{"value":"repeating","name":"Repeating","description":"Applies to charges in the first duration_in_months months from a subscription with this coupon applied."},{"value":"forever","name":"Forever","description":"Applies to all charges from a subscription with this coupon applied."}]},"description":"One of forever, once, and repeating. Describes how long a customer who applies this coupon will get the discount.","example":"once"},"duration_in_months":{"oneOf":[{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","example":{"order_id":"8842","channel":"shopify"}}]},"name":{"description":"Name of the coupon displayed to customers.","type":"string","example":"Example"},"percent_off":{"oneOf":[{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"number","format":"double"},{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"null","format":"double"}]},"max_redemptions":{"oneOf":[{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"times_redeemed":{"oneOf":[{"description":"Number of times this coupon has been applied to a customer.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Number of times this coupon has been applied to a customer.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"valid":{"description":"Taking account of the above properties, whether this coupon can still be applied to a customer.","type":"boolean","example":false},"created_at":{"description":"Date when this coupon was created.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether the coupon is in test mode","type":"boolean","example":false}}}]},"type":{"description":"The type of source.","type":"string","enum":["coupon","promotion_code"],"example":"coupon"}},"example":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"}},"promo_code":{"oneOf":[{"description":"The promo code applied to create the discount.","type":"string","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The promo code applied to create the discount.","type":"null","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether the discount was applied in test mode","type":"boolean","example":false},"end":{"oneOf":[{"type":"string","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","example":"string"},{"type":"null","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null."}]},"start":{"description":"Date that the coupon was applied.","type":"string","example":"string"}},"example":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"}}}]},"pause":{"oneOf":[{"type":"object","description":"The current pause. Present only while the subscription is paused.","required":["paused_at"],"example":{"paused_at":"2026-06-15T14:30:00Z","resume_at":"2026-06-15T14:30:00Z","billing_cycle_anchor":"unchanged","proration_behavior":"always_invoice","credit":"unused_time"},"properties":{"paused_at":{"description":"When the subscription was paused. ISO 8601 format. While paused, this is also the subscription's `current_period_end`.","type":"string","example":"2026-06-15T14:30:00Z"},"resume_at":{"oneOf":[{"type":"string","description":"When Flex resumes the subscription on its own. `null` when it stays paused until you resume it.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"When Flex resumes the subscription on its own. `null` when it stays paused until you resume it.","example":"2026-06-15T14:30:00Z"}]},"billing_cycle_anchor":{"oneOf":[{"type":"string","description":"Where billing restarts when Flex resumes at `resume_at`: `now` or `unchanged`. `null` when no resume is scheduled.","enum":["now","unchanged"],"x-ms-enum":{"name":"SubscriptionResumeBillingCycleAnchor","modelAsString":false,"values":[{"value":"now","name":"Now","description":"Bill monthly from the resume date, charging the full period now, net of any unused time credited at the pause. After an uncredited pause that ends inside the paid period, nothing is charged now and the next charge covers the time from the old period end."},{"value":"unchanged","name":"Unchanged","description":"Keep the original billing date."}]},"example":"unchanged"},{"type":"null","description":"Where billing restarts when Flex resumes at `resume_at`: `now` or `unchanged`. `null` when no resume is scheduled.","example":"unchanged"}]},"proration_behavior":{"oneOf":[{"type":"string","description":"How the partial period is billed when `billing_cycle_anchor` is `unchanged`. `null` otherwise.","enum":["create_prorations","always_invoice"],"x-ms-enum":{"name":"SubscriptionResumeProrationBehavior","modelAsString":false,"values":[{"value":"create_prorations","name":"CreateProrations","description":"Bill the partial period on the original billing date, with the next full period."},{"value":"always_invoice","name":"AlwaysInvoice","description":"Bill the partial period now, net of any unused time credited at the pause. A negative amount charges nothing and goes to the customer's balance."}]},"example":"always_invoice"},{"type":"null","description":"How the partial period is billed when `billing_cycle_anchor` is `unchanged`. `null` otherwise.","example":"always_invoice"}]},"credit":{"type":"string","enum":["unused_time","none"],"x-ms-enum":{"name":"SubscriptionPauseCredit","modelAsString":false,"values":[{"value":"unused_time","name":"UnusedTime","description":"Credit the unused paid time from the pause to the period end. The resume charge is net of it."},{"value":"none","name":"None","description":"Credit nothing for the paused days inside the paid period. A resume before the period ends keeps the paid days after it."}]},"description":"What the pause credited for the paid time left in the period.","example":"unused_time","default":"unused_time"}}},{"type":"null","description":"The current pause. Present only while the subscription is paused."}]}}},{"type":"null","description":"The subscription that this invoice was prepared for."}]},"paid_at":{"oneOf":[{"type":"string","description":"When the invoice was paid.","example":"string"},{"type":"null","description":"When the invoice was paid."}]},"status":{"description":"The status of the invoice.","type":"string","enum":["draft","open","void","paid","uncollectible"],"example":"draft"},"collection_method":{"description":"Either charge_automatically or send_invoice. When charging automatically, Flex will attempt to pay this invoice using the default payment method attached to the customer. When sending an invoice, Flex will email this invoice to the customer with payment instructions.","type":"string","enum":["charge_automatically","send_invoice"],"example":"charge_automatically"},"test_mode":{"description":"Whether or not the invoice was created in test mode.","type":"boolean","example":false},"metadata":{"oneOf":[{"description":"Metadata associated with the invoice.","type":"object","example":{"order_id":"8842","channel":"shopify"}},{"description":"Metadata associated with the invoice.","type":"null","example":{"order_id":"8842","channel":"shopify"}}]},"created_at":{"description":"When the invoice was created.","type":"string","example":"2026-06-15T14:30:00Z"},"backup_charge_status":{"oneOf":[{"type":"string","description":"Outcome of the backup-payment-method fallback for this invoice. Omitted when no fallback applied. `succeeded` on a paid invoice means the subscription's backup card covered this renewal after the default payment method failed.","enum":["pending","succeeded","failed","skipped"],"example":"pending"},{"type":"null","description":"Outcome of the backup-payment-method fallback for this invoice. Omitted when no fallback applied. `succeeded` on a paid invoice means the subscription's backup card covered this renewal after the default payment method failed."}]}}},{"type":"null","description":"The invoice associated with the payment intent."}]},"capture_method":{"description":"The capture method of the payment intent.","type":"string","enum":["automatic","automatic_async","manual"],"example":"automatic"},"client_secret":{"oneOf":[{"description":"The client secret of the payment intent.","type":"string"},{"description":"The client secret of the payment intent.","type":"null"}]},"metadata":{"oneOf":[{"description":"The metadata associated with the payment intent.","type":"object","example":{"order_id":"8842","channel":"shopify"}},{"description":"The metadata associated with the payment intent.","type":"null","example":{"order_id":"8842","channel":"shopify"}}]},"payment_method":{"oneOf":[{"type":"string","description":"The payment method associated with the payment intent.","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The payment method associated with the payment intent.","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"oneOf":[{"type":"object","description":"The billing address.","example":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"properties":{"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco"}]},"country":{"oneOf":[{"description":"Two-letter ISO country code (e.g., `US`).","type":"string","example":"US"},{"description":"Two-letter ISO country code (e.g., `US`).","type":"null","example":"US"}]},"line1":{"oneOf":[{"description":"Address line 1, such as the street, PO box, or company name.","type":"string","example":"123 Main St"},{"description":"Address line 1, such as the street, PO box, or company name.","type":"null","example":"123 Main St"}]},"line2":{"oneOf":[{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"string","example":"Suite 100"},{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"null","example":"Suite 100"}]},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107"},{"description":"ZIP or postal code.","type":"null","example":"94107"}]},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA"},{"description":"State, county, province, or region.","type":"null","example":"CA"}]}}},{"type":"null","description":"The billing address."}]},"email":{"oneOf":[{"description":"The billing email address.","type":"string","example":"john.doe@example.com"},{"description":"The billing email address.","type":"null","example":"john.doe@example.com"}]},"name":{"oneOf":[{"description":"The billing name.","type":"string","example":"Example"},{"description":"The billing name.","type":"null","example":"Example"}]},"phone":{"oneOf":[{"description":"The billing phone number.","type":"string","example":"+14155550142"},{"description":"The billing phone number.","type":"null","example":"+14155550142"}]}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"}},"customer":{"oneOf":[{"type":"string","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"first_name":{"description":"The customer's first name.","type":"string","example":"John"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555"}]},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex"},{"description":"The customer's employer.","type":"null","example":"Flex"}]},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St"}]},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100"}]},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco"}]},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA"},{"description":"State, county, province, or region.","type":"null","example":"CA"}]},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107"},{"description":"ZIP or postal code.","type":"null","example":"94107"}]},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US"}]}}},{"type":"null","description":"The customer's shipping address."}]},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false}}}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","additionalProperties":{"type":"object"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","additionalProperties":{"type":"object"},"example":{"order_id":"8842","channel":"shopify"}}]},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express"},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US"},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123"},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit"},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242"}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"}},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean"}}},{"type":"null","description":"The payment method associated with the payment intent."}]},"test_mode":{"description":"Whether the payment intent is in test mode.","type":"boolean","example":false},"transfer_group":{"oneOf":[{"description":"A string that identifies the resulting payment as part of a group","type":"string","example":"example_value"},{"description":"A string that identifies the resulting payment as part of a group","type":"null","example":"example_value"}]},"payment_card_type":{"oneOf":[{"type":"string","description":"The primary card type used for this payment intent","enum":["primary","secondary"],"x-ms-enum":{"name":"PaymentCardType","modelAsString":false,"values":[{"value":"primary","name":"Primary","description":"In a split cart, `Primary` refers to the HSA/FSA eligible card. In a single cart (whether it's HSA/FSA or a fully ineligible cart), `Primary` refers to the only payment card used."},{"value":"secondary","name":"Secondary","description":"In a split cart and partial authorization payment, `Secondary` refers to the non-eligible or backup credit card used for ineligible items."}]},"example":"primary"},{"type":"null","description":"The primary card type used for this payment intent"}]},"letter_fee_amount":{"oneOf":[{"description":"Letter fee portion of application_fee_amount (waterfall allocation to HSA/FSA)","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Letter fee portion of application_fee_amount (waterfall allocation to HSA/FSA)","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"transaction_fee":{"oneOf":[{"description":"Transaction fee portion of application_fee_amount (percentage + fixed fee)","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Transaction fee portion of application_fee_amount (percentage + fixed fee)","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"last_payment_error":{"oneOf":[{"type":"object","description":"The error from the most recent failed payment attempt, if any.","required":["type"],"example":{"type":"string","code":"string","decline_code":"string","message":"string","payment_method":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"properties":{"type":{"description":"The type of error (card, invalid_request, api, etc.)","type":"string"},"code":{"oneOf":[{"description":"Machine-readable error code (card_declined, expired_card, etc.)","type":"string"},{"description":"Machine-readable error code (card_declined, expired_card, etc.)","type":"null"}]},"decline_code":{"oneOf":[{"description":"Card-specific decline code (insufficient_funds, lost_card, etc.)","type":"string"},{"description":"Card-specific decline code (insufficient_funds, lost_card, etc.)","type":"null"}]},"message":{"oneOf":[{"description":"Human-readable error description.","type":"string"},{"description":"Human-readable error description.","type":"null"}]},"payment_method":{"oneOf":[{"description":"The Flex payment method ID that failed.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The Flex payment method ID that failed.","type":"null","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]}}},{"type":"null","description":"The error from the most recent failed payment attempt, if any."}]}}}]},"uniqueKey":"checkout_session.payment_intents.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_intents","typeLabel":"(string | object)[] | null"},"setup_intent":{"oneOf":[{"description":"The ID of the SetupIntent for this Checkout Session, if any.","type":"string","example":"fseti_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.setup_intent.oneOf.0","typeLabel":"string"},{"description":"The ID of the SetupIntent for this Checkout Session, if any.","type":"null","example":"fseti_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.setup_intent.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.setup_intent","typeLabel":"string | null"},"shipping_options":{"oneOf":[{"type":"object","description":"The shipping rate options applied to this Session.","required":["shipping_amount","shipping_rate_id"],"example":{"shipping_rate_id":"fshr_01J9XR8M3K7VZ8N2YB4WJ6T0RA","shipping_amount":2500,"display_name":"Example"},"properties":{"shipping_rate_id":{"description":"ID of the applied shipping rate.","type":"string","example":"fshr_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.shipping_options.oneOf.0.shipping_rate_id","typeLabel":"string"},"shipping_amount":{"description":"The shipping cost, in the smallest currency unit (e.g., `500` = $5.00 USD). Charged in USD.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.shipping_options.oneOf.0.shipping_amount","typeLabel":"integer\u003cint32>"},"display_name":{"oneOf":[{"description":"The display name of the shipping rate (e.g., \"Standard Shipping\", \"Express\").","type":"string","example":"Example","uniqueKey":"checkout_session.shipping_options.oneOf.0.display_name.oneOf.0","typeLabel":"string"},{"description":"The display name of the shipping rate (e.g., \"Standard Shipping\", \"Express\").","type":"null","example":"Example","uniqueKey":"checkout_session.shipping_options.oneOf.0.display_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.shipping_options.oneOf.0.display_name","typeLabel":"string | null"}},"uniqueKey":"checkout_session.shipping_options.oneOf.0","typeLabel":"object"},{"type":"null","description":"The shipping rate options applied to this Session.","uniqueKey":"checkout_session.shipping_options.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.shipping_options","typeLabel":"object | null"},"shipping_details":{"oneOf":[{"type":"object","description":"Shipping information for this Checkout Session.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.shipping_details.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.shipping_details.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.shipping_details.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.shipping_details.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.shipping_details.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.shipping_details.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.shipping_details.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.shipping_details.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.shipping_details.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.shipping_details.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.shipping_details.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.shipping_details.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.shipping_details.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.shipping_details.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.shipping_details.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.shipping_details.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.shipping_details.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.shipping_details.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.shipping_details.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.shipping_details.oneOf.0","typeLabel":"object"},{"type":"null","description":"Shipping information for this Checkout Session.","uniqueKey":"checkout_session.shipping_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.shipping_details","typeLabel":"object | null"},"split_cart":{"oneOf":[{"type":"string","description":"If this checkout session contains both items that are eligible for HSA/FSA and items that are not, This will be the ID of the split cart object. This object is expandable if expand_split_cart is set.","example":"fsplit_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.0","typeLabel":"string"},{"type":"object","description":"If this checkout session contains both items that are eligible for HSA/FSA and items that are not, This will be the ID of the split cart object. This object is expandable if expand_split_cart is set.","required":["eligible_cart","non_eligible_cart","split_cart_id"],"example":"fsplit_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"split_cart_id":{"description":"Unique identifier for the split cart.","type":"string","example":"fsplit_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.split_cart_id","typeLabel":"string"},"eligible_cart":{"description":"The portion of the cart containing HSA/FSA-eligible items, charged to the customer's HSA/FSA payment method.","type":"object","required":["amount_discount","amount_subtotal","amount_tax","amount_total"],"properties":{"amount_total":{"description":"Total amount for this cart after tax, shipping, and discounts, in the smallest currency unit (e.g., `2500` = $25.00 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.amount_total","typeLabel":"integer\u003cint32>"},"amount_subtotal":{"description":"Sum of the line item amounts before tax, shipping, and discounts, in the smallest currency unit (e.g., `2000` = $20.00 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.amount_subtotal","typeLabel":"integer\u003cint32>"},"amount_tax":{"description":"Total tax applied to this cart, in the smallest currency unit (e.g., `150` = $1.50 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.amount_tax","typeLabel":"integer\u003cint32>"},"amount_discount":{"description":"Total discount applied to this cart, in the smallest currency unit (e.g., `500` = $5.00 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.amount_discount","typeLabel":"integer\u003cint32>"},"payment_intent":{"oneOf":[{"type":"string","description":"The PaymentIntent that collects payment for this cart. `null` until a payment intent has been created for it. Expandable when `split_cart` is expanded with `payment_intent`.","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.0","typeLabel":"string"},{"type":"object","description":"The PaymentIntent that collects payment for this cart. `null` until a payment intent has been created for it. Expandable when `split_cart` is expanded with `payment_intent`.","required":["amount","capture_method","created_at","payment_intent_id","status","test_mode"],"example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_intent_id":{"description":"The unique identifier for the payment intent.","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_intent_id","typeLabel":"string"},"amount":{"description":"The amount of the payment intent in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.amount","typeLabel":"integer\u003cint32>"},"status":{"description":"The status of the payment intent.","type":"string","enum":["canceled","processing","requires_action","requires_capture","requires_confirmation","requires_payment_method","succeeded"],"example":"canceled","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.status","typeLabel":"enum\u003cstring>"},"created_at":{"description":"The time the payment intent was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.created_at","typeLabel":"string"},"capture_method":{"description":"The capture method of the payment intent.","type":"string","enum":["automatic","automatic_async","manual"],"example":"automatic","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.capture_method","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the payment intent is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.test_mode","typeLabel":"boolean"},"amount_capturable":{"oneOf":[{"description":"The amount that can be captured from this PaymentIntent.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.amount_capturable.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The amount that can be captured from this PaymentIntent.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.amount_capturable.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.amount_capturable","typeLabel":"integer\u003cint32> | null"},"amount_received":{"oneOf":[{"description":"The amount that was received in cents.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.amount_received.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The amount that was received in cents.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.amount_received.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.amount_received","typeLabel":"integer\u003cint32> | null"},"application_fee_amount":{"oneOf":[{"description":"The amount of the Flex application fee.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.application_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The amount of the Flex application fee.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.application_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.application_fee_amount","typeLabel":"integer\u003cint32> | null"},"customer":{"oneOf":[{"type":"string","description":"The customer associated with the payment intent.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The customer associated with the payment intent.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.1","typeLabel":"object"},{"type":"null","description":"The customer associated with the payment intent.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.customer","typeLabel":"string | object | null"},"transfer_data":{"oneOf":[{"type":"object","description":"The data related to the amount being transferred.","required":["destination"],"example":{"amount":2500,"destination":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"properties":{"destination":{"description":"The destination account of the transfer.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.transfer_data.oneOf.0.destination","typeLabel":"string"},"amount":{"oneOf":[{"description":"The amount to transfer, in cents.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.transfer_data.oneOf.0.amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The amount to transfer, in cents.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.transfer_data.oneOf.0.amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.transfer_data.oneOf.0.amount","typeLabel":"integer\u003cint32> | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.transfer_data.oneOf.0","typeLabel":"object"},{"type":"null","description":"The data related to the amount being transferred.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.transfer_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.transfer_data","typeLabel":"object | null"},"latest_charge":{"oneOf":[{"type":"string","description":"The latest charge associated with the payment intent.","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.0","typeLabel":"string"},{"type":"object","description":"The latest charge associated with the payment intent.","required":["amount","amount_captured","amount_refunded","captured","charge_id","created_at","disputed","paid","payment_intent","refunded","status","test_mode"],"example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"charge_id":{"description":"Unique identifier for the charge.","type":"string","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.charge_id","typeLabel":"string"},"amount":{"description":"Amount intended to be collected by this payment.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.amount","typeLabel":"integer\u003cint32>"},"amount_captured":{"description":"Amount in cents captured (can be less than the amount attribute on the charge if a partial capture was made).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.amount_captured","typeLabel":"integer\u003cint32>"},"amount_refunded":{"description":"Amount in cents refunded (can be less than the amount attribute on the charge if a partial refund was made).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.amount_refunded","typeLabel":"integer\u003cint32>"},"captured":{"description":"If the charge was created without capturing, this Boolean represents whether it is still uncaptured or has since been captured.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.captured","typeLabel":"boolean"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.created_at","typeLabel":"string"},"disputed":{"description":"Whether the charge has been disputed.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.disputed","typeLabel":"boolean"},"paid":{"description":"true if the charge succeeded, or was successfully authorized for later capture.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.paid","typeLabel":"boolean"},"refunded":{"description":"Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunded","typeLabel":"boolean"},"payment_intent":{"$circularRef":"8fbcacc5-2464-4789-9a44-67dbaef1711b","description":"The payment intent that generated this charge.","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.payment_intent","typeLabel":"any"},"status":{"description":"The status of the charge.","type":"string","enum":["succeeded","pending","failed"],"example":"succeeded","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the charge was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.test_mode","typeLabel":"boolean"},"application_fee_amount":{"oneOf":[{"description":"The Flex application fee for the charge","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.application_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The Flex application fee for the charge","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.application_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.application_fee_amount","typeLabel":"integer\u003cint32> | null"},"customer":{"oneOf":[{"type":"string","description":"The customer this charge is for if one exists.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The customer this charge is for if one exists.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1","typeLabel":"object"},{"type":"null","description":"The customer this charge is for if one exists.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer","typeLabel":"string | object | null"},"invoice":{"oneOf":[{"type":"string","description":"The invoice this charge is for if one exists.","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.0","typeLabel":"string"},{"type":"object","description":"The invoice this charge is for if one exists.","required":["amount_due","amount_paid","collection_method","created_at","invoice_id","status","test_mode","total"],"example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"invoice_id":{"description":"The id of the invoice.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.invoice_id","typeLabel":"string"},"total":{"description":"The total amount of the invoice in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.total","typeLabel":"integer\u003cint32>"},"amount_due":{"description":"The amount due in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.amount_due","typeLabel":"integer\u003cint32>"},"amount_paid":{"description":"The amount paid in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.amount_paid","typeLabel":"integer\u003cint32>"},"status":{"description":"The status of the invoice.","type":"string","enum":["draft","open","void","paid","uncollectible"],"example":"draft","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.status","typeLabel":"enum\u003cstring>"},"collection_method":{"description":"Either charge_automatically or send_invoice. When charging automatically, Flex will attempt to pay this invoice using the default payment method attached to the customer. When sending an invoice, Flex will email this invoice to the customer with payment instructions.","type":"string","enum":["charge_automatically","send_invoice"],"example":"charge_automatically","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.collection_method","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether or not the invoice was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.test_mode","typeLabel":"boolean"},"created_at":{"description":"When the invoice was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.created_at","typeLabel":"string"},"payment_intent":{"oneOf":[{"description":"The payment intent associated with this invoice. The payment intent is created when the invoice is finalized.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.payment_intent.oneOf.0","typeLabel":"any"},{"type":"null","description":"The payment intent associated with this invoice. The payment intent is created when the invoice is finalized.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.payment_intent.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.payment_intent","typeLabel":"any | null"},"charge":{"oneOf":[{"description":"The id of the latest charge for this invoice.","type":"string","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.charge.oneOf.0","typeLabel":"string"},{"description":"The id of the latest charge for this invoice.","type":"null","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.charge.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.charge","typeLabel":"string | null"},"customer":{"oneOf":[{"type":"string","description":"The id of the customer this invoice is for.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The id of the customer this invoice is for.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"type":"any","description":"The customer's shipping address.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping","typeLabel":"any"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1","typeLabel":"object"},{"type":"null","description":"The id of the customer this invoice is for.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer","typeLabel":"string | object | null"},"period_end":{"oneOf":[{"type":"string","description":"End of the usage period.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.period_end.oneOf.0","typeLabel":"string"},{"type":"null","description":"End of the usage period.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.period_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.period_end","typeLabel":"string | null"},"period_start":{"oneOf":[{"type":"string","description":"Start of the usage period.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.period_start.oneOf.0","typeLabel":"string"},{"type":"null","description":"Start of the usage period.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.period_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.period_start","typeLabel":"string | null"},"subscription":{"oneOf":[{"type":"string","description":"The subscription that this invoice was prepared for.","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.0","typeLabel":"string"},{"type":"object","description":"The subscription that this invoice was prepared for.","required":["cancel_at_period_end","created_at","items","status","subscription_id","test_mode"],"example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"subscription_id":{"description":"Unique identifier for the object.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.subscription_id","typeLabel":"string"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.created_at","typeLabel":"string"},"items":{"description":"The items the customer is subscribed to.","type":"array","items":{"description":"A Subscription Item represents a single recurring Price billed as part of a Subscription, together with the quantity of that price the customer is subscribed to. A subscription has one item per recurring price it bills.","type":"object","required":["created_at","price","quantity","subscription_item_id","test_mode"],"properties":{"subscription_item_id":{"description":"Unique identifier for the subscription item.","type":"string","example":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].subscription_item_id","typeLabel":"string"},"price":{"type":"any","description":"The recurring Price this item bills. Returned as a price ID by default, or as the full Price object when expanded.","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price","typeLabel":"any"},"quantity":{"description":"The number of units of the price the customer is subscribed to.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"created_at":{"description":"Time at which the subscription item was created, as an RFC 3339 timestamp.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].created_at","typeLabel":"string"},"test_mode":{"description":"Whether the subscription item exists in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].test_mode","typeLabel":"boolean"},"updated_at":{"type":"any","description":"Time at which the subscription item was last updated, as an RFC 3339 timestamp. `null` if the item has not been updated since creation.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].updated_at","typeLabel":"any"}},"example":{"subscription_item_id":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","price":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","quantity":2500,"created_at":"2026-06-15T14:30:00Z","updated_at":"2026-06-15T14:30:00Z","test_mode":false},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items","typeLabel":"object[]"},"status":{"description":"Possible values are incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, or paused.","type":"string","enum":["incomplete","incomplete_expired","trialing","active","past_due","canceled","unpaid","paused"],"example":"incomplete","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.status","typeLabel":"enum\u003cstring>"},"cancel_at_period_end":{"description":"If the subscription has been canceled with the at_period_end flag set to true, cancel_at_period_end on the subscription will be true. You can use this attribute to determine whether a subscription that has a status of active is scheduled to be canceled at the end of the current period.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at_period_end","typeLabel":"boolean"},"test_mode":{"description":"Whether the subscription is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.test_mode","typeLabel":"boolean"},"latest_invoice":{"type":"any","description":"The ID of the latest invoice generated for this subscription.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.latest_invoice","typeLabel":"any"},"customer":{"type":"any","description":"The ID of the customer who owns the subscription.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer","typeLabel":"any"},"current_period_end":{"type":"any","description":"End of the current period that the subscription has been invoiced for.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_end","typeLabel":"any"},"current_period_start":{"type":"any","description":"Start of the current period that the subscription has been invoiced for.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_start","typeLabel":"any"},"metadata":{"oneOf":[{"description":"A set of key/value pairs that you can attach to a subscription object.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"A set of key/value pairs that you can attach to a subscription object.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.metadata","typeLabel":"object | null"},"client_secret":{"type":"any","description":"Client secrets used to confirm the subscription's first payment or payment-method setup from your frontend. Present only while the subscription is being activated; omitted otherwise. Do not log or store these secrets; expose them only to the customer over TLS.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret","typeLabel":"any"},"proration_behavior":{"type":"any","description":"The proration behavior for the subscription.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.proration_behavior","typeLabel":"any"},"trial_start":{"type":"any","description":"Start of the subscription's trial period, as an RFC 3339 timestamp. `null` if the subscription has no trial.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_start","typeLabel":"any"},"trial_end":{"type":"any","description":"End of the subscription's trial period, as an RFC 3339 timestamp. After this time the customer is billed normally. `null` if the subscription has no trial.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_end","typeLabel":"any"},"cancel_at":{"type":"any","description":"A future RFC 3339 timestamp at which the subscription will automatically be canceled. `null` unless a future cancellation has been scheduled.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at","typeLabel":"any"},"canceled_at":{"type":"any","description":"The RFC 3339 timestamp at which the subscription was actually canceled. `null` if the subscription has not been canceled. Unlike `cancel_at` (a future scheduled cancellation), this is set once the cancellation has occurred.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.canceled_at","typeLabel":"any"},"default_payment_method":{"type":"any","description":"The default payment method for the subscription (expandable).","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method","typeLabel":"any"},"backup_payment_method":{"type":"any","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method","typeLabel":"any"},"discounts":{"oneOf":[{"description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)","type":"array","items":{"description":"A Discount object represents the application of a coupon or promotion code to a checkout session, customer, subscription, or invoice. It records which coupon was redeemed, what the discount was applied to, and the time window over which it applies.","type":"object","required":["discount_id","source","start","test_mode"],"properties":{"discount_id":{"description":"The ID of the discount.","type":"string","example":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].discount_id","typeLabel":"string"},"source":{"description":"The source of the discount (coupon or promotion code).","type":"object","required":["coupon","type"],"properties":{"coupon":{"type":"any","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon","typeLabel":"any"},"type":{"description":"The type of source.","type":"string","enum":["coupon","promotion_code"],"example":"coupon","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.type","typeLabel":"enum\u003cstring>"}},"example":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source","typeLabel":"object"},"test_mode":{"description":"Whether the discount was applied in test mode","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].test_mode","typeLabel":"boolean"},"start":{"description":"Date that the coupon was applied.","type":"string","example":"string","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].start","typeLabel":"string"},"checkout_session":{"oneOf":[{"description":"The checkout session that the discount was applied to.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session.oneOf.0","typeLabel":"string"},{"description":"The checkout session that the discount was applied to.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session","typeLabel":"string | null"},"customer":{"oneOf":[{"description":"The customer that the discount was applied to.","type":"string","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer.oneOf.0","typeLabel":"string"},{"description":"The customer that the discount was applied to.","type":"null","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer","typeLabel":"string | null"},"subscription":{"oneOf":[{"description":"The subscription that the discount was applied to.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription.oneOf.0","typeLabel":"string"},{"description":"The subscription that the discount was applied to.","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription","typeLabel":"string | null"},"invoice":{"oneOf":[{"description":"The invoice that the discount was applied to.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice.oneOf.0","typeLabel":"string"},{"description":"The invoice that the discount was applied to.","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice","typeLabel":"string | null"},"promo_code":{"oneOf":[{"description":"The promo code applied to create the discount.","type":"string","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code.oneOf.0","typeLabel":"string"},{"description":"The promo code applied to create the discount.","type":"null","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code","typeLabel":"string | null"},"end":{"type":"any","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].end","typeLabel":"any"}},"example":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0","typeLabel":"object[]"},{"description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)","type":"null","items":{"description":"A Discount object represents the application of a coupon or promotion code to a checkout session, customer, subscription, or invoice. It records which coupon was redeemed, what the discount was applied to, and the time window over which it applies.","type":"object","required":["discount_id","source","start","test_mode"],"properties":{"discount_id":{"description":"The ID of the discount.","type":"string","example":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"checkout_session":{"oneOf":[{"description":"The checkout session that the discount was applied to.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The checkout session that the discount was applied to.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"customer":{"oneOf":[{"description":"The customer that the discount was applied to.","type":"string","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The customer that the discount was applied to.","type":"null","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"subscription":{"oneOf":[{"description":"The subscription that the discount was applied to.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The subscription that the discount was applied to.","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"invoice":{"oneOf":[{"description":"The invoice that the discount was applied to.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The invoice that the discount was applied to.","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"source":{"description":"The source of the discount (coupon or promotion code).","type":"object","required":["coupon","type"],"properties":{"coupon":{"type":"any","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"type":{"description":"The type of source.","type":"string","enum":["coupon","promotion_code"],"example":"coupon"}},"example":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"}},"promo_code":{"oneOf":[{"description":"The promo code applied to create the discount.","type":"string","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The promo code applied to create the discount.","type":"null","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether the discount was applied in test mode","type":"boolean","example":false},"end":{"type":"any","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null."},"start":{"description":"Date that the coupon was applied.","type":"string","example":"string"}},"example":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts","typeLabel":"object[] | null"},"pause":{"type":"any","description":"The current pause. Present only while the subscription is paused.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause","typeLabel":"any"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1","typeLabel":"object"},{"type":"null","description":"The subscription that this invoice was prepared for.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription","typeLabel":"string | object | null"},"paid_at":{"oneOf":[{"type":"string","description":"When the invoice was paid.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.paid_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the invoice was paid.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.paid_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.paid_at","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the invoice.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the invoice.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.metadata","typeLabel":"object | null"},"backup_charge_status":{"oneOf":[{"type":"string","description":"Outcome of the backup-payment-method fallback for this invoice. Omitted when no fallback applied. `succeeded` on a paid invoice means the subscription's backup card covered this renewal after the default payment method failed.","enum":["pending","succeeded","failed","skipped"],"example":"pending","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.backup_charge_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Outcome of the backup-payment-method fallback for this invoice. Omitted when no fallback applied. `succeeded` on a paid invoice means the subscription's backup card covered this renewal after the default payment method failed.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.backup_charge_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.backup_charge_status","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1","typeLabel":"object"},{"type":"null","description":"The invoice this charge is for if one exists.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice","typeLabel":"string | object | null"},"failure_message":{"oneOf":[{"description":"Message to user further explaining reason for charge failure if available.","type":"string","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_message.oneOf.0","typeLabel":"string"},{"description":"Message to user further explaining reason for charge failure if available.","type":"null","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_message","typeLabel":"string | null"},"refunds":{"oneOf":[{"description":"A list of refunds that have been applied to the charge.","type":"array","items":{"oneOf":[{"type":"string","description":"An expandable field — either a string ID or an expanded Refund object.","example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"object","description":"An expandable field — either a string ID or an expanded Refund object.","required":["amount","created_at","refund_id","status","test_mode"],"example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"refund_id":{"description":"The ID of the refund","type":"string","example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.refund_id","typeLabel":"string"},"amount":{"description":"The amount of the refund in cents","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.amount","typeLabel":"integer\u003cint32>"},"created_at":{"description":"The time at which the refund was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.created_at","typeLabel":"string"},"status":{"description":"The status of the refund","type":"string","enum":["pending","requires_action","succeeded","failed","canceled"],"example":"pending","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the refund was created in test mode","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.test_mode","typeLabel":"boolean"},"payment_intent_id":{"oneOf":[{"description":"The ID of the payment intent that the refund is associated with","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.payment_intent_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the payment intent that the refund is associated with","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.payment_intent_id","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","description":"The reason for the refund","enum":["duplicate","fraudulent","requested_by_customer","expired_uncaptured_charge"],"example":"duplicate","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The reason for the refund","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reason","typeLabel":"enum\u003cstring> | null"},"metadata":{"oneOf":[{"description":"Metadata attached to the refund","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata attached to the refund","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.metadata","typeLabel":"object | null"},"reference_id":{"oneOf":[{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_id.oneOf.0","typeLabel":"string"},{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_id","typeLabel":"string | null"},"reference_type":{"oneOf":[{"type":"string","description":"Type of the reference number used for the refund","enum":["acquirer_reference_number","system_trace_audit_number","retrieval_reference_number"],"example":"acquirer_reference_number","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Type of the reference number used for the refund","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_type","typeLabel":"enum\u003cstring> | null"},"reference_status":{"oneOf":[{"type":"string","description":"Status of the reference number used for the refund","enum":["available","pending","unavailable"],"example":"available","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Status of the reference number used for the refund","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_status","typeLabel":"enum\u003cstring> | null"},"items":{"description":"List of refund items (charges that were refunded)","default":[],"type":"array","items":{"description":"Represents a single refund item (charge that was refunded)","type":"object","required":["amount_refunded"],"properties":{"amount_refunded":{"description":"The amount refunded from this charge in cents","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].amount_refunded","typeLabel":"integer\u003cint32>"},"payment_intent":{"oneOf":[{"description":"The ID of the payment intent that the refund is associated with","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_intent.oneOf.0","typeLabel":"string"},{"description":"The ID of the payment intent that the refund is associated with","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_intent.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_intent","typeLabel":"string | null"},"payment_method_id":{"oneOf":[{"description":"The ID of the payment method used for this refund","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_method_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the payment method used for this refund","type":"null","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_method_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_method_id","typeLabel":"string | null"},"reference_id":{"oneOf":[{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_id.oneOf.0","typeLabel":"string"},{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_id","typeLabel":"string | null"},"reference_type":{"oneOf":[{"type":"string","description":"Type of the reference number used for the refund","enum":["acquirer_reference_number","system_trace_audit_number","retrieval_reference_number"],"example":"acquirer_reference_number","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Type of the reference number used for the refund","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_type","typeLabel":"enum\u003cstring> | null"},"reference_status":{"oneOf":[{"type":"string","description":"Status of the reference number used for the refund","enum":["available","pending","unavailable"],"example":"available","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Status of the reference number used for the refund","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_status","typeLabel":"enum\u003cstring> | null"}},"example":{"amount_refunded":2500,"payment_intent":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","payment_method_id":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","reference_id":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","reference_type":"acquirer_reference_number","reference_status":"available"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items","typeLabel":"object[]"},"subscription_id":{"oneOf":[{"description":"The subscription this refund is associated with (for subscription cancellation refunds)","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.subscription_id.oneOf.0","typeLabel":"string"},{"description":"The subscription this refund is associated with (for subscription cancellation refunds)","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.subscription_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.subscription_id","typeLabel":"string | null"},"invoice_id":{"oneOf":[{"description":"The invoice this refund is associated with (for subscription billing period refunds)","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.invoice_id.oneOf.0","typeLabel":"string"},{"description":"The invoice this refund is associated with (for subscription billing period refunds)","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.invoice_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.invoice_id","typeLabel":"string | null"},"balance_transaction":{"oneOf":[{"type":"string","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.0","typeLabel":"string"},{"type":"object","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.balance_transaction_id","typeLabel":"string"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.amount","typeLabel":"integer\u003cint32>"},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.fee","typeLabel":"integer\u003cint32>"},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.net","typeLabel":"integer\u003cint32>"},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.test_mode","typeLabel":"boolean"},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.available_on.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.available_on.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.available_on","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.created_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.created_at","typeLabel":"string | null"},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.exchange_rate","typeLabel":"number\u003cdouble> | null"},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.reporting_category.oneOf.0","typeLabel":"string"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.reporting_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.reporting_category","typeLabel":"string | null"},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.checkout_session_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.checkout_session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.checkout_session_id","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.client_reference_id","typeLabel":"string | null"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.source_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.source_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.source_id","typeLabel":"string | null"},"type":{"oneOf":[{"description":"The type of transaction.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.type.oneOf.0","typeLabel":"string"},{"description":"The type of transaction.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.type","typeLabel":"string | null"},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id","typeLabel":"string | null"},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.mid.oneOf.0","typeLabel":"string"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.mid.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.mid","typeLabel":"string | null"},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.currency.oneOf.0","typeLabel":"string"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.currency","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.metadata","typeLabel":"object | null"},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount","typeLabel":"integer\u003cint32> | null"},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount","typeLabel":"integer\u003cint32> | null"},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount","typeLabel":"integer\u003cint32> | null"},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount","typeLabel":"integer\u003cint32> | null"},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_type.oneOf.0","typeLabel":"string"},{"description":"Card funding type used for the transaction.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_type","typeLabel":"string | null"},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_network.oneOf.0","typeLabel":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_network.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_network","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1","typeLabel":"object"},{"type":"null","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction","typeLabel":"string | object | null"},"failure_balance_transaction":{"oneOf":[{"type":"string","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.0","typeLabel":"string"},{"type":"object","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.balance_transaction_id","typeLabel":"string"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.amount","typeLabel":"integer\u003cint32>"},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.fee","typeLabel":"integer\u003cint32>"},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.net","typeLabel":"integer\u003cint32>"},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.test_mode","typeLabel":"boolean"},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.available_on.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.available_on.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.available_on","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.created_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.created_at","typeLabel":"string | null"},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate","typeLabel":"number\u003cdouble> | null"},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.reporting_category.oneOf.0","typeLabel":"string"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.reporting_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.reporting_category","typeLabel":"string | null"},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id","typeLabel":"string | null"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.source_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.source_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.source_id","typeLabel":"string | null"},"type":{"oneOf":[{"description":"The type of transaction.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.type.oneOf.0","typeLabel":"string"},{"description":"The type of transaction.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.type","typeLabel":"string | null"},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id","typeLabel":"string | null"},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.mid.oneOf.0","typeLabel":"string"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.mid.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.mid","typeLabel":"string | null"},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.currency.oneOf.0","typeLabel":"string"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.currency","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.metadata","typeLabel":"object | null"},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount","typeLabel":"integer\u003cint32> | null"},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount","typeLabel":"integer\u003cint32> | null"},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount","typeLabel":"integer\u003cint32> | null"},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount","typeLabel":"integer\u003cint32> | null"},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_type.oneOf.0","typeLabel":"string"},{"description":"Card funding type used for the transaction.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_type","typeLabel":"string | null"},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_network.oneOf.0","typeLabel":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_network.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_network","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1","typeLabel":"object"},{"type":"null","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction","typeLabel":"string | object | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX]","typeLabel":"string | object"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0","typeLabel":"(string | object)[]"},{"description":"A list of refunds that have been applied to the charge.","type":"null","items":{"oneOf":[{"type":"string","description":"An expandable field — either a string ID or an expanded Refund object.","example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"An expandable field — either a string ID or an expanded Refund object.","required":["amount","created_at","refund_id","status","test_mode"],"example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"refund_id":{"description":"The ID of the refund","type":"string","example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"payment_intent_id":{"oneOf":[{"description":"The ID of the payment intent that the refund is associated with","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The ID of the payment intent that the refund is associated with","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"amount":{"description":"The amount of the refund in cents","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"created_at":{"description":"The time at which the refund was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z"},"reason":{"oneOf":[{"type":"string","description":"The reason for the refund","enum":["duplicate","fraudulent","requested_by_customer","expired_uncaptured_charge"],"example":"duplicate"},{"type":"null","description":"The reason for the refund"}]},"status":{"description":"The status of the refund","type":"string","enum":["pending","requires_action","succeeded","failed","canceled"],"example":"pending"},"test_mode":{"description":"Whether the refund was created in test mode","type":"boolean","example":false},"metadata":{"oneOf":[{"description":"Metadata attached to the refund","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Metadata attached to the refund","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"reference_id":{"oneOf":[{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"reference_type":{"oneOf":[{"type":"string","description":"Type of the reference number used for the refund","enum":["acquirer_reference_number","system_trace_audit_number","retrieval_reference_number"],"example":"acquirer_reference_number"},{"type":"null","description":"Type of the reference number used for the refund"}]},"reference_status":{"oneOf":[{"type":"string","description":"Status of the reference number used for the refund","enum":["available","pending","unavailable"],"example":"available"},{"type":"null","description":"Status of the reference number used for the refund"}]},"items":{"description":"List of refund items (charges that were refunded)","default":[],"type":"array","items":{"description":"Represents a single refund item (charge that was refunded)","type":"object","required":["amount_refunded"],"properties":{"amount_refunded":{"description":"The amount refunded from this charge in cents","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"payment_intent":{"oneOf":[{"description":"The ID of the payment intent that the refund is associated with","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The ID of the payment intent that the refund is associated with","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"payment_method_id":{"oneOf":[{"description":"The ID of the payment method used for this refund","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The ID of the payment method used for this refund","type":"null","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"reference_id":{"oneOf":[{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"reference_type":{"oneOf":[{"type":"string","description":"Type of the reference number used for the refund","enum":["acquirer_reference_number","system_trace_audit_number","retrieval_reference_number"],"example":"acquirer_reference_number"},{"type":"null","description":"Type of the reference number used for the refund"}]},"reference_status":{"oneOf":[{"type":"string","description":"Status of the reference number used for the refund","enum":["available","pending","unavailable"],"example":"available"},{"type":"null","description":"Status of the reference number used for the refund"}]}},"example":{"amount_refunded":2500,"payment_intent":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","payment_method_id":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","reference_id":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","reference_type":"acquirer_reference_number","reference_status":"available"}}},"subscription_id":{"oneOf":[{"description":"The subscription this refund is associated with (for subscription cancellation refunds)","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The subscription this refund is associated with (for subscription cancellation refunds)","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"invoice_id":{"oneOf":[{"description":"The invoice this refund is associated with (for subscription billing period refunds)","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The invoice this refund is associated with (for subscription billing period refunds)","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"balance_transaction":{"oneOf":[{"type":"string","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp."}]},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"}]},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1}]},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value"}]},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"type":{"oneOf":[{"description":"The type of transaction.","type":"string"},{"description":"The type of transaction.","type":"null"}]},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value"}]},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd"}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string"},{"description":"Card funding type used for the transaction.","type":"null"}]},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null"}]}}},{"type":"null","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object."}]},"failure_balance_transaction":{"oneOf":[{"type":"string","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp."}]},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"}]},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1}]},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value"}]},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"type":{"oneOf":[{"description":"The type of transaction.","type":"string"},{"description":"The type of transaction.","type":"null"}]},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value"}]},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd"}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string"},{"description":"Card funding type used for the transaction.","type":"null"}]},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null"}]}}},{"type":"null","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance."}]}}}]},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds","typeLabel":"(string | object)[] | null"},"transfer_group":{"oneOf":[{"description":"A string that identifies the resulting payment as part of a group","type":"string","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.transfer_group.oneOf.0","typeLabel":"string"},{"description":"A string that identifies the resulting payment as part of a group","type":"null","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.transfer_group.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.transfer_group","typeLabel":"string | null"},"payment_method_id":{"oneOf":[{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.payment_method_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the PaymentMethod.","type":"null","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.payment_method_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.payment_method_id","typeLabel":"string | null"},"three_d_secure":{"oneOf":[{"type":"object","description":"3D Secure authentication outcome details, if 3DS was used.","example":{"authentication_flow":"string","result":"string","result_reason":"string","version":"string"},"properties":{"authentication_flow":{"oneOf":[{"description":"How the customer was authenticated: `challenge` or `frictionless`.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.authentication_flow.oneOf.0","typeLabel":"string"},{"description":"How the customer was authenticated: `challenge` or `frictionless`.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.authentication_flow.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.authentication_flow","typeLabel":"string | null"},"result":{"oneOf":[{"description":"Outcome of 3D Secure authentication.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.result.oneOf.0","typeLabel":"string"},{"description":"Outcome of 3D Secure authentication.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.result.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.result","typeLabel":"string | null"},"result_reason":{"oneOf":[{"description":"Additional detail about why 3DS succeeded or failed.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.result_reason.oneOf.0","typeLabel":"string"},{"description":"Additional detail about why 3DS succeeded or failed.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.result_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.result_reason","typeLabel":"string | null"},"version":{"oneOf":[{"description":"The version of 3D Secure used.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.version.oneOf.0","typeLabel":"string"},{"description":"The version of 3D Secure used.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.version.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.version","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0","typeLabel":"object"},{"type":"null","description":"3D Secure authentication outcome details, if 3DS was used.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure","typeLabel":"object | null"},"decline_details":{"oneOf":[{"type":"object","description":"Decline and risk details for failed or blocked charges.","example":{"failure_code":"string","decline_code":"string","failure_message":"string","outcome_type":"string","network_status":"string","seller_message":"string","reason":"string","risk_level":"string"},"properties":{"failure_code":{"oneOf":[{"description":"Error code for the charge failure (e.g. `card_declined`, `expired_card`).","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.failure_code.oneOf.0","typeLabel":"string"},{"description":"Error code for the charge failure (e.g. `card_declined`, `expired_card`).","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.failure_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.failure_code","typeLabel":"string | null"},"decline_code":{"oneOf":[{"description":"More specific decline reason (e.g. `insufficient_funds`, `lost_card`).","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.decline_code.oneOf.0","typeLabel":"string"},{"description":"More specific decline reason (e.g. `insufficient_funds`, `lost_card`).","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.decline_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.decline_code","typeLabel":"string | null"},"failure_message":{"oneOf":[{"description":"User-facing failure message.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.failure_message.oneOf.0","typeLabel":"string"},{"description":"User-facing failure message.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.failure_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.failure_message","typeLabel":"string | null"},"outcome_type":{"oneOf":[{"description":"The outcome type of the decline.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.outcome_type.oneOf.0","typeLabel":"string"},{"description":"The outcome type of the decline.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.outcome_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.outcome_type","typeLabel":"string | null"},"network_status":{"oneOf":[{"description":"Network-level status: `approved_by_network`, `declined_by_network`, etc.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.network_status.oneOf.0","typeLabel":"string"},{"description":"Network-level status: `approved_by_network`, `declined_by_network`, etc.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.network_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.network_status","typeLabel":"string | null"},"seller_message":{"oneOf":[{"description":"Technical explanation of the outcome for the merchant.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.seller_message.oneOf.0","typeLabel":"string"},{"description":"Technical explanation of the outcome for the merchant.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.seller_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.seller_message","typeLabel":"string | null"},"reason":{"oneOf":[{"description":"Fraud/risk reason (e.g. `elevated_risk_level`).","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.reason.oneOf.0","typeLabel":"string"},{"description":"Fraud/risk reason (e.g. `elevated_risk_level`).","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.reason","typeLabel":"string | null"},"risk_level":{"oneOf":[{"description":"The risk level assessed for the payment.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.risk_level.oneOf.0","typeLabel":"string"},{"description":"The risk level assessed for the payment.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.risk_level.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.risk_level","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0","typeLabel":"object"},{"type":"null","description":"Decline and risk details for failed or blocked charges.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details","typeLabel":"object | null"},"balance_transaction":{"oneOf":[{"type":"string","description":"Balance transaction that describes the impact of this charge on your balance. Populated on successful capture, returned as the balance transaction ID. Always serialized; `null` for uncaptured charges.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.0","typeLabel":"string"},{"type":"object","description":"Balance transaction that describes the impact of this charge on your balance. Populated on successful capture, returned as the balance transaction ID. Always serialized; `null` for uncaptured charges.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.balance_transaction_id","typeLabel":"string"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.amount","typeLabel":"integer\u003cint32>"},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.fee","typeLabel":"integer\u003cint32>"},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.net","typeLabel":"integer\u003cint32>"},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.test_mode","typeLabel":"boolean"},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.available_on.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.available_on.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.available_on","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.created_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.created_at","typeLabel":"string | null"},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.exchange_rate","typeLabel":"number\u003cdouble> | null"},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.reporting_category.oneOf.0","typeLabel":"string"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.reporting_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.reporting_category","typeLabel":"string | null"},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.checkout_session_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.checkout_session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.checkout_session_id","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.client_reference_id","typeLabel":"string | null"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.source_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.source_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.source_id","typeLabel":"string | null"},"type":{"oneOf":[{"description":"The type of transaction.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.type.oneOf.0","typeLabel":"string"},{"description":"The type of transaction.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.type","typeLabel":"string | null"},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id","typeLabel":"string | null"},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.mid.oneOf.0","typeLabel":"string"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.mid.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.mid","typeLabel":"string | null"},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.currency.oneOf.0","typeLabel":"string"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.currency","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.metadata","typeLabel":"object | null"},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount","typeLabel":"integer\u003cint32> | null"},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount","typeLabel":"integer\u003cint32> | null"},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount","typeLabel":"integer\u003cint32> | null"},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount","typeLabel":"integer\u003cint32> | null"},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.card_type.oneOf.0","typeLabel":"string"},{"description":"Card funding type used for the transaction.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.card_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.card_type","typeLabel":"string | null"},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.card_network.oneOf.0","typeLabel":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.card_network.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.card_network","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1","typeLabel":"object"},{"type":"null","description":"Balance transaction that describes the impact of this charge on your balance. Populated on successful capture, returned as the balance transaction ID. Always serialized; `null` for uncaptured charges.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction","typeLabel":"string | object | null"},"failure_balance_transaction":{"oneOf":[{"type":"string","description":"Reversal balance transaction created when a captured charge fails or is otherwise reversed and funds are credited back. Always serialized; `null` on the common success path.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.0","typeLabel":"string"},{"type":"object","description":"Reversal balance transaction created when a captured charge fails or is otherwise reversed and funds are credited back. Always serialized; `null` on the common success path.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.balance_transaction_id","typeLabel":"string"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.amount","typeLabel":"integer\u003cint32>"},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.fee","typeLabel":"integer\u003cint32>"},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.net","typeLabel":"integer\u003cint32>"},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.test_mode","typeLabel":"boolean"},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.available_on.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.available_on.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.available_on","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.created_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.created_at","typeLabel":"string | null"},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate","typeLabel":"number\u003cdouble> | null"},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.reporting_category.oneOf.0","typeLabel":"string"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.reporting_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.reporting_category","typeLabel":"string | null"},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id","typeLabel":"string | null"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.source_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.source_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.source_id","typeLabel":"string | null"},"type":{"oneOf":[{"description":"The type of transaction.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.type.oneOf.0","typeLabel":"string"},{"description":"The type of transaction.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.type","typeLabel":"string | null"},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id","typeLabel":"string | null"},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.mid.oneOf.0","typeLabel":"string"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.mid.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.mid","typeLabel":"string | null"},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.currency.oneOf.0","typeLabel":"string"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.currency","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.metadata","typeLabel":"object | null"},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount","typeLabel":"integer\u003cint32> | null"},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount","typeLabel":"integer\u003cint32> | null"},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount","typeLabel":"integer\u003cint32> | null"},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount","typeLabel":"integer\u003cint32> | null"},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.card_type.oneOf.0","typeLabel":"string"},{"description":"Card funding type used for the transaction.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.card_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.card_type","typeLabel":"string | null"},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.card_network.oneOf.0","typeLabel":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.card_network.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.card_network","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1","typeLabel":"object"},{"type":"null","description":"Reversal balance transaction created when a captured charge fails or is otherwise reversed and funds are credited back. Always serialized; `null` on the common success path.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction","typeLabel":"string | object | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1","typeLabel":"object"},{"type":"null","description":"The latest charge associated with the payment intent.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.latest_charge","typeLabel":"string | object | null"},"invoice":{"oneOf":[{"type":"string","description":"The invoice associated with the payment intent.","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.0","typeLabel":"string"},{"type":"object","description":"The invoice associated with the payment intent.","required":["amount_due","amount_paid","collection_method","created_at","invoice_id","status","test_mode","total"],"example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"invoice_id":{"description":"The id of the invoice.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.invoice_id","typeLabel":"string"},"total":{"description":"The total amount of the invoice in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.total","typeLabel":"integer\u003cint32>"},"amount_due":{"description":"The amount due in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.amount_due","typeLabel":"integer\u003cint32>"},"amount_paid":{"description":"The amount paid in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.amount_paid","typeLabel":"integer\u003cint32>"},"status":{"description":"The status of the invoice.","type":"string","enum":["draft","open","void","paid","uncollectible"],"example":"draft","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.status","typeLabel":"enum\u003cstring>"},"collection_method":{"description":"Either charge_automatically or send_invoice. When charging automatically, Flex will attempt to pay this invoice using the default payment method attached to the customer. When sending an invoice, Flex will email this invoice to the customer with payment instructions.","type":"string","enum":["charge_automatically","send_invoice"],"example":"charge_automatically","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.collection_method","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether or not the invoice was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.test_mode","typeLabel":"boolean"},"created_at":{"description":"When the invoice was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.created_at","typeLabel":"string"},"payment_intent":{"oneOf":[{"description":"The payment intent associated with this invoice. The payment intent is created when the invoice is finalized.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.payment_intent.oneOf.0","typeLabel":"any"},{"type":"null","description":"The payment intent associated with this invoice. The payment intent is created when the invoice is finalized.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.payment_intent.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.payment_intent","typeLabel":"any | null"},"charge":{"oneOf":[{"description":"The id of the latest charge for this invoice.","type":"string","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.charge.oneOf.0","typeLabel":"string"},{"description":"The id of the latest charge for this invoice.","type":"null","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.charge.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.charge","typeLabel":"string | null"},"customer":{"oneOf":[{"type":"string","description":"The id of the customer this invoice is for.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The id of the customer this invoice is for.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1","typeLabel":"object"},{"type":"null","description":"The id of the customer this invoice is for.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer","typeLabel":"string | object | null"},"period_end":{"oneOf":[{"type":"string","description":"End of the usage period.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.period_end.oneOf.0","typeLabel":"string"},{"type":"null","description":"End of the usage period.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.period_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.period_end","typeLabel":"string | null"},"period_start":{"oneOf":[{"type":"string","description":"Start of the usage period.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.period_start.oneOf.0","typeLabel":"string"},{"type":"null","description":"Start of the usage period.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.period_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.period_start","typeLabel":"string | null"},"subscription":{"oneOf":[{"type":"string","description":"The subscription that this invoice was prepared for.","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.0","typeLabel":"string"},{"type":"object","description":"The subscription that this invoice was prepared for.","required":["cancel_at_period_end","created_at","items","status","subscription_id","test_mode"],"example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"subscription_id":{"description":"Unique identifier for the object.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.subscription_id","typeLabel":"string"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.created_at","typeLabel":"string"},"items":{"description":"The items the customer is subscribed to.","type":"array","items":{"description":"A Subscription Item represents a single recurring Price billed as part of a Subscription, together with the quantity of that price the customer is subscribed to. A subscription has one item per recurring price it bills.","type":"object","required":["created_at","price","quantity","subscription_item_id","test_mode"],"properties":{"subscription_item_id":{"description":"Unique identifier for the subscription item.","type":"string","example":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].subscription_item_id","typeLabel":"string"},"price":{"oneOf":[{"type":"string","description":"The recurring Price this item bills. Returned as a price ID by default, or as the full Price object when expanded.","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.0","typeLabel":"string"},{"type":"object","description":"The recurring Price this item bills. Returned as a price ID by default, or as the full Price object when expanded.","required":["active","created_at","price_id","product","test_mode","type","unit_amount"],"example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"price_id":{"description":"The unique identifier for the price.","type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.price_id","typeLabel":"string"},"unit_amount":{"description":"The amount to charge per unit, in the smallest currency unit (e.g., `2500` = $25.00 USD).","type":"integer","format":"int32","minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.unit_amount","typeLabel":"integer\u003cint32>"},"active":{"description":"Whether the price is currently active.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.active","typeLabel":"boolean"},"product":{"oneOf":[{"type":"string","description":"The product this price belongs to. Returned as a product ID by default, or as the full Product object when expanded.","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.0","typeLabel":"string"},{"type":"object","description":"The product this price belongs to. Returned as a product ID by default, or as the full Product object when expanded.","required":["active","created_at","hsa_fsa_eligibility","name","product_id","test_mode"],"example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"product_id":{"description":"The unique identifier for the product.","type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.product_id","typeLabel":"string"},"name":{"description":"The name of the product.","type":"string","example":"Example","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.name","typeLabel":"string"},"created_at":{"description":"The date the product was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.created_at","typeLabel":"string"},"active":{"description":"Determines if the product is active or not.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.active","typeLabel":"boolean"},"hsa_fsa_eligibility":{"description":"The elegibility of the product for HSA/FSA.","type":"string","enum":["not_eligible","auto_substantiation","private_label","letter_of_medical_necessity","prescription","vision","service","pending"],"example":"not_eligible","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.hsa_fsa_eligibility","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the product is in test mode or not.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The ID of the account that owns this product. For products shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the account that owns this product. For products shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"null","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.owner_partner_id","typeLabel":"string | null"},"description":{"oneOf":[{"description":"The description of the product.","type":"string","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.description.oneOf.0","typeLabel":"string"},{"description":"The description of the product.","type":"null","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.description","typeLabel":"string | null"},"document_description":{"oneOf":[{"description":"Medical-grade description optimized for use in Letters of Medical Necessity and receipts.","deprecated":true,"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.document_description.oneOf.0","typeLabel":"string"},{"description":"Medical-grade description optimized for use in Letters of Medical Necessity and receipts.","deprecated":true,"type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.document_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.document_description","typeLabel":"string | null"},"receipt_description":{"oneOf":[{"description":"Shortened description tailored to receipt line items","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.receipt_description.oneOf.0","typeLabel":"string"},{"description":"Shortened description tailored to receipt line items","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.receipt_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.receipt_description","typeLabel":"string | null"},"visit_type":{"type":"any","description":"The visit type of the product if a letter of medical necessity is required.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.visit_type","typeLabel":"any"},"upc_code":{"oneOf":[{"description":"The upc code of the product.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.upc_code.oneOf.0","typeLabel":"string"},{"description":"The upc code of the product.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.upc_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.upc_code","typeLabel":"string | null"},"gtin":{"oneOf":[{"description":"The gtin code of the product.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.gtin.oneOf.0","typeLabel":"string"},{"description":"The gtin code of the product.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.gtin.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.gtin","typeLabel":"string | null"},"reference_gtin":{"oneOf":[{"description":"The GTIN of a private-label reference product, used to establish HSA/FSA eligibility.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.reference_gtin.oneOf.0","typeLabel":"string"},{"description":"The GTIN of a private-label reference product, used to establish HSA/FSA eligibility.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.reference_gtin.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.reference_gtin","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the product.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the product.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata","typeLabel":"object | null"},"url":{"oneOf":[{"description":"The URL of the product.","type":"string","example":"https://example.com","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.url.oneOf.0","typeLabel":"string"},{"description":"The URL of the product.","type":"null","example":"https://example.com","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.url","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"An optional identifier for the product set by the client at creation time. Immutable after creation.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"An optional identifier for the product set by the client at creation time. Immutable after creation.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.client_reference_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product","typeLabel":"string | object"},"created_at":{"description":"The date the price was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.created_at","typeLabel":"string"},"type":{"description":"The type of the price: a single one-time charge, or a recurring charge billed on a schedule.","type":"string","enum":["one_time","recurring"],"example":"one_time","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.type","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the price is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The ID of the account that owns this price. For prices shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the account that owns this price. For prices shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"null","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.owner_partner_id","typeLabel":"string | null"},"description":{"oneOf":[{"description":"The description of the price.","type":"string","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.description.oneOf.0","typeLabel":"string"},{"description":"The description of the price.","type":"null","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.description","typeLabel":"string | null"},"trial_period_days":{"oneOf":[{"description":"The number of trial period days before the customer is first charged for a recurring price.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.trial_period_days.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The number of trial period days before the customer is first charged for a recurring price.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.trial_period_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.trial_period_days","typeLabel":"integer\u003cint32> | null"},"recurring":{"oneOf":[{"type":"object","description":"The recurring components of a price such as interval and trial period days.","required":["interval"],"example":{"interval":"day","interval_count":0,"trial_period_days":0},"properties":{"interval":{"description":"The billing cadence for the price.","type":"string","enum":["day","week","month","year"],"example":"day","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval","typeLabel":"enum\u003cstring>"},"interval_count":{"oneOf":[{"description":"The number of intervals","type":"integer","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval_count.oneOf.0","typeLabel":"integer\u003cint64>"},{"description":"The number of intervals","type":"null","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval_count","typeLabel":"integer\u003cint64> | null"},"trial_period_days":{"oneOf":[{"description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","type":"integer","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.trial_period_days.oneOf.0","typeLabel":"integer\u003cint64>"},{"description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","type":"null","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.trial_period_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.trial_period_days","typeLabel":"integer\u003cint64> | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0","typeLabel":"object"},{"type":"null","description":"The recurring components of a price such as interval and trial period days.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata information for the price object","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata information for the price object","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.metadata","typeLabel":"object | null"},"lookup_key":{"oneOf":[{"description":"A stable, partner-owned key for this price. Unique per account and mode across all prices, archived ones included. `null` until you set one.","type":"string","maxLength":200,"example":"standard_monthly","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.lookup_key.oneOf.0","typeLabel":"string"},{"description":"A stable, partner-owned key for this price. Unique per account and mode across all prices, archived ones included. `null` until you set one.","type":"null","maxLength":200,"example":"standard_monthly","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.lookup_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.lookup_key","typeLabel":"string | null"},"hsa_fsa_eligibility":{"oneOf":[{"type":"string","description":"The HSA/FSA eligibility for the price.","enum":["not_eligible","auto_substantiation","private_label","letter_of_medical_necessity","prescription","vision","service","pending"],"example":"not_eligible","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.hsa_fsa_eligibility.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The HSA/FSA eligibility for the price.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.hsa_fsa_eligibility.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.hsa_fsa_eligibility","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price","typeLabel":"string | object"},"quantity":{"description":"The number of units of the price the customer is subscribed to.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"created_at":{"description":"Time at which the subscription item was created, as an RFC 3339 timestamp.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].created_at","typeLabel":"string"},"test_mode":{"description":"Whether the subscription item exists in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].test_mode","typeLabel":"boolean"},"updated_at":{"oneOf":[{"type":"string","description":"Time at which the subscription item was last updated, as an RFC 3339 timestamp. `null` if the item has not been updated since creation.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"Time at which the subscription item was last updated, as an RFC 3339 timestamp. `null` if the item has not been updated since creation.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].updated_at","typeLabel":"string | null"}},"example":{"subscription_item_id":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","price":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","quantity":2500,"created_at":"2026-06-15T14:30:00Z","updated_at":"2026-06-15T14:30:00Z","test_mode":false},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items","typeLabel":"object[]"},"status":{"description":"Possible values are incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, or paused.","type":"string","enum":["incomplete","incomplete_expired","trialing","active","past_due","canceled","unpaid","paused"],"example":"incomplete","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.status","typeLabel":"enum\u003cstring>"},"cancel_at_period_end":{"description":"If the subscription has been canceled with the at_period_end flag set to true, cancel_at_period_end on the subscription will be true. You can use this attribute to determine whether a subscription that has a status of active is scheduled to be canceled at the end of the current period.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at_period_end","typeLabel":"boolean"},"test_mode":{"description":"Whether the subscription is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.test_mode","typeLabel":"boolean"},"latest_invoice":{"oneOf":[{"description":"The ID of the latest invoice generated for this subscription.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.latest_invoice.oneOf.0","typeLabel":"any"},{"type":"null","description":"The ID of the latest invoice generated for this subscription.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.latest_invoice.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.latest_invoice","typeLabel":"any | null"},"customer":{"oneOf":[{"type":"string","description":"The ID of the customer who owns the subscription.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The ID of the customer who owns the subscription.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"type":"any","description":"The customer's shipping address.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping","typeLabel":"any"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1","typeLabel":"object"},{"type":"null","description":"The ID of the customer who owns the subscription.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer","typeLabel":"string | object | null"},"current_period_end":{"oneOf":[{"type":"string","description":"End of the current period that the subscription has been invoiced for.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_end.oneOf.0","typeLabel":"string"},{"type":"null","description":"End of the current period that the subscription has been invoiced for.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_end","typeLabel":"string | null"},"current_period_start":{"oneOf":[{"type":"string","description":"Start of the current period that the subscription has been invoiced for.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_start.oneOf.0","typeLabel":"string"},{"type":"null","description":"Start of the current period that the subscription has been invoiced for.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_start","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"A set of key/value pairs that you can attach to a subscription object.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"A set of key/value pairs that you can attach to a subscription object.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.metadata","typeLabel":"object | null"},"client_secret":{"oneOf":[{"type":"object","description":"Client secrets used to confirm the subscription's first payment or payment-method setup from your frontend. Present only while the subscription is being activated; omitted otherwise. Do not log or store these secrets; expose them only to the customer over TLS.","example":{"setup_secret":"string","payment_secret":"string"},"properties":{"setup_secret":{"oneOf":[{"description":"Client secret of the SetupIntent used to collect and save a payment method for the subscription (for example, during a trial with no immediate charge). `null` when no setup is required. Do not log or store it; expose only to the customer over TLS.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.setup_secret.oneOf.0","typeLabel":"string"},{"description":"Client secret of the SetupIntent used to collect and save a payment method for the subscription (for example, during a trial with no immediate charge). `null` when no setup is required. Do not log or store it; expose only to the customer over TLS.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.setup_secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.setup_secret","typeLabel":"string | null"},"payment_secret":{"oneOf":[{"description":"Client secret of the PaymentIntent used to confirm the subscription's first payment from your frontend. `null` when no immediate payment is required. Do not log or store it; expose only to the customer over TLS.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.payment_secret.oneOf.0","typeLabel":"string"},{"description":"Client secret of the PaymentIntent used to confirm the subscription's first payment from your frontend. `null` when no immediate payment is required. Do not log or store it; expose only to the customer over TLS.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.payment_secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.payment_secret","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0","typeLabel":"object"},{"type":"null","description":"Client secrets used to confirm the subscription's first payment or payment-method setup from your frontend. Present only while the subscription is being activated; omitted otherwise. Do not log or store these secrets; expose them only to the customer over TLS.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret","typeLabel":"object | null"},"proration_behavior":{"oneOf":[{"type":"string","description":"The proration behavior for the subscription.","enum":["always_invoice","create_prorations","none"],"example":"always_invoice","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.proration_behavior.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The proration behavior for the subscription.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.proration_behavior.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.proration_behavior","typeLabel":"enum\u003cstring> | null"},"trial_start":{"oneOf":[{"type":"string","description":"Start of the subscription's trial period, as an RFC 3339 timestamp. `null` if the subscription has no trial.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_start.oneOf.0","typeLabel":"string"},{"type":"null","description":"Start of the subscription's trial period, as an RFC 3339 timestamp. `null` if the subscription has no trial.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_start","typeLabel":"string | null"},"trial_end":{"oneOf":[{"type":"string","description":"End of the subscription's trial period, as an RFC 3339 timestamp. After this time the customer is billed normally. `null` if the subscription has no trial.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_end.oneOf.0","typeLabel":"string"},{"type":"null","description":"End of the subscription's trial period, as an RFC 3339 timestamp. After this time the customer is billed normally. `null` if the subscription has no trial.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_end","typeLabel":"string | null"},"cancel_at":{"oneOf":[{"type":"string","description":"A future RFC 3339 timestamp at which the subscription will automatically be canceled. `null` unless a future cancellation has been scheduled.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"A future RFC 3339 timestamp at which the subscription will automatically be canceled. `null` unless a future cancellation has been scheduled.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at","typeLabel":"string | null"},"canceled_at":{"oneOf":[{"type":"string","description":"The RFC 3339 timestamp at which the subscription was actually canceled. `null` if the subscription has not been canceled. Unlike `cancel_at` (a future scheduled cancellation), this is set once the cancellation has occurred.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.canceled_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The RFC 3339 timestamp at which the subscription was actually canceled. `null` if the subscription has not been canceled. Unlike `cancel_at` (a future scheduled cancellation), this is set once the cancellation has occurred.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.canceled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.canceled_at","typeLabel":"string | null"},"default_payment_method":{"oneOf":[{"type":"string","description":"The default payment method for the subscription (expandable).","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.0","typeLabel":"string"},{"type":"object","description":"The default payment method for the subscription (expandable).","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.payment_method_id","typeLabel":"string"},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"type":"any","description":"The billing address.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address","typeLabel":"any"},"email":{"oneOf":[{"description":"The billing email address.","type":"string","example":"john.doe@example.com","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.email.oneOf.0","typeLabel":"string"},{"description":"The billing email address.","type":"null","example":"john.doe@example.com","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.email","typeLabel":"string | null"},"name":{"oneOf":[{"description":"The billing name.","type":"string","example":"Example","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.name.oneOf.0","typeLabel":"string"},{"description":"The billing name.","type":"null","example":"Example","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.name","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The billing phone number.","type":"string","example":"+14155550142","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.phone.oneOf.0","typeLabel":"string"},{"description":"The billing phone number.","type":"null","example":"+14155550142","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.phone","typeLabel":"string | null"}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details","typeLabel":"object"},"customer":{"type":"any","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer","typeLabel":"any"},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.brand","typeLabel":"enum\u003cstring>"},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.country","typeLabel":"string"},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.exp_month","typeLabel":"integer\u003cint32>"},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.exp_year","typeLabel":"integer\u003cint32>"},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.fingerprint","typeLabel":"string"},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.funding","typeLabel":"enum\u003cstring>"},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.last4","typeLabel":"string"}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card","typeLabel":"object"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.test_mode","typeLabel":"boolean"},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.off_session","typeLabel":"boolean"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","additionalProperties":{"type":"object","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","additionalProperties":{"type":"object","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1","typeLabel":"object"},{"type":"null","description":"The default payment method for the subscription (expandable).","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method","typeLabel":"string | object | null"},"backup_payment_method":{"oneOf":[{"type":"string","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.0","typeLabel":"string"},{"type":"object","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.payment_method_id","typeLabel":"string"},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"type":"any","description":"The billing address.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address","typeLabel":"any"},"email":{"oneOf":[{"description":"The billing email address.","type":"string","example":"john.doe@example.com","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.email.oneOf.0","typeLabel":"string"},{"description":"The billing email address.","type":"null","example":"john.doe@example.com","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.email","typeLabel":"string | null"},"name":{"oneOf":[{"description":"The billing name.","type":"string","example":"Example","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.name.oneOf.0","typeLabel":"string"},{"description":"The billing name.","type":"null","example":"Example","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.name","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The billing phone number.","type":"string","example":"+14155550142","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.phone.oneOf.0","typeLabel":"string"},{"description":"The billing phone number.","type":"null","example":"+14155550142","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.phone","typeLabel":"string | null"}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details","typeLabel":"object"},"customer":{"type":"any","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer","typeLabel":"any"},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.brand","typeLabel":"enum\u003cstring>"},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.country","typeLabel":"string"},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.exp_month","typeLabel":"integer\u003cint32>"},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.exp_year","typeLabel":"integer\u003cint32>"},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.fingerprint","typeLabel":"string"},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.funding","typeLabel":"enum\u003cstring>"},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.last4","typeLabel":"string"}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card","typeLabel":"object"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.test_mode","typeLabel":"boolean"},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.off_session","typeLabel":"boolean"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","additionalProperties":{"type":"object","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","additionalProperties":{"type":"object","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1","typeLabel":"object"},{"type":"null","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method","typeLabel":"string | object | null"},"discounts":{"oneOf":[{"description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)","type":"array","items":{"description":"A Discount object represents the application of a coupon or promotion code to a checkout session, customer, subscription, or invoice. It records which coupon was redeemed, what the discount was applied to, and the time window over which it applies.","type":"object","required":["discount_id","source","start","test_mode"],"properties":{"discount_id":{"description":"The ID of the discount.","type":"string","example":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].discount_id","typeLabel":"string"},"source":{"description":"The source of the discount (coupon or promotion code).","type":"object","required":["coupon","type"],"properties":{"coupon":{"oneOf":[{"type":"string","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.0","typeLabel":"string"},{"type":"object","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","required":["coupon_id","created_at","duration","name","test_mode","valid"],"example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"coupon_id":{"description":"Unique identifier for the object.","type":"string","example":"fcoup_1234567890","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.coupon_id","typeLabel":"string"},"duration":{"type":"string","enum":["once","repeating","forever"],"x-ms-enum":{"name":"CouponDuration","modelAsString":false,"values":[{"value":"once","name":"Once","description":"Applies to the first charge from a subscription with this coupon applied."},{"value":"repeating","name":"Repeating","description":"Applies to charges in the first duration_in_months months from a subscription with this coupon applied."},{"value":"forever","name":"Forever","description":"Applies to all charges from a subscription with this coupon applied."}]},"description":"One of forever, once, and repeating. Describes how long a customer who applies this coupon will get the discount.","example":"once","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration","typeLabel":"enum\u003cstring>"},"name":{"description":"Name of the coupon displayed to customers.","type":"string","example":"Example","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.name","typeLabel":"string"},"valid":{"description":"Taking account of the above properties, whether this coupon can still be applied to a customer.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.valid","typeLabel":"boolean"},"created_at":{"description":"Date when this coupon was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the coupon is in test mode","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.test_mode","typeLabel":"boolean"},"amount_off":{"oneOf":[{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.amount_off.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.amount_off.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.amount_off","typeLabel":"integer\u003cint32> | null"},"applies_to":{"oneOf":[{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["products"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"properties":{"products":{"description":"The product that this coupon applies to.","type":"array","items":{"type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.0.products.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.0.products","typeLabel":"string[]"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.0","typeLabel":"object"},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["prices"],"properties":{"prices":{"description":"The price that this coupon applies to.","type":"array","items":{"type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.1.prices.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.1.prices","typeLabel":"string[]"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.1","typeLabel":"object"},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["fee_types"],"properties":{"fee_types":{"description":"The fee types that this coupon applies to.","type":"array","items":{"description":"The kind of fee applied to a checkout session: a Letter of Medical Necessity consultation fee, or a custom fee you define.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.2.fee_types.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.2.fee_types","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.2","typeLabel":"object"},{"type":"string","description":"An object containing the ID of the product that the coupon can be applied to.","enum":["shipping"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.3","typeLabel":"enum\u003cstring>"},{"type":"null","description":"An object containing the ID of the product that the coupon can be applied to.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.4","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to","typeLabel":"object · object · object · enum\u003cstring> · null"},"duration_in_months":{"oneOf":[{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration_in_months.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration_in_months.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration_in_months","typeLabel":"integer\u003cint32> | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.metadata","typeLabel":"object | null"},"percent_off":{"oneOf":[{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"number","format":"double","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.percent_off.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"null","format":"double","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.percent_off.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.percent_off","typeLabel":"number\u003cdouble> | null"},"max_redemptions":{"oneOf":[{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.max_redemptions.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.max_redemptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.max_redemptions","typeLabel":"integer\u003cint32> | null"},"times_redeemed":{"oneOf":[{"description":"Number of times this coupon has been applied to a customer.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.times_redeemed.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Number of times this coupon has been applied to a customer.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.times_redeemed.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.times_redeemed","typeLabel":"integer\u003cint32> | null"}},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon","typeLabel":"string | object"},"type":{"description":"The type of source.","type":"string","enum":["coupon","promotion_code"],"example":"coupon","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.type","typeLabel":"enum\u003cstring>"}},"example":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source","typeLabel":"object"},"test_mode":{"description":"Whether the discount was applied in test mode","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].test_mode","typeLabel":"boolean"},"start":{"description":"Date that the coupon was applied.","type":"string","example":"string","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].start","typeLabel":"string"},"checkout_session":{"oneOf":[{"description":"The checkout session that the discount was applied to.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session.oneOf.0","typeLabel":"string"},{"description":"The checkout session that the discount was applied to.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session","typeLabel":"string | null"},"customer":{"oneOf":[{"description":"The customer that the discount was applied to.","type":"string","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer.oneOf.0","typeLabel":"string"},{"description":"The customer that the discount was applied to.","type":"null","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer","typeLabel":"string | null"},"subscription":{"oneOf":[{"description":"The subscription that the discount was applied to.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription.oneOf.0","typeLabel":"string"},{"description":"The subscription that the discount was applied to.","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription","typeLabel":"string | null"},"invoice":{"oneOf":[{"description":"The invoice that the discount was applied to.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice.oneOf.0","typeLabel":"string"},{"description":"The invoice that the discount was applied to.","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice","typeLabel":"string | null"},"promo_code":{"oneOf":[{"description":"The promo code applied to create the discount.","type":"string","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code.oneOf.0","typeLabel":"string"},{"description":"The promo code applied to create the discount.","type":"null","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code","typeLabel":"string | null"},"end":{"oneOf":[{"type":"string","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].end.oneOf.0","typeLabel":"string"},{"type":"null","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].end","typeLabel":"string | null"}},"example":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0","typeLabel":"object[]"},{"description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)","type":"null","items":{"description":"A Discount object represents the application of a coupon or promotion code to a checkout session, customer, subscription, or invoice. It records which coupon was redeemed, what the discount was applied to, and the time window over which it applies.","type":"object","required":["discount_id","source","start","test_mode"],"properties":{"discount_id":{"description":"The ID of the discount.","type":"string","example":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"checkout_session":{"oneOf":[{"description":"The checkout session that the discount was applied to.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The checkout session that the discount was applied to.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"customer":{"oneOf":[{"description":"The customer that the discount was applied to.","type":"string","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The customer that the discount was applied to.","type":"null","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"subscription":{"oneOf":[{"description":"The subscription that the discount was applied to.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The subscription that the discount was applied to.","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"invoice":{"oneOf":[{"description":"The invoice that the discount was applied to.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The invoice that the discount was applied to.","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"source":{"description":"The source of the discount (coupon or promotion code).","type":"object","required":["coupon","type"],"properties":{"coupon":{"oneOf":[{"type":"string","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","required":["coupon_id","created_at","duration","name","test_mode","valid"],"example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"coupon_id":{"description":"Unique identifier for the object.","type":"string","example":"fcoup_1234567890"},"amount_off":{"oneOf":[{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648},{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648}]},"applies_to":{"oneOf":[{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["products"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"properties":{"products":{"description":"The product that this coupon applies to.","type":"array","items":{"type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["prices"],"properties":{"prices":{"description":"The price that this coupon applies to.","type":"array","items":{"type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["fee_types"],"properties":{"fee_types":{"description":"The fee types that this coupon applies to.","type":"array","items":{"description":"The kind of fee applied to a checkout session: a Letter of Medical Necessity consultation fee, or a custom fee you define.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation"}}}},{"type":"string","description":"An object containing the ID of the product that the coupon can be applied to.","enum":["shipping"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]}},{"type":"null","description":"An object containing the ID of the product that the coupon can be applied to."}]},"duration":{"type":"string","enum":["once","repeating","forever"],"x-ms-enum":{"name":"CouponDuration","modelAsString":false,"values":[{"value":"once","name":"Once","description":"Applies to the first charge from a subscription with this coupon applied."},{"value":"repeating","name":"Repeating","description":"Applies to charges in the first duration_in_months months from a subscription with this coupon applied."},{"value":"forever","name":"Forever","description":"Applies to all charges from a subscription with this coupon applied."}]},"description":"One of forever, once, and repeating. Describes how long a customer who applies this coupon will get the discount.","example":"once"},"duration_in_months":{"oneOf":[{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","example":{"order_id":"8842","channel":"shopify"}}]},"name":{"description":"Name of the coupon displayed to customers.","type":"string","example":"Example"},"percent_off":{"oneOf":[{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"number","format":"double"},{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"null","format":"double"}]},"max_redemptions":{"oneOf":[{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"times_redeemed":{"oneOf":[{"description":"Number of times this coupon has been applied to a customer.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Number of times this coupon has been applied to a customer.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"valid":{"description":"Taking account of the above properties, whether this coupon can still be applied to a customer.","type":"boolean","example":false},"created_at":{"description":"Date when this coupon was created.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether the coupon is in test mode","type":"boolean","example":false}}}]},"type":{"description":"The type of source.","type":"string","enum":["coupon","promotion_code"],"example":"coupon"}},"example":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"}},"promo_code":{"oneOf":[{"description":"The promo code applied to create the discount.","type":"string","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The promo code applied to create the discount.","type":"null","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether the discount was applied in test mode","type":"boolean","example":false},"end":{"oneOf":[{"type":"string","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","example":"string"},{"type":"null","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null."}]},"start":{"description":"Date that the coupon was applied.","type":"string","example":"string"}},"example":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts","typeLabel":"object[] | null"},"pause":{"oneOf":[{"type":"object","description":"The current pause. Present only while the subscription is paused.","required":["paused_at"],"example":{"paused_at":"2026-06-15T14:30:00Z","resume_at":"2026-06-15T14:30:00Z","billing_cycle_anchor":"unchanged","proration_behavior":"always_invoice","credit":"unused_time"},"properties":{"paused_at":{"description":"When the subscription was paused. ISO 8601 format. While paused, this is also the subscription's `current_period_end`.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.paused_at","typeLabel":"string"},"resume_at":{"oneOf":[{"type":"string","description":"When Flex resumes the subscription on its own. `null` when it stays paused until you resume it.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.resume_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When Flex resumes the subscription on its own. `null` when it stays paused until you resume it.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.resume_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.resume_at","typeLabel":"string | null"},"billing_cycle_anchor":{"oneOf":[{"type":"string","description":"Where billing restarts when Flex resumes at `resume_at`: `now` or `unchanged`. `null` when no resume is scheduled.","enum":["now","unchanged"],"x-ms-enum":{"name":"SubscriptionResumeBillingCycleAnchor","modelAsString":false,"values":[{"value":"now","name":"Now","description":"Bill monthly from the resume date, charging the full period now, net of any unused time credited at the pause. After an uncredited pause that ends inside the paid period, nothing is charged now and the next charge covers the time from the old period end."},{"value":"unchanged","name":"Unchanged","description":"Keep the original billing date."}]},"example":"unchanged","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.billing_cycle_anchor.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Where billing restarts when Flex resumes at `resume_at`: `now` or `unchanged`. `null` when no resume is scheduled.","example":"unchanged","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.billing_cycle_anchor.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.billing_cycle_anchor","typeLabel":"enum\u003cstring> | null"},"proration_behavior":{"oneOf":[{"type":"string","description":"How the partial period is billed when `billing_cycle_anchor` is `unchanged`. `null` otherwise.","enum":["create_prorations","always_invoice"],"x-ms-enum":{"name":"SubscriptionResumeProrationBehavior","modelAsString":false,"values":[{"value":"create_prorations","name":"CreateProrations","description":"Bill the partial period on the original billing date, with the next full period."},{"value":"always_invoice","name":"AlwaysInvoice","description":"Bill the partial period now, net of any unused time credited at the pause. A negative amount charges nothing and goes to the customer's balance."}]},"example":"always_invoice","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.proration_behavior.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"How the partial period is billed when `billing_cycle_anchor` is `unchanged`. `null` otherwise.","example":"always_invoice","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.proration_behavior.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.proration_behavior","typeLabel":"enum\u003cstring> | null"},"credit":{"type":"string","enum":["unused_time","none"],"x-ms-enum":{"name":"SubscriptionPauseCredit","modelAsString":false,"values":[{"value":"unused_time","name":"UnusedTime","description":"Credit the unused paid time from the pause to the period end. The resume charge is net of it."},{"value":"none","name":"None","description":"Credit nothing for the paused days inside the paid period. A resume before the period ends keeps the paid days after it."}]},"description":"What the pause credited for the paid time left in the period.","example":"unused_time","default":"unused_time","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.credit","typeLabel":"enum\u003cstring>"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0","typeLabel":"object"},{"type":"null","description":"The current pause. Present only while the subscription is paused.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause","typeLabel":"object | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1","typeLabel":"object"},{"type":"null","description":"The subscription that this invoice was prepared for.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription","typeLabel":"string | object | null"},"paid_at":{"oneOf":[{"type":"string","description":"When the invoice was paid.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.paid_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the invoice was paid.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.paid_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.paid_at","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the invoice.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the invoice.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.metadata","typeLabel":"object | null"},"backup_charge_status":{"oneOf":[{"type":"string","description":"Outcome of the backup-payment-method fallback for this invoice. Omitted when no fallback applied. `succeeded` on a paid invoice means the subscription's backup card covered this renewal after the default payment method failed.","enum":["pending","succeeded","failed","skipped"],"example":"pending","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.backup_charge_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Outcome of the backup-payment-method fallback for this invoice. Omitted when no fallback applied. `succeeded` on a paid invoice means the subscription's backup card covered this renewal after the default payment method failed.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.backup_charge_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.backup_charge_status","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1","typeLabel":"object"},{"type":"null","description":"The invoice associated with the payment intent.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.invoice","typeLabel":"string | object | null"},"client_secret":{"oneOf":[{"description":"The client secret of the payment intent.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.client_secret.oneOf.0","typeLabel":"string"},{"description":"The client secret of the payment intent.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.client_secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.client_secret","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"The metadata associated with the payment intent.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"The metadata associated with the payment intent.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.metadata","typeLabel":"object | null"},"payment_method":{"oneOf":[{"type":"string","description":"The payment method associated with the payment intent.","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.0","typeLabel":"string"},{"type":"object","description":"The payment method associated with the payment intent.","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.payment_method_id","typeLabel":"string"},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"oneOf":[{"type":"object","description":"The billing address.","example":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"properties":{"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.city","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter ISO country code (e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter ISO country code (e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.country","typeLabel":"string | null"},"line1":{"oneOf":[{"description":"Address line 1, such as the street, PO box, or company name.","type":"string","example":"123 Main St","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"Address line 1, such as the street, PO box, or company name.","type":"null","example":"123 Main St","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"string","example":"Suite 100","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"null","example":"Suite 100","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.state","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"The billing address.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address","typeLabel":"object | null"},"email":{"oneOf":[{"description":"The billing email address.","type":"string","example":"john.doe@example.com","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.email.oneOf.0","typeLabel":"string"},{"description":"The billing email address.","type":"null","example":"john.doe@example.com","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.email","typeLabel":"string | null"},"name":{"oneOf":[{"description":"The billing name.","type":"string","example":"Example","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.name.oneOf.0","typeLabel":"string"},{"description":"The billing name.","type":"null","example":"Example","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.name","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The billing phone number.","type":"string","example":"+14155550142","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.phone.oneOf.0","typeLabel":"string"},{"description":"The billing phone number.","type":"null","example":"+14155550142","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.phone","typeLabel":"string | null"}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details","typeLabel":"object"},"customer":{"oneOf":[{"type":"string","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer","typeLabel":"string | object"},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.card.brand","typeLabel":"enum\u003cstring>"},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.card.country","typeLabel":"string"},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.card.exp_month","typeLabel":"integer\u003cint32>"},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.card.exp_year","typeLabel":"integer\u003cint32>"},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.card.fingerprint","typeLabel":"string"},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.card.funding","typeLabel":"enum\u003cstring>"},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.card.last4","typeLabel":"string"}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.card","typeLabel":"object"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.test_mode","typeLabel":"boolean"},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.off_session","typeLabel":"boolean"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","additionalProperties":{"type":"object","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","additionalProperties":{"type":"object","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1","typeLabel":"object"},{"type":"null","description":"The payment method associated with the payment intent.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_method","typeLabel":"string | object | null"},"transfer_group":{"oneOf":[{"description":"A string that identifies the resulting payment as part of a group","type":"string","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.transfer_group.oneOf.0","typeLabel":"string"},{"description":"A string that identifies the resulting payment as part of a group","type":"null","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.transfer_group.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.transfer_group","typeLabel":"string | null"},"payment_card_type":{"oneOf":[{"type":"string","description":"The primary card type used for this payment intent","enum":["primary","secondary"],"x-ms-enum":{"name":"PaymentCardType","modelAsString":false,"values":[{"value":"primary","name":"Primary","description":"In a split cart, `Primary` refers to the HSA/FSA eligible card. In a single cart (whether it's HSA/FSA or a fully ineligible cart), `Primary` refers to the only payment card used."},{"value":"secondary","name":"Secondary","description":"In a split cart and partial authorization payment, `Secondary` refers to the non-eligible or backup credit card used for ineligible items."}]},"example":"primary","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_card_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The primary card type used for this payment intent","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_card_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.payment_card_type","typeLabel":"enum\u003cstring> | null"},"letter_fee_amount":{"oneOf":[{"description":"Letter fee portion of application_fee_amount (waterfall allocation to HSA/FSA)","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.letter_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Letter fee portion of application_fee_amount (waterfall allocation to HSA/FSA)","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.letter_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.letter_fee_amount","typeLabel":"integer\u003cint32> | null"},"transaction_fee":{"oneOf":[{"description":"Transaction fee portion of application_fee_amount (percentage + fixed fee)","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.transaction_fee.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Transaction fee portion of application_fee_amount (percentage + fixed fee)","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.transaction_fee.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.transaction_fee","typeLabel":"integer\u003cint32> | null"},"last_payment_error":{"oneOf":[{"type":"object","description":"The error from the most recent failed payment attempt, if any.","required":["type"],"example":{"type":"string","code":"string","decline_code":"string","message":"string","payment_method":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"properties":{"type":{"description":"The type of error (card, invalid_request, api, etc.)","type":"string","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.type","typeLabel":"string"},"code":{"oneOf":[{"description":"Machine-readable error code (card_declined, expired_card, etc.)","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.code.oneOf.0","typeLabel":"string"},{"description":"Machine-readable error code (card_declined, expired_card, etc.)","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.code","typeLabel":"string | null"},"decline_code":{"oneOf":[{"description":"Card-specific decline code (insufficient_funds, lost_card, etc.)","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.decline_code.oneOf.0","typeLabel":"string"},{"description":"Card-specific decline code (insufficient_funds, lost_card, etc.)","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.decline_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.decline_code","typeLabel":"string | null"},"message":{"oneOf":[{"description":"Human-readable error description.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.message.oneOf.0","typeLabel":"string"},{"description":"Human-readable error description.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.message.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.message","typeLabel":"string | null"},"payment_method":{"oneOf":[{"description":"The Flex payment method ID that failed.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.payment_method.oneOf.0","typeLabel":"string"},{"description":"The Flex payment method ID that failed.","type":"null","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.payment_method.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.payment_method","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0","typeLabel":"object"},{"type":"null","description":"The error from the most recent failed payment attempt, if any.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1.last_payment_error","typeLabel":"object | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.1","typeLabel":"object"},{"type":"null","description":"The PaymentIntent that collects payment for this cart. `null` until a payment intent has been created for it. Expandable when `split_cart` is expanded with `payment_intent`.","uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.payment_intent","typeLabel":"string | object | null"},"amount_shipping":{"oneOf":[{"description":"Total shipping charged to this cart, in the smallest currency unit (e.g., `599` = $5.99 USD). `null` when no shipping applies.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.amount_shipping.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Total shipping charged to this cart, in the smallest currency unit (e.g., `599` = $5.99 USD). `null` when no shipping applies.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.amount_shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart.amount_shipping","typeLabel":"integer\u003cint32> | null"}},"example":{"amount_total":2500,"amount_subtotal":2500,"amount_tax":2500,"amount_discount":2500,"payment_intent":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","amount_shipping":2500},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.eligible_cart","typeLabel":"object"},"non_eligible_cart":{"description":"The portion of the cart containing non-eligible items, charged to the customer's standard payment method.","type":"object","required":["amount_discount","amount_subtotal","amount_tax","amount_total"],"properties":{"amount_total":{"description":"Total amount for this cart after tax, shipping, and discounts, in the smallest currency unit (e.g., `2500` = $25.00 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.amount_total","typeLabel":"integer\u003cint32>"},"amount_subtotal":{"description":"Sum of the line item amounts before tax, shipping, and discounts, in the smallest currency unit (e.g., `2000` = $20.00 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.amount_subtotal","typeLabel":"integer\u003cint32>"},"amount_tax":{"description":"Total tax applied to this cart, in the smallest currency unit (e.g., `150` = $1.50 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.amount_tax","typeLabel":"integer\u003cint32>"},"amount_discount":{"description":"Total discount applied to this cart, in the smallest currency unit (e.g., `500` = $5.00 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.amount_discount","typeLabel":"integer\u003cint32>"},"payment_intent":{"oneOf":[{"type":"string","description":"The PaymentIntent that collects payment for this cart. `null` until a payment intent has been created for it. Expandable when `split_cart` is expanded with `payment_intent`.","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.0","typeLabel":"string"},{"type":"object","description":"The PaymentIntent that collects payment for this cart. `null` until a payment intent has been created for it. Expandable when `split_cart` is expanded with `payment_intent`.","required":["amount","capture_method","created_at","payment_intent_id","status","test_mode"],"example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_intent_id":{"description":"The unique identifier for the payment intent.","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_intent_id","typeLabel":"string"},"amount":{"description":"The amount of the payment intent in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.amount","typeLabel":"integer\u003cint32>"},"status":{"description":"The status of the payment intent.","type":"string","enum":["canceled","processing","requires_action","requires_capture","requires_confirmation","requires_payment_method","succeeded"],"example":"canceled","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.status","typeLabel":"enum\u003cstring>"},"created_at":{"description":"The time the payment intent was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.created_at","typeLabel":"string"},"capture_method":{"description":"The capture method of the payment intent.","type":"string","enum":["automatic","automatic_async","manual"],"example":"automatic","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.capture_method","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the payment intent is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.test_mode","typeLabel":"boolean"},"amount_capturable":{"oneOf":[{"description":"The amount that can be captured from this PaymentIntent.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.amount_capturable.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The amount that can be captured from this PaymentIntent.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.amount_capturable.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.amount_capturable","typeLabel":"integer\u003cint32> | null"},"amount_received":{"oneOf":[{"description":"The amount that was received in cents.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.amount_received.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The amount that was received in cents.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.amount_received.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.amount_received","typeLabel":"integer\u003cint32> | null"},"application_fee_amount":{"oneOf":[{"description":"The amount of the Flex application fee.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.application_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The amount of the Flex application fee.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.application_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.application_fee_amount","typeLabel":"integer\u003cint32> | null"},"customer":{"oneOf":[{"type":"string","description":"The customer associated with the payment intent.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The customer associated with the payment intent.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.1","typeLabel":"object"},{"type":"null","description":"The customer associated with the payment intent.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.customer","typeLabel":"string | object | null"},"transfer_data":{"oneOf":[{"type":"object","description":"The data related to the amount being transferred.","required":["destination"],"example":{"amount":2500,"destination":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"properties":{"destination":{"description":"The destination account of the transfer.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.transfer_data.oneOf.0.destination","typeLabel":"string"},"amount":{"oneOf":[{"description":"The amount to transfer, in cents.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.transfer_data.oneOf.0.amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The amount to transfer, in cents.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.transfer_data.oneOf.0.amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.transfer_data.oneOf.0.amount","typeLabel":"integer\u003cint32> | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.transfer_data.oneOf.0","typeLabel":"object"},{"type":"null","description":"The data related to the amount being transferred.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.transfer_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.transfer_data","typeLabel":"object | null"},"latest_charge":{"oneOf":[{"type":"string","description":"The latest charge associated with the payment intent.","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.0","typeLabel":"string"},{"type":"object","description":"The latest charge associated with the payment intent.","required":["amount","amount_captured","amount_refunded","captured","charge_id","created_at","disputed","paid","payment_intent","refunded","status","test_mode"],"example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"charge_id":{"description":"Unique identifier for the charge.","type":"string","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.charge_id","typeLabel":"string"},"amount":{"description":"Amount intended to be collected by this payment.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.amount","typeLabel":"integer\u003cint32>"},"amount_captured":{"description":"Amount in cents captured (can be less than the amount attribute on the charge if a partial capture was made).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.amount_captured","typeLabel":"integer\u003cint32>"},"amount_refunded":{"description":"Amount in cents refunded (can be less than the amount attribute on the charge if a partial refund was made).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.amount_refunded","typeLabel":"integer\u003cint32>"},"captured":{"description":"If the charge was created without capturing, this Boolean represents whether it is still uncaptured or has since been captured.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.captured","typeLabel":"boolean"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.created_at","typeLabel":"string"},"disputed":{"description":"Whether the charge has been disputed.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.disputed","typeLabel":"boolean"},"paid":{"description":"true if the charge succeeded, or was successfully authorized for later capture.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.paid","typeLabel":"boolean"},"refunded":{"description":"Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunded","typeLabel":"boolean"},"payment_intent":{"$circularRef":"8fbcacc5-2464-4789-9a44-67dbaef1711b","description":"The payment intent that generated this charge.","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.payment_intent","typeLabel":"any"},"status":{"description":"The status of the charge.","type":"string","enum":["succeeded","pending","failed"],"example":"succeeded","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the charge was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.test_mode","typeLabel":"boolean"},"application_fee_amount":{"oneOf":[{"description":"The Flex application fee for the charge","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.application_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The Flex application fee for the charge","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.application_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.application_fee_amount","typeLabel":"integer\u003cint32> | null"},"customer":{"oneOf":[{"type":"string","description":"The customer this charge is for if one exists.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The customer this charge is for if one exists.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.1","typeLabel":"object"},{"type":"null","description":"The customer this charge is for if one exists.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.customer","typeLabel":"string | object | null"},"invoice":{"oneOf":[{"type":"string","description":"The invoice this charge is for if one exists.","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.0","typeLabel":"string"},{"type":"object","description":"The invoice this charge is for if one exists.","required":["amount_due","amount_paid","collection_method","created_at","invoice_id","status","test_mode","total"],"example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"invoice_id":{"description":"The id of the invoice.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.invoice_id","typeLabel":"string"},"total":{"description":"The total amount of the invoice in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.total","typeLabel":"integer\u003cint32>"},"amount_due":{"description":"The amount due in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.amount_due","typeLabel":"integer\u003cint32>"},"amount_paid":{"description":"The amount paid in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.amount_paid","typeLabel":"integer\u003cint32>"},"status":{"description":"The status of the invoice.","type":"string","enum":["draft","open","void","paid","uncollectible"],"example":"draft","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.status","typeLabel":"enum\u003cstring>"},"collection_method":{"description":"Either charge_automatically or send_invoice. When charging automatically, Flex will attempt to pay this invoice using the default payment method attached to the customer. When sending an invoice, Flex will email this invoice to the customer with payment instructions.","type":"string","enum":["charge_automatically","send_invoice"],"example":"charge_automatically","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.collection_method","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether or not the invoice was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.test_mode","typeLabel":"boolean"},"created_at":{"description":"When the invoice was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.created_at","typeLabel":"string"},"payment_intent":{"oneOf":[{"description":"The payment intent associated with this invoice. The payment intent is created when the invoice is finalized.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.payment_intent.oneOf.0","typeLabel":"any"},{"type":"null","description":"The payment intent associated with this invoice. The payment intent is created when the invoice is finalized.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.payment_intent.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.payment_intent","typeLabel":"any | null"},"charge":{"oneOf":[{"description":"The id of the latest charge for this invoice.","type":"string","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.charge.oneOf.0","typeLabel":"string"},{"description":"The id of the latest charge for this invoice.","type":"null","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.charge.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.charge","typeLabel":"string | null"},"customer":{"oneOf":[{"type":"string","description":"The id of the customer this invoice is for.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The id of the customer this invoice is for.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"type":"any","description":"The customer's shipping address.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping","typeLabel":"any"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.1","typeLabel":"object"},{"type":"null","description":"The id of the customer this invoice is for.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.customer","typeLabel":"string | object | null"},"period_end":{"oneOf":[{"type":"string","description":"End of the usage period.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.period_end.oneOf.0","typeLabel":"string"},{"type":"null","description":"End of the usage period.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.period_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.period_end","typeLabel":"string | null"},"period_start":{"oneOf":[{"type":"string","description":"Start of the usage period.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.period_start.oneOf.0","typeLabel":"string"},{"type":"null","description":"Start of the usage period.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.period_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.period_start","typeLabel":"string | null"},"subscription":{"oneOf":[{"type":"string","description":"The subscription that this invoice was prepared for.","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.0","typeLabel":"string"},{"type":"object","description":"The subscription that this invoice was prepared for.","required":["cancel_at_period_end","created_at","items","status","subscription_id","test_mode"],"example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"subscription_id":{"description":"Unique identifier for the object.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.subscription_id","typeLabel":"string"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.created_at","typeLabel":"string"},"items":{"description":"The items the customer is subscribed to.","type":"array","items":{"description":"A Subscription Item represents a single recurring Price billed as part of a Subscription, together with the quantity of that price the customer is subscribed to. A subscription has one item per recurring price it bills.","type":"object","required":["created_at","price","quantity","subscription_item_id","test_mode"],"properties":{"subscription_item_id":{"description":"Unique identifier for the subscription item.","type":"string","example":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].subscription_item_id","typeLabel":"string"},"price":{"type":"any","description":"The recurring Price this item bills. Returned as a price ID by default, or as the full Price object when expanded.","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price","typeLabel":"any"},"quantity":{"description":"The number of units of the price the customer is subscribed to.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"created_at":{"description":"Time at which the subscription item was created, as an RFC 3339 timestamp.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].created_at","typeLabel":"string"},"test_mode":{"description":"Whether the subscription item exists in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].test_mode","typeLabel":"boolean"},"updated_at":{"type":"any","description":"Time at which the subscription item was last updated, as an RFC 3339 timestamp. `null` if the item has not been updated since creation.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].updated_at","typeLabel":"any"}},"example":{"subscription_item_id":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","price":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","quantity":2500,"created_at":"2026-06-15T14:30:00Z","updated_at":"2026-06-15T14:30:00Z","test_mode":false},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items","typeLabel":"object[]"},"status":{"description":"Possible values are incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, or paused.","type":"string","enum":["incomplete","incomplete_expired","trialing","active","past_due","canceled","unpaid","paused"],"example":"incomplete","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.status","typeLabel":"enum\u003cstring>"},"cancel_at_period_end":{"description":"If the subscription has been canceled with the at_period_end flag set to true, cancel_at_period_end on the subscription will be true. You can use this attribute to determine whether a subscription that has a status of active is scheduled to be canceled at the end of the current period.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at_period_end","typeLabel":"boolean"},"test_mode":{"description":"Whether the subscription is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.test_mode","typeLabel":"boolean"},"latest_invoice":{"type":"any","description":"The ID of the latest invoice generated for this subscription.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.latest_invoice","typeLabel":"any"},"customer":{"type":"any","description":"The ID of the customer who owns the subscription.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer","typeLabel":"any"},"current_period_end":{"type":"any","description":"End of the current period that the subscription has been invoiced for.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_end","typeLabel":"any"},"current_period_start":{"type":"any","description":"Start of the current period that the subscription has been invoiced for.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_start","typeLabel":"any"},"metadata":{"oneOf":[{"description":"A set of key/value pairs that you can attach to a subscription object.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"A set of key/value pairs that you can attach to a subscription object.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.metadata","typeLabel":"object | null"},"client_secret":{"type":"any","description":"Client secrets used to confirm the subscription's first payment or payment-method setup from your frontend. Present only while the subscription is being activated; omitted otherwise. Do not log or store these secrets; expose them only to the customer over TLS.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret","typeLabel":"any"},"proration_behavior":{"type":"any","description":"The proration behavior for the subscription.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.proration_behavior","typeLabel":"any"},"trial_start":{"type":"any","description":"Start of the subscription's trial period, as an RFC 3339 timestamp. `null` if the subscription has no trial.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_start","typeLabel":"any"},"trial_end":{"type":"any","description":"End of the subscription's trial period, as an RFC 3339 timestamp. After this time the customer is billed normally. `null` if the subscription has no trial.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_end","typeLabel":"any"},"cancel_at":{"type":"any","description":"A future RFC 3339 timestamp at which the subscription will automatically be canceled. `null` unless a future cancellation has been scheduled.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at","typeLabel":"any"},"canceled_at":{"type":"any","description":"The RFC 3339 timestamp at which the subscription was actually canceled. `null` if the subscription has not been canceled. Unlike `cancel_at` (a future scheduled cancellation), this is set once the cancellation has occurred.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.canceled_at","typeLabel":"any"},"default_payment_method":{"type":"any","description":"The default payment method for the subscription (expandable).","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method","typeLabel":"any"},"backup_payment_method":{"type":"any","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method","typeLabel":"any"},"discounts":{"oneOf":[{"description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)","type":"array","items":{"description":"A Discount object represents the application of a coupon or promotion code to a checkout session, customer, subscription, or invoice. It records which coupon was redeemed, what the discount was applied to, and the time window over which it applies.","type":"object","required":["discount_id","source","start","test_mode"],"properties":{"discount_id":{"description":"The ID of the discount.","type":"string","example":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].discount_id","typeLabel":"string"},"source":{"description":"The source of the discount (coupon or promotion code).","type":"object","required":["coupon","type"],"properties":{"coupon":{"type":"any","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon","typeLabel":"any"},"type":{"description":"The type of source.","type":"string","enum":["coupon","promotion_code"],"example":"coupon","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.type","typeLabel":"enum\u003cstring>"}},"example":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source","typeLabel":"object"},"test_mode":{"description":"Whether the discount was applied in test mode","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].test_mode","typeLabel":"boolean"},"start":{"description":"Date that the coupon was applied.","type":"string","example":"string","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].start","typeLabel":"string"},"checkout_session":{"oneOf":[{"description":"The checkout session that the discount was applied to.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session.oneOf.0","typeLabel":"string"},{"description":"The checkout session that the discount was applied to.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session","typeLabel":"string | null"},"customer":{"oneOf":[{"description":"The customer that the discount was applied to.","type":"string","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer.oneOf.0","typeLabel":"string"},{"description":"The customer that the discount was applied to.","type":"null","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer","typeLabel":"string | null"},"subscription":{"oneOf":[{"description":"The subscription that the discount was applied to.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription.oneOf.0","typeLabel":"string"},{"description":"The subscription that the discount was applied to.","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription","typeLabel":"string | null"},"invoice":{"oneOf":[{"description":"The invoice that the discount was applied to.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice.oneOf.0","typeLabel":"string"},{"description":"The invoice that the discount was applied to.","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice","typeLabel":"string | null"},"promo_code":{"oneOf":[{"description":"The promo code applied to create the discount.","type":"string","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code.oneOf.0","typeLabel":"string"},{"description":"The promo code applied to create the discount.","type":"null","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code","typeLabel":"string | null"},"end":{"type":"any","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].end","typeLabel":"any"}},"example":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0","typeLabel":"object[]"},{"description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)","type":"null","items":{"description":"A Discount object represents the application of a coupon or promotion code to a checkout session, customer, subscription, or invoice. It records which coupon was redeemed, what the discount was applied to, and the time window over which it applies.","type":"object","required":["discount_id","source","start","test_mode"],"properties":{"discount_id":{"description":"The ID of the discount.","type":"string","example":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"checkout_session":{"oneOf":[{"description":"The checkout session that the discount was applied to.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The checkout session that the discount was applied to.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"customer":{"oneOf":[{"description":"The customer that the discount was applied to.","type":"string","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The customer that the discount was applied to.","type":"null","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"subscription":{"oneOf":[{"description":"The subscription that the discount was applied to.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The subscription that the discount was applied to.","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"invoice":{"oneOf":[{"description":"The invoice that the discount was applied to.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The invoice that the discount was applied to.","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"source":{"description":"The source of the discount (coupon or promotion code).","type":"object","required":["coupon","type"],"properties":{"coupon":{"type":"any","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"type":{"description":"The type of source.","type":"string","enum":["coupon","promotion_code"],"example":"coupon"}},"example":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"}},"promo_code":{"oneOf":[{"description":"The promo code applied to create the discount.","type":"string","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The promo code applied to create the discount.","type":"null","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether the discount was applied in test mode","type":"boolean","example":false},"end":{"type":"any","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null."},"start":{"description":"Date that the coupon was applied.","type":"string","example":"string"}},"example":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts","typeLabel":"object[] | null"},"pause":{"type":"any","description":"The current pause. Present only while the subscription is paused.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause","typeLabel":"any"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.1","typeLabel":"object"},{"type":"null","description":"The subscription that this invoice was prepared for.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.subscription","typeLabel":"string | object | null"},"paid_at":{"oneOf":[{"type":"string","description":"When the invoice was paid.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.paid_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the invoice was paid.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.paid_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.paid_at","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the invoice.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the invoice.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.metadata","typeLabel":"object | null"},"backup_charge_status":{"oneOf":[{"type":"string","description":"Outcome of the backup-payment-method fallback for this invoice. Omitted when no fallback applied. `succeeded` on a paid invoice means the subscription's backup card covered this renewal after the default payment method failed.","enum":["pending","succeeded","failed","skipped"],"example":"pending","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.backup_charge_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Outcome of the backup-payment-method fallback for this invoice. Omitted when no fallback applied. `succeeded` on a paid invoice means the subscription's backup card covered this renewal after the default payment method failed.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.backup_charge_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1.backup_charge_status","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.1","typeLabel":"object"},{"type":"null","description":"The invoice this charge is for if one exists.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.invoice","typeLabel":"string | object | null"},"failure_message":{"oneOf":[{"description":"Message to user further explaining reason for charge failure if available.","type":"string","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_message.oneOf.0","typeLabel":"string"},{"description":"Message to user further explaining reason for charge failure if available.","type":"null","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_message","typeLabel":"string | null"},"refunds":{"oneOf":[{"description":"A list of refunds that have been applied to the charge.","type":"array","items":{"oneOf":[{"type":"string","description":"An expandable field — either a string ID or an expanded Refund object.","example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"object","description":"An expandable field — either a string ID or an expanded Refund object.","required":["amount","created_at","refund_id","status","test_mode"],"example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"refund_id":{"description":"The ID of the refund","type":"string","example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.refund_id","typeLabel":"string"},"amount":{"description":"The amount of the refund in cents","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.amount","typeLabel":"integer\u003cint32>"},"created_at":{"description":"The time at which the refund was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.created_at","typeLabel":"string"},"status":{"description":"The status of the refund","type":"string","enum":["pending","requires_action","succeeded","failed","canceled"],"example":"pending","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the refund was created in test mode","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.test_mode","typeLabel":"boolean"},"payment_intent_id":{"oneOf":[{"description":"The ID of the payment intent that the refund is associated with","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.payment_intent_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the payment intent that the refund is associated with","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.payment_intent_id","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","description":"The reason for the refund","enum":["duplicate","fraudulent","requested_by_customer","expired_uncaptured_charge"],"example":"duplicate","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The reason for the refund","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reason","typeLabel":"enum\u003cstring> | null"},"metadata":{"oneOf":[{"description":"Metadata attached to the refund","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata attached to the refund","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.metadata","typeLabel":"object | null"},"reference_id":{"oneOf":[{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_id.oneOf.0","typeLabel":"string"},{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_id","typeLabel":"string | null"},"reference_type":{"oneOf":[{"type":"string","description":"Type of the reference number used for the refund","enum":["acquirer_reference_number","system_trace_audit_number","retrieval_reference_number"],"example":"acquirer_reference_number","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Type of the reference number used for the refund","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_type","typeLabel":"enum\u003cstring> | null"},"reference_status":{"oneOf":[{"type":"string","description":"Status of the reference number used for the refund","enum":["available","pending","unavailable"],"example":"available","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Status of the reference number used for the refund","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.reference_status","typeLabel":"enum\u003cstring> | null"},"items":{"description":"List of refund items (charges that were refunded)","default":[],"type":"array","items":{"description":"Represents a single refund item (charge that was refunded)","type":"object","required":["amount_refunded"],"properties":{"amount_refunded":{"description":"The amount refunded from this charge in cents","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].amount_refunded","typeLabel":"integer\u003cint32>"},"payment_intent":{"oneOf":[{"description":"The ID of the payment intent that the refund is associated with","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_intent.oneOf.0","typeLabel":"string"},{"description":"The ID of the payment intent that the refund is associated with","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_intent.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_intent","typeLabel":"string | null"},"payment_method_id":{"oneOf":[{"description":"The ID of the payment method used for this refund","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_method_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the payment method used for this refund","type":"null","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_method_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].payment_method_id","typeLabel":"string | null"},"reference_id":{"oneOf":[{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_id.oneOf.0","typeLabel":"string"},{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_id","typeLabel":"string | null"},"reference_type":{"oneOf":[{"type":"string","description":"Type of the reference number used for the refund","enum":["acquirer_reference_number","system_trace_audit_number","retrieval_reference_number"],"example":"acquirer_reference_number","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Type of the reference number used for the refund","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_type","typeLabel":"enum\u003cstring> | null"},"reference_status":{"oneOf":[{"type":"string","description":"Status of the reference number used for the refund","enum":["available","pending","unavailable"],"example":"available","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Status of the reference number used for the refund","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].reference_status","typeLabel":"enum\u003cstring> | null"}},"example":{"amount_refunded":2500,"payment_intent":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","payment_method_id":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","reference_id":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","reference_type":"acquirer_reference_number","reference_status":"available"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.\\items","typeLabel":"object[]"},"subscription_id":{"oneOf":[{"description":"The subscription this refund is associated with (for subscription cancellation refunds)","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.subscription_id.oneOf.0","typeLabel":"string"},{"description":"The subscription this refund is associated with (for subscription cancellation refunds)","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.subscription_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.subscription_id","typeLabel":"string | null"},"invoice_id":{"oneOf":[{"description":"The invoice this refund is associated with (for subscription billing period refunds)","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.invoice_id.oneOf.0","typeLabel":"string"},{"description":"The invoice this refund is associated with (for subscription billing period refunds)","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.invoice_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.invoice_id","typeLabel":"string | null"},"balance_transaction":{"oneOf":[{"type":"string","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.0","typeLabel":"string"},{"type":"object","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.balance_transaction_id","typeLabel":"string"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.amount","typeLabel":"integer\u003cint32>"},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.fee","typeLabel":"integer\u003cint32>"},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.net","typeLabel":"integer\u003cint32>"},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.test_mode","typeLabel":"boolean"},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.available_on.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.available_on.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.available_on","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.created_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.created_at","typeLabel":"string | null"},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.exchange_rate","typeLabel":"number\u003cdouble> | null"},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.reporting_category.oneOf.0","typeLabel":"string"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.reporting_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.reporting_category","typeLabel":"string | null"},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.checkout_session_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.checkout_session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.checkout_session_id","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.client_reference_id","typeLabel":"string | null"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.source_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.source_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.source_id","typeLabel":"string | null"},"type":{"oneOf":[{"description":"The type of transaction.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.type.oneOf.0","typeLabel":"string"},{"description":"The type of transaction.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.type","typeLabel":"string | null"},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id","typeLabel":"string | null"},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.mid.oneOf.0","typeLabel":"string"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.mid.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.mid","typeLabel":"string | null"},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.currency.oneOf.0","typeLabel":"string"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.currency","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.metadata","typeLabel":"object | null"},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount","typeLabel":"integer\u003cint32> | null"},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount","typeLabel":"integer\u003cint32> | null"},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount","typeLabel":"integer\u003cint32> | null"},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount","typeLabel":"integer\u003cint32> | null"},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_type.oneOf.0","typeLabel":"string"},{"description":"Card funding type used for the transaction.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_type","typeLabel":"string | null"},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_network.oneOf.0","typeLabel":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_network.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1.card_network","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.1","typeLabel":"object"},{"type":"null","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.balance_transaction","typeLabel":"string | object | null"},"failure_balance_transaction":{"oneOf":[{"type":"string","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.0","typeLabel":"string"},{"type":"object","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.balance_transaction_id","typeLabel":"string"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.amount","typeLabel":"integer\u003cint32>"},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.fee","typeLabel":"integer\u003cint32>"},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.net","typeLabel":"integer\u003cint32>"},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.test_mode","typeLabel":"boolean"},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.available_on.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.available_on.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.available_on","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.created_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.created_at","typeLabel":"string | null"},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate","typeLabel":"number\u003cdouble> | null"},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.reporting_category.oneOf.0","typeLabel":"string"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.reporting_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.reporting_category","typeLabel":"string | null"},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id","typeLabel":"string | null"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.source_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.source_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.source_id","typeLabel":"string | null"},"type":{"oneOf":[{"description":"The type of transaction.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.type.oneOf.0","typeLabel":"string"},{"description":"The type of transaction.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.type","typeLabel":"string | null"},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id","typeLabel":"string | null"},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.mid.oneOf.0","typeLabel":"string"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.mid.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.mid","typeLabel":"string | null"},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.currency.oneOf.0","typeLabel":"string"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.currency","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.metadata","typeLabel":"object | null"},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount","typeLabel":"integer\u003cint32> | null"},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount","typeLabel":"integer\u003cint32> | null"},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount","typeLabel":"integer\u003cint32> | null"},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount","typeLabel":"integer\u003cint32> | null"},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_type.oneOf.0","typeLabel":"string"},{"description":"Card funding type used for the transaction.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_type","typeLabel":"string | null"},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_network.oneOf.0","typeLabel":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_network.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1.card_network","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.1","typeLabel":"object"},{"type":"null","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1.failure_balance_transaction","typeLabel":"string | object | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0.items.[INDEX]","typeLabel":"string | object"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.0","typeLabel":"(string | object)[]"},{"description":"A list of refunds that have been applied to the charge.","type":"null","items":{"oneOf":[{"type":"string","description":"An expandable field — either a string ID or an expanded Refund object.","example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"An expandable field — either a string ID or an expanded Refund object.","required":["amount","created_at","refund_id","status","test_mode"],"example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"refund_id":{"description":"The ID of the refund","type":"string","example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"payment_intent_id":{"oneOf":[{"description":"The ID of the payment intent that the refund is associated with","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The ID of the payment intent that the refund is associated with","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"amount":{"description":"The amount of the refund in cents","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"created_at":{"description":"The time at which the refund was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z"},"reason":{"oneOf":[{"type":"string","description":"The reason for the refund","enum":["duplicate","fraudulent","requested_by_customer","expired_uncaptured_charge"],"example":"duplicate"},{"type":"null","description":"The reason for the refund"}]},"status":{"description":"The status of the refund","type":"string","enum":["pending","requires_action","succeeded","failed","canceled"],"example":"pending"},"test_mode":{"description":"Whether the refund was created in test mode","type":"boolean","example":false},"metadata":{"oneOf":[{"description":"Metadata attached to the refund","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Metadata attached to the refund","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"reference_id":{"oneOf":[{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"reference_type":{"oneOf":[{"type":"string","description":"Type of the reference number used for the refund","enum":["acquirer_reference_number","system_trace_audit_number","retrieval_reference_number"],"example":"acquirer_reference_number"},{"type":"null","description":"Type of the reference number used for the refund"}]},"reference_status":{"oneOf":[{"type":"string","description":"Status of the reference number used for the refund","enum":["available","pending","unavailable"],"example":"available"},{"type":"null","description":"Status of the reference number used for the refund"}]},"items":{"description":"List of refund items (charges that were refunded)","default":[],"type":"array","items":{"description":"Represents a single refund item (charge that was refunded)","type":"object","required":["amount_refunded"],"properties":{"amount_refunded":{"description":"The amount refunded from this charge in cents","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"payment_intent":{"oneOf":[{"description":"The ID of the payment intent that the refund is associated with","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The ID of the payment intent that the refund is associated with","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"payment_method_id":{"oneOf":[{"description":"The ID of the payment method used for this refund","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The ID of the payment method used for this refund","type":"null","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"reference_id":{"oneOf":[{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"reference_type":{"oneOf":[{"type":"string","description":"Type of the reference number used for the refund","enum":["acquirer_reference_number","system_trace_audit_number","retrieval_reference_number"],"example":"acquirer_reference_number"},{"type":"null","description":"Type of the reference number used for the refund"}]},"reference_status":{"oneOf":[{"type":"string","description":"Status of the reference number used for the refund","enum":["available","pending","unavailable"],"example":"available"},{"type":"null","description":"Status of the reference number used for the refund"}]}},"example":{"amount_refunded":2500,"payment_intent":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","payment_method_id":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","reference_id":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","reference_type":"acquirer_reference_number","reference_status":"available"}}},"subscription_id":{"oneOf":[{"description":"The subscription this refund is associated with (for subscription cancellation refunds)","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The subscription this refund is associated with (for subscription cancellation refunds)","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"invoice_id":{"oneOf":[{"description":"The invoice this refund is associated with (for subscription billing period refunds)","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The invoice this refund is associated with (for subscription billing period refunds)","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"balance_transaction":{"oneOf":[{"type":"string","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp."}]},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"}]},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1}]},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value"}]},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"type":{"oneOf":[{"description":"The type of transaction.","type":"string"},{"description":"The type of transaction.","type":"null"}]},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value"}]},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd"}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string"},{"description":"Card funding type used for the transaction.","type":"null"}]},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null"}]}}},{"type":"null","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object."}]},"failure_balance_transaction":{"oneOf":[{"type":"string","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp."}]},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"}]},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1}]},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value"}]},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"type":{"oneOf":[{"description":"The type of transaction.","type":"string"},{"description":"The type of transaction.","type":"null"}]},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value"}]},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd"}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string"},"example":{"order_id":"8842","channel":"shopify"}}]},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string"},{"description":"Card funding type used for the transaction.","type":"null"}]},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null"}]}}},{"type":"null","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance."}]}}}]},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.refunds","typeLabel":"(string | object)[] | null"},"transfer_group":{"oneOf":[{"description":"A string that identifies the resulting payment as part of a group","type":"string","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.transfer_group.oneOf.0","typeLabel":"string"},{"description":"A string that identifies the resulting payment as part of a group","type":"null","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.transfer_group.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.transfer_group","typeLabel":"string | null"},"payment_method_id":{"oneOf":[{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.payment_method_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the PaymentMethod.","type":"null","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.payment_method_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.payment_method_id","typeLabel":"string | null"},"three_d_secure":{"oneOf":[{"type":"object","description":"3D Secure authentication outcome details, if 3DS was used.","example":{"authentication_flow":"string","result":"string","result_reason":"string","version":"string"},"properties":{"authentication_flow":{"oneOf":[{"description":"How the customer was authenticated: `challenge` or `frictionless`.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.authentication_flow.oneOf.0","typeLabel":"string"},{"description":"How the customer was authenticated: `challenge` or `frictionless`.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.authentication_flow.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.authentication_flow","typeLabel":"string | null"},"result":{"oneOf":[{"description":"Outcome of 3D Secure authentication.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.result.oneOf.0","typeLabel":"string"},{"description":"Outcome of 3D Secure authentication.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.result.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.result","typeLabel":"string | null"},"result_reason":{"oneOf":[{"description":"Additional detail about why 3DS succeeded or failed.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.result_reason.oneOf.0","typeLabel":"string"},{"description":"Additional detail about why 3DS succeeded or failed.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.result_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.result_reason","typeLabel":"string | null"},"version":{"oneOf":[{"description":"The version of 3D Secure used.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.version.oneOf.0","typeLabel":"string"},{"description":"The version of 3D Secure used.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.version.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0.version","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.0","typeLabel":"object"},{"type":"null","description":"3D Secure authentication outcome details, if 3DS was used.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.three_d_secure","typeLabel":"object | null"},"decline_details":{"oneOf":[{"type":"object","description":"Decline and risk details for failed or blocked charges.","example":{"failure_code":"string","decline_code":"string","failure_message":"string","outcome_type":"string","network_status":"string","seller_message":"string","reason":"string","risk_level":"string"},"properties":{"failure_code":{"oneOf":[{"description":"Error code for the charge failure (e.g. `card_declined`, `expired_card`).","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.failure_code.oneOf.0","typeLabel":"string"},{"description":"Error code for the charge failure (e.g. `card_declined`, `expired_card`).","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.failure_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.failure_code","typeLabel":"string | null"},"decline_code":{"oneOf":[{"description":"More specific decline reason (e.g. `insufficient_funds`, `lost_card`).","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.decline_code.oneOf.0","typeLabel":"string"},{"description":"More specific decline reason (e.g. `insufficient_funds`, `lost_card`).","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.decline_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.decline_code","typeLabel":"string | null"},"failure_message":{"oneOf":[{"description":"User-facing failure message.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.failure_message.oneOf.0","typeLabel":"string"},{"description":"User-facing failure message.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.failure_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.failure_message","typeLabel":"string | null"},"outcome_type":{"oneOf":[{"description":"The outcome type of the decline.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.outcome_type.oneOf.0","typeLabel":"string"},{"description":"The outcome type of the decline.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.outcome_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.outcome_type","typeLabel":"string | null"},"network_status":{"oneOf":[{"description":"Network-level status: `approved_by_network`, `declined_by_network`, etc.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.network_status.oneOf.0","typeLabel":"string"},{"description":"Network-level status: `approved_by_network`, `declined_by_network`, etc.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.network_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.network_status","typeLabel":"string | null"},"seller_message":{"oneOf":[{"description":"Technical explanation of the outcome for the merchant.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.seller_message.oneOf.0","typeLabel":"string"},{"description":"Technical explanation of the outcome for the merchant.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.seller_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.seller_message","typeLabel":"string | null"},"reason":{"oneOf":[{"description":"Fraud/risk reason (e.g. `elevated_risk_level`).","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.reason.oneOf.0","typeLabel":"string"},{"description":"Fraud/risk reason (e.g. `elevated_risk_level`).","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.reason","typeLabel":"string | null"},"risk_level":{"oneOf":[{"description":"The risk level assessed for the payment.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.risk_level.oneOf.0","typeLabel":"string"},{"description":"The risk level assessed for the payment.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.risk_level.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0.risk_level","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.0","typeLabel":"object"},{"type":"null","description":"Decline and risk details for failed or blocked charges.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.decline_details","typeLabel":"object | null"},"balance_transaction":{"oneOf":[{"type":"string","description":"Balance transaction that describes the impact of this charge on your balance. Populated on successful capture, returned as the balance transaction ID. Always serialized; `null` for uncaptured charges.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.0","typeLabel":"string"},{"type":"object","description":"Balance transaction that describes the impact of this charge on your balance. Populated on successful capture, returned as the balance transaction ID. Always serialized; `null` for uncaptured charges.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.balance_transaction_id","typeLabel":"string"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.amount","typeLabel":"integer\u003cint32>"},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.fee","typeLabel":"integer\u003cint32>"},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.net","typeLabel":"integer\u003cint32>"},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.test_mode","typeLabel":"boolean"},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.available_on.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.available_on.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.available_on","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.created_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.created_at","typeLabel":"string | null"},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.exchange_rate","typeLabel":"number\u003cdouble> | null"},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.reporting_category.oneOf.0","typeLabel":"string"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.reporting_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.reporting_category","typeLabel":"string | null"},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.checkout_session_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.checkout_session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.checkout_session_id","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.client_reference_id","typeLabel":"string | null"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.source_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.source_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.source_id","typeLabel":"string | null"},"type":{"oneOf":[{"description":"The type of transaction.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.type.oneOf.0","typeLabel":"string"},{"description":"The type of transaction.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.type","typeLabel":"string | null"},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.flex_payment_intent_id","typeLabel":"string | null"},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.mid.oneOf.0","typeLabel":"string"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.mid.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.mid","typeLabel":"string | null"},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.currency.oneOf.0","typeLabel":"string"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.currency","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.metadata","typeLabel":"object | null"},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.transaction_fee_amount","typeLabel":"integer\u003cint32> | null"},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.interchange_fee_amount","typeLabel":"integer\u003cint32> | null"},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.lmn_fee_amount","typeLabel":"integer\u003cint32> | null"},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.dispute_fee_amount","typeLabel":"integer\u003cint32> | null"},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.card_type.oneOf.0","typeLabel":"string"},{"description":"Card funding type used for the transaction.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.card_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.card_type","typeLabel":"string | null"},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.card_network.oneOf.0","typeLabel":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.card_network.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1.card_network","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.1","typeLabel":"object"},{"type":"null","description":"Balance transaction that describes the impact of this charge on your balance. Populated on successful capture, returned as the balance transaction ID. Always serialized; `null` for uncaptured charges.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.balance_transaction","typeLabel":"string | object | null"},"failure_balance_transaction":{"oneOf":[{"type":"string","description":"Reversal balance transaction created when a captured charge fails or is otherwise reversed and funds are credited back. Always serialized; `null` on the common success path.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.0","typeLabel":"string"},{"type":"object","description":"Reversal balance transaction created when a captured charge fails or is otherwise reversed and funds are credited back. Always serialized; `null` on the common success path.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.balance_transaction_id","typeLabel":"string"},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.amount","typeLabel":"integer\u003cint32>"},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.fee","typeLabel":"integer\u003cint32>"},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.net","typeLabel":"integer\u003cint32>"},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.status","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.test_mode","typeLabel":"boolean"},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.available_on.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.available_on.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.available_on","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.created_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.created_at","typeLabel":"string | null"},"exchange_rate":{"oneOf":[{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"number","format":"double","example":1,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","type":"null","format":"double","example":1,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.exchange_rate","typeLabel":"number\u003cdouble> | null"},"reporting_category":{"oneOf":[{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"string","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.reporting_category.oneOf.0","typeLabel":"string"},{"description":"High-level accounting category for the transaction. `null` if not yet categorized.","type":"null","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.reporting_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.reporting_category","typeLabel":"string | null"},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.checkout_session_id","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"Your own identifier for the originating object, carried over from the checkout session or payment.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.client_reference_id","typeLabel":"string | null"},"source_id":{"oneOf":[{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.source_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.source_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.source_id","typeLabel":"string | null"},"type":{"oneOf":[{"description":"The type of transaction.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.type.oneOf.0","typeLabel":"string"},{"description":"The type of transaction.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.type","typeLabel":"string | null"},"flex_payment_intent_id":{"oneOf":[{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","type":"null","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.flex_payment_intent_id","typeLabel":"string | null"},"mid":{"oneOf":[{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"string","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.mid.oneOf.0","typeLabel":"string"},{"description":"Merchant identifier (MID) for the account that processed the transaction.","type":"null","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.mid.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.mid","typeLabel":"string | null"},"currency":{"oneOf":[{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"string","example":"usd","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.currency.oneOf.0","typeLabel":"string"},{"description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","type":"null","example":"usd","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.currency","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs you can attach to the object for storing additional structured information.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.metadata","typeLabel":"object | null"},"transaction_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.transaction_fee_amount","typeLabel":"integer\u003cint32> | null"},"interchange_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.interchange_fee_amount","typeLabel":"integer\u003cint32> | null"},"lmn_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.lmn_fee_amount","typeLabel":"integer\u003cint32> | null"},"dispute_fee_amount":{"oneOf":[{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.dispute_fee_amount","typeLabel":"integer\u003cint32> | null"},"card_type":{"oneOf":[{"description":"Card funding type used for the transaction.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.card_type.oneOf.0","typeLabel":"string"},{"description":"Card funding type used for the transaction.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.card_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.card_type","typeLabel":"string | null"},"card_network":{"oneOf":[{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.card_network.oneOf.0","typeLabel":"string"},{"description":"Card network used for the transaction (e.g., `visa`, `mastercard`).","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.card_network.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1.card_network","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.1","typeLabel":"object"},{"type":"null","description":"Reversal balance transaction created when a captured charge fails or is otherwise reversed and funds are credited back. Always serialized; `null` on the common success path.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1.failure_balance_transaction","typeLabel":"string | object | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.1","typeLabel":"object"},{"type":"null","description":"The latest charge associated with the payment intent.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.latest_charge","typeLabel":"string | object | null"},"invoice":{"oneOf":[{"type":"string","description":"The invoice associated with the payment intent.","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.0","typeLabel":"string"},{"type":"object","description":"The invoice associated with the payment intent.","required":["amount_due","amount_paid","collection_method","created_at","invoice_id","status","test_mode","total"],"example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"invoice_id":{"description":"The id of the invoice.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.invoice_id","typeLabel":"string"},"total":{"description":"The total amount of the invoice in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.total","typeLabel":"integer\u003cint32>"},"amount_due":{"description":"The amount due in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.amount_due","typeLabel":"integer\u003cint32>"},"amount_paid":{"description":"The amount paid in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.amount_paid","typeLabel":"integer\u003cint32>"},"status":{"description":"The status of the invoice.","type":"string","enum":["draft","open","void","paid","uncollectible"],"example":"draft","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.status","typeLabel":"enum\u003cstring>"},"collection_method":{"description":"Either charge_automatically or send_invoice. When charging automatically, Flex will attempt to pay this invoice using the default payment method attached to the customer. When sending an invoice, Flex will email this invoice to the customer with payment instructions.","type":"string","enum":["charge_automatically","send_invoice"],"example":"charge_automatically","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.collection_method","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether or not the invoice was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.test_mode","typeLabel":"boolean"},"created_at":{"description":"When the invoice was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.created_at","typeLabel":"string"},"payment_intent":{"oneOf":[{"description":"The payment intent associated with this invoice. The payment intent is created when the invoice is finalized.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.payment_intent.oneOf.0","typeLabel":"any"},{"type":"null","description":"The payment intent associated with this invoice. The payment intent is created when the invoice is finalized.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.payment_intent.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.payment_intent","typeLabel":"any | null"},"charge":{"oneOf":[{"description":"The id of the latest charge for this invoice.","type":"string","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.charge.oneOf.0","typeLabel":"string"},{"description":"The id of the latest charge for this invoice.","type":"null","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.charge.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.charge","typeLabel":"string | null"},"customer":{"oneOf":[{"type":"string","description":"The id of the customer this invoice is for.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The id of the customer this invoice is for.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.1","typeLabel":"object"},{"type":"null","description":"The id of the customer this invoice is for.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.customer","typeLabel":"string | object | null"},"period_end":{"oneOf":[{"type":"string","description":"End of the usage period.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.period_end.oneOf.0","typeLabel":"string"},{"type":"null","description":"End of the usage period.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.period_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.period_end","typeLabel":"string | null"},"period_start":{"oneOf":[{"type":"string","description":"Start of the usage period.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.period_start.oneOf.0","typeLabel":"string"},{"type":"null","description":"Start of the usage period.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.period_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.period_start","typeLabel":"string | null"},"subscription":{"oneOf":[{"type":"string","description":"The subscription that this invoice was prepared for.","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.0","typeLabel":"string"},{"type":"object","description":"The subscription that this invoice was prepared for.","required":["cancel_at_period_end","created_at","items","status","subscription_id","test_mode"],"example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"subscription_id":{"description":"Unique identifier for the object.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.subscription_id","typeLabel":"string"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.created_at","typeLabel":"string"},"items":{"description":"The items the customer is subscribed to.","type":"array","items":{"description":"A Subscription Item represents a single recurring Price billed as part of a Subscription, together with the quantity of that price the customer is subscribed to. A subscription has one item per recurring price it bills.","type":"object","required":["created_at","price","quantity","subscription_item_id","test_mode"],"properties":{"subscription_item_id":{"description":"Unique identifier for the subscription item.","type":"string","example":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].subscription_item_id","typeLabel":"string"},"price":{"oneOf":[{"type":"string","description":"The recurring Price this item bills. Returned as a price ID by default, or as the full Price object when expanded.","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.0","typeLabel":"string"},{"type":"object","description":"The recurring Price this item bills. Returned as a price ID by default, or as the full Price object when expanded.","required":["active","created_at","price_id","product","test_mode","type","unit_amount"],"example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"price_id":{"description":"The unique identifier for the price.","type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.price_id","typeLabel":"string"},"unit_amount":{"description":"The amount to charge per unit, in the smallest currency unit (e.g., `2500` = $25.00 USD).","type":"integer","format":"int32","minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.unit_amount","typeLabel":"integer\u003cint32>"},"active":{"description":"Whether the price is currently active.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.active","typeLabel":"boolean"},"product":{"oneOf":[{"type":"string","description":"The product this price belongs to. Returned as a product ID by default, or as the full Product object when expanded.","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.0","typeLabel":"string"},{"type":"object","description":"The product this price belongs to. Returned as a product ID by default, or as the full Product object when expanded.","required":["active","created_at","hsa_fsa_eligibility","name","product_id","test_mode"],"example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"product_id":{"description":"The unique identifier for the product.","type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.product_id","typeLabel":"string"},"name":{"description":"The name of the product.","type":"string","example":"Example","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.name","typeLabel":"string"},"created_at":{"description":"The date the product was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.created_at","typeLabel":"string"},"active":{"description":"Determines if the product is active or not.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.active","typeLabel":"boolean"},"hsa_fsa_eligibility":{"description":"The elegibility of the product for HSA/FSA.","type":"string","enum":["not_eligible","auto_substantiation","private_label","letter_of_medical_necessity","prescription","vision","service","pending"],"example":"not_eligible","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.hsa_fsa_eligibility","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the product is in test mode or not.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The ID of the account that owns this product. For products shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the account that owns this product. For products shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"null","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.owner_partner_id","typeLabel":"string | null"},"description":{"oneOf":[{"description":"The description of the product.","type":"string","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.description.oneOf.0","typeLabel":"string"},{"description":"The description of the product.","type":"null","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.description","typeLabel":"string | null"},"document_description":{"oneOf":[{"description":"Medical-grade description optimized for use in Letters of Medical Necessity and receipts.","deprecated":true,"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.document_description.oneOf.0","typeLabel":"string"},{"description":"Medical-grade description optimized for use in Letters of Medical Necessity and receipts.","deprecated":true,"type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.document_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.document_description","typeLabel":"string | null"},"receipt_description":{"oneOf":[{"description":"Shortened description tailored to receipt line items","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.receipt_description.oneOf.0","typeLabel":"string"},{"description":"Shortened description tailored to receipt line items","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.receipt_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.receipt_description","typeLabel":"string | null"},"visit_type":{"type":"any","description":"The visit type of the product if a letter of medical necessity is required.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.visit_type","typeLabel":"any"},"upc_code":{"oneOf":[{"description":"The upc code of the product.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.upc_code.oneOf.0","typeLabel":"string"},{"description":"The upc code of the product.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.upc_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.upc_code","typeLabel":"string | null"},"gtin":{"oneOf":[{"description":"The gtin code of the product.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.gtin.oneOf.0","typeLabel":"string"},{"description":"The gtin code of the product.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.gtin.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.gtin","typeLabel":"string | null"},"reference_gtin":{"oneOf":[{"description":"The GTIN of a private-label reference product, used to establish HSA/FSA eligibility.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.reference_gtin.oneOf.0","typeLabel":"string"},{"description":"The GTIN of a private-label reference product, used to establish HSA/FSA eligibility.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.reference_gtin.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.reference_gtin","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the product.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the product.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata","typeLabel":"object | null"},"url":{"oneOf":[{"description":"The URL of the product.","type":"string","example":"https://example.com","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.url.oneOf.0","typeLabel":"string"},{"description":"The URL of the product.","type":"null","example":"https://example.com","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.url","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"An optional identifier for the product set by the client at creation time. Immutable after creation.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"An optional identifier for the product set by the client at creation time. Immutable after creation.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.client_reference_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product","typeLabel":"string | object"},"created_at":{"description":"The date the price was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.created_at","typeLabel":"string"},"type":{"description":"The type of the price: a single one-time charge, or a recurring charge billed on a schedule.","type":"string","enum":["one_time","recurring"],"example":"one_time","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.type","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the price is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The ID of the account that owns this price. For prices shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the account that owns this price. For prices shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"null","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.owner_partner_id","typeLabel":"string | null"},"description":{"oneOf":[{"description":"The description of the price.","type":"string","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.description.oneOf.0","typeLabel":"string"},{"description":"The description of the price.","type":"null","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.description","typeLabel":"string | null"},"trial_period_days":{"oneOf":[{"description":"The number of trial period days before the customer is first charged for a recurring price.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.trial_period_days.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The number of trial period days before the customer is first charged for a recurring price.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.trial_period_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.trial_period_days","typeLabel":"integer\u003cint32> | null"},"recurring":{"oneOf":[{"type":"object","description":"The recurring components of a price such as interval and trial period days.","required":["interval"],"example":{"interval":"day","interval_count":0,"trial_period_days":0},"properties":{"interval":{"description":"The billing cadence for the price.","type":"string","enum":["day","week","month","year"],"example":"day","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval","typeLabel":"enum\u003cstring>"},"interval_count":{"oneOf":[{"description":"The number of intervals","type":"integer","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval_count.oneOf.0","typeLabel":"integer\u003cint64>"},{"description":"The number of intervals","type":"null","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval_count","typeLabel":"integer\u003cint64> | null"},"trial_period_days":{"oneOf":[{"description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","type":"integer","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.trial_period_days.oneOf.0","typeLabel":"integer\u003cint64>"},{"description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","type":"null","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.trial_period_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.trial_period_days","typeLabel":"integer\u003cint64> | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0","typeLabel":"object"},{"type":"null","description":"The recurring components of a price such as interval and trial period days.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata information for the price object","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata information for the price object","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.metadata","typeLabel":"object | null"},"lookup_key":{"oneOf":[{"description":"A stable, partner-owned key for this price. Unique per account and mode across all prices, archived ones included. `null` until you set one.","type":"string","maxLength":200,"example":"standard_monthly","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.lookup_key.oneOf.0","typeLabel":"string"},{"description":"A stable, partner-owned key for this price. Unique per account and mode across all prices, archived ones included. `null` until you set one.","type":"null","maxLength":200,"example":"standard_monthly","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.lookup_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.lookup_key","typeLabel":"string | null"},"hsa_fsa_eligibility":{"oneOf":[{"type":"string","description":"The HSA/FSA eligibility for the price.","enum":["not_eligible","auto_substantiation","private_label","letter_of_medical_necessity","prescription","vision","service","pending"],"example":"not_eligible","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.hsa_fsa_eligibility.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The HSA/FSA eligibility for the price.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.hsa_fsa_eligibility.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.hsa_fsa_eligibility","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].price","typeLabel":"string | object"},"quantity":{"description":"The number of units of the price the customer is subscribed to.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"created_at":{"description":"Time at which the subscription item was created, as an RFC 3339 timestamp.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].created_at","typeLabel":"string"},"test_mode":{"description":"Whether the subscription item exists in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].test_mode","typeLabel":"boolean"},"updated_at":{"oneOf":[{"type":"string","description":"Time at which the subscription item was last updated, as an RFC 3339 timestamp. `null` if the item has not been updated since creation.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"Time at which the subscription item was last updated, as an RFC 3339 timestamp. `null` if the item has not been updated since creation.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX].updated_at","typeLabel":"string | null"}},"example":{"subscription_item_id":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","price":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","quantity":2500,"created_at":"2026-06-15T14:30:00Z","updated_at":"2026-06-15T14:30:00Z","test_mode":false},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.\\items","typeLabel":"object[]"},"status":{"description":"Possible values are incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, or paused.","type":"string","enum":["incomplete","incomplete_expired","trialing","active","past_due","canceled","unpaid","paused"],"example":"incomplete","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.status","typeLabel":"enum\u003cstring>"},"cancel_at_period_end":{"description":"If the subscription has been canceled with the at_period_end flag set to true, cancel_at_period_end on the subscription will be true. You can use this attribute to determine whether a subscription that has a status of active is scheduled to be canceled at the end of the current period.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at_period_end","typeLabel":"boolean"},"test_mode":{"description":"Whether the subscription is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.test_mode","typeLabel":"boolean"},"latest_invoice":{"oneOf":[{"description":"The ID of the latest invoice generated for this subscription.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.latest_invoice.oneOf.0","typeLabel":"any"},{"type":"null","description":"The ID of the latest invoice generated for this subscription.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.latest_invoice.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.latest_invoice","typeLabel":"any | null"},"customer":{"oneOf":[{"type":"string","description":"The ID of the customer who owns the subscription.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The ID of the customer who owns the subscription.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"type":"any","description":"The customer's shipping address.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.shipping","typeLabel":"any"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.1","typeLabel":"object"},{"type":"null","description":"The ID of the customer who owns the subscription.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.customer","typeLabel":"string | object | null"},"current_period_end":{"oneOf":[{"type":"string","description":"End of the current period that the subscription has been invoiced for.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_end.oneOf.0","typeLabel":"string"},{"type":"null","description":"End of the current period that the subscription has been invoiced for.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_end","typeLabel":"string | null"},"current_period_start":{"oneOf":[{"type":"string","description":"Start of the current period that the subscription has been invoiced for.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_start.oneOf.0","typeLabel":"string"},{"type":"null","description":"Start of the current period that the subscription has been invoiced for.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.current_period_start","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"A set of key/value pairs that you can attach to a subscription object.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"A set of key/value pairs that you can attach to a subscription object.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.metadata","typeLabel":"object | null"},"client_secret":{"oneOf":[{"type":"object","description":"Client secrets used to confirm the subscription's first payment or payment-method setup from your frontend. Present only while the subscription is being activated; omitted otherwise. Do not log or store these secrets; expose them only to the customer over TLS.","example":{"setup_secret":"string","payment_secret":"string"},"properties":{"setup_secret":{"oneOf":[{"description":"Client secret of the SetupIntent used to collect and save a payment method for the subscription (for example, during a trial with no immediate charge). `null` when no setup is required. Do not log or store it; expose only to the customer over TLS.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.setup_secret.oneOf.0","typeLabel":"string"},{"description":"Client secret of the SetupIntent used to collect and save a payment method for the subscription (for example, during a trial with no immediate charge). `null` when no setup is required. Do not log or store it; expose only to the customer over TLS.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.setup_secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.setup_secret","typeLabel":"string | null"},"payment_secret":{"oneOf":[{"description":"Client secret of the PaymentIntent used to confirm the subscription's first payment from your frontend. `null` when no immediate payment is required. Do not log or store it; expose only to the customer over TLS.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.payment_secret.oneOf.0","typeLabel":"string"},{"description":"Client secret of the PaymentIntent used to confirm the subscription's first payment from your frontend. `null` when no immediate payment is required. Do not log or store it; expose only to the customer over TLS.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.payment_secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0.payment_secret","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.0","typeLabel":"object"},{"type":"null","description":"Client secrets used to confirm the subscription's first payment or payment-method setup from your frontend. Present only while the subscription is being activated; omitted otherwise. Do not log or store these secrets; expose them only to the customer over TLS.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.client_secret","typeLabel":"object | null"},"proration_behavior":{"oneOf":[{"type":"string","description":"The proration behavior for the subscription.","enum":["always_invoice","create_prorations","none"],"example":"always_invoice","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.proration_behavior.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The proration behavior for the subscription.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.proration_behavior.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.proration_behavior","typeLabel":"enum\u003cstring> | null"},"trial_start":{"oneOf":[{"type":"string","description":"Start of the subscription's trial period, as an RFC 3339 timestamp. `null` if the subscription has no trial.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_start.oneOf.0","typeLabel":"string"},{"type":"null","description":"Start of the subscription's trial period, as an RFC 3339 timestamp. `null` if the subscription has no trial.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_start","typeLabel":"string | null"},"trial_end":{"oneOf":[{"type":"string","description":"End of the subscription's trial period, as an RFC 3339 timestamp. After this time the customer is billed normally. `null` if the subscription has no trial.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_end.oneOf.0","typeLabel":"string"},{"type":"null","description":"End of the subscription's trial period, as an RFC 3339 timestamp. After this time the customer is billed normally. `null` if the subscription has no trial.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.trial_end","typeLabel":"string | null"},"cancel_at":{"oneOf":[{"type":"string","description":"A future RFC 3339 timestamp at which the subscription will automatically be canceled. `null` unless a future cancellation has been scheduled.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"A future RFC 3339 timestamp at which the subscription will automatically be canceled. `null` unless a future cancellation has been scheduled.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.cancel_at","typeLabel":"string | null"},"canceled_at":{"oneOf":[{"type":"string","description":"The RFC 3339 timestamp at which the subscription was actually canceled. `null` if the subscription has not been canceled. Unlike `cancel_at` (a future scheduled cancellation), this is set once the cancellation has occurred.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.canceled_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The RFC 3339 timestamp at which the subscription was actually canceled. `null` if the subscription has not been canceled. Unlike `cancel_at` (a future scheduled cancellation), this is set once the cancellation has occurred.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.canceled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.canceled_at","typeLabel":"string | null"},"default_payment_method":{"oneOf":[{"type":"string","description":"The default payment method for the subscription (expandable).","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.0","typeLabel":"string"},{"type":"object","description":"The default payment method for the subscription (expandable).","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.payment_method_id","typeLabel":"string"},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"type":"any","description":"The billing address.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address","typeLabel":"any"},"email":{"oneOf":[{"description":"The billing email address.","type":"string","example":"john.doe@example.com","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.email.oneOf.0","typeLabel":"string"},{"description":"The billing email address.","type":"null","example":"john.doe@example.com","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.email","typeLabel":"string | null"},"name":{"oneOf":[{"description":"The billing name.","type":"string","example":"Example","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.name.oneOf.0","typeLabel":"string"},{"description":"The billing name.","type":"null","example":"Example","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.name","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The billing phone number.","type":"string","example":"+14155550142","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.phone.oneOf.0","typeLabel":"string"},{"description":"The billing phone number.","type":"null","example":"+14155550142","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.phone","typeLabel":"string | null"}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details","typeLabel":"object"},"customer":{"type":"any","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.customer","typeLabel":"any"},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.brand","typeLabel":"enum\u003cstring>"},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.country","typeLabel":"string"},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.exp_month","typeLabel":"integer\u003cint32>"},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.exp_year","typeLabel":"integer\u003cint32>"},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.fingerprint","typeLabel":"string"},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.funding","typeLabel":"enum\u003cstring>"},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card.last4","typeLabel":"string"}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.card","typeLabel":"object"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.test_mode","typeLabel":"boolean"},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.off_session","typeLabel":"boolean"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","additionalProperties":{"type":"object","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","additionalProperties":{"type":"object","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.1","typeLabel":"object"},{"type":"null","description":"The default payment method for the subscription (expandable).","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.default_payment_method","typeLabel":"string | object | null"},"backup_payment_method":{"oneOf":[{"type":"string","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.0","typeLabel":"string"},{"type":"object","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.payment_method_id","typeLabel":"string"},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"type":"any","description":"The billing address.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address","typeLabel":"any"},"email":{"oneOf":[{"description":"The billing email address.","type":"string","example":"john.doe@example.com","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.email.oneOf.0","typeLabel":"string"},{"description":"The billing email address.","type":"null","example":"john.doe@example.com","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.email","typeLabel":"string | null"},"name":{"oneOf":[{"description":"The billing name.","type":"string","example":"Example","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.name.oneOf.0","typeLabel":"string"},{"description":"The billing name.","type":"null","example":"Example","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.name","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The billing phone number.","type":"string","example":"+14155550142","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.phone.oneOf.0","typeLabel":"string"},{"description":"The billing phone number.","type":"null","example":"+14155550142","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.phone","typeLabel":"string | null"}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details","typeLabel":"object"},"customer":{"type":"any","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.customer","typeLabel":"any"},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.brand","typeLabel":"enum\u003cstring>"},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.country","typeLabel":"string"},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.exp_month","typeLabel":"integer\u003cint32>"},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.exp_year","typeLabel":"integer\u003cint32>"},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.fingerprint","typeLabel":"string"},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.funding","typeLabel":"enum\u003cstring>"},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card.last4","typeLabel":"string"}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.card","typeLabel":"object"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.test_mode","typeLabel":"boolean"},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.off_session","typeLabel":"boolean"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","additionalProperties":{"type":"object","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","additionalProperties":{"type":"object","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.1","typeLabel":"object"},{"type":"null","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.backup_payment_method","typeLabel":"string | object | null"},"discounts":{"oneOf":[{"description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)","type":"array","items":{"description":"A Discount object represents the application of a coupon or promotion code to a checkout session, customer, subscription, or invoice. It records which coupon was redeemed, what the discount was applied to, and the time window over which it applies.","type":"object","required":["discount_id","source","start","test_mode"],"properties":{"discount_id":{"description":"The ID of the discount.","type":"string","example":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].discount_id","typeLabel":"string"},"source":{"description":"The source of the discount (coupon or promotion code).","type":"object","required":["coupon","type"],"properties":{"coupon":{"oneOf":[{"type":"string","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.0","typeLabel":"string"},{"type":"object","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","required":["coupon_id","created_at","duration","name","test_mode","valid"],"example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"coupon_id":{"description":"Unique identifier for the object.","type":"string","example":"fcoup_1234567890","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.coupon_id","typeLabel":"string"},"duration":{"type":"string","enum":["once","repeating","forever"],"x-ms-enum":{"name":"CouponDuration","modelAsString":false,"values":[{"value":"once","name":"Once","description":"Applies to the first charge from a subscription with this coupon applied."},{"value":"repeating","name":"Repeating","description":"Applies to charges in the first duration_in_months months from a subscription with this coupon applied."},{"value":"forever","name":"Forever","description":"Applies to all charges from a subscription with this coupon applied."}]},"description":"One of forever, once, and repeating. Describes how long a customer who applies this coupon will get the discount.","example":"once","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration","typeLabel":"enum\u003cstring>"},"name":{"description":"Name of the coupon displayed to customers.","type":"string","example":"Example","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.name","typeLabel":"string"},"valid":{"description":"Taking account of the above properties, whether this coupon can still be applied to a customer.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.valid","typeLabel":"boolean"},"created_at":{"description":"Date when this coupon was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the coupon is in test mode","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.test_mode","typeLabel":"boolean"},"amount_off":{"oneOf":[{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.amount_off.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.amount_off.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.amount_off","typeLabel":"integer\u003cint32> | null"},"applies_to":{"oneOf":[{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["products"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"properties":{"products":{"description":"The product that this coupon applies to.","type":"array","items":{"type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.0.products.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.0.products","typeLabel":"string[]"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.0","typeLabel":"object"},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["prices"],"properties":{"prices":{"description":"The price that this coupon applies to.","type":"array","items":{"type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.1.prices.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.1.prices","typeLabel":"string[]"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.1","typeLabel":"object"},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["fee_types"],"properties":{"fee_types":{"description":"The fee types that this coupon applies to.","type":"array","items":{"description":"The kind of fee applied to a checkout session: a Letter of Medical Necessity consultation fee, or a custom fee you define.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.2.fee_types.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.2.fee_types","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.2","typeLabel":"object"},{"type":"string","description":"An object containing the ID of the product that the coupon can be applied to.","enum":["shipping"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.3","typeLabel":"enum\u003cstring>"},{"type":"null","description":"An object containing the ID of the product that the coupon can be applied to.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.4","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to","typeLabel":"object · object · object · enum\u003cstring> · null"},"duration_in_months":{"oneOf":[{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration_in_months.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration_in_months.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration_in_months","typeLabel":"integer\u003cint32> | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.metadata","typeLabel":"object | null"},"percent_off":{"oneOf":[{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"number","format":"double","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.percent_off.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"null","format":"double","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.percent_off.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.percent_off","typeLabel":"number\u003cdouble> | null"},"max_redemptions":{"oneOf":[{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.max_redemptions.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.max_redemptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.max_redemptions","typeLabel":"integer\u003cint32> | null"},"times_redeemed":{"oneOf":[{"description":"Number of times this coupon has been applied to a customer.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.times_redeemed.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Number of times this coupon has been applied to a customer.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.times_redeemed.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.times_redeemed","typeLabel":"integer\u003cint32> | null"}},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon","typeLabel":"string | object"},"type":{"description":"The type of source.","type":"string","enum":["coupon","promotion_code"],"example":"coupon","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.type","typeLabel":"enum\u003cstring>"}},"example":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source","typeLabel":"object"},"test_mode":{"description":"Whether the discount was applied in test mode","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].test_mode","typeLabel":"boolean"},"start":{"description":"Date that the coupon was applied.","type":"string","example":"string","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].start","typeLabel":"string"},"checkout_session":{"oneOf":[{"description":"The checkout session that the discount was applied to.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session.oneOf.0","typeLabel":"string"},{"description":"The checkout session that the discount was applied to.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session","typeLabel":"string | null"},"customer":{"oneOf":[{"description":"The customer that the discount was applied to.","type":"string","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer.oneOf.0","typeLabel":"string"},{"description":"The customer that the discount was applied to.","type":"null","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer","typeLabel":"string | null"},"subscription":{"oneOf":[{"description":"The subscription that the discount was applied to.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription.oneOf.0","typeLabel":"string"},{"description":"The subscription that the discount was applied to.","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription","typeLabel":"string | null"},"invoice":{"oneOf":[{"description":"The invoice that the discount was applied to.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice.oneOf.0","typeLabel":"string"},{"description":"The invoice that the discount was applied to.","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice","typeLabel":"string | null"},"promo_code":{"oneOf":[{"description":"The promo code applied to create the discount.","type":"string","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code.oneOf.0","typeLabel":"string"},{"description":"The promo code applied to create the discount.","type":"null","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code","typeLabel":"string | null"},"end":{"oneOf":[{"type":"string","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].end.oneOf.0","typeLabel":"string"},{"type":"null","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].end","typeLabel":"string | null"}},"example":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.0","typeLabel":"object[]"},{"description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)","type":"null","items":{"description":"A Discount object represents the application of a coupon or promotion code to a checkout session, customer, subscription, or invoice. It records which coupon was redeemed, what the discount was applied to, and the time window over which it applies.","type":"object","required":["discount_id","source","start","test_mode"],"properties":{"discount_id":{"description":"The ID of the discount.","type":"string","example":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"checkout_session":{"oneOf":[{"description":"The checkout session that the discount was applied to.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The checkout session that the discount was applied to.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"customer":{"oneOf":[{"description":"The customer that the discount was applied to.","type":"string","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The customer that the discount was applied to.","type":"null","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"subscription":{"oneOf":[{"description":"The subscription that the discount was applied to.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The subscription that the discount was applied to.","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"invoice":{"oneOf":[{"description":"The invoice that the discount was applied to.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The invoice that the discount was applied to.","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"source":{"description":"The source of the discount (coupon or promotion code).","type":"object","required":["coupon","type"],"properties":{"coupon":{"oneOf":[{"type":"string","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","required":["coupon_id","created_at","duration","name","test_mode","valid"],"example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"coupon_id":{"description":"Unique identifier for the object.","type":"string","example":"fcoup_1234567890"},"amount_off":{"oneOf":[{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648},{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648}]},"applies_to":{"oneOf":[{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["products"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"properties":{"products":{"description":"The product that this coupon applies to.","type":"array","items":{"type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["prices"],"properties":{"prices":{"description":"The price that this coupon applies to.","type":"array","items":{"type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["fee_types"],"properties":{"fee_types":{"description":"The fee types that this coupon applies to.","type":"array","items":{"description":"The kind of fee applied to a checkout session: a Letter of Medical Necessity consultation fee, or a custom fee you define.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation"}}}},{"type":"string","description":"An object containing the ID of the product that the coupon can be applied to.","enum":["shipping"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]}},{"type":"null","description":"An object containing the ID of the product that the coupon can be applied to."}]},"duration":{"type":"string","enum":["once","repeating","forever"],"x-ms-enum":{"name":"CouponDuration","modelAsString":false,"values":[{"value":"once","name":"Once","description":"Applies to the first charge from a subscription with this coupon applied."},{"value":"repeating","name":"Repeating","description":"Applies to charges in the first duration_in_months months from a subscription with this coupon applied."},{"value":"forever","name":"Forever","description":"Applies to all charges from a subscription with this coupon applied."}]},"description":"One of forever, once, and repeating. Describes how long a customer who applies this coupon will get the discount.","example":"once"},"duration_in_months":{"oneOf":[{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","example":{"order_id":"8842","channel":"shopify"}}]},"name":{"description":"Name of the coupon displayed to customers.","type":"string","example":"Example"},"percent_off":{"oneOf":[{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"number","format":"double"},{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"null","format":"double"}]},"max_redemptions":{"oneOf":[{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"times_redeemed":{"oneOf":[{"description":"Number of times this coupon has been applied to a customer.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Number of times this coupon has been applied to a customer.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"valid":{"description":"Taking account of the above properties, whether this coupon can still be applied to a customer.","type":"boolean","example":false},"created_at":{"description":"Date when this coupon was created.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether the coupon is in test mode","type":"boolean","example":false}}}]},"type":{"description":"The type of source.","type":"string","enum":["coupon","promotion_code"],"example":"coupon"}},"example":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"}},"promo_code":{"oneOf":[{"description":"The promo code applied to create the discount.","type":"string","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The promo code applied to create the discount.","type":"null","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether the discount was applied in test mode","type":"boolean","example":false},"end":{"oneOf":[{"type":"string","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","example":"string"},{"type":"null","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null."}]},"start":{"description":"Date that the coupon was applied.","type":"string","example":"string"}},"example":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.discounts","typeLabel":"object[] | null"},"pause":{"oneOf":[{"type":"object","description":"The current pause. Present only while the subscription is paused.","required":["paused_at"],"example":{"paused_at":"2026-06-15T14:30:00Z","resume_at":"2026-06-15T14:30:00Z","billing_cycle_anchor":"unchanged","proration_behavior":"always_invoice","credit":"unused_time"},"properties":{"paused_at":{"description":"When the subscription was paused. ISO 8601 format. While paused, this is also the subscription's `current_period_end`.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.paused_at","typeLabel":"string"},"resume_at":{"oneOf":[{"type":"string","description":"When Flex resumes the subscription on its own. `null` when it stays paused until you resume it.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.resume_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When Flex resumes the subscription on its own. `null` when it stays paused until you resume it.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.resume_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.resume_at","typeLabel":"string | null"},"billing_cycle_anchor":{"oneOf":[{"type":"string","description":"Where billing restarts when Flex resumes at `resume_at`: `now` or `unchanged`. `null` when no resume is scheduled.","enum":["now","unchanged"],"x-ms-enum":{"name":"SubscriptionResumeBillingCycleAnchor","modelAsString":false,"values":[{"value":"now","name":"Now","description":"Bill monthly from the resume date, charging the full period now, net of any unused time credited at the pause. After an uncredited pause that ends inside the paid period, nothing is charged now and the next charge covers the time from the old period end."},{"value":"unchanged","name":"Unchanged","description":"Keep the original billing date."}]},"example":"unchanged","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.billing_cycle_anchor.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Where billing restarts when Flex resumes at `resume_at`: `now` or `unchanged`. `null` when no resume is scheduled.","example":"unchanged","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.billing_cycle_anchor.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.billing_cycle_anchor","typeLabel":"enum\u003cstring> | null"},"proration_behavior":{"oneOf":[{"type":"string","description":"How the partial period is billed when `billing_cycle_anchor` is `unchanged`. `null` otherwise.","enum":["create_prorations","always_invoice"],"x-ms-enum":{"name":"SubscriptionResumeProrationBehavior","modelAsString":false,"values":[{"value":"create_prorations","name":"CreateProrations","description":"Bill the partial period on the original billing date, with the next full period."},{"value":"always_invoice","name":"AlwaysInvoice","description":"Bill the partial period now, net of any unused time credited at the pause. A negative amount charges nothing and goes to the customer's balance."}]},"example":"always_invoice","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.proration_behavior.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"How the partial period is billed when `billing_cycle_anchor` is `unchanged`. `null` otherwise.","example":"always_invoice","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.proration_behavior.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.proration_behavior","typeLabel":"enum\u003cstring> | null"},"credit":{"type":"string","enum":["unused_time","none"],"x-ms-enum":{"name":"SubscriptionPauseCredit","modelAsString":false,"values":[{"value":"unused_time","name":"UnusedTime","description":"Credit the unused paid time from the pause to the period end. The resume charge is net of it."},{"value":"none","name":"None","description":"Credit nothing for the paused days inside the paid period. A resume before the period ends keeps the paid days after it."}]},"description":"What the pause credited for the paid time left in the period.","example":"unused_time","default":"unused_time","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0.credit","typeLabel":"enum\u003cstring>"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.0","typeLabel":"object"},{"type":"null","description":"The current pause. Present only while the subscription is paused.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1.pause","typeLabel":"object | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.1","typeLabel":"object"},{"type":"null","description":"The subscription that this invoice was prepared for.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.subscription","typeLabel":"string | object | null"},"paid_at":{"oneOf":[{"type":"string","description":"When the invoice was paid.","example":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.paid_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the invoice was paid.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.paid_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.paid_at","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the invoice.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the invoice.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.metadata","typeLabel":"object | null"},"backup_charge_status":{"oneOf":[{"type":"string","description":"Outcome of the backup-payment-method fallback for this invoice. Omitted when no fallback applied. `succeeded` on a paid invoice means the subscription's backup card covered this renewal after the default payment method failed.","enum":["pending","succeeded","failed","skipped"],"example":"pending","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.backup_charge_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Outcome of the backup-payment-method fallback for this invoice. Omitted when no fallback applied. `succeeded` on a paid invoice means the subscription's backup card covered this renewal after the default payment method failed.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.backup_charge_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1.backup_charge_status","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.1","typeLabel":"object"},{"type":"null","description":"The invoice associated with the payment intent.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.invoice","typeLabel":"string | object | null"},"client_secret":{"oneOf":[{"description":"The client secret of the payment intent.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.client_secret.oneOf.0","typeLabel":"string"},{"description":"The client secret of the payment intent.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.client_secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.client_secret","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"The metadata associated with the payment intent.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"The metadata associated with the payment intent.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.metadata","typeLabel":"object | null"},"payment_method":{"oneOf":[{"type":"string","description":"The payment method associated with the payment intent.","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.0","typeLabel":"string"},{"type":"object","description":"The payment method associated with the payment intent.","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.payment_method_id","typeLabel":"string"},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"oneOf":[{"type":"object","description":"The billing address.","example":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"properties":{"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.city","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter ISO country code (e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter ISO country code (e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.country","typeLabel":"string | null"},"line1":{"oneOf":[{"description":"Address line 1, such as the street, PO box, or company name.","type":"string","example":"123 Main St","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"Address line 1, such as the street, PO box, or company name.","type":"null","example":"123 Main St","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"string","example":"Suite 100","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"null","example":"Suite 100","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0.state","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"The billing address.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.address","typeLabel":"object | null"},"email":{"oneOf":[{"description":"The billing email address.","type":"string","example":"john.doe@example.com","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.email.oneOf.0","typeLabel":"string"},{"description":"The billing email address.","type":"null","example":"john.doe@example.com","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.email","typeLabel":"string | null"},"name":{"oneOf":[{"description":"The billing name.","type":"string","example":"Example","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.name.oneOf.0","typeLabel":"string"},{"description":"The billing name.","type":"null","example":"Example","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.name","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The billing phone number.","type":"string","example":"+14155550142","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.phone.oneOf.0","typeLabel":"string"},{"description":"The billing phone number.","type":"null","example":"+14155550142","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details.phone","typeLabel":"string | null"}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.billing_details","typeLabel":"object"},"customer":{"oneOf":[{"type":"string","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.customer","typeLabel":"string | object"},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.card.brand","typeLabel":"enum\u003cstring>"},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.card.country","typeLabel":"string"},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.card.exp_month","typeLabel":"integer\u003cint32>"},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.card.exp_year","typeLabel":"integer\u003cint32>"},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.card.fingerprint","typeLabel":"string"},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.card.funding","typeLabel":"enum\u003cstring>"},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.card.last4","typeLabel":"string"}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.card","typeLabel":"object"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.test_mode","typeLabel":"boolean"},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.off_session","typeLabel":"boolean"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","additionalProperties":{"type":"object","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","additionalProperties":{"type":"object","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.1","typeLabel":"object"},{"type":"null","description":"The payment method associated with the payment intent.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_method","typeLabel":"string | object | null"},"transfer_group":{"oneOf":[{"description":"A string that identifies the resulting payment as part of a group","type":"string","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.transfer_group.oneOf.0","typeLabel":"string"},{"description":"A string that identifies the resulting payment as part of a group","type":"null","example":"example_value","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.transfer_group.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.transfer_group","typeLabel":"string | null"},"payment_card_type":{"oneOf":[{"type":"string","description":"The primary card type used for this payment intent","enum":["primary","secondary"],"x-ms-enum":{"name":"PaymentCardType","modelAsString":false,"values":[{"value":"primary","name":"Primary","description":"In a split cart, `Primary` refers to the HSA/FSA eligible card. In a single cart (whether it's HSA/FSA or a fully ineligible cart), `Primary` refers to the only payment card used."},{"value":"secondary","name":"Secondary","description":"In a split cart and partial authorization payment, `Secondary` refers to the non-eligible or backup credit card used for ineligible items."}]},"example":"primary","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_card_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The primary card type used for this payment intent","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_card_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.payment_card_type","typeLabel":"enum\u003cstring> | null"},"letter_fee_amount":{"oneOf":[{"description":"Letter fee portion of application_fee_amount (waterfall allocation to HSA/FSA)","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.letter_fee_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Letter fee portion of application_fee_amount (waterfall allocation to HSA/FSA)","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.letter_fee_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.letter_fee_amount","typeLabel":"integer\u003cint32> | null"},"transaction_fee":{"oneOf":[{"description":"Transaction fee portion of application_fee_amount (percentage + fixed fee)","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.transaction_fee.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Transaction fee portion of application_fee_amount (percentage + fixed fee)","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.transaction_fee.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.transaction_fee","typeLabel":"integer\u003cint32> | null"},"last_payment_error":{"oneOf":[{"type":"object","description":"The error from the most recent failed payment attempt, if any.","required":["type"],"example":{"type":"string","code":"string","decline_code":"string","message":"string","payment_method":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"properties":{"type":{"description":"The type of error (card, invalid_request, api, etc.)","type":"string","isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.type","typeLabel":"string"},"code":{"oneOf":[{"description":"Machine-readable error code (card_declined, expired_card, etc.)","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.code.oneOf.0","typeLabel":"string"},{"description":"Machine-readable error code (card_declined, expired_card, etc.)","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.code","typeLabel":"string | null"},"decline_code":{"oneOf":[{"description":"Card-specific decline code (insufficient_funds, lost_card, etc.)","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.decline_code.oneOf.0","typeLabel":"string"},{"description":"Card-specific decline code (insufficient_funds, lost_card, etc.)","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.decline_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.decline_code","typeLabel":"string | null"},"message":{"oneOf":[{"description":"Human-readable error description.","type":"string","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.message.oneOf.0","typeLabel":"string"},{"description":"Human-readable error description.","type":"null","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.message.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.message","typeLabel":"string | null"},"payment_method":{"oneOf":[{"description":"The Flex payment method ID that failed.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.payment_method.oneOf.0","typeLabel":"string"},{"description":"The Flex payment method ID that failed.","type":"null","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.payment_method.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0.payment_method","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.0","typeLabel":"object"},{"type":"null","description":"The error from the most recent failed payment attempt, if any.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.last_payment_error.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1.last_payment_error","typeLabel":"object | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.1","typeLabel":"object"},{"type":"null","description":"The PaymentIntent that collects payment for this cart. `null` until a payment intent has been created for it. Expandable when `split_cart` is expanded with `payment_intent`.","uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.payment_intent","typeLabel":"string | object | null"},"amount_shipping":{"oneOf":[{"description":"Total shipping charged to this cart, in the smallest currency unit (e.g., `599` = $5.99 USD). `null` when no shipping applies.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.amount_shipping.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Total shipping charged to this cart, in the smallest currency unit (e.g., `599` = $5.99 USD). `null` when no shipping applies.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.amount_shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart.amount_shipping","typeLabel":"integer\u003cint32> | null"}},"example":{"amount_total":2500,"amount_subtotal":2500,"amount_tax":2500,"amount_discount":2500,"payment_intent":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","amount_shipping":2500},"isRequired":true,"uniqueKey":"checkout_session.split_cart.oneOf.1.non_eligible_cart","typeLabel":"object"},"checkout_session_id":{"oneOf":[{"description":"ID of the Checkout Session this split cart belongs to. `null` until the split cart has been associated with a session.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.checkout_session_id.oneOf.0","typeLabel":"string"},{"description":"ID of the Checkout Session this split cart belongs to. `null` until the split cart has been associated with a session.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.split_cart.oneOf.1.checkout_session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart.oneOf.1.checkout_session_id","typeLabel":"string | null"}},"uniqueKey":"checkout_session.split_cart.oneOf.1","typeLabel":"object"},{"type":"null","description":"If this checkout session contains both items that are eligible for HSA/FSA and items that are not, This will be the ID of the split cart object. This object is expandable if expand_split_cart is set.","uniqueKey":"checkout_session.split_cart.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.split_cart","typeLabel":"string | object | null"},"fees":{"description":"The fees associated with this Checkout Session.","default":[],"type":"array","items":{"description":"A simplified representation of a fee for API responses","type":"object","required":["amount","fee_id","fee_type"],"properties":{"fee_id":{"description":"Unique identifier for the fee.","type":"string","example":"ffee_1234567890","isRequired":true,"uniqueKey":"checkout_session.fees.items.[INDEX].fee_id","typeLabel":"string"},"amount":{"description":"The configured gross amount of the fee in cents. The payable fee total after fee-scoped coupons is reported in the checkout session's `total_details.amount_fee`.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.fees.items.[INDEX].amount","typeLabel":"integer\u003cint32>"},"fee_type":{"description":"The type of the fee.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation","isRequired":true,"uniqueKey":"checkout_session.fees.items.[INDEX].fee_type","typeLabel":"enum\u003cstring>"},"name":{"oneOf":[{"description":"The name of the fee.","type":"string","example":"Example","uniqueKey":"checkout_session.fees.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"description":"The name of the fee.","type":"null","example":"Example","uniqueKey":"checkout_session.fees.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.fees.items.[INDEX].name","typeLabel":"string | null"},"description":{"oneOf":[{"description":"The description of the fee.","type":"string","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.fees.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"description":"The description of the fee.","type":"null","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.fees.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.fees.items.[INDEX].description","typeLabel":"string | null"},"applied":{"oneOf":[{"description":"Whether the fee was applied to the checkout session.","type":"boolean","uniqueKey":"checkout_session.fees.items.[INDEX].applied.oneOf.0","typeLabel":"boolean"},{"description":"Whether the fee was applied to the checkout session.","type":"null","uniqueKey":"checkout_session.fees.items.[INDEX].applied.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.fees.items.[INDEX].applied","typeLabel":"boolean | null"},"waived_reason":{"oneOf":[{"type":"string","description":"Why the fee was waived. `null` means no waiver reason is recorded: the fee is still applied, was never applied in the first place (e.g. the cart has no payable LOMN items), or was waived before this field shipped (2026-08). Render a \"waived\" row only when `applied == false` AND this is non-null — `applied == false` alone also covers never-applied fees.","enum":["existing_letter","disqualified"],"example":"existing_letter","uniqueKey":"checkout_session.fees.items.[INDEX].waived_reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Why the fee was waived. `null` means no waiver reason is recorded: the fee is still applied, was never applied in the first place (e.g. the cart has no payable LOMN items), or was waived before this field shipped (2026-08). Render a \"waived\" row only when `applied == false` AND this is non-null — `applied == false` alone also covers never-applied fees.","uniqueKey":"checkout_session.fees.items.[INDEX].waived_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.fees.items.[INDEX].waived_reason","typeLabel":"enum\u003cstring> | null"}},"example":{"fee_id":"ffee_1234567890","amount":2500,"name":"Example","description":"Premium SPF 50 mineral sunscreen","fee_type":"lmn_consultation","applied":true,"waived_reason":"existing_letter"},"uniqueKey":"checkout_session.fees.items.[INDEX]","typeLabel":"object"},"uniqueKey":"checkout_session.fees","typeLabel":"object[]"},"custom_text":{"oneOf":[{"type":"object","description":"Custom text displayed to customers during checkout","example":{"after_submit":{"message":"Premium SPF 50 mineral sunscreen"},"shipping_address":{"message":"Premium SPF 50 mineral sunscreen"},"submit":{"message":"Premium SPF 50 mineral sunscreen"},"terms_of_service_acceptance":{"message":"Premium SPF 50 mineral sunscreen"},"terms_of_service_checkbox_required":true,"payment":{"message":"Premium SPF 50 mineral sunscreen"}},"properties":{"after_submit":{"oneOf":[{"type":"object","description":"Text shown after payment submission","required":["message"],"example":{"message":"Premium SPF 50 mineral sunscreen"},"properties":{"message":{"description":"The actual text message (plain text only, 1-1200 characters)","type":"string","maxLength":1200,"minLength":1,"example":"Premium SPF 50 mineral sunscreen","isRequired":true,"uniqueKey":"checkout_session.custom_text.oneOf.0.after_submit.oneOf.0.message","typeLabel":"string"}},"uniqueKey":"checkout_session.custom_text.oneOf.0.after_submit.oneOf.0","typeLabel":"object"},{"type":"null","description":"Text shown after payment submission","uniqueKey":"checkout_session.custom_text.oneOf.0.after_submit.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.custom_text.oneOf.0.after_submit","typeLabel":"object | null"},"shipping_address":{"oneOf":[{"type":"object","description":"Text shown in shipping address collection","required":["message"],"example":{"message":"Premium SPF 50 mineral sunscreen"},"properties":{"message":{"description":"The actual text message (plain text only, 1-1200 characters)","type":"string","maxLength":1200,"minLength":1,"example":"Premium SPF 50 mineral sunscreen","isRequired":true,"uniqueKey":"checkout_session.custom_text.oneOf.0.shipping_address.oneOf.0.message","typeLabel":"string"}},"uniqueKey":"checkout_session.custom_text.oneOf.0.shipping_address.oneOf.0","typeLabel":"object"},{"type":"null","description":"Text shown in shipping address collection","uniqueKey":"checkout_session.custom_text.oneOf.0.shipping_address.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.custom_text.oneOf.0.shipping_address","typeLabel":"object | null"},"submit":{"oneOf":[{"type":"object","description":"Text shown near submit button","required":["message"],"example":{"message":"Premium SPF 50 mineral sunscreen"},"properties":{"message":{"description":"The actual text message (plain text only, 1-1200 characters)","type":"string","maxLength":1200,"minLength":1,"example":"Premium SPF 50 mineral sunscreen","isRequired":true,"uniqueKey":"checkout_session.custom_text.oneOf.0.submit.oneOf.0.message","typeLabel":"string"}},"uniqueKey":"checkout_session.custom_text.oneOf.0.submit.oneOf.0","typeLabel":"object"},{"type":"null","description":"Text shown near submit button","uniqueKey":"checkout_session.custom_text.oneOf.0.submit.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.custom_text.oneOf.0.submit","typeLabel":"object | null"},"terms_of_service_acceptance":{"oneOf":[{"type":"object","description":"Text shown for terms of service acceptance","required":["message"],"example":{"message":"Premium SPF 50 mineral sunscreen"},"properties":{"message":{"description":"The actual text message (plain text only, 1-1200 characters)","type":"string","maxLength":1200,"minLength":1,"example":"Premium SPF 50 mineral sunscreen","isRequired":true,"uniqueKey":"checkout_session.custom_text.oneOf.0.terms_of_service_acceptance.oneOf.0.message","typeLabel":"string"}},"uniqueKey":"checkout_session.custom_text.oneOf.0.terms_of_service_acceptance.oneOf.0","typeLabel":"object"},{"type":"null","description":"Text shown for terms of service acceptance","uniqueKey":"checkout_session.custom_text.oneOf.0.terms_of_service_acceptance.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.custom_text.oneOf.0.terms_of_service_acceptance","typeLabel":"object | null"},"terms_of_service_checkbox_required":{"oneOf":[{"description":"Whether the terms of service acceptance checkbox must be shown and checked","type":"boolean","uniqueKey":"checkout_session.custom_text.oneOf.0.terms_of_service_checkbox_required.oneOf.0","typeLabel":"boolean"},{"description":"Whether the terms of service acceptance checkbox must be shown and checked","type":"null","uniqueKey":"checkout_session.custom_text.oneOf.0.terms_of_service_checkbox_required.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.custom_text.oneOf.0.terms_of_service_checkbox_required","typeLabel":"boolean | null"},"payment":{"oneOf":[{"type":"object","description":"Text shown in payment section","required":["message"],"example":{"message":"Premium SPF 50 mineral sunscreen"},"properties":{"message":{"description":"The actual text message (plain text only, 1-1200 characters)","type":"string","maxLength":1200,"minLength":1,"example":"Premium SPF 50 mineral sunscreen","isRequired":true,"uniqueKey":"checkout_session.custom_text.oneOf.0.payment.oneOf.0.message","typeLabel":"string"}},"uniqueKey":"checkout_session.custom_text.oneOf.0.payment.oneOf.0","typeLabel":"object"},{"type":"null","description":"Text shown in payment section","uniqueKey":"checkout_session.custom_text.oneOf.0.payment.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.custom_text.oneOf.0.payment","typeLabel":"object | null"}},"uniqueKey":"checkout_session.custom_text.oneOf.0","typeLabel":"object"},{"type":"null","description":"Custom text displayed to customers during checkout","uniqueKey":"checkout_session.custom_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.custom_text","typeLabel":"object | null"},"subscription":{"oneOf":[{"type":"string","description":"The ID of the subscription this Checkout Session is for. This object is expandable if expand_subscription is set.","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.0","typeLabel":"string"},{"type":"object","description":"The ID of the subscription this Checkout Session is for. This object is expandable if expand_subscription is set.","required":["cancel_at_period_end","created_at","items","status","subscription_id","test_mode"],"example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"subscription_id":{"description":"Unique identifier for the object.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.subscription_id","typeLabel":"string"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.created_at","typeLabel":"string"},"items":{"description":"The items the customer is subscribed to.","type":"array","items":{"description":"A Subscription Item represents a single recurring Price billed as part of a Subscription, together with the quantity of that price the customer is subscribed to. A subscription has one item per recurring price it bills.","type":"object","required":["created_at","price","quantity","subscription_item_id","test_mode"],"properties":{"subscription_item_id":{"description":"Unique identifier for the subscription item.","type":"string","example":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].subscription_item_id","typeLabel":"string"},"price":{"oneOf":[{"type":"string","description":"The recurring Price this item bills. Returned as a price ID by default, or as the full Price object when expanded.","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.0","typeLabel":"string"},{"type":"object","description":"The recurring Price this item bills. Returned as a price ID by default, or as the full Price object when expanded.","required":["active","created_at","price_id","product","test_mode","type","unit_amount"],"example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"price_id":{"description":"The unique identifier for the price.","type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.price_id","typeLabel":"string"},"unit_amount":{"description":"The amount to charge per unit, in the smallest currency unit (e.g., `2500` = $25.00 USD).","type":"integer","format":"int32","minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.unit_amount","typeLabel":"integer\u003cint32>"},"active":{"description":"Whether the price is currently active.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.active","typeLabel":"boolean"},"product":{"oneOf":[{"type":"string","description":"The product this price belongs to. Returned as a product ID by default, or as the full Product object when expanded.","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.0","typeLabel":"string"},{"type":"object","description":"The product this price belongs to. Returned as a product ID by default, or as the full Product object when expanded.","required":["active","created_at","hsa_fsa_eligibility","name","product_id","test_mode"],"example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"product_id":{"description":"The unique identifier for the product.","type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.product_id","typeLabel":"string"},"name":{"description":"The name of the product.","type":"string","example":"Example","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.name","typeLabel":"string"},"created_at":{"description":"The date the product was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.created_at","typeLabel":"string"},"active":{"description":"Determines if the product is active or not.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.active","typeLabel":"boolean"},"hsa_fsa_eligibility":{"description":"The elegibility of the product for HSA/FSA.","type":"string","enum":["not_eligible","auto_substantiation","private_label","letter_of_medical_necessity","prescription","vision","service","pending"],"example":"not_eligible","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.hsa_fsa_eligibility","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the product is in test mode or not.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The ID of the account that owns this product. For products shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the account that owns this product. For products shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"null","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.owner_partner_id","typeLabel":"string | null"},"description":{"oneOf":[{"description":"The description of the product.","type":"string","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.description.oneOf.0","typeLabel":"string"},{"description":"The description of the product.","type":"null","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.description","typeLabel":"string | null"},"document_description":{"oneOf":[{"description":"Medical-grade description optimized for use in Letters of Medical Necessity and receipts.","deprecated":true,"type":"string","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.document_description.oneOf.0","typeLabel":"string"},{"description":"Medical-grade description optimized for use in Letters of Medical Necessity and receipts.","deprecated":true,"type":"null","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.document_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.document_description","typeLabel":"string | null"},"receipt_description":{"oneOf":[{"description":"Shortened description tailored to receipt line items","type":"string","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.receipt_description.oneOf.0","typeLabel":"string"},{"description":"Shortened description tailored to receipt line items","type":"null","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.receipt_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.receipt_description","typeLabel":"string | null"},"visit_type":{"oneOf":[{"type":"string","description":"The visit type of the product if a letter of medical necessity is required.","enum":["cbtSleep","notApplicable","metabolomics","tinnitus","gym","exerciseDiet","orthopedic","alcohol","airPurification","vaginalHealth","menstrual","canopy","alopecia","genate","weightBlanket","bedJet","siderAl","sunwinkPowder","wavWatch","bodyComplete","ageRate","nitrousOxide","happyV","groupChat","icalmAnxiety","redBloom","foodom","branchErgonomicFurniture","curalife","eloraInfantWellness","nutriHealth","olipop","goldIntimate","touchStoneEssentials","utiva","sleepGeekz","figBrew","auBabyBlanket","babySleepSack","oshWellness","currentBodyRedLight","mito","circularRing","lymaRedLight","goodAirRx","tastermonial","karunaHome","ergoStandingChair","jbaGlucoseControl","bloomNutrition","buoyDrops","luxeWonderWig","saunaMarketplace","amrioreEyewear","pivotOrthoShoe","lumenCynergy","roga","pulsetto","mitoRedLight","gutPersonal","goFlaus","myHixel","calmigo","dotFit","stripesBeauty","mixHers","pmd","positivityWithPurpose","techRing","popVeneers","vertaClean","lumen","medicalMeal","emnHealth","detergentAllergy","lowImpactExercise","mediumImpactExercise","highImpactExercise","gardening","babyCarrier","smartGlasses","automatedCleaner","uvClothing","adaptiveShoes","breathWork","nonenalOdor","meneralsNootropicPouch","babyMonitorSplit","babySleepApp","coolingSleepwear","bodyPillow","uvGlasses","nursingChairs","coolingBed","posture","supplements","sleep","redLightTherapy","fitness","smartRing","womensVaginalHealth","fertilitySupport","femaleReproduction","femaleReproductionFood","pregnancyLiterature","iceBath","orthopedicShoes","sexualHealth","glucose","metabolicTest","skinCare","oralHealth","oralAnxiety","blueLightGlasses","anxiety","brainHealth","babyMonitor","compressionSocks","compressionShorts","waterPurification","medSpa","essentialOils","sleepBuds","latchLight","nutritionist","rairflow","enduranceTraining","hydration","hairGrowth","eD","postureFitness","childDevelopment","adaptiveClothing","sleepConsulting","hairRemoval","menopause","maleFertility","anxietyHealth","bidets","speechHealth","artOfLiving","breastMilk","petSupport","diapers","gutSupplements","smartWatch","medicalBotox","biomechanicalAssessment","erectileReset","femaleOrgasm","pornAddiction","memorySupport","oralHealthMasticGum","orthopedicSandals","childDevelopmentAnxietySleep","childDevelopmentAdjustment","childDevelopmentBehavior","childDevelopmentIdentity","emnHealthMobility","adaptiveShoesDependent","speechHealthDependent","breathWorkDependent"],"example":"cbtSleep","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.visit_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The visit type of the product if a letter of medical necessity is required.","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.visit_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.visit_type","typeLabel":"enum\u003cstring> | null"},"upc_code":{"oneOf":[{"description":"The upc code of the product.","type":"string","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.upc_code.oneOf.0","typeLabel":"string"},{"description":"The upc code of the product.","type":"null","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.upc_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.upc_code","typeLabel":"string | null"},"gtin":{"oneOf":[{"description":"The gtin code of the product.","type":"string","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.gtin.oneOf.0","typeLabel":"string"},{"description":"The gtin code of the product.","type":"null","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.gtin.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.gtin","typeLabel":"string | null"},"reference_gtin":{"oneOf":[{"description":"The GTIN of a private-label reference product, used to establish HSA/FSA eligibility.","type":"string","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.reference_gtin.oneOf.0","typeLabel":"string"},{"description":"The GTIN of a private-label reference product, used to establish HSA/FSA eligibility.","type":"null","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.reference_gtin.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.reference_gtin","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the product.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the product.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.metadata","typeLabel":"object | null"},"url":{"oneOf":[{"description":"The URL of the product.","type":"string","example":"https://example.com","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.url.oneOf.0","typeLabel":"string"},{"description":"The URL of the product.","type":"null","example":"https://example.com","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.url","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"description":"An optional identifier for the product set by the client at creation time. Immutable after creation.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.client_reference_id.oneOf.0","typeLabel":"string"},{"description":"An optional identifier for the product set by the client at creation time. Immutable after creation.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.client_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1.client_reference_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.product","typeLabel":"string | object"},"created_at":{"description":"The date the price was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.created_at","typeLabel":"string"},"type":{"description":"The type of the price: a single one-time charge, or a recurring charge billed on a schedule.","type":"string","enum":["one_time","recurring"],"example":"one_time","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.type","typeLabel":"enum\u003cstring>"},"test_mode":{"description":"Whether the price is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The ID of the account that owns this price. For prices shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The ID of the account that owns this price. For prices shared across an organization this may be a sibling account; otherwise it is your own account ID.","type":"null","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.owner_partner_id","typeLabel":"string | null"},"description":{"oneOf":[{"description":"The description of the price.","type":"string","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.description.oneOf.0","typeLabel":"string"},{"description":"The description of the price.","type":"null","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.description","typeLabel":"string | null"},"trial_period_days":{"oneOf":[{"description":"The number of trial period days before the customer is first charged for a recurring price.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.trial_period_days.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"The number of trial period days before the customer is first charged for a recurring price.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.trial_period_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.trial_period_days","typeLabel":"integer\u003cint32> | null"},"recurring":{"oneOf":[{"type":"object","description":"The recurring components of a price such as interval and trial period days.","required":["interval"],"example":{"interval":"day","interval_count":0,"trial_period_days":0},"properties":{"interval":{"description":"The billing cadence for the price.","type":"string","enum":["day","week","month","year"],"example":"day","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval","typeLabel":"enum\u003cstring>"},"interval_count":{"oneOf":[{"description":"The number of intervals","type":"integer","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval_count.oneOf.0","typeLabel":"integer\u003cint64>"},{"description":"The number of intervals","type":"null","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.interval_count","typeLabel":"integer\u003cint64> | null"},"trial_period_days":{"oneOf":[{"description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","type":"integer","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.trial_period_days.oneOf.0","typeLabel":"integer\u003cint64>"},{"description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","type":"null","format":"int64","minimum":0,"maximum":4294967295,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.trial_period_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0.trial_period_days","typeLabel":"integer\u003cint64> | null"}},"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.0","typeLabel":"object"},{"type":"null","description":"The recurring components of a price such as interval and trial period days.","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.recurring","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata information for the price object","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata information for the price object","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.metadata","typeLabel":"object | null"},"lookup_key":{"oneOf":[{"description":"A stable, partner-owned key for this price. Unique per account and mode across all prices, archived ones included. `null` until you set one.","type":"string","maxLength":200,"example":"standard_monthly","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.lookup_key.oneOf.0","typeLabel":"string"},{"description":"A stable, partner-owned key for this price. Unique per account and mode across all prices, archived ones included. `null` until you set one.","type":"null","maxLength":200,"example":"standard_monthly","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.lookup_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.lookup_key","typeLabel":"string | null"},"hsa_fsa_eligibility":{"oneOf":[{"type":"string","description":"The HSA/FSA eligibility for the price.","enum":["not_eligible","auto_substantiation","private_label","letter_of_medical_necessity","prescription","vision","service","pending"],"example":"not_eligible","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.hsa_fsa_eligibility.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The HSA/FSA eligibility for the price.","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.hsa_fsa_eligibility.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1.hsa_fsa_eligibility","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].price","typeLabel":"string | object"},"quantity":{"description":"The number of units of the price the customer is subscribed to.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"created_at":{"description":"Time at which the subscription item was created, as an RFC 3339 timestamp.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].created_at","typeLabel":"string"},"test_mode":{"description":"Whether the subscription item exists in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].test_mode","typeLabel":"boolean"},"updated_at":{"oneOf":[{"type":"string","description":"Time at which the subscription item was last updated, as an RFC 3339 timestamp. `null` if the item has not been updated since creation.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"Time at which the subscription item was last updated, as an RFC 3339 timestamp. `null` if the item has not been updated since creation.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX].updated_at","typeLabel":"string | null"}},"example":{"subscription_item_id":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","price":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","quantity":2500,"created_at":"2026-06-15T14:30:00Z","updated_at":"2026-06-15T14:30:00Z","test_mode":false},"uniqueKey":"checkout_session.subscription.oneOf.1.\\items.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.\\items","typeLabel":"object[]"},"status":{"description":"Possible values are incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, or paused.","type":"string","enum":["incomplete","incomplete_expired","trialing","active","past_due","canceled","unpaid","paused"],"example":"incomplete","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.status","typeLabel":"enum\u003cstring>"},"cancel_at_period_end":{"description":"If the subscription has been canceled with the at_period_end flag set to true, cancel_at_period_end on the subscription will be true. You can use this attribute to determine whether a subscription that has a status of active is scheduled to be canceled at the end of the current period.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.cancel_at_period_end","typeLabel":"boolean"},"test_mode":{"description":"Whether the subscription is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.test_mode","typeLabel":"boolean"},"latest_invoice":{"oneOf":[{"description":"The ID of the latest invoice generated for this subscription.","uniqueKey":"checkout_session.subscription.oneOf.1.latest_invoice.oneOf.0","typeLabel":"any"},{"type":"null","description":"The ID of the latest invoice generated for this subscription.","uniqueKey":"checkout_session.subscription.oneOf.1.latest_invoice.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.latest_invoice","typeLabel":"any | null"},"customer":{"oneOf":[{"type":"string","description":"The ID of the customer who owns the subscription.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The ID of the customer who owns the subscription.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.1","typeLabel":"object"},{"type":"null","description":"The ID of the customer who owns the subscription.","uniqueKey":"checkout_session.subscription.oneOf.1.customer.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.customer","typeLabel":"string | object | null"},"current_period_end":{"oneOf":[{"type":"string","description":"End of the current period that the subscription has been invoiced for.","example":"string","uniqueKey":"checkout_session.subscription.oneOf.1.current_period_end.oneOf.0","typeLabel":"string"},{"type":"null","description":"End of the current period that the subscription has been invoiced for.","uniqueKey":"checkout_session.subscription.oneOf.1.current_period_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.current_period_end","typeLabel":"string | null"},"current_period_start":{"oneOf":[{"type":"string","description":"Start of the current period that the subscription has been invoiced for.","example":"string","uniqueKey":"checkout_session.subscription.oneOf.1.current_period_start.oneOf.0","typeLabel":"string"},{"type":"null","description":"Start of the current period that the subscription has been invoiced for.","uniqueKey":"checkout_session.subscription.oneOf.1.current_period_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.current_period_start","typeLabel":"string | null"},"metadata":{"oneOf":[{"description":"A set of key/value pairs that you can attach to a subscription object.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.subscription.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"A set of key/value pairs that you can attach to a subscription object.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.subscription.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.metadata","typeLabel":"object | null"},"client_secret":{"oneOf":[{"type":"object","description":"Client secrets used to confirm the subscription's first payment or payment-method setup from your frontend. Present only while the subscription is being activated; omitted otherwise. Do not log or store these secrets; expose them only to the customer over TLS.","example":{"setup_secret":"string","payment_secret":"string"},"properties":{"setup_secret":{"oneOf":[{"description":"Client secret of the SetupIntent used to collect and save a payment method for the subscription (for example, during a trial with no immediate charge). `null` when no setup is required. Do not log or store it; expose only to the customer over TLS.","type":"string","uniqueKey":"checkout_session.subscription.oneOf.1.client_secret.oneOf.0.setup_secret.oneOf.0","typeLabel":"string"},{"description":"Client secret of the SetupIntent used to collect and save a payment method for the subscription (for example, during a trial with no immediate charge). `null` when no setup is required. Do not log or store it; expose only to the customer over TLS.","type":"null","uniqueKey":"checkout_session.subscription.oneOf.1.client_secret.oneOf.0.setup_secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.client_secret.oneOf.0.setup_secret","typeLabel":"string | null"},"payment_secret":{"oneOf":[{"description":"Client secret of the PaymentIntent used to confirm the subscription's first payment from your frontend. `null` when no immediate payment is required. Do not log or store it; expose only to the customer over TLS.","type":"string","uniqueKey":"checkout_session.subscription.oneOf.1.client_secret.oneOf.0.payment_secret.oneOf.0","typeLabel":"string"},{"description":"Client secret of the PaymentIntent used to confirm the subscription's first payment from your frontend. `null` when no immediate payment is required. Do not log or store it; expose only to the customer over TLS.","type":"null","uniqueKey":"checkout_session.subscription.oneOf.1.client_secret.oneOf.0.payment_secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.client_secret.oneOf.0.payment_secret","typeLabel":"string | null"}},"uniqueKey":"checkout_session.subscription.oneOf.1.client_secret.oneOf.0","typeLabel":"object"},{"type":"null","description":"Client secrets used to confirm the subscription's first payment or payment-method setup from your frontend. Present only while the subscription is being activated; omitted otherwise. Do not log or store these secrets; expose them only to the customer over TLS.","uniqueKey":"checkout_session.subscription.oneOf.1.client_secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.client_secret","typeLabel":"object | null"},"proration_behavior":{"oneOf":[{"type":"string","description":"The proration behavior for the subscription.","enum":["always_invoice","create_prorations","none"],"example":"always_invoice","uniqueKey":"checkout_session.subscription.oneOf.1.proration_behavior.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The proration behavior for the subscription.","uniqueKey":"checkout_session.subscription.oneOf.1.proration_behavior.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.proration_behavior","typeLabel":"enum\u003cstring> | null"},"trial_start":{"oneOf":[{"type":"string","description":"Start of the subscription's trial period, as an RFC 3339 timestamp. `null` if the subscription has no trial.","example":"string","uniqueKey":"checkout_session.subscription.oneOf.1.trial_start.oneOf.0","typeLabel":"string"},{"type":"null","description":"Start of the subscription's trial period, as an RFC 3339 timestamp. `null` if the subscription has no trial.","uniqueKey":"checkout_session.subscription.oneOf.1.trial_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.trial_start","typeLabel":"string | null"},"trial_end":{"oneOf":[{"type":"string","description":"End of the subscription's trial period, as an RFC 3339 timestamp. After this time the customer is billed normally. `null` if the subscription has no trial.","example":"string","uniqueKey":"checkout_session.subscription.oneOf.1.trial_end.oneOf.0","typeLabel":"string"},{"type":"null","description":"End of the subscription's trial period, as an RFC 3339 timestamp. After this time the customer is billed normally. `null` if the subscription has no trial.","uniqueKey":"checkout_session.subscription.oneOf.1.trial_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.trial_end","typeLabel":"string | null"},"cancel_at":{"oneOf":[{"type":"string","description":"A future RFC 3339 timestamp at which the subscription will automatically be canceled. `null` unless a future cancellation has been scheduled.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.subscription.oneOf.1.cancel_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"A future RFC 3339 timestamp at which the subscription will automatically be canceled. `null` unless a future cancellation has been scheduled.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.subscription.oneOf.1.cancel_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.cancel_at","typeLabel":"string | null"},"canceled_at":{"oneOf":[{"type":"string","description":"The RFC 3339 timestamp at which the subscription was actually canceled. `null` if the subscription has not been canceled. Unlike `cancel_at` (a future scheduled cancellation), this is set once the cancellation has occurred.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.subscription.oneOf.1.canceled_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The RFC 3339 timestamp at which the subscription was actually canceled. `null` if the subscription has not been canceled. Unlike `cancel_at` (a future scheduled cancellation), this is set once the cancellation has occurred.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.subscription.oneOf.1.canceled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.canceled_at","typeLabel":"string | null"},"default_payment_method":{"oneOf":[{"type":"string","description":"The default payment method for the subscription (expandable).","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.0","typeLabel":"string"},{"type":"object","description":"The default payment method for the subscription (expandable).","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.payment_method_id","typeLabel":"string"},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"oneOf":[{"type":"object","description":"The billing address.","example":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"properties":{"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.city","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter ISO country code (e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter ISO country code (e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.country","typeLabel":"string | null"},"line1":{"oneOf":[{"description":"Address line 1, such as the street, PO box, or company name.","type":"string","example":"123 Main St","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"Address line 1, such as the street, PO box, or company name.","type":"null","example":"123 Main St","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"string","example":"Suite 100","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"null","example":"Suite 100","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0.state","typeLabel":"string | null"}},"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"The billing address.","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.address","typeLabel":"object | null"},"email":{"oneOf":[{"description":"The billing email address.","type":"string","example":"john.doe@example.com","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.email.oneOf.0","typeLabel":"string"},{"description":"The billing email address.","type":"null","example":"john.doe@example.com","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.email","typeLabel":"string | null"},"name":{"oneOf":[{"description":"The billing name.","type":"string","example":"Example","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.name.oneOf.0","typeLabel":"string"},{"description":"The billing name.","type":"null","example":"Example","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.name","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The billing phone number.","type":"string","example":"+14155550142","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.phone.oneOf.0","typeLabel":"string"},{"description":"The billing phone number.","type":"null","example":"+14155550142","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details.phone","typeLabel":"string | null"}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"},"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.billing_details","typeLabel":"object"},"customer":{"oneOf":[{"type":"string","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.customer","typeLabel":"string | object"},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.card.brand","typeLabel":"enum\u003cstring>"},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.card.country","typeLabel":"string"},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127,"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.card.exp_month","typeLabel":"integer\u003cint32>"},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.card.exp_year","typeLabel":"integer\u003cint32>"},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.card.fingerprint","typeLabel":"string"},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.card.funding","typeLabel":"enum\u003cstring>"},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.card.last4","typeLabel":"string"}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"},"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.card","typeLabel":"object"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.test_mode","typeLabel":"boolean"},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.off_session","typeLabel":"boolean"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","additionalProperties":{"type":"object","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","additionalProperties":{"type":"object","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.1","typeLabel":"object"},{"type":"null","description":"The default payment method for the subscription (expandable).","uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.default_payment_method","typeLabel":"string | object | null"},"backup_payment_method":{"oneOf":[{"type":"string","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.0","typeLabel":"string"},{"type":"object","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.payment_method_id","typeLabel":"string"},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"oneOf":[{"type":"object","description":"The billing address.","example":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"properties":{"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.city","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter ISO country code (e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter ISO country code (e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.country","typeLabel":"string | null"},"line1":{"oneOf":[{"description":"Address line 1, such as the street, PO box, or company name.","type":"string","example":"123 Main St","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"Address line 1, such as the street, PO box, or company name.","type":"null","example":"123 Main St","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"string","example":"Suite 100","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"Address line 2, such as the apartment, suite, unit, or building.","type":"null","example":"Suite 100","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.postal_code","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0.state","typeLabel":"string | null"}},"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"The billing address.","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.address","typeLabel":"object | null"},"email":{"oneOf":[{"description":"The billing email address.","type":"string","example":"john.doe@example.com","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.email.oneOf.0","typeLabel":"string"},{"description":"The billing email address.","type":"null","example":"john.doe@example.com","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.email","typeLabel":"string | null"},"name":{"oneOf":[{"description":"The billing name.","type":"string","example":"Example","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.name.oneOf.0","typeLabel":"string"},{"description":"The billing name.","type":"null","example":"Example","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.name","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The billing phone number.","type":"string","example":"+14155550142","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.phone.oneOf.0","typeLabel":"string"},{"description":"The billing phone number.","type":"null","example":"+14155550142","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details.phone","typeLabel":"string | null"}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"},"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.billing_details","typeLabel":"object"},"customer":{"oneOf":[{"type":"string","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.0","typeLabel":"string"},{"type":"object","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.customer_id","typeLabel":"string"},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.first_name","typeLabel":"string"},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.last_name","typeLabel":"string"},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.email","typeLabel":"string"},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.test_mode","typeLabel":"boolean"},"owner_partner_id":{"oneOf":[{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"string","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.0","typeLabel":"string"},{"description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","type":"null","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.owner_partner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.owner_partner_id","typeLabel":"string | null"},"phone":{"oneOf":[{"description":"The customer's phone number.","type":"string","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.phone.oneOf.0","typeLabel":"string\u003cphone>"},{"description":"The customer's phone number.","type":"null","format":"phone","example":"+15555555555","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.phone","typeLabel":"string\u003cphone> | null"},"employer":{"oneOf":[{"description":"The customer's employer.","type":"string","example":"Flex","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.employer.oneOf.0","typeLabel":"string"},{"description":"The customer's employer.","type":"null","example":"Flex","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.employer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.employer","typeLabel":"string | null"},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.shipping_address_id","typeLabel":"string"},"line1":{"oneOf":[{"description":"The first line of the street address (e.g., street number and name).","type":"string","example":"123 Main St","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"description":"The first line of the street address (e.g., street number and name).","type":"null","example":"123 Main St","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"string","example":"Suite 100","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"description":"The second line of the street address (e.g., apartment, suite, or unit).","type":"null","example":"Suite 100","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.line2","typeLabel":"string | null"},"city":{"oneOf":[{"description":"City, district, suburb, town, or village.","type":"string","example":"San Francisco","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.0","typeLabel":"string"},{"description":"City, district, suburb, town, or village.","type":"null","example":"San Francisco","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"description":"State, county, province, or region.","type":"string","example":"CA","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.0","typeLabel":"string"},{"description":"State, county, province, or region.","type":"null","example":"CA","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"description":"ZIP or postal code.","type":"string","example":"94107","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"description":"ZIP or postal code.","type":"null","example":"94107","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"string","example":"US","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.0","typeLabel":"string"},{"description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","type":"null","example":"US","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.0","typeLabel":"object"},{"type":"null","description":"The customer's shipping address.","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.shipping","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata associated with the customer.","type":"object","additionalProperties":{"type":"string","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Metadata associated with the customer.","type":"null","additionalProperties":{"type":"string","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.customer","typeLabel":"string | object"},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.card.brand","typeLabel":"enum\u003cstring>"},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.card.country","typeLabel":"string"},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127,"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.card.exp_month","typeLabel":"integer\u003cint32>"},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.card.exp_year","typeLabel":"integer\u003cint32>"},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.card.fingerprint","typeLabel":"string"},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.card.funding","typeLabel":"enum\u003cstring>"},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.card.last4","typeLabel":"string"}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"},"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.card","typeLabel":"object"},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.test_mode","typeLabel":"boolean"},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.off_session","typeLabel":"boolean"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","additionalProperties":{"type":"object","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.0.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","additionalProperties":{"type":"object","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.1.additionalProperties","typeLabel":"object"},"example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1.metadata","typeLabel":"object | null"}},"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.1","typeLabel":"object"},{"type":"null","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.backup_payment_method","typeLabel":"string | object | null"},"discounts":{"oneOf":[{"description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)","type":"array","items":{"description":"A Discount object represents the application of a coupon or promotion code to a checkout session, customer, subscription, or invoice. It records which coupon was redeemed, what the discount was applied to, and the time window over which it applies.","type":"object","required":["discount_id","source","start","test_mode"],"properties":{"discount_id":{"description":"The ID of the discount.","type":"string","example":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].discount_id","typeLabel":"string"},"source":{"description":"The source of the discount (coupon or promotion code).","type":"object","required":["coupon","type"],"properties":{"coupon":{"oneOf":[{"type":"string","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.0","typeLabel":"string"},{"type":"object","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","required":["coupon_id","created_at","duration","name","test_mode","valid"],"example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"coupon_id":{"description":"Unique identifier for the object.","type":"string","example":"fcoup_1234567890","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.coupon_id","typeLabel":"string"},"duration":{"type":"string","enum":["once","repeating","forever"],"x-ms-enum":{"name":"CouponDuration","modelAsString":false,"values":[{"value":"once","name":"Once","description":"Applies to the first charge from a subscription with this coupon applied."},{"value":"repeating","name":"Repeating","description":"Applies to charges in the first duration_in_months months from a subscription with this coupon applied."},{"value":"forever","name":"Forever","description":"Applies to all charges from a subscription with this coupon applied."}]},"description":"One of forever, once, and repeating. Describes how long a customer who applies this coupon will get the discount.","example":"once","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration","typeLabel":"enum\u003cstring>"},"name":{"description":"Name of the coupon displayed to customers.","type":"string","example":"Example","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.name","typeLabel":"string"},"valid":{"description":"Taking account of the above properties, whether this coupon can still be applied to a customer.","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.valid","typeLabel":"boolean"},"created_at":{"description":"Date when this coupon was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.created_at","typeLabel":"string"},"test_mode":{"description":"Whether the coupon is in test mode","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.test_mode","typeLabel":"boolean"},"amount_off":{"oneOf":[{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.amount_off.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648,"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.amount_off.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.amount_off","typeLabel":"integer\u003cint32> | null"},"applies_to":{"oneOf":[{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["products"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"properties":{"products":{"description":"The product that this coupon applies to.","type":"array","items":{"type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.0.products.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.0.products","typeLabel":"string[]"}},"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.0","typeLabel":"object"},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["prices"],"properties":{"prices":{"description":"The price that this coupon applies to.","type":"array","items":{"type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.1.prices.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.1.prices","typeLabel":"string[]"}},"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.1","typeLabel":"object"},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["fee_types"],"properties":{"fee_types":{"description":"The fee types that this coupon applies to.","type":"array","items":{"description":"The kind of fee applied to a checkout session: a Letter of Medical Necessity consultation fee, or a custom fee you define.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation","uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.2.fee_types.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.2.fee_types","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.2","typeLabel":"object"},{"type":"string","description":"An object containing the ID of the product that the coupon can be applied to.","enum":["shipping"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.3","typeLabel":"enum\u003cstring>"},{"type":"null","description":"An object containing the ID of the product that the coupon can be applied to.","uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to.oneOf.4","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.applies_to","typeLabel":"object · object · object · enum\u003cstring> · null"},"duration_in_months":{"oneOf":[{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration_in_months.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration_in_months.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.duration_in_months","typeLabel":"integer\u003cint32> | null"},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.metadata.oneOf.0","typeLabel":"object"},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","example":{"order_id":"8842","channel":"shopify"},"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.metadata","typeLabel":"object | null"},"percent_off":{"oneOf":[{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"number","format":"double","uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.percent_off.oneOf.0","typeLabel":"number\u003cdouble>"},{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"null","format":"double","uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.percent_off.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.percent_off","typeLabel":"number\u003cdouble> | null"},"max_redemptions":{"oneOf":[{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.max_redemptions.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.max_redemptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.max_redemptions","typeLabel":"integer\u003cint32> | null"},"times_redeemed":{"oneOf":[{"description":"Number of times this coupon has been applied to a customer.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.times_redeemed.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Number of times this coupon has been applied to a customer.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.times_redeemed.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1.times_redeemed","typeLabel":"integer\u003cint32> | null"}},"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.coupon","typeLabel":"string | object"},"type":{"description":"The type of source.","type":"string","enum":["coupon","promotion_code"],"example":"coupon","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source.type","typeLabel":"enum\u003cstring>"}},"example":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].source","typeLabel":"object"},"test_mode":{"description":"Whether the discount was applied in test mode","type":"boolean","example":false,"isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].test_mode","typeLabel":"boolean"},"start":{"description":"Date that the coupon was applied.","type":"string","example":"string","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].start","typeLabel":"string"},"checkout_session":{"oneOf":[{"description":"The checkout session that the discount was applied to.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session.oneOf.0","typeLabel":"string"},{"description":"The checkout session that the discount was applied to.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].checkout_session","typeLabel":"string | null"},"customer":{"oneOf":[{"description":"The customer that the discount was applied to.","type":"string","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer.oneOf.0","typeLabel":"string"},{"description":"The customer that the discount was applied to.","type":"null","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].customer","typeLabel":"string | null"},"subscription":{"oneOf":[{"description":"The subscription that the discount was applied to.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription.oneOf.0","typeLabel":"string"},{"description":"The subscription that the discount was applied to.","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].subscription","typeLabel":"string | null"},"invoice":{"oneOf":[{"description":"The invoice that the discount was applied to.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice.oneOf.0","typeLabel":"string"},{"description":"The invoice that the discount was applied to.","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].invoice","typeLabel":"string | null"},"promo_code":{"oneOf":[{"description":"The promo code applied to create the discount.","type":"string","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code.oneOf.0","typeLabel":"string"},{"description":"The promo code applied to create the discount.","type":"null","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].promo_code","typeLabel":"string | null"},"end":{"oneOf":[{"type":"string","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","example":"string","uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].end.oneOf.0","typeLabel":"string"},{"type":"null","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX].end","typeLabel":"string | null"}},"example":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"},"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.0","typeLabel":"object[]"},{"description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)","type":"null","items":{"description":"A Discount object represents the application of a coupon or promotion code to a checkout session, customer, subscription, or invoice. It records which coupon was redeemed, what the discount was applied to, and the time window over which it applies.","type":"object","required":["discount_id","source","start","test_mode"],"properties":{"discount_id":{"description":"The ID of the discount.","type":"string","example":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"checkout_session":{"oneOf":[{"description":"The checkout session that the discount was applied to.","type":"string","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The checkout session that the discount was applied to.","type":"null","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"customer":{"oneOf":[{"description":"The customer that the discount was applied to.","type":"string","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The customer that the discount was applied to.","type":"null","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"subscription":{"oneOf":[{"description":"The subscription that the discount was applied to.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The subscription that the discount was applied to.","type":"null","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"invoice":{"oneOf":[{"description":"The invoice that the discount was applied to.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The invoice that the discount was applied to.","type":"null","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"source":{"description":"The source of the discount (coupon or promotion code).","type":"object","required":["coupon","type"],"properties":{"coupon":{"oneOf":[{"type":"string","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","required":["coupon_id","created_at","duration","name","test_mode","valid"],"example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"coupon_id":{"description":"Unique identifier for the object.","type":"string","example":"fcoup_1234567890"},"amount_off":{"oneOf":[{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"integer","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648},{"description":"Amount that will be taken off the subtotal of any invoices for this customer.","type":"null","format":"int32","maximum":2147483647,"example":2500,"minimum":-2147483648}]},"applies_to":{"oneOf":[{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["products"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"properties":{"products":{"description":"The product that this coupon applies to.","type":"array","items":{"type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["prices"],"properties":{"prices":{"description":"The price that this coupon applies to.","type":"array","items":{"type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["fee_types"],"properties":{"fee_types":{"description":"The fee types that this coupon applies to.","type":"array","items":{"description":"The kind of fee applied to a checkout session: a Letter of Medical Necessity consultation fee, or a custom fee you define.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation"}}}},{"type":"string","description":"An object containing the ID of the product that the coupon can be applied to.","enum":["shipping"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]}},{"type":"null","description":"An object containing the ID of the product that the coupon can be applied to."}]},"duration":{"type":"string","enum":["once","repeating","forever"],"x-ms-enum":{"name":"CouponDuration","modelAsString":false,"values":[{"value":"once","name":"Once","description":"Applies to the first charge from a subscription with this coupon applied."},{"value":"repeating","name":"Repeating","description":"Applies to charges in the first duration_in_months months from a subscription with this coupon applied."},{"value":"forever","name":"Forever","description":"Applies to all charges from a subscription with this coupon applied."}]},"description":"One of forever, once, and repeating. Describes how long a customer who applies this coupon will get the discount.","example":"once"},"duration_in_months":{"oneOf":[{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"metadata":{"oneOf":[{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object","example":{"order_id":"8842","channel":"shopify"}},{"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"null","example":{"order_id":"8842","channel":"shopify"}}]},"name":{"description":"Name of the coupon displayed to customers.","type":"string","example":"Example"},"percent_off":{"oneOf":[{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"number","format":"double"},{"description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","type":"null","format":"double"}]},"max_redemptions":{"oneOf":[{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"times_redeemed":{"oneOf":[{"description":"Number of times this coupon has been applied to a customer.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648},{"description":"Number of times this coupon has been applied to a customer.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"valid":{"description":"Taking account of the above properties, whether this coupon can still be applied to a customer.","type":"boolean","example":false},"created_at":{"description":"Date when this coupon was created.","type":"string","example":"2026-06-15T14:30:00Z"},"test_mode":{"description":"Whether the coupon is in test mode","type":"boolean","example":false}}}]},"type":{"description":"The type of source.","type":"string","enum":["coupon","promotion_code"],"example":"coupon"}},"example":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"}},"promo_code":{"oneOf":[{"description":"The promo code applied to create the discount.","type":"string","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"description":"The promo code applied to create the discount.","type":"null","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"test_mode":{"description":"Whether the discount was applied in test mode","type":"boolean","example":false},"end":{"oneOf":[{"type":"string","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","example":"string"},{"type":"null","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null."}]},"start":{"description":"Date that the coupon was applied.","type":"string","example":"string"}},"example":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"}},"uniqueKey":"checkout_session.subscription.oneOf.1.discounts.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.discounts","typeLabel":"object[] | null"},"pause":{"oneOf":[{"type":"object","description":"The current pause. Present only while the subscription is paused.","required":["paused_at"],"example":{"paused_at":"2026-06-15T14:30:00Z","resume_at":"2026-06-15T14:30:00Z","billing_cycle_anchor":"unchanged","proration_behavior":"always_invoice","credit":"unused_time"},"properties":{"paused_at":{"description":"When the subscription was paused. ISO 8601 format. While paused, this is also the subscription's `current_period_end`.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true,"uniqueKey":"checkout_session.subscription.oneOf.1.pause.oneOf.0.paused_at","typeLabel":"string"},"resume_at":{"oneOf":[{"type":"string","description":"When Flex resumes the subscription on its own. `null` when it stays paused until you resume it.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.subscription.oneOf.1.pause.oneOf.0.resume_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When Flex resumes the subscription on its own. `null` when it stays paused until you resume it.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.subscription.oneOf.1.pause.oneOf.0.resume_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.pause.oneOf.0.resume_at","typeLabel":"string | null"},"billing_cycle_anchor":{"oneOf":[{"type":"string","description":"Where billing restarts when Flex resumes at `resume_at`: `now` or `unchanged`. `null` when no resume is scheduled.","enum":["now","unchanged"],"x-ms-enum":{"name":"SubscriptionResumeBillingCycleAnchor","modelAsString":false,"values":[{"value":"now","name":"Now","description":"Bill monthly from the resume date, charging the full period now, net of any unused time credited at the pause. After an uncredited pause that ends inside the paid period, nothing is charged now and the next charge covers the time from the old period end."},{"value":"unchanged","name":"Unchanged","description":"Keep the original billing date."}]},"example":"unchanged","uniqueKey":"checkout_session.subscription.oneOf.1.pause.oneOf.0.billing_cycle_anchor.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Where billing restarts when Flex resumes at `resume_at`: `now` or `unchanged`. `null` when no resume is scheduled.","example":"unchanged","uniqueKey":"checkout_session.subscription.oneOf.1.pause.oneOf.0.billing_cycle_anchor.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.pause.oneOf.0.billing_cycle_anchor","typeLabel":"enum\u003cstring> | null"},"proration_behavior":{"oneOf":[{"type":"string","description":"How the partial period is billed when `billing_cycle_anchor` is `unchanged`. `null` otherwise.","enum":["create_prorations","always_invoice"],"x-ms-enum":{"name":"SubscriptionResumeProrationBehavior","modelAsString":false,"values":[{"value":"create_prorations","name":"CreateProrations","description":"Bill the partial period on the original billing date, with the next full period."},{"value":"always_invoice","name":"AlwaysInvoice","description":"Bill the partial period now, net of any unused time credited at the pause. A negative amount charges nothing and goes to the customer's balance."}]},"example":"always_invoice","uniqueKey":"checkout_session.subscription.oneOf.1.pause.oneOf.0.proration_behavior.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"How the partial period is billed when `billing_cycle_anchor` is `unchanged`. `null` otherwise.","example":"always_invoice","uniqueKey":"checkout_session.subscription.oneOf.1.pause.oneOf.0.proration_behavior.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.pause.oneOf.0.proration_behavior","typeLabel":"enum\u003cstring> | null"},"credit":{"type":"string","enum":["unused_time","none"],"x-ms-enum":{"name":"SubscriptionPauseCredit","modelAsString":false,"values":[{"value":"unused_time","name":"UnusedTime","description":"Credit the unused paid time from the pause to the period end. The resume charge is net of it."},{"value":"none","name":"None","description":"Credit nothing for the paused days inside the paid period. A resume before the period ends keeps the paid days after it."}]},"description":"What the pause credited for the paid time left in the period.","example":"unused_time","default":"unused_time","uniqueKey":"checkout_session.subscription.oneOf.1.pause.oneOf.0.credit","typeLabel":"enum\u003cstring>"}},"uniqueKey":"checkout_session.subscription.oneOf.1.pause.oneOf.0","typeLabel":"object"},{"type":"null","description":"The current pause. Present only while the subscription is paused.","uniqueKey":"checkout_session.subscription.oneOf.1.pause.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription.oneOf.1.pause","typeLabel":"object | null"}},"uniqueKey":"checkout_session.subscription.oneOf.1","typeLabel":"object"},{"type":"null","description":"The ID of the subscription this Checkout Session is for. This object is expandable if expand_subscription is set.","uniqueKey":"checkout_session.subscription.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription","typeLabel":"string | object | null"},"subscription_data":{"oneOf":[{"type":"object","description":"The data that will be used to create a subscription. Populated by default on single-session endpoints (create / retrieve / update) when a subscription_data row exists — no `expand` required. List endpoints omit this field to avoid an extra per-row query.","example":{"cancel_at":"2026-06-15T14:30:00Z","trial_end":"string","cancel_at_period_end":false,"trial_period_days":0,"trial_settings":{"end_behavior":{"missing_payment_method":"cancel"}}},"properties":{"cancel_at":{"oneOf":[{"type":"string","description":"A future RFC 3339 timestamp at which the created subscription will automatically be canceled. `null` if no future cancellation is scheduled.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.subscription_data.oneOf.0.cancel_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"A future RFC 3339 timestamp at which the created subscription will automatically be canceled. `null` if no future cancellation is scheduled.","example":"2026-06-15T14:30:00Z","uniqueKey":"checkout_session.subscription_data.oneOf.0.cancel_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription_data.oneOf.0.cancel_at","typeLabel":"string | null"},"trial_end":{"oneOf":[{"type":"string","description":"RFC 3339 timestamp at which the trial period ends for the created subscription. `null` if no trial end was set on the checkout session.","example":"string","uniqueKey":"checkout_session.subscription_data.oneOf.0.trial_end.oneOf.0","typeLabel":"string"},{"type":"null","description":"RFC 3339 timestamp at which the trial period ends for the created subscription. `null` if no trial end was set on the checkout session.","uniqueKey":"checkout_session.subscription_data.oneOf.0.trial_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription_data.oneOf.0.trial_end","typeLabel":"string | null"},"cancel_at_period_end":{"oneOf":[{"description":"Whether the created subscription will cancel at the end of its current billing period rather than renewing.","type":"boolean","example":false,"uniqueKey":"checkout_session.subscription_data.oneOf.0.cancel_at_period_end.oneOf.0","typeLabel":"boolean"},{"description":"Whether the created subscription will cancel at the end of its current billing period rather than renewing.","type":"null","example":false,"uniqueKey":"checkout_session.subscription_data.oneOf.0.cancel_at_period_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription_data.oneOf.0.cancel_at_period_end","typeLabel":"boolean | null"},"trial_period_days":{"oneOf":[{"description":"Length of the trial period, in days, for the created subscription. `null` if no day-based trial was set on the checkout session.","type":"integer","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.subscription_data.oneOf.0.trial_period_days.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Length of the trial period, in days, for the created subscription. `null` if no day-based trial was set on the checkout session.","type":"null","format":"int32","maximum":2147483647,"minimum":-2147483648,"uniqueKey":"checkout_session.subscription_data.oneOf.0.trial_period_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription_data.oneOf.0.trial_period_days","typeLabel":"integer\u003cint32> | null"},"trial_settings":{"oneOf":[{"type":"object","description":"Settings that control what Stripe does when the trial ends. `null` preserves Stripe's existing behavior.","required":["end_behavior"],"example":{"end_behavior":{"missing_payment_method":"cancel"}},"properties":{"end_behavior":{"description":"Behavior to apply when a trial ends.","type":"object","required":["missing_payment_method"],"properties":{"missing_payment_method":{"type":"string","enum":["cancel"],"x-ms-enum":{"name":"MissingPaymentMethodBehavior","modelAsString":false,"values":[{"value":"cancel","name":"Cancel","description":"Cancel the subscription when the trial ends."}]},"description":"What Stripe should do when the trial ends without a payment method.","example":"cancel","isRequired":true,"uniqueKey":"checkout_session.subscription_data.oneOf.0.trial_settings.oneOf.0.end_behavior.missing_payment_method","typeLabel":"enum\u003cstring>"}},"example":{"missing_payment_method":"cancel"},"isRequired":true,"uniqueKey":"checkout_session.subscription_data.oneOf.0.trial_settings.oneOf.0.end_behavior","typeLabel":"object"}},"uniqueKey":"checkout_session.subscription_data.oneOf.0.trial_settings.oneOf.0","typeLabel":"object"},{"type":"null","description":"Settings that control what Stripe does when the trial ends. `null` preserves Stripe's existing behavior.","uniqueKey":"checkout_session.subscription_data.oneOf.0.trial_settings.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription_data.oneOf.0.trial_settings","typeLabel":"object | null"},"backup_payment_method":{"oneOf":[{"type":"string","description":"The backup payment method setting this session was created with. `null` if it set none. Ignores the partner default and whether the feature is enabled; the payments page's top-level `backup_payment_method` is what checkout acts on.","enum":["required","optional"],"x-ms-enum":{"name":"BackupPaymentMethodRequirement","modelAsString":false,"values":[{"value":"required","name":"Required","description":"Checkout cannot complete without a backup card."},{"value":"optional","name":"Optional","description":"Checkout offers a backup card the shopper may skip. A card they enter that fails is reported, not dropped."}]},"example":"required","uniqueKey":"checkout_session.subscription_data.oneOf.0.backup_payment_method.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The backup payment method setting this session was created with. `null` if it set none. Ignores the partner default and whether the feature is enabled; the payments page's top-level `backup_payment_method` is what checkout acts on.","uniqueKey":"checkout_session.subscription_data.oneOf.0.backup_payment_method.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription_data.oneOf.0.backup_payment_method","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"checkout_session.subscription_data.oneOf.0","typeLabel":"object"},{"type":"null","description":"The data that will be used to create a subscription. Populated by default on single-session endpoints (create / retrieve / update) when a subscription_data row exists — no `expand` required. List endpoints omit this field to avoid an extra per-row query.","uniqueKey":"checkout_session.subscription_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.subscription_data","typeLabel":"object | null"},"tax_rate":{"oneOf":[{"type":"object","description":"The tax rate for the checkout session.","required":["amount"],"example":{"amount":2500},"properties":{"amount":{"description":"The tax amount to apply, in the smallest currency unit (e.g., `175` = $1.75 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.tax_rate.oneOf.0.amount","typeLabel":"integer\u003cint32>"}},"uniqueKey":"checkout_session.tax_rate.oneOf.0","typeLabel":"object"},{"type":"null","description":"The tax rate for the checkout session.","uniqueKey":"checkout_session.tax_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.tax_rate","typeLabel":"object | null"},"tax_calculation_mode":{"oneOf":[{"type":"string","description":"If Flex is calculating the tax, this specifies whether it should be calculated inclusive or exclusive. 'None' means that Flex will not calculate the tax, and the merchant must pass it in as a TaxRate if they want it included.","enum":["exclusive","inclusive"],"example":"exclusive","uniqueKey":"checkout_session.tax_calculation_mode.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"If Flex is calculating the tax, this specifies whether it should be calculated inclusive or exclusive. 'None' means that Flex will not calculate the tax, and the merchant must pass it in as a TaxRate if they want it included.","uniqueKey":"checkout_session.tax_calculation_mode.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.tax_calculation_mode","typeLabel":"enum\u003cstring> | null"},"visit_type":{"oneOf":[{"type":"string","description":"The type of visit this Checkout Session is for.","enum":["cbtSleep","notApplicable","metabolomics","tinnitus","gym","exerciseDiet","orthopedic","alcohol","airPurification","vaginalHealth","menstrual","canopy","alopecia","genate","weightBlanket","bedJet","siderAl","sunwinkPowder","wavWatch","bodyComplete","ageRate","nitrousOxide","happyV","groupChat","icalmAnxiety","redBloom","foodom","branchErgonomicFurniture","curalife","eloraInfantWellness","nutriHealth","olipop","goldIntimate","touchStoneEssentials","utiva","sleepGeekz","figBrew","auBabyBlanket","babySleepSack","oshWellness","currentBodyRedLight","mito","circularRing","lymaRedLight","goodAirRx","tastermonial","karunaHome","ergoStandingChair","jbaGlucoseControl","bloomNutrition","buoyDrops","luxeWonderWig","saunaMarketplace","amrioreEyewear","pivotOrthoShoe","lumenCynergy","roga","pulsetto","mitoRedLight","gutPersonal","goFlaus","myHixel","calmigo","dotFit","stripesBeauty","mixHers","pmd","positivityWithPurpose","techRing","popVeneers","vertaClean","lumen","medicalMeal","emnHealth","detergentAllergy","lowImpactExercise","mediumImpactExercise","highImpactExercise","gardening","babyCarrier","smartGlasses","automatedCleaner","uvClothing","adaptiveShoes","breathWork","nonenalOdor","meneralsNootropicPouch","babyMonitorSplit","babySleepApp","coolingSleepwear","bodyPillow","uvGlasses","nursingChairs","coolingBed","posture","supplements","sleep","redLightTherapy","fitness","smartRing","womensVaginalHealth","fertilitySupport","femaleReproduction","femaleReproductionFood","pregnancyLiterature","iceBath","orthopedicShoes","sexualHealth","glucose","metabolicTest","skinCare","oralHealth","oralAnxiety","blueLightGlasses","anxiety","brainHealth","babyMonitor","compressionSocks","compressionShorts","waterPurification","medSpa","essentialOils","sleepBuds","latchLight","nutritionist","rairflow","enduranceTraining","hydration","hairGrowth","eD","postureFitness","childDevelopment","adaptiveClothing","sleepConsulting","hairRemoval","menopause","maleFertility","anxietyHealth","bidets","speechHealth","artOfLiving","breastMilk","petSupport","diapers","gutSupplements","smartWatch","medicalBotox","biomechanicalAssessment","erectileReset","femaleOrgasm","pornAddiction","memorySupport","oralHealthMasticGum","orthopedicSandals","childDevelopmentAnxietySleep","childDevelopmentAdjustment","childDevelopmentBehavior","childDevelopmentIdentity","emnHealthMobility","adaptiveShoesDependent","speechHealthDependent","breathWorkDependent"],"example":"cbtSleep","uniqueKey":"checkout_session.visit_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The type of visit this Checkout Session is for.","uniqueKey":"checkout_session.visit_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.visit_type","typeLabel":"enum\u003cstring> | null"},"setup_future_use":{"type":"string","enum":["on_session","off_session"],"x-ms-enum":{"name":"FutureUse","modelAsString":false,"values":[{"value":"on_session","name":"OnSession","description":"Standard payments requiring customer auth"},{"value":"off_session","name":"OffSession","description":"Allows payments without the customer present in the flow"}]},"description":"How this checkout session enables the payment methods to be used in the future","example":"on_session","default":"on_session","uniqueKey":"checkout_session.setup_future_use","typeLabel":"enum\u003cstring>"},"payment_method_options":{"oneOf":[{"type":"object","description":"Payment method-specific options for this checkout session.","example":{"card":{"request_three_d_secure":"automatic"}},"properties":{"card":{"oneOf":[{"type":"object","description":"Options that apply to card payments. `null` when no card-specific options are set.","required":["request_three_d_secure"],"example":{"request_three_d_secure":"automatic"},"properties":{"request_three_d_secure":{"description":"Whether 3D Secure authentication is requested for card payments. One of `automatic` (Default; request only when required), `any` (request whenever supported), or `challenge` (request a customer challenge).","type":"string","enum":["automatic","any","challenge"],"example":"automatic","isRequired":true,"uniqueKey":"checkout_session.payment_method_options.oneOf.0.card.oneOf.0.request_three_d_secure","typeLabel":"enum\u003cstring>"}},"uniqueKey":"checkout_session.payment_method_options.oneOf.0.card.oneOf.0","typeLabel":"object"},{"type":"null","description":"Options that apply to card payments. `null` when no card-specific options are set.","uniqueKey":"checkout_session.payment_method_options.oneOf.0.card.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_method_options.oneOf.0.card","typeLabel":"object | null"}},"uniqueKey":"checkout_session.payment_method_options.oneOf.0","typeLabel":"object"},{"type":"null","description":"Payment method-specific options for this checkout session.","uniqueKey":"checkout_session.payment_method_options.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.payment_method_options","typeLabel":"object | null"},"next_action":{"oneOf":[{"type":"object","description":"If present, indicates an action the merchant must take to complete the checkout. Currently used when a Letter of Medical Necessity is required for an off-session payment.","required":["type"],"example":{"type":"collect_letter_of_medical_necessity","collect_letter_of_medical_necessity":{"url":"https://example.com"},"payment_failed":{"message":"Premium SPF 50 mineral sunscreen","url":"https://example.com","decline_code":"string","error_code":"string"},"provide_second_payment_method":{"message":"Premium SPF 50 mineral sunscreen","url":"https://example.com","eligible_amount":0,"ineligible_amount":0},"provide_alternative_payment_method":{"message":"Premium SPF 50 mineral sunscreen","url":"https://example.com"}},"properties":{"type":{"type":"string","enum":["collect_letter_of_medical_necessity","payment_failed","provide_second_payment_method","provide_alternative_payment_method"],"isRequired":true,"uniqueKey":"checkout_session.next_action.oneOf.0.type","typeLabel":"enum\u003cstring>"},"collect_letter_of_medical_necessity":{"description":"Redirect the customer to collect a Letter of Medical Necessity","type":"object","required":["url"],"properties":{"url":{"description":"The URL where the customer should be redirected to provide the letter.","type":"string","example":"https://example.com","isRequired":true,"uniqueKey":"checkout_session.next_action.oneOf.0.collect_letter_of_medical_necessity.url","typeLabel":"string"}},"example":{"url":"https://example.com"},"uniqueKey":"checkout_session.next_action.oneOf.0.collect_letter_of_medical_necessity","typeLabel":"object"},"payment_failed":{"description":"Payment failed during off-session checkout (e.g., card declined, insufficient funds)","type":"object","required":["message","url"],"properties":{"message":{"description":"A human-readable message describing the payment failure.","type":"string","example":"Premium SPF 50 mineral sunscreen","isRequired":true,"uniqueKey":"checkout_session.next_action.oneOf.0.payment_failed.message","typeLabel":"string"},"url":{"description":"The URL where the customer should be redirected to retry payment.","type":"string","example":"https://example.com","isRequired":true,"uniqueKey":"checkout_session.next_action.oneOf.0.payment_failed.url","typeLabel":"string"},"decline_code":{"oneOf":[{"description":"The decline code from the payment processor, if available.","type":"string","uniqueKey":"checkout_session.next_action.oneOf.0.payment_failed.decline_code.oneOf.0","typeLabel":"string"},{"description":"The decline code from the payment processor, if available.","type":"null","uniqueKey":"checkout_session.next_action.oneOf.0.payment_failed.decline_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.next_action.oneOf.0.payment_failed.decline_code","typeLabel":"string | null"},"error_code":{"oneOf":[{"description":"The error code from the payment processor, if available.","type":"string","uniqueKey":"checkout_session.next_action.oneOf.0.payment_failed.error_code.oneOf.0","typeLabel":"string"},{"description":"The error code from the payment processor, if available.","type":"null","uniqueKey":"checkout_session.next_action.oneOf.0.payment_failed.error_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.next_action.oneOf.0.payment_failed.error_code","typeLabel":"string | null"}},"example":{"message":"Premium SPF 50 mineral sunscreen","url":"https://example.com","decline_code":"string","error_code":"string"},"uniqueKey":"checkout_session.next_action.oneOf.0.payment_failed","typeLabel":"object"},"provide_second_payment_method":{"description":"A second payment method is required for a split cart off-session checkout","type":"object","required":["eligible_amount","ineligible_amount","message","url"],"properties":{"message":{"description":"A human-readable message explaining that a second payment method is needed.","type":"string","example":"Premium SPF 50 mineral sunscreen","isRequired":true,"uniqueKey":"checkout_session.next_action.oneOf.0.provide_second_payment_method.message","typeLabel":"string"},"url":{"description":"The URL where the customer should be redirected to provide both payment methods.","type":"string","example":"https://example.com","isRequired":true,"uniqueKey":"checkout_session.next_action.oneOf.0.provide_second_payment_method.url","typeLabel":"string"},"eligible_amount":{"description":"The amount in cents for HSA/FSA-eligible items.","type":"integer","format":"int32","minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.next_action.oneOf.0.provide_second_payment_method.eligible_amount","typeLabel":"integer\u003cint32>"},"ineligible_amount":{"description":"The amount in cents for non-eligible items.","type":"integer","format":"int32","minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.next_action.oneOf.0.provide_second_payment_method.ineligible_amount","typeLabel":"integer\u003cint32>"}},"example":{"message":"Premium SPF 50 mineral sunscreen","url":"https://example.com","eligible_amount":0,"ineligible_amount":0},"uniqueKey":"checkout_session.next_action.oneOf.0.provide_second_payment_method","typeLabel":"object"},"provide_alternative_payment_method":{"description":"An alternative payment method is required because the provided payment method cannot be used to complete the transaction.","type":"object","required":["message","url"],"properties":{"message":{"description":"A human-readable message explaining why an alternative payment method is needed.","type":"string","example":"Premium SPF 50 mineral sunscreen","isRequired":true,"uniqueKey":"checkout_session.next_action.oneOf.0.provide_alternative_payment_method.message","typeLabel":"string"},"url":{"description":"The URL where the customer should be redirected to provide a different payment method.","type":"string","example":"https://example.com","isRequired":true,"uniqueKey":"checkout_session.next_action.oneOf.0.provide_alternative_payment_method.url","typeLabel":"string"}},"example":{"message":"Premium SPF 50 mineral sunscreen","url":"https://example.com"},"uniqueKey":"checkout_session.next_action.oneOf.0.provide_alternative_payment_method","typeLabel":"object"}},"uniqueKey":"checkout_session.next_action.oneOf.0","typeLabel":"object"},{"type":"null","description":"If present, indicates an action the merchant must take to complete the checkout. Currently used when a Letter of Medical Necessity is required for an off-session payment.","uniqueKey":"checkout_session.next_action.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.next_action","typeLabel":"object | null"},"selling_plans":{"oneOf":[{"description":"The Shopify selling plan(s) the originating order was placed under. A renewal order carries one, a first checkout can carry several. Omitted when there are none.","type":"array","items":{"description":"A Shopify selling plan a Checkout Session's originating order was placed under. Two sessions sharing a plan for one customer are renewals of the same subscription.","type":"object","required":["id","name"],"properties":{"id":{"description":"The selling plan's Shopify global ID, e.g. `gid://shopify/SellingPlan/693250982253`.","type":"string","isRequired":true,"uniqueKey":"checkout_session.selling_plans.oneOf.0.items.[INDEX].id","typeLabel":"string"},"name":{"description":"The merchant-authored display name, e.g. `Subscribe \u0026 save`. Display only — the merchant can rename a plan at any time, so never group on this.","type":"string","isRequired":true,"uniqueKey":"checkout_session.selling_plans.oneOf.0.items.[INDEX].name","typeLabel":"string"},"billing_interval":{"oneOf":[{"type":"object","description":"How often the plan bills, as Shopify reported it when the order was recorded. Omitted when Shopify reported no recurring cadence, e.g. for a plan billed once up front.","required":["interval","interval_count"],"example":{"interval":"day","interval_count":0},"properties":{"interval":{"description":"The unit the cadence counts in.","type":"string","enum":["day","week","month","year"],"example":"day","isRequired":true,"uniqueKey":"checkout_session.selling_plans.oneOf.0.items.[INDEX].billing_interval.oneOf.0.interval","typeLabel":"enum\u003cstring>"},"interval_count":{"description":"The number of intervals between bills, e.g. `2` for every two months.","type":"integer","format":"int64","minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"checkout_session.selling_plans.oneOf.0.items.[INDEX].billing_interval.oneOf.0.interval_count","typeLabel":"integer\u003cint64>"}},"uniqueKey":"checkout_session.selling_plans.oneOf.0.items.[INDEX].billing_interval.oneOf.0","typeLabel":"object"},{"type":"null","description":"How often the plan bills, as Shopify reported it when the order was recorded. Omitted when Shopify reported no recurring cadence, e.g. for a plan billed once up front.","uniqueKey":"checkout_session.selling_plans.oneOf.0.items.[INDEX].billing_interval.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.selling_plans.oneOf.0.items.[INDEX].billing_interval","typeLabel":"object | null"}},"example":{"id":"string","name":"string","billing_interval":{"interval":"day","interval_count":0}},"uniqueKey":"checkout_session.selling_plans.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"checkout_session.selling_plans.oneOf.0","typeLabel":"object[]"},{"description":"The Shopify selling plan(s) the originating order was placed under. A renewal order carries one, a first checkout can carry several. Omitted when there are none.","type":"null","items":{"description":"A Shopify selling plan a Checkout Session's originating order was placed under. Two sessions sharing a plan for one customer are renewals of the same subscription.","type":"object","required":["id","name"],"properties":{"id":{"description":"The selling plan's Shopify global ID, e.g. `gid://shopify/SellingPlan/693250982253`.","type":"string"},"name":{"description":"The merchant-authored display name, e.g. `Subscribe \u0026 save`. Display only — the merchant can rename a plan at any time, so never group on this.","type":"string"},"billing_interval":{"oneOf":[{"type":"object","description":"How often the plan bills, as Shopify reported it when the order was recorded. Omitted when Shopify reported no recurring cadence, e.g. for a plan billed once up front.","required":["interval","interval_count"],"example":{"interval":"day","interval_count":0},"properties":{"interval":{"description":"The unit the cadence counts in.","type":"string","enum":["day","week","month","year"],"example":"day"},"interval_count":{"description":"The number of intervals between bills, e.g. `2` for every two months.","type":"integer","format":"int64","minimum":-9007199254740991,"maximum":9007199254740991}}},{"type":"null","description":"How often the plan bills, as Shopify reported it when the order was recorded. Omitted when Shopify reported no recurring cadence, e.g. for a plan billed once up front."}]}},"example":{"id":"string","name":"string","billing_interval":{"interval":"day","interval_count":0}}},"uniqueKey":"checkout_session.selling_plans.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.selling_plans","typeLabel":"object[] | null"},"shopify_payment_details":{"oneOf":[{"type":"object","description":"How the originating Shopify order was paid, as Shopify reported it. Display only. Omitted when there is no Shopify order or it had no successful payment.","required":["gateway"],"example":{"gateway":"string","wallet":"string","card":{"brand":"american_express","last4":"4242"}},"properties":{"gateway":{"description":"The Shopify payment gateway, e.g. `shopify_payments` or `paypal`.","type":"string","isRequired":true,"uniqueKey":"checkout_session.shopify_payment_details.oneOf.0.gateway","typeLabel":"string"},"wallet":{"oneOf":[{"description":"The digital wallet the card was presented through, e.g. `apple_pay` or `shopify_pay`.","type":"string","uniqueKey":"checkout_session.shopify_payment_details.oneOf.0.wallet.oneOf.0","typeLabel":"string"},{"description":"The digital wallet the card was presented through, e.g. `apple_pay` or `shopify_pay`.","type":"null","uniqueKey":"checkout_session.shopify_payment_details.oneOf.0.wallet.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.shopify_payment_details.oneOf.0.wallet","typeLabel":"string | null"},"card":{"oneOf":[{"type":"object","description":"The card, when the order was paid by one. Absent for PayPal.","required":["brand","last4"],"example":{"brand":"american_express","last4":"4242"},"properties":{"brand":{"description":"The card's network (brand).","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express","isRequired":true,"uniqueKey":"checkout_session.shopify_payment_details.oneOf.0.card.oneOf.0.brand","typeLabel":"enum\u003cstring>"},"last4":{"description":"The last four digits of the card number.","type":"string","example":"4242","isRequired":true,"uniqueKey":"checkout_session.shopify_payment_details.oneOf.0.card.oneOf.0.last4","typeLabel":"string"}},"uniqueKey":"checkout_session.shopify_payment_details.oneOf.0.card.oneOf.0","typeLabel":"object"},{"type":"null","description":"The card, when the order was paid by one. Absent for PayPal.","uniqueKey":"checkout_session.shopify_payment_details.oneOf.0.card.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.shopify_payment_details.oneOf.0.card","typeLabel":"object | null"}},"uniqueKey":"checkout_session.shopify_payment_details.oneOf.0","typeLabel":"object"},{"type":"null","description":"How the originating Shopify order was paid, as Shopify reported it. Display only. Omitted when there is no Shopify order or it had no successful payment.","uniqueKey":"checkout_session.shopify_payment_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.shopify_payment_details","typeLabel":"object | null"},"renewal_as_of":{"oneOf":[{"description":"Present only on an LMN renewal session: the instant its coverage checks evaluate against instead of now — the coverage being renewed ends one second before it.","type":"integer","format":"int64","maximum":253402300799,"minimum":-377705116800,"example":1781533800,"uniqueKey":"checkout_session.renewal_as_of.oneOf.0","typeLabel":"integer\u003cint64>"},{"description":"Present only on an LMN renewal session: the instant its coverage checks evaluate against instead of now — the coverage being renewed ends one second before it.","type":"null","format":"int64","maximum":253402300799,"minimum":-377705116800,"example":1781533800,"uniqueKey":"checkout_session.renewal_as_of.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.renewal_as_of","typeLabel":"integer\u003cint64> | null"},"partner":{"oneOf":[{"type":"string","description":"Your account. Returned as its ID by default; expandable to the full `partner` object when `partner` is expanded.","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","uniqueKey":"checkout_session.partner.oneOf.0","typeLabel":"string"},{"type":"object","description":"Your account. Returned as its ID by default; expandable to the full `partner` object when `partner` is expanded.","required":["name","partner_id","website_url"],"example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"partner_id":{"description":"Unique identifier of the account, prefixed with `facct_`.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true,"uniqueKey":"checkout_session.partner.oneOf.1.partner_id","typeLabel":"string"},"name":{"description":"Your display name, as shown to customers during checkout.","type":"string","example":"Example","isRequired":true,"uniqueKey":"checkout_session.partner.oneOf.1.name","typeLabel":"string"},"website_url":{"description":"Your public website URL.","type":"string","isRequired":true,"uniqueKey":"checkout_session.partner.oneOf.1.website_url","typeLabel":"string"},"description":{"oneOf":[{"description":"A short description of your business.","type":"string","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.partner.oneOf.1.description.oneOf.0","typeLabel":"string"},{"description":"A short description of your business.","type":"null","example":"Premium SPF 50 mineral sunscreen","uniqueKey":"checkout_session.partner.oneOf.1.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.partner.oneOf.1.description","typeLabel":"string | null"}},"uniqueKey":"checkout_session.partner.oneOf.1","typeLabel":"object"},{"type":"null","description":"Your account. Returned as its ID by default; expandable to the full `partner` object when `partner` is expanded.","uniqueKey":"checkout_session.partner.oneOf.2","typeLabel":"null"}],"uniqueKey":"checkout_session.partner","typeLabel":"string | object | null"},"platform_fees":{"oneOf":[{"type":"object","description":"Platform fees charged on this checkout. Present only for checkouts on the deferred-collection feature whose status is `complete`. Omitted otherwise.","required":["letter_fee"],"example":{"letter_fee":{"amount":2500,"type":"string","status":"pending"}},"properties":{"letter_fee":{"description":"The Letter of Medical Necessity fee charged on this checkout.","type":"object","required":["amount","status"],"properties":{"amount":{"description":"Amount charged for the letter, in cents. `0` when waived (disqualified, pre-existing, OTP-verified, existing consultation, etc.).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true,"uniqueKey":"checkout_session.platform_fees.oneOf.0.letter_fee.amount","typeLabel":"integer\u003cint32>"},"status":{"type":"string","enum":["pending","waived","collected","deferred","settled"],"x-ms-enum":{"name":"LetterFeeStatus","modelAsString":false,"values":[{"value":"pending","name":"Pending","description":"Fee determined but not yet collected — transient in-flight state."},{"value":"waived","name":"Waived","description":"No fee applies (disqualified, pre-existing, OTP-verified, etc.). Always paired with `letter_fee_amount = 0` and `billing_type = NULL`."},{"value":"collected","name":"Collected","description":"Fee captured as part of the checkout transaction."},{"value":"deferred","name":"Deferred","description":"Fee deferred to end-of-month batch settlement."},{"value":"settled","name":"Settled","description":"Deferred fee charged via the monthly batch."}]},"description":"Collection state of the letter fee.","example":"pending","isRequired":true,"uniqueKey":"checkout_session.platform_fees.oneOf.0.letter_fee.status","typeLabel":"enum\u003cstring>"},"type":{"oneOf":[{"description":"Billing classification. Only present when `amount > 0`. - `\"new\"` — any new consultation in the checkout (takes precedence when mixed with expired). - `\"expired\"` — only expired consultation(s) are being re-billed.","type":"string","uniqueKey":"checkout_session.platform_fees.oneOf.0.letter_fee.type.oneOf.0","typeLabel":"string"},{"description":"Billing classification. Only present when `amount > 0`. - `\"new\"` — any new consultation in the checkout (takes precedence when mixed with expired). - `\"expired\"` — only expired consultation(s) are being re-billed.","type":"null","uniqueKey":"checkout_session.platform_fees.oneOf.0.letter_fee.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.platform_fees.oneOf.0.letter_fee.type","typeLabel":"string | null"}},"example":{"amount":2500,"type":"string","status":"pending"},"isRequired":true,"uniqueKey":"checkout_session.platform_fees.oneOf.0.letter_fee","typeLabel":"object"}},"uniqueKey":"checkout_session.platform_fees.oneOf.0","typeLabel":"object"},{"type":"null","description":"Platform fees charged on this checkout. Present only for checkouts on the deferred-collection feature whose status is `complete`. Omitted otherwise.","uniqueKey":"checkout_session.platform_fees.oneOf.1","typeLabel":"null"}],"uniqueKey":"checkout_session.platform_fees","typeLabel":"object | null"}},"example":{"allow_promotion_codes":false,"amount_total":2500,"amount_subtotal":2500,"amount_received":2500,"amount_refunded":2500,"amount_disputed":2500,"cancel_url":"https://example.com","captures":["fcap_01J9XR8M3K7VZ8N2YB4WJ6T0RA"],"disputes":["fdp_01J9XR8M3K7VZ8N2YB4WJ6T0RA"],"capture_method":"automatic","checkout_session_id":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","client_reference_id":"example_value","created_at":2500,"customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","defaults":{"customer_id":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","email":"john.doe@example.com","first_name":"John","last_name":"Doe","phone":"+14155550142"},"expires_at":2500,"invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","hsa_fsa_eligible":false,"letter_of_medical_necessity_required":false,"metadata":{"order_id":"8842","channel":"shopify"},"mode":"payment","origin":"shopify","payment_intent":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","payment_intents":["fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"],"redirect_url":"https://example.com","refunds":["fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA"],"setup_intent":"fseti_01J9XR8M3K7VZ8N2YB4WJ6T0RA","shipping_options":{"shipping_rate_id":"fshr_01J9XR8M3K7VZ8N2YB4WJ6T0RA","shipping_amount":2500,"display_name":"Example"},"shipping_address_collection":false,"shipping_details":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"split_cart":"fsplit_01J9XR8M3K7VZ8N2YB4WJ6T0RA","status":"open","success_url":"https://example.com","fees":[{"fee_id":"ffee_1234567890","amount":2500,"name":"Example","description":"Premium SPF 50 mineral sunscreen","fee_type":"lmn_consultation","applied":true,"waived_reason":"existing_letter"}],"custom_text":{"after_submit":{"message":"Premium SPF 50 mineral sunscreen"},"shipping_address":{"message":"Premium SPF 50 mineral sunscreen"},"submit":{"message":"Premium SPF 50 mineral sunscreen"},"terms_of_service_acceptance":{"message":"Premium SPF 50 mineral sunscreen"},"terms_of_service_checkbox_required":true,"payment":{"message":"Premium SPF 50 mineral sunscreen"}},"subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription_data":{"cancel_at":"2026-06-15T14:30:00Z","trial_end":"string","cancel_at_period_end":false,"trial_period_days":0,"trial_settings":{"end_behavior":{"missing_payment_method":"cancel"}}},"tax_rate":{"amount":2500},"tax_calculation_mode":"exclusive","test_mode":false,"total_details":{"amount_discount":2500,"amount_tax":2500,"amount_shipping":2500,"amount_iias":2500,"amount_vision":2500,"amount_prescription":2500,"amount_service":2500,"amount_fee":2500,"breakdown":{"discounts":[{"discount":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"}}]}},"visit_type":"cbtSleep","setup_future_use":"on_session","payment_method_options":{"card":{"request_three_d_secure":"automatic"}},"next_action":{"type":"collect_letter_of_medical_necessity","collect_letter_of_medical_necessity":{"url":"https://example.com"},"payment_failed":{"message":"Premium SPF 50 mineral sunscreen","url":"https://example.com","decline_code":"string","error_code":"string"},"provide_second_payment_method":{"message":"Premium SPF 50 mineral sunscreen","url":"https://example.com","eligible_amount":0,"ineligible_amount":0},"provide_alternative_payment_method":{"message":"Premium SPF 50 mineral sunscreen","url":"https://example.com"}},"selling_plans":[{"id":"string","name":"string","billing_interval":{"interval":"day","interval_count":0}}],"shopify_payment_details":{"gateway":"string","wallet":"string","card":{"brand":"american_express","last4":"4242"}},"renewal_as_of":1781533800,"partner":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","platform_fees":{"letter_fee":{"amount":2500,"type":"string","status":"pending"}}},"isRequired":true,"uniqueKey":"checkout_session","typeLabel":"object"}},"example":{"checkout_session":{"allow_promotion_codes":false,"amount_total":2500,"amount_subtotal":2500,"amount_received":2500,"amount_refunded":2500,"amount_disputed":2500,"cancel_url":"https://example.com","captures":["fcap_01J9XR8M3K7VZ8N2YB4WJ6T0RA"],"disputes":["fdp_01J9XR8M3K7VZ8N2YB4WJ6T0RA"],"capture_method":"automatic","checkout_session_id":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","client_reference_id":"example_value","created_at":2500,"customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","defaults":{"customer_id":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","email":"john.doe@example.com","first_name":"John","last_name":"Doe","phone":"+14155550142"},"expires_at":2500,"invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","hsa_fsa_eligible":false,"letter_of_medical_necessity_required":false,"metadata":{"order_id":"8842","channel":"shopify"},"mode":"payment","origin":"shopify","payment_intent":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","payment_intents":["fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"],"redirect_url":"https://example.com","refunds":["fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA"],"setup_intent":"fseti_01J9XR8M3K7VZ8N2YB4WJ6T0RA","shipping_options":{"shipping_rate_id":"fshr_01J9XR8M3K7VZ8N2YB4WJ6T0RA","shipping_amount":2500,"display_name":"Example"},"shipping_address_collection":false,"shipping_details":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"split_cart":"fsplit_01J9XR8M3K7VZ8N2YB4WJ6T0RA","status":"open","success_url":"https://example.com","fees":[{"fee_id":"ffee_1234567890","amount":2500,"name":"Example","description":"Premium SPF 50 mineral sunscreen","fee_type":"lmn_consultation","applied":true,"waived_reason":"existing_letter"}],"custom_text":{"after_submit":{"message":"Premium SPF 50 mineral sunscreen"},"shipping_address":{"message":"Premium SPF 50 mineral sunscreen"},"submit":{"message":"Premium SPF 50 mineral sunscreen"},"terms_of_service_acceptance":{"message":"Premium SPF 50 mineral sunscreen"},"terms_of_service_checkbox_required":true,"payment":{"message":"Premium SPF 50 mineral sunscreen"}},"subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription_data":{"cancel_at":"2026-06-15T14:30:00Z","trial_end":"string","cancel_at_period_end":false,"trial_period_days":0,"trial_settings":{"end_behavior":{"missing_payment_method":"cancel"}}},"tax_rate":{"amount":2500},"tax_calculation_mode":"exclusive","test_mode":false,"total_details":{"amount_discount":2500,"amount_tax":2500,"amount_shipping":2500,"amount_iias":2500,"amount_vision":2500,"amount_prescription":2500,"amount_service":2500,"amount_fee":2500,"breakdown":{"discounts":[{"discount":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"}}]}},"visit_type":"cbtSleep","setup_future_use":"on_session","payment_method_options":{"card":{"request_three_d_secure":"automatic"}},"next_action":{"type":"collect_letter_of_medical_necessity","collect_letter_of_medical_necessity":{"url":"https://example.com"},"payment_failed":{"message":"Premium SPF 50 mineral sunscreen","url":"https://example.com","decline_code":"string","error_code":"string"},"provide_second_payment_method":{"message":"Premium SPF 50 mineral sunscreen","url":"https://example.com","eligible_amount":0,"ineligible_amount":0},"provide_alternative_payment_method":{"message":"Premium SPF 50 mineral sunscreen","url":"https://example.com"}},"selling_plans":[{"id":"string","name":"string","billing_interval":{"interval":"day","interval_count":0}}],"shopify_payment_details":{"gateway":"string","wallet":"string","card":{"brand":"american_express","last4":"4242"}},"renewal_as_of":1781533800,"partner":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","platform_fees":{"letter_fee":{"amount":2500,"type":"string","status":"pending"}}}},"uniqueKey":"","typeLabel":"object"},"example":{"checkout_session":{"allow_promotion_codes":false,"amount_total":2500,"amount_subtotal":2500,"amount_received":2500,"amount_refunded":2500,"amount_disputed":2500,"cancel_url":"https://example.com","captures":["fcap_01J9XR8M3K7VZ8N2YB4WJ6T0RA"],"disputes":["fdp_01J9XR8M3K7VZ8N2YB4WJ6T0RA"],"capture_method":"automatic","checkout_session_id":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","client_reference_id":"example_value","created_at":2500,"customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","defaults":{"customer_id":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","email":"john.doe@example.com","first_name":"John","last_name":"Doe","phone":"+14155550142"},"expires_at":2500,"invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","hsa_fsa_eligible":false,"letter_of_medical_necessity_required":false,"metadata":{"order_id":"8842","channel":"shopify"},"mode":"payment","origin":"shopify","payment_intent":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","payment_intents":["fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"],"redirect_url":"https://example.com","refunds":["fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA"],"setup_intent":"fseti_01J9XR8M3K7VZ8N2YB4WJ6T0RA","shipping_options":{"shipping_rate_id":"fshr_01J9XR8M3K7VZ8N2YB4WJ6T0RA","shipping_amount":2500,"display_name":"Example"},"shipping_address_collection":false,"shipping_details":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"split_cart":"fsplit_01J9XR8M3K7VZ8N2YB4WJ6T0RA","status":"open","success_url":"https://example.com","fees":[{"fee_id":"ffee_1234567890","amount":2500,"name":"Example","description":"Premium SPF 50 mineral sunscreen","fee_type":"lmn_consultation","applied":true,"waived_reason":"existing_letter"}],"custom_text":{"after_submit":{"message":"Premium SPF 50 mineral sunscreen"},"shipping_address":{"message":"Premium SPF 50 mineral sunscreen"},"submit":{"message":"Premium SPF 50 mineral sunscreen"},"terms_of_service_acceptance":{"message":"Premium SPF 50 mineral sunscreen"},"terms_of_service_checkbox_required":true,"payment":{"message":"Premium SPF 50 mineral sunscreen"}},"subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription_data":{"cancel_at":"2026-06-15T14:30:00Z","trial_end":"string","cancel_at_period_end":false,"trial_period_days":0,"trial_settings":{"end_behavior":{"missing_payment_method":"cancel"}}},"tax_rate":{"amount":2500},"tax_calculation_mode":"exclusive","test_mode":false,"total_details":{"amount_discount":2500,"amount_tax":2500,"amount_shipping":2500,"amount_iias":2500,"amount_vision":2500,"amount_prescription":2500,"amount_service":2500,"amount_fee":2500,"breakdown":{"discounts":[{"discount":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"}}]}},"visit_type":"cbtSleep","setup_future_use":"on_session","payment_method_options":{"card":{"request_three_d_secure":"automatic"}},"next_action":{"type":"collect_letter_of_medical_necessity","collect_letter_of_medical_necessity":{"url":"https://example.com"},"payment_failed":{"message":"Premium SPF 50 mineral sunscreen","url":"https://example.com","decline_code":"string","error_code":"string"},"provide_second_payment_method":{"message":"Premium SPF 50 mineral sunscreen","url":"https://example.com","eligible_amount":0,"ineligible_amount":0},"provide_alternative_payment_method":{"message":"Premium SPF 50 mineral sunscreen","url":"https://example.com"}},"selling_plans":[{"id":"string","name":"string","billing_interval":{"interval":"day","interval_count":0}}],"shopify_payment_details":{"gateway":"string","wallet":"string","card":{"brand":"american_express","last4":"4242"}},"renewal_as_of":1781533800,"partner":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","platform_fees":{"letter_fee":{"amount":2500,"type":"string","status":"pending"}}}},"examples":{"Example":{"title":"Example","value":{"checkout_session":{"allow_promotion_codes":false,"amount_total":2500,"amount_subtotal":2500,"amount_received":2500,"amount_refunded":2500,"amount_disputed":2500,"cancel_url":"https://example.com","captures":["fcap_01J9XR8M3K7VZ8N2YB4WJ6T0RA"],"disputes":["fdp_01J9XR8M3K7VZ8N2YB4WJ6T0RA"],"capture_method":"automatic","checkout_session_id":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","client_reference_id":"example_value","created_at":2500,"customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","defaults":{"customer_id":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","email":"john.doe@example.com","first_name":"John","last_name":"Doe","phone":"+14155550142"},"expires_at":2500,"invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","hsa_fsa_eligible":false,"letter_of_medical_necessity_required":false,"metadata":{"order_id":"8842","channel":"shopify"},"mode":"payment","origin":"shopify","payment_intent":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","payment_intents":["fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"],"redirect_url":"https://example.com","refunds":["fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA"],"setup_intent":"fseti_01J9XR8M3K7VZ8N2YB4WJ6T0RA","shipping_options":{"shipping_rate_id":"fshr_01J9XR8M3K7VZ8N2YB4WJ6T0RA","shipping_amount":2500,"display_name":"Example"},"shipping_address_collection":false,"shipping_details":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"split_cart":"fsplit_01J9XR8M3K7VZ8N2YB4WJ6T0RA","status":"open","success_url":"https://example.com","fees":[{"fee_id":"ffee_1234567890","amount":2500,"name":"Example","description":"Premium SPF 50 mineral sunscreen","fee_type":"lmn_consultation","applied":true,"waived_reason":"existing_letter"}],"custom_text":{"after_submit":{"message":"Premium SPF 50 mineral sunscreen"},"shipping_address":{"message":"Premium SPF 50 mineral sunscreen"},"submit":{"message":"Premium SPF 50 mineral sunscreen"},"terms_of_service_acceptance":{"message":"Premium SPF 50 mineral sunscreen"},"terms_of_service_checkbox_required":true,"payment":{"message":"Premium SPF 50 mineral sunscreen"}},"subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription_data":{"cancel_at":"2026-06-15T14:30:00Z","trial_end":"string","cancel_at_period_end":false,"trial_period_days":0,"trial_settings":{"end_behavior":{"missing_payment_method":"cancel"}}},"tax_rate":{"amount":2500},"tax_calculation_mode":"exclusive","test_mode":false,"total_details":{"amount_discount":2500,"amount_tax":2500,"amount_shipping":2500,"amount_iias":2500,"amount_vision":2500,"amount_prescription":2500,"amount_service":2500,"amount_fee":2500,"breakdown":{"discounts":[{"discount":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"}}]}},"visit_type":"cbtSleep","setup_future_use":"on_session","payment_method_options":{"card":{"request_three_d_secure":"automatic"}},"next_action":{"type":"collect_letter_of_medical_necessity","collect_letter_of_medical_necessity":{"url":"https://example.com"},"payment_failed":{"message":"Premium SPF 50 mineral sunscreen","url":"https://example.com","decline_code":"string","error_code":"string"},"provide_second_payment_method":{"message":"Premium SPF 50 mineral sunscreen","url":"https://example.com","eligible_amount":0,"ineligible_amount":0},"provide_alternative_payment_method":{"message":"Premium SPF 50 mineral sunscreen","url":"https://example.com"}},"selling_plans":[{"id":"string","name":"string","billing_interval":{"interval":"day","interval_count":0}}],"shopify_payment_details":{"gateway":"string","wallet":"string","card":{"brand":"american_express","last4":"4242"}},"renewal_as_of":1781533800,"partner":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","platform_fees":{"letter_fee":{"amount":2500,"type":"string","status":"pending"}}}}}},"exampleType":"examples"}},"exampleType":"examples"},"709ae7a8-ba77-4086-81d4-a87f05ba326f":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"HttpError","description":"The error response returned when a request cannot be completed.","type":"object","required":["code","detail"],"properties":{"code":{"description":"A short machine-readable error code identifying the type of error.","type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"description":"A human-readable explanation of what went wrong.","type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"example":{"code":"string","detail":"string"},"uniqueKey":"","typeLabel":"HttpError · object"},"example":{"code":"string","detail":"string"},"examples":{"Example":{"title":"Example","value":{"code":"string","detail":"string"}}},"exampleType":"examples"}},"exampleType":"examples"},"24291043-54cb-458a-8ee9-ffc2b2f00e64":{"description":"Forbidden","content":{"application/json":{"schema":{"title":"HttpError","description":"The error response returned when a request cannot be completed.","type":"object","required":["code","detail"],"properties":{"code":{"description":"A short machine-readable error code identifying the type of error.","type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"description":"A human-readable explanation of what went wrong.","type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"example":{"code":"string","detail":"string"},"uniqueKey":"","typeLabel":"HttpError · object"},"example":{"code":"string","detail":"string"},"examples":{"Example":{"title":"Example","value":{"code":"string","detail":"string"}}},"exampleType":"examples"}},"exampleType":"examples"},"b9e159ff-4352-4c42-a395-6f02ce2be4cd":{"description":"Not Found","content":{"application/json":{"schema":{"title":"HttpError","description":"The error response returned when a request cannot be completed.","type":"object","required":["code","detail"],"properties":{"code":{"description":"A short machine-readable error code identifying the type of error.","type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"description":"A human-readable explanation of what went wrong.","type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"example":{"code":"string","detail":"string"},"uniqueKey":"","typeLabel":"HttpError · object"},"example":{"code":"string","detail":"string"},"examples":{"Example":{"title":"Example","value":{"code":"string","detail":"string"}}},"exampleType":"examples"}},"exampleType":"examples"},"90947334-293a-40cb-8cf5-8680b700353e":{"description":"Conflict","content":{"application/json":{"schema":{"title":"HttpError","description":"The error response returned when a request cannot be completed.","type":"object","required":["code","detail"],"properties":{"code":{"description":"A short machine-readable error code identifying the type of error.","type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"description":"A human-readable explanation of what went wrong.","type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"example":{"code":"string","detail":"string"},"uniqueKey":"","typeLabel":"HttpError · object"},"example":{"code":"string","detail":"string"},"examples":{"Example":{"title":"Example","value":{"code":"string","detail":"string"}}},"exampleType":"examples"}},"exampleType":"examples"},"f3f830bd-3abc-4a6c-9483-969468fc6902":{"description":"Validation Error","content":{"application/json":{"schema":{"description":"The error response returned when request validation fails (HTTP 422).","type":"object","required":["detail"],"properties":{"detail":{"description":"The list of validation errors, one entry per invalid field.","type":"array","items":{"description":"Validation errors have their own schema to provide context for invalid requests eg. mismatched types and out of bounds values. There may be any number of these per 422 UNPROCESSABLE ENTITY error.","type":"object","required":["loc","msg","type"],"properties":{"loc":{"description":"The location as a [`Vec`] of [`String`]s -- often in the form `[\"body\", \"field_name\"]`, `[\"query\", \"field_name\"]`, etc. They may, however, be arbitarily deep.","type":"array","items":{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"string[]"},"msg":{"description":"The message accompanying the validation error item.","type":"string","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"description":"The type of error, often \"type_error\" or \"value_error\", but sometimes with more context like as \"value_error.number.not_ge\"","type":"string","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"}},"example":{"loc":["string"],"msg":"string","type":"string"},"uniqueKey":"detail.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"detail","typeLabel":"object[]"}},"example":{"detail":[{"loc":["string"],"msg":"string","type":"string"}]},"uniqueKey":"","typeLabel":"object"},"example":{"detail":[{"loc":["string"],"msg":"string","type":"string"}]},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["string"],"msg":"string","type":"string"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"dab80616-fa4b-47ed-a540-7b4fd31fab35":{"description":"Too Many Requests","content":{"application/json":{"schema":{"title":"HttpError","description":"The error response returned when a request cannot be completed.","type":"object","required":["code","detail"],"properties":{"code":{"description":"A short machine-readable error code identifying the type of error.","type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"description":"A human-readable explanation of what went wrong.","type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"example":{"code":"string","detail":"string"},"uniqueKey":"","typeLabel":"HttpError · object"},"example":{"code":"string","detail":"string"},"examples":{"Example":{"title":"Example","value":{"code":"string","detail":"string"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"3563fafc-0d91-4883-aef6-0e4f01722e52":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Use a Bearer token to access this API.","scopes":["checkout_sessions:write"],"schemeName":"BearerAuth"}}},"servers":{"080577c1-39a5-4498-bb49-d7daab803f21":{"url":"https://api.withflex.com"}},"schemas":{"8fbcacc5-2464-4789-9a44-67dbaef1711b":{"oneOf":[{"type":"string","description":"An expandable field — either a string ID or an expanded PaymentIntent object.","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"An expandable field — either a string ID or an expanded PaymentIntent object.","required":["amount","capture_method","created_at","payment_intent_id","status","test_mode"],"example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_intent_id":{"description":"The unique identifier for the payment intent.","type":"string","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"amount":{"description":"The amount of the payment intent in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"status":{"description":"The status of the payment intent.","type":"string","enum":["canceled","processing","requires_action","requires_capture","requires_confirmation","requires_payment_method","succeeded"],"example":"canceled","isRequired":true},"created_at":{"description":"The time the payment intent was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"capture_method":{"description":"The capture method of the payment intent.","type":"string","enum":["automatic","automatic_async","manual"],"example":"automatic","isRequired":true},"test_mode":{"description":"Whether the payment intent is in test mode.","type":"boolean","example":false,"isRequired":true},"amount_capturable":{"oneOf":[{"type":"integer","description":"The amount that can be captured from this PaymentIntent.","format":"int32","maximum":2147483647,"minimum":-2147483648,"example":2500},{"type":"null","description":"The amount that can be captured from this PaymentIntent.","format":"int32","maximum":2147483647,"minimum":-2147483648,"example":2500}]},"amount_received":{"oneOf":[{"type":"integer","description":"The amount that was received in cents.","format":"int32","maximum":2147483647,"minimum":-2147483648,"example":2500},{"type":"null","description":"The amount that was received in cents.","format":"int32","maximum":2147483647,"minimum":-2147483648,"example":2500}]},"application_fee_amount":{"oneOf":[{"type":"integer","description":"The amount of the Flex application fee.","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"The amount of the Flex application fee.","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"customer":{"oneOf":[{"type":"string","description":"The customer associated with the payment intent.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The customer associated with the payment intent.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true},"owner_partner_id":{"oneOf":[{"type":"string","description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"phone":{"oneOf":[{"type":"string","description":"The customer's phone number.","format":"phone","example":"+15555555555"},{"type":"null","description":"The customer's phone number.","format":"phone","example":"+15555555555"}]},"employer":{"oneOf":[{"type":"string","description":"The customer's employer.","example":"Flex"},{"type":"null","description":"The customer's employer.","example":"Flex"}]},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"line1":{"oneOf":[{"type":"string","description":"The first line of the street address (e.g., street number and name).","example":"123 Main St"},{"type":"null","description":"The first line of the street address (e.g., street number and name).","example":"123 Main St"}]},"line2":{"oneOf":[{"type":"string","description":"The second line of the street address (e.g., apartment, suite, or unit).","example":"Suite 100"},{"type":"null","description":"The second line of the street address (e.g., apartment, suite, or unit).","example":"Suite 100"}]},"city":{"oneOf":[{"type":"string","description":"City, district, suburb, town, or village.","example":"San Francisco"},{"type":"null","description":"City, district, suburb, town, or village.","example":"San Francisco"}]},"state":{"oneOf":[{"type":"string","description":"State, county, province, or region.","example":"CA"},{"type":"null","description":"State, county, province, or region.","example":"CA"}]},"postal_code":{"oneOf":[{"type":"string","description":"ZIP or postal code.","example":"94107"},{"type":"null","description":"ZIP or postal code.","example":"94107"}]},"country":{"oneOf":[{"type":"string","description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","example":"US"},{"type":"null","description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","example":"US"}]}}},{"type":"null","description":"The customer's shipping address."}]},"metadata":{"oneOf":[{"type":"object","description":"Metadata associated with the customer.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}},{"type":"null","description":"Metadata associated with the customer.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}}]}}},{"type":"null","description":"The customer associated with the payment intent."}]},"transfer_data":{"oneOf":[{"type":"object","description":"The data related to the amount being transferred.","required":["destination"],"example":{"amount":2500,"destination":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"properties":{"destination":{"description":"The destination account of the transfer.","type":"string","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"amount":{"oneOf":[{"type":"integer","description":"The amount to transfer, in cents.","format":"int32","maximum":2147483647,"minimum":-2147483648,"example":2500},{"type":"null","description":"The amount to transfer, in cents.","format":"int32","maximum":2147483647,"minimum":-2147483648,"example":2500}]}}},{"type":"null","description":"The data related to the amount being transferred."}]},"latest_charge":{"oneOf":[{"type":"string","description":"The latest charge associated with the payment intent.","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The latest charge associated with the payment intent.","required":["amount","amount_captured","amount_refunded","captured","charge_id","created_at","disputed","paid","payment_intent","refunded","status","test_mode"],"example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"charge_id":{"description":"Unique identifier for the charge.","type":"string","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"amount":{"description":"Amount intended to be collected by this payment.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"amount_captured":{"description":"Amount in cents captured (can be less than the amount attribute on the charge if a partial capture was made).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"amount_refunded":{"description":"Amount in cents refunded (can be less than the amount attribute on the charge if a partial refund was made).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"captured":{"description":"If the charge was created without capturing, this Boolean represents whether it is still uncaptured or has since been captured.","type":"boolean","example":false,"isRequired":true},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"disputed":{"description":"Whether the charge has been disputed.","type":"boolean","example":false,"isRequired":true},"paid":{"description":"true if the charge succeeded, or was successfully authorized for later capture.","type":"boolean","example":false,"isRequired":true},"refunded":{"description":"Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.","type":"boolean","example":false,"isRequired":true},"payment_intent":{"$circularRef":"8fbcacc5-2464-4789-9a44-67dbaef1711b","description":"The payment intent that generated this charge.","isRequired":true},"status":{"description":"The status of the charge.","type":"string","enum":["succeeded","pending","failed"],"example":"succeeded","isRequired":true},"test_mode":{"description":"Whether the charge was created in test mode.","type":"boolean","example":false,"isRequired":true},"application_fee_amount":{"oneOf":[{"type":"integer","description":"The Flex application fee for the charge","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"The Flex application fee for the charge","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"customer":{"oneOf":[{"type":"string","description":"The customer this charge is for if one exists.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The customer this charge is for if one exists.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true},"owner_partner_id":{"oneOf":[{"type":"string","description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"phone":{"oneOf":[{"type":"string","description":"The customer's phone number.","format":"phone","example":"+15555555555"},{"type":"null","description":"The customer's phone number.","format":"phone","example":"+15555555555"}]},"employer":{"oneOf":[{"type":"string","description":"The customer's employer.","example":"Flex"},{"type":"null","description":"The customer's employer.","example":"Flex"}]},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"line1":{"oneOf":[{"type":"string","description":"The first line of the street address (e.g., street number and name).","example":"123 Main St"},{"type":"null","description":"The first line of the street address (e.g., street number and name).","example":"123 Main St"}]},"line2":{"oneOf":[{"type":"string","description":"The second line of the street address (e.g., apartment, suite, or unit).","example":"Suite 100"},{"type":"null","description":"The second line of the street address (e.g., apartment, suite, or unit).","example":"Suite 100"}]},"city":{"oneOf":[{"type":"string","description":"City, district, suburb, town, or village.","example":"San Francisco"},{"type":"null","description":"City, district, suburb, town, or village.","example":"San Francisco"}]},"state":{"oneOf":[{"type":"string","description":"State, county, province, or region.","example":"CA"},{"type":"null","description":"State, county, province, or region.","example":"CA"}]},"postal_code":{"oneOf":[{"type":"string","description":"ZIP or postal code.","example":"94107"},{"type":"null","description":"ZIP or postal code.","example":"94107"}]},"country":{"oneOf":[{"type":"string","description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","example":"US"},{"type":"null","description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","example":"US"}]}}},{"type":"null","description":"The customer's shipping address."}]},"metadata":{"oneOf":[{"type":"object","description":"Metadata associated with the customer.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}},{"type":"null","description":"Metadata associated with the customer.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}}]}}},{"type":"null","description":"The customer this charge is for if one exists."}]},"invoice":{"oneOf":[{"type":"string","description":"The invoice this charge is for if one exists.","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The invoice this charge is for if one exists.","required":["amount_due","amount_paid","collection_method","created_at","invoice_id","status","test_mode","total"],"example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"invoice_id":{"description":"The id of the invoice.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"total":{"description":"The total amount of the invoice in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"amount_due":{"description":"The amount due in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"amount_paid":{"description":"The amount paid in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"status":{"description":"The status of the invoice.","type":"string","enum":["draft","open","void","paid","uncollectible"],"example":"draft","isRequired":true},"collection_method":{"description":"Either charge_automatically or send_invoice. When charging automatically, Flex will attempt to pay this invoice using the default payment method attached to the customer. When sending an invoice, Flex will email this invoice to the customer with payment instructions.","type":"string","enum":["charge_automatically","send_invoice"],"example":"charge_automatically","isRequired":true},"test_mode":{"description":"Whether or not the invoice was created in test mode.","type":"boolean","example":false,"isRequired":true},"created_at":{"description":"When the invoice was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"payment_intent":{"oneOf":[{"description":"The payment intent associated with this invoice. The payment intent is created when the invoice is finalized."},{"type":"null","description":"The payment intent associated with this invoice. The payment intent is created when the invoice is finalized."}]},"charge":{"oneOf":[{"type":"string","description":"The id of the latest charge for this invoice.","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The id of the latest charge for this invoice.","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"customer":{"oneOf":[{"type":"string","description":"The id of the customer this invoice is for.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The id of the customer this invoice is for.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true},"owner_partner_id":{"oneOf":[{"type":"string","description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"phone":{"oneOf":[{"type":"string","description":"The customer's phone number.","format":"phone","example":"+15555555555"},{"type":"null","description":"The customer's phone number.","format":"phone","example":"+15555555555"}]},"employer":{"oneOf":[{"type":"string","description":"The customer's employer.","example":"Flex"},{"type":"null","description":"The customer's employer.","example":"Flex"}]},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"line1":{"oneOf":[{"type":"string","description":"The first line of the street address (e.g., street number and name).","example":"123 Main St"},{"type":"null","description":"The first line of the street address (e.g., street number and name).","example":"123 Main St"}]},"line2":{"oneOf":[{"type":"string","description":"The second line of the street address (e.g., apartment, suite, or unit).","example":"Suite 100"},{"type":"null","description":"The second line of the street address (e.g., apartment, suite, or unit).","example":"Suite 100"}]},"city":{"oneOf":[{"type":"string","description":"City, district, suburb, town, or village.","example":"San Francisco"},{"type":"null","description":"City, district, suburb, town, or village.","example":"San Francisco"}]},"state":{"oneOf":[{"type":"string","description":"State, county, province, or region.","example":"CA"},{"type":"null","description":"State, county, province, or region.","example":"CA"}]},"postal_code":{"oneOf":[{"type":"string","description":"ZIP or postal code.","example":"94107"},{"type":"null","description":"ZIP or postal code.","example":"94107"}]},"country":{"oneOf":[{"type":"string","description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","example":"US"},{"type":"null","description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","example":"US"}]}}},{"type":"null","description":"The customer's shipping address."}]},"metadata":{"oneOf":[{"type":"object","description":"Metadata associated with the customer.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}},{"type":"null","description":"Metadata associated with the customer.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}}]}}},{"type":"null","description":"The id of the customer this invoice is for."}]},"period_end":{"oneOf":[{"type":"string","description":"End of the usage period.","example":"string"},{"type":"null","description":"End of the usage period."}]},"period_start":{"oneOf":[{"type":"string","description":"Start of the usage period.","example":"string"},{"type":"null","description":"Start of the usage period."}]},"subscription":{"oneOf":[{"type":"string","description":"The subscription that this invoice was prepared for.","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The subscription that this invoice was prepared for.","required":["cancel_at_period_end","created_at","items","status","subscription_id","test_mode"],"example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"subscription_id":{"description":"Unique identifier for the object.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"items":{"description":"The items the customer is subscribed to.","type":"array","items":{"description":"A Subscription Item represents a single recurring Price billed as part of a Subscription, together with the quantity of that price the customer is subscribed to. A subscription has one item per recurring price it bills.","type":"object","required":["created_at","price","quantity","subscription_item_id","test_mode"],"properties":{"subscription_item_id":{"description":"Unique identifier for the subscription item.","type":"string","example":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"price":{"oneOf":[{"type":"string","description":"The recurring Price this item bills. Returned as a price ID by default, or as the full Price object when expanded.","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},{"type":"object","description":"The recurring Price this item bills. Returned as a price ID by default, or as the full Price object when expanded.","required":["active","created_at","price_id","product","test_mode","type","unit_amount"],"example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"price_id":{"description":"The unique identifier for the price.","type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"unit_amount":{"description":"The amount to charge per unit, in the smallest currency unit (e.g., `2500` = $25.00 USD).","type":"integer","format":"int32","minimum":-2147483648,"maximum":2147483647,"isRequired":true},"active":{"description":"Whether the price is currently active.","type":"boolean","example":false,"isRequired":true},"product":{"oneOf":[{"type":"string","description":"The product this price belongs to. Returned as a product ID by default, or as the full Product object when expanded.","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},{"type":"object","description":"The product this price belongs to. Returned as a product ID by default, or as the full Product object when expanded.","required":["active","created_at","hsa_fsa_eligibility","name","product_id","test_mode"],"example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"product_id":{"description":"The unique identifier for the product.","type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"name":{"description":"The name of the product.","type":"string","example":"Example","isRequired":true},"created_at":{"description":"The date the product was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"active":{"description":"Determines if the product is active or not.","type":"boolean","example":false,"isRequired":true},"hsa_fsa_eligibility":{"description":"The elegibility of the product for HSA/FSA.","type":"string","enum":["not_eligible","auto_substantiation","private_label","letter_of_medical_necessity","prescription","vision","service","pending"],"example":"not_eligible","isRequired":true},"test_mode":{"description":"Whether the product is in test mode or not.","type":"boolean","example":false,"isRequired":true},"owner_partner_id":{"oneOf":[{"type":"string","description":"The ID of the account that owns this product. For products shared across an organization this may be a sibling account; otherwise it is your own account ID.","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The ID of the account that owns this product. For products shared across an organization this may be a sibling account; otherwise it is your own account ID.","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"description":{"oneOf":[{"type":"string","description":"The description of the product.","example":"Premium SPF 50 mineral sunscreen"},{"type":"null","description":"The description of the product.","example":"Premium SPF 50 mineral sunscreen"}]},"document_description":{"oneOf":[{"type":"string","description":"Medical-grade description optimized for use in Letters of Medical Necessity and receipts.","deprecated":true},{"type":"null","description":"Medical-grade description optimized for use in Letters of Medical Necessity and receipts.","deprecated":true}]},"receipt_description":{"oneOf":[{"type":"string","description":"Shortened description tailored to receipt line items"},{"type":"null","description":"Shortened description tailored to receipt line items"}]},"visit_type":{"oneOf":[{"type":"string","description":"The visit type of the product if a letter of medical necessity is required.","enum":["cbtSleep","notApplicable","metabolomics","tinnitus","gym","exerciseDiet","orthopedic","alcohol","airPurification","vaginalHealth","menstrual","canopy","alopecia","genate","weightBlanket","bedJet","siderAl","sunwinkPowder","wavWatch","bodyComplete","ageRate","nitrousOxide","happyV","groupChat","icalmAnxiety","redBloom","foodom","branchErgonomicFurniture","curalife","eloraInfantWellness","nutriHealth","olipop","goldIntimate","touchStoneEssentials","utiva","sleepGeekz","figBrew","auBabyBlanket","babySleepSack","oshWellness","currentBodyRedLight","mito","circularRing","lymaRedLight","goodAirRx","tastermonial","karunaHome","ergoStandingChair","jbaGlucoseControl","bloomNutrition","buoyDrops","luxeWonderWig","saunaMarketplace","amrioreEyewear","pivotOrthoShoe","lumenCynergy","roga","pulsetto","mitoRedLight","gutPersonal","goFlaus","myHixel","calmigo","dotFit","stripesBeauty","mixHers","pmd","positivityWithPurpose","techRing","popVeneers","vertaClean","lumen","medicalMeal","emnHealth","detergentAllergy","lowImpactExercise","mediumImpactExercise","highImpactExercise","gardening","babyCarrier","smartGlasses","automatedCleaner","uvClothing","adaptiveShoes","breathWork","nonenalOdor","meneralsNootropicPouch","babyMonitorSplit","babySleepApp","coolingSleepwear","bodyPillow","uvGlasses","nursingChairs","coolingBed","posture","supplements","sleep","redLightTherapy","fitness","smartRing","womensVaginalHealth","fertilitySupport","femaleReproduction","femaleReproductionFood","pregnancyLiterature","iceBath","orthopedicShoes","sexualHealth","glucose","metabolicTest","skinCare","oralHealth","oralAnxiety","blueLightGlasses","anxiety","brainHealth","babyMonitor","compressionSocks","compressionShorts","waterPurification","medSpa","essentialOils","sleepBuds","latchLight","nutritionist","rairflow","enduranceTraining","hydration","hairGrowth","eD","postureFitness","childDevelopment","adaptiveClothing","sleepConsulting","hairRemoval","menopause","maleFertility","anxietyHealth","bidets","speechHealth","artOfLiving","breastMilk","petSupport","diapers","gutSupplements","smartWatch","medicalBotox","biomechanicalAssessment","erectileReset","femaleOrgasm","pornAddiction","memorySupport","oralHealthMasticGum","orthopedicSandals","childDevelopmentAnxietySleep","childDevelopmentAdjustment","childDevelopmentBehavior","childDevelopmentIdentity","emnHealthMobility","adaptiveShoesDependent","speechHealthDependent","breathWorkDependent"],"example":"cbtSleep"},{"type":"null","description":"The visit type of the product if a letter of medical necessity is required."}]},"upc_code":{"oneOf":[{"type":"string","description":"The upc code of the product."},{"type":"null","description":"The upc code of the product."}]},"gtin":{"oneOf":[{"type":"string","description":"The gtin code of the product."},{"type":"null","description":"The gtin code of the product."}]},"reference_gtin":{"oneOf":[{"type":"string","description":"The GTIN of a private-label reference product, used to establish HSA/FSA eligibility."},{"type":"null","description":"The GTIN of a private-label reference product, used to establish HSA/FSA eligibility."}]},"metadata":{"oneOf":[{"type":"object","description":"Metadata associated with the product.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}},{"type":"null","description":"Metadata associated with the product.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}}]},"url":{"oneOf":[{"type":"string","description":"The URL of the product.","example":"https://example.com"},{"type":"null","description":"The URL of the product.","example":"https://example.com"}]},"client_reference_id":{"oneOf":[{"type":"string","description":"An optional identifier for the product set by the client at creation time. Immutable after creation.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"An optional identifier for the product set by the client at creation time. Immutable after creation.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]}},"isRequired":true}],"isRequired":true},"created_at":{"description":"The date the price was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"type":{"description":"The type of the price: a single one-time charge, or a recurring charge billed on a schedule.","type":"string","enum":["one_time","recurring"],"example":"one_time","isRequired":true},"test_mode":{"description":"Whether the price is in test mode.","type":"boolean","example":false,"isRequired":true},"owner_partner_id":{"oneOf":[{"type":"string","description":"The ID of the account that owns this price. For prices shared across an organization this may be a sibling account; otherwise it is your own account ID.","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The ID of the account that owns this price. For prices shared across an organization this may be a sibling account; otherwise it is your own account ID.","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"description":{"oneOf":[{"type":"string","description":"The description of the price.","example":"Premium SPF 50 mineral sunscreen"},{"type":"null","description":"The description of the price.","example":"Premium SPF 50 mineral sunscreen"}]},"trial_period_days":{"oneOf":[{"type":"integer","description":"The number of trial period days before the customer is first charged for a recurring price.","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"The number of trial period days before the customer is first charged for a recurring price.","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"recurring":{"oneOf":[{"type":"object","description":"The recurring components of a price such as interval and trial period days.","required":["interval"],"example":{"interval":"day","interval_count":0,"trial_period_days":0},"properties":{"interval":{"description":"The billing cadence for the price.","type":"string","enum":["day","week","month","year"],"example":"day","isRequired":true},"interval_count":{"oneOf":[{"type":"integer","description":"The number of intervals","format":"int64","maximum":4294967295,"minimum":0},{"type":"null","description":"The number of intervals","format":"int64","maximum":4294967295,"minimum":0}]},"trial_period_days":{"oneOf":[{"type":"integer","description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","format":"int64","maximum":4294967295,"minimum":0},{"type":"null","description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","format":"int64","maximum":4294967295,"minimum":0}]}}},{"type":"null","description":"The recurring components of a price such as interval and trial period days."}]},"metadata":{"oneOf":[{"type":"object","description":"Metadata information for the price object","example":{"order_id":"8842","channel":"shopify"}},{"type":"null","description":"Metadata information for the price object","example":{"order_id":"8842","channel":"shopify"}}]},"lookup_key":{"oneOf":[{"type":"string","description":"A stable, partner-owned key for this price. Unique per account and mode across all prices, archived ones included. `null` until you set one.","maxLength":200,"example":"standard_monthly"},{"type":"null","description":"A stable, partner-owned key for this price. Unique per account and mode across all prices, archived ones included. `null` until you set one.","maxLength":200,"example":"standard_monthly"}]},"hsa_fsa_eligibility":{"oneOf":[{"type":"string","description":"The HSA/FSA eligibility for the price.","enum":["not_eligible","auto_substantiation","private_label","letter_of_medical_necessity","prescription","vision","service","pending"],"example":"not_eligible"},{"type":"null","description":"The HSA/FSA eligibility for the price."}]}},"isRequired":true}],"isRequired":true},"quantity":{"description":"The number of units of the price the customer is subscribed to.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"created_at":{"description":"Time at which the subscription item was created, as an RFC 3339 timestamp.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"test_mode":{"description":"Whether the subscription item exists in test mode.","type":"boolean","example":false,"isRequired":true},"updated_at":{"oneOf":[{"type":"string","description":"Time at which the subscription item was last updated, as an RFC 3339 timestamp. `null` if the item has not been updated since creation.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"Time at which the subscription item was last updated, as an RFC 3339 timestamp. `null` if the item has not been updated since creation.","example":"2026-06-15T14:30:00Z"}]}},"example":{"subscription_item_id":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","price":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","quantity":2500,"created_at":"2026-06-15T14:30:00Z","updated_at":"2026-06-15T14:30:00Z","test_mode":false}},"isRequired":true},"status":{"description":"Possible values are incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, or paused.","type":"string","enum":["incomplete","incomplete_expired","trialing","active","past_due","canceled","unpaid","paused"],"example":"incomplete","isRequired":true},"cancel_at_period_end":{"description":"If the subscription has been canceled with the at_period_end flag set to true, cancel_at_period_end on the subscription will be true. You can use this attribute to determine whether a subscription that has a status of active is scheduled to be canceled at the end of the current period.","type":"boolean","example":false,"isRequired":true},"test_mode":{"description":"Whether the subscription is in test mode.","type":"boolean","example":false,"isRequired":true},"latest_invoice":{"oneOf":[{"description":"The ID of the latest invoice generated for this subscription."},{"type":"null","description":"The ID of the latest invoice generated for this subscription."}]},"customer":{"oneOf":[{"type":"string","description":"The ID of the customer who owns the subscription.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The ID of the customer who owns the subscription.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true},"owner_partner_id":{"oneOf":[{"type":"string","description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"phone":{"oneOf":[{"type":"string","description":"The customer's phone number.","format":"phone","example":"+15555555555"},{"type":"null","description":"The customer's phone number.","format":"phone","example":"+15555555555"}]},"employer":{"oneOf":[{"type":"string","description":"The customer's employer.","example":"Flex"},{"type":"null","description":"The customer's employer.","example":"Flex"}]},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"line1":{"oneOf":[{"type":"string","description":"The first line of the street address (e.g., street number and name).","example":"123 Main St"},{"type":"null","description":"The first line of the street address (e.g., street number and name).","example":"123 Main St"}]},"line2":{"oneOf":[{"type":"string","description":"The second line of the street address (e.g., apartment, suite, or unit).","example":"Suite 100"},{"type":"null","description":"The second line of the street address (e.g., apartment, suite, or unit).","example":"Suite 100"}]},"city":{"oneOf":[{"type":"string","description":"City, district, suburb, town, or village.","example":"San Francisco"},{"type":"null","description":"City, district, suburb, town, or village.","example":"San Francisco"}]},"state":{"oneOf":[{"type":"string","description":"State, county, province, or region.","example":"CA"},{"type":"null","description":"State, county, province, or region.","example":"CA"}]},"postal_code":{"oneOf":[{"type":"string","description":"ZIP or postal code.","example":"94107"},{"type":"null","description":"ZIP or postal code.","example":"94107"}]},"country":{"oneOf":[{"type":"string","description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","example":"US"},{"type":"null","description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","example":"US"}]}}},{"type":"null","description":"The customer's shipping address."}]},"metadata":{"oneOf":[{"type":"object","description":"Metadata associated with the customer.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}},{"type":"null","description":"Metadata associated with the customer.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}}]}}},{"type":"null","description":"The ID of the customer who owns the subscription."}]},"current_period_end":{"oneOf":[{"type":"string","description":"End of the current period that the subscription has been invoiced for.","example":"string"},{"type":"null","description":"End of the current period that the subscription has been invoiced for."}]},"current_period_start":{"oneOf":[{"type":"string","description":"Start of the current period that the subscription has been invoiced for.","example":"string"},{"type":"null","description":"Start of the current period that the subscription has been invoiced for."}]},"metadata":{"oneOf":[{"type":"object","description":"A set of key/value pairs that you can attach to a subscription object.","example":{"order_id":"8842","channel":"shopify"}},{"type":"null","description":"A set of key/value pairs that you can attach to a subscription object.","example":{"order_id":"8842","channel":"shopify"}}]},"client_secret":{"oneOf":[{"type":"object","description":"Client secrets used to confirm the subscription's first payment or payment-method setup from your frontend. Present only while the subscription is being activated; omitted otherwise. Do not log or store these secrets; expose them only to the customer over TLS.","example":{"setup_secret":"string","payment_secret":"string"},"properties":{"setup_secret":{"oneOf":[{"type":"string","description":"Client secret of the SetupIntent used to collect and save a payment method for the subscription (for example, during a trial with no immediate charge). `null` when no setup is required. Do not log or store it; expose only to the customer over TLS."},{"type":"null","description":"Client secret of the SetupIntent used to collect and save a payment method for the subscription (for example, during a trial with no immediate charge). `null` when no setup is required. Do not log or store it; expose only to the customer over TLS."}]},"payment_secret":{"oneOf":[{"type":"string","description":"Client secret of the PaymentIntent used to confirm the subscription's first payment from your frontend. `null` when no immediate payment is required. Do not log or store it; expose only to the customer over TLS."},{"type":"null","description":"Client secret of the PaymentIntent used to confirm the subscription's first payment from your frontend. `null` when no immediate payment is required. Do not log or store it; expose only to the customer over TLS."}]}}},{"type":"null","description":"Client secrets used to confirm the subscription's first payment or payment-method setup from your frontend. Present only while the subscription is being activated; omitted otherwise. Do not log or store these secrets; expose them only to the customer over TLS."}]},"proration_behavior":{"oneOf":[{"type":"string","description":"The proration behavior for the subscription.","enum":["always_invoice","create_prorations","none"],"example":"always_invoice"},{"type":"null","description":"The proration behavior for the subscription."}]},"trial_start":{"oneOf":[{"type":"string","description":"Start of the subscription's trial period, as an RFC 3339 timestamp. `null` if the subscription has no trial.","example":"string"},{"type":"null","description":"Start of the subscription's trial period, as an RFC 3339 timestamp. `null` if the subscription has no trial."}]},"trial_end":{"oneOf":[{"type":"string","description":"End of the subscription's trial period, as an RFC 3339 timestamp. After this time the customer is billed normally. `null` if the subscription has no trial.","example":"string"},{"type":"null","description":"End of the subscription's trial period, as an RFC 3339 timestamp. After this time the customer is billed normally. `null` if the subscription has no trial."}]},"cancel_at":{"oneOf":[{"type":"string","description":"A future RFC 3339 timestamp at which the subscription will automatically be canceled. `null` unless a future cancellation has been scheduled.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"A future RFC 3339 timestamp at which the subscription will automatically be canceled. `null` unless a future cancellation has been scheduled.","example":"2026-06-15T14:30:00Z"}]},"canceled_at":{"oneOf":[{"type":"string","description":"The RFC 3339 timestamp at which the subscription was actually canceled. `null` if the subscription has not been canceled. Unlike `cancel_at` (a future scheduled cancellation), this is set once the cancellation has occurred.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"The RFC 3339 timestamp at which the subscription was actually canceled. `null` if the subscription has not been canceled. Unlike `cancel_at` (a future scheduled cancellation), this is set once the cancellation has occurred.","example":"2026-06-15T14:30:00Z"}]},"default_payment_method":{"oneOf":[{"type":"string","description":"The default payment method for the subscription (expandable).","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The default payment method for the subscription (expandable).","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"oneOf":[{"type":"object","description":"The billing address.","example":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"properties":{"city":{"oneOf":[{"type":"string","description":"City, district, suburb, town, or village.","example":"San Francisco"},{"type":"null","description":"City, district, suburb, town, or village.","example":"San Francisco"}]},"country":{"oneOf":[{"type":"string","description":"Two-letter ISO country code (e.g., `US`).","example":"US"},{"type":"null","description":"Two-letter ISO country code (e.g., `US`).","example":"US"}]},"line1":{"oneOf":[{"type":"string","description":"Address line 1, such as the street, PO box, or company name.","example":"123 Main St"},{"type":"null","description":"Address line 1, such as the street, PO box, or company name.","example":"123 Main St"}]},"line2":{"oneOf":[{"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building.","example":"Suite 100"},{"type":"null","description":"Address line 2, such as the apartment, suite, unit, or building.","example":"Suite 100"}]},"postal_code":{"oneOf":[{"type":"string","description":"ZIP or postal code.","example":"94107"},{"type":"null","description":"ZIP or postal code.","example":"94107"}]},"state":{"oneOf":[{"type":"string","description":"State, county, province, or region.","example":"CA"},{"type":"null","description":"State, county, province, or region.","example":"CA"}]}}},{"type":"null","description":"The billing address."}]},"email":{"oneOf":[{"type":"string","description":"The billing email address.","example":"john.doe@example.com"},{"type":"null","description":"The billing email address.","example":"john.doe@example.com"}]},"name":{"oneOf":[{"type":"string","description":"The billing name.","example":"Example"},{"type":"null","description":"The billing name.","example":"Example"}]},"phone":{"oneOf":[{"type":"string","description":"The billing phone number.","example":"+14155550142"},{"type":"null","description":"The billing phone number.","example":"+14155550142"}]}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"},"isRequired":true},"customer":{"oneOf":[{"type":"string","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},{"type":"object","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true},"owner_partner_id":{"oneOf":[{"type":"string","description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"phone":{"oneOf":[{"type":"string","description":"The customer's phone number.","format":"phone","example":"+15555555555"},{"type":"null","description":"The customer's phone number.","format":"phone","example":"+15555555555"}]},"employer":{"oneOf":[{"type":"string","description":"The customer's employer.","example":"Flex"},{"type":"null","description":"The customer's employer.","example":"Flex"}]},"shipping":{"type":"any","description":"The customer's shipping address."},"metadata":{"oneOf":[{"type":"object","description":"Metadata associated with the customer.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}},{"type":"null","description":"Metadata associated with the customer.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}}]}},"isRequired":true}],"isRequired":true},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express","isRequired":true},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US","isRequired":true},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127,"isRequired":true},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123","isRequired":true},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit","isRequired":true},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242","isRequired":true}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"},"isRequired":true},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false,"isRequired":true},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean","isRequired":true},"metadata":{"oneOf":[{"type":"object","description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"object"}},{"type":"null","description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"object"}}]}}},{"type":"null","description":"The default payment method for the subscription (expandable)."}]},"backup_payment_method":{"oneOf":[{"type":"string","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"oneOf":[{"type":"object","description":"The billing address.","example":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"properties":{"city":{"oneOf":[{"type":"string","description":"City, district, suburb, town, or village.","example":"San Francisco"},{"type":"null","description":"City, district, suburb, town, or village.","example":"San Francisco"}]},"country":{"oneOf":[{"type":"string","description":"Two-letter ISO country code (e.g., `US`).","example":"US"},{"type":"null","description":"Two-letter ISO country code (e.g., `US`).","example":"US"}]},"line1":{"oneOf":[{"type":"string","description":"Address line 1, such as the street, PO box, or company name.","example":"123 Main St"},{"type":"null","description":"Address line 1, such as the street, PO box, or company name.","example":"123 Main St"}]},"line2":{"oneOf":[{"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building.","example":"Suite 100"},{"type":"null","description":"Address line 2, such as the apartment, suite, unit, or building.","example":"Suite 100"}]},"postal_code":{"oneOf":[{"type":"string","description":"ZIP or postal code.","example":"94107"},{"type":"null","description":"ZIP or postal code.","example":"94107"}]},"state":{"oneOf":[{"type":"string","description":"State, county, province, or region.","example":"CA"},{"type":"null","description":"State, county, province, or region.","example":"CA"}]}}},{"type":"null","description":"The billing address."}]},"email":{"oneOf":[{"type":"string","description":"The billing email address.","example":"john.doe@example.com"},{"type":"null","description":"The billing email address.","example":"john.doe@example.com"}]},"name":{"oneOf":[{"type":"string","description":"The billing name.","example":"Example"},{"type":"null","description":"The billing name.","example":"Example"}]},"phone":{"oneOf":[{"type":"string","description":"The billing phone number.","example":"+14155550142"},{"type":"null","description":"The billing phone number.","example":"+14155550142"}]}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"},"isRequired":true},"customer":{"oneOf":[{"type":"string","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},{"type":"object","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true},"owner_partner_id":{"oneOf":[{"type":"string","description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"phone":{"oneOf":[{"type":"string","description":"The customer's phone number.","format":"phone","example":"+15555555555"},{"type":"null","description":"The customer's phone number.","format":"phone","example":"+15555555555"}]},"employer":{"oneOf":[{"type":"string","description":"The customer's employer.","example":"Flex"},{"type":"null","description":"The customer's employer.","example":"Flex"}]},"shipping":{"type":"any","description":"The customer's shipping address."},"metadata":{"oneOf":[{"type":"object","description":"Metadata associated with the customer.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}},{"type":"null","description":"Metadata associated with the customer.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}}]}},"isRequired":true}],"isRequired":true},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express","isRequired":true},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US","isRequired":true},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127,"isRequired":true},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123","isRequired":true},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit","isRequired":true},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242","isRequired":true}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"},"isRequired":true},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false,"isRequired":true},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean","isRequired":true},"metadata":{"oneOf":[{"type":"object","description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"object"}},{"type":"null","description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"object"}}]}}},{"type":"null","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup."}]},"discounts":{"oneOf":[{"type":"array","items":{"description":"A Discount object represents the application of a coupon or promotion code to a checkout session, customer, subscription, or invoice. It records which coupon was redeemed, what the discount was applied to, and the time window over which it applies.","type":"object","required":["discount_id","source","start","test_mode"],"properties":{"discount_id":{"description":"The ID of the discount.","type":"string","example":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"source":{"description":"The source of the discount (coupon or promotion code).","type":"object","required":["coupon","type"],"properties":{"coupon":{"oneOf":[{"type":"string","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},{"type":"object","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","required":["coupon_id","created_at","duration","name","test_mode","valid"],"example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"coupon_id":{"description":"Unique identifier for the object.","type":"string","example":"fcoup_1234567890","isRequired":true},"duration":{"type":"string","enum":["once","repeating","forever"],"x-ms-enum":{"name":"CouponDuration","modelAsString":false,"values":[{"value":"once","name":"Once","description":"Applies to the first charge from a subscription with this coupon applied."},{"value":"repeating","name":"Repeating","description":"Applies to charges in the first duration_in_months months from a subscription with this coupon applied."},{"value":"forever","name":"Forever","description":"Applies to all charges from a subscription with this coupon applied."}]},"description":"One of forever, once, and repeating. Describes how long a customer who applies this coupon will get the discount.","example":"once","isRequired":true},"name":{"description":"Name of the coupon displayed to customers.","type":"string","example":"Example","isRequired":true},"valid":{"description":"Taking account of the above properties, whether this coupon can still be applied to a customer.","type":"boolean","example":false,"isRequired":true},"created_at":{"description":"Date when this coupon was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"test_mode":{"description":"Whether the coupon is in test mode","type":"boolean","example":false,"isRequired":true},"amount_off":{"oneOf":[{"type":"integer","description":"Amount that will be taken off the subtotal of any invoices for this customer.","format":"int32","maximum":2147483647,"minimum":-2147483648,"example":2500},{"type":"null","description":"Amount that will be taken off the subtotal of any invoices for this customer.","format":"int32","maximum":2147483647,"minimum":-2147483648,"example":2500}]},"applies_to":{"oneOf":[{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["products"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"properties":{"products":{"description":"The product that this coupon applies to.","type":"array","items":{"type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"isRequired":true}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["prices"],"properties":{"prices":{"description":"The price that this coupon applies to.","type":"array","items":{"type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"isRequired":true}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["fee_types"],"properties":{"fee_types":{"description":"The fee types that this coupon applies to.","type":"array","items":{"description":"The kind of fee applied to a checkout session: a Letter of Medical Necessity consultation fee, or a custom fee you define.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation"},"isRequired":true}}},{"type":"string","description":"An object containing the ID of the product that the coupon can be applied to.","enum":["shipping"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]}},{"type":"null","description":"An object containing the ID of the product that the coupon can be applied to."}]},"duration_in_months":{"oneOf":[{"type":"integer","description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"metadata":{"oneOf":[{"type":"object","description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","example":{"order_id":"8842","channel":"shopify"}},{"type":"null","description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","example":{"order_id":"8842","channel":"shopify"}}]},"percent_off":{"oneOf":[{"type":"number","description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","format":"double"},{"type":"null","description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","format":"double"}]},"max_redemptions":{"oneOf":[{"type":"integer","description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"times_redeemed":{"oneOf":[{"type":"integer","description":"Number of times this coupon has been applied to a customer.","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"Number of times this coupon has been applied to a customer.","format":"int32","maximum":2147483647,"minimum":-2147483648}]}},"isRequired":true}],"isRequired":true},"type":{"description":"The type of source.","type":"string","enum":["coupon","promotion_code"],"example":"coupon","isRequired":true}},"example":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"isRequired":true},"test_mode":{"description":"Whether the discount was applied in test mode","type":"boolean","example":false,"isRequired":true},"start":{"description":"Date that the coupon was applied.","type":"string","example":"string","isRequired":true},"checkout_session":{"oneOf":[{"type":"string","description":"The checkout session that the discount was applied to.","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The checkout session that the discount was applied to.","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"customer":{"oneOf":[{"type":"string","description":"The customer that the discount was applied to.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The customer that the discount was applied to.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"subscription":{"oneOf":[{"type":"string","description":"The subscription that the discount was applied to.","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The subscription that the discount was applied to.","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"invoice":{"oneOf":[{"type":"string","description":"The invoice that the discount was applied to.","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The invoice that the discount was applied to.","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"promo_code":{"oneOf":[{"type":"string","description":"The promo code applied to create the discount.","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The promo code applied to create the discount.","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"end":{"oneOf":[{"type":"string","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","example":"string"},{"type":"null","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null."}]}},"example":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"}},"description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)"},{"type":"null","description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)"}]},"pause":{"oneOf":[{"type":"object","description":"The current pause. Present only while the subscription is paused.","required":["paused_at"],"example":{"paused_at":"2026-06-15T14:30:00Z","resume_at":"2026-06-15T14:30:00Z","billing_cycle_anchor":"unchanged","proration_behavior":"always_invoice","credit":"unused_time"},"properties":{"paused_at":{"description":"When the subscription was paused. ISO 8601 format. While paused, this is also the subscription's `current_period_end`.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"resume_at":{"oneOf":[{"type":"string","description":"When Flex resumes the subscription on its own. `null` when it stays paused until you resume it.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"When Flex resumes the subscription on its own. `null` when it stays paused until you resume it.","example":"2026-06-15T14:30:00Z"}]},"billing_cycle_anchor":{"oneOf":[{"type":"string","description":"Where billing restarts when Flex resumes at `resume_at`: `now` or `unchanged`. `null` when no resume is scheduled.","enum":["now","unchanged"],"x-ms-enum":{"name":"SubscriptionResumeBillingCycleAnchor","modelAsString":false,"values":[{"value":"now","name":"Now","description":"Bill monthly from the resume date, charging the full period now, net of any unused time credited at the pause. After an uncredited pause that ends inside the paid period, nothing is charged now and the next charge covers the time from the old period end."},{"value":"unchanged","name":"Unchanged","description":"Keep the original billing date."}]},"example":"unchanged"},{"type":"null","description":"Where billing restarts when Flex resumes at `resume_at`: `now` or `unchanged`. `null` when no resume is scheduled.","example":"unchanged"}]},"proration_behavior":{"oneOf":[{"type":"string","description":"How the partial period is billed when `billing_cycle_anchor` is `unchanged`. `null` otherwise.","enum":["create_prorations","always_invoice"],"x-ms-enum":{"name":"SubscriptionResumeProrationBehavior","modelAsString":false,"values":[{"value":"create_prorations","name":"CreateProrations","description":"Bill the partial period on the original billing date, with the next full period."},{"value":"always_invoice","name":"AlwaysInvoice","description":"Bill the partial period now, net of any unused time credited at the pause. A negative amount charges nothing and goes to the customer's balance."}]},"example":"always_invoice"},{"type":"null","description":"How the partial period is billed when `billing_cycle_anchor` is `unchanged`. `null` otherwise.","example":"always_invoice"}]},"credit":{"type":"string","enum":["unused_time","none"],"x-ms-enum":{"name":"SubscriptionPauseCredit","modelAsString":false,"values":[{"value":"unused_time","name":"UnusedTime","description":"Credit the unused paid time from the pause to the period end. The resume charge is net of it."},{"value":"none","name":"None","description":"Credit nothing for the paused days inside the paid period. A resume before the period ends keeps the paid days after it."}]},"description":"What the pause credited for the paid time left in the period.","example":"unused_time","default":"unused_time"}}},{"type":"null","description":"The current pause. Present only while the subscription is paused."}]}}},{"type":"null","description":"The subscription that this invoice was prepared for."}]},"paid_at":{"oneOf":[{"type":"string","description":"When the invoice was paid.","example":"string"},{"type":"null","description":"When the invoice was paid."}]},"metadata":{"oneOf":[{"type":"object","description":"Metadata associated with the invoice.","example":{"order_id":"8842","channel":"shopify"}},{"type":"null","description":"Metadata associated with the invoice.","example":{"order_id":"8842","channel":"shopify"}}]},"backup_charge_status":{"oneOf":[{"type":"string","description":"Outcome of the backup-payment-method fallback for this invoice. Omitted when no fallback applied. `succeeded` on a paid invoice means the subscription's backup card covered this renewal after the default payment method failed.","enum":["pending","succeeded","failed","skipped"],"example":"pending"},{"type":"null","description":"Outcome of the backup-payment-method fallback for this invoice. Omitted when no fallback applied. `succeeded` on a paid invoice means the subscription's backup card covered this renewal after the default payment method failed."}]}}},{"type":"null","description":"The invoice this charge is for if one exists."}]},"failure_message":{"oneOf":[{"type":"string","description":"Message to user further explaining reason for charge failure if available.","example":"Premium SPF 50 mineral sunscreen"},{"type":"null","description":"Message to user further explaining reason for charge failure if available.","example":"Premium SPF 50 mineral sunscreen"}]},"refunds":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"string","description":"An expandable field — either a string ID or an expanded Refund object.","example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"An expandable field — either a string ID or an expanded Refund object.","required":["amount","created_at","refund_id","status","test_mode"],"example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"refund_id":{"description":"The ID of the refund","type":"string","example":"fre_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"amount":{"description":"The amount of the refund in cents","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"created_at":{"description":"The time at which the refund was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"status":{"description":"The status of the refund","type":"string","enum":["pending","requires_action","succeeded","failed","canceled"],"example":"pending","isRequired":true},"test_mode":{"description":"Whether the refund was created in test mode","type":"boolean","example":false,"isRequired":true},"payment_intent_id":{"oneOf":[{"type":"string","description":"The ID of the payment intent that the refund is associated with","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The ID of the payment intent that the refund is associated with","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"reason":{"oneOf":[{"type":"string","description":"The reason for the refund","enum":["duplicate","fraudulent","requested_by_customer","expired_uncaptured_charge"],"example":"duplicate"},{"type":"null","description":"The reason for the refund"}]},"metadata":{"oneOf":[{"type":"object","description":"Metadata attached to the refund","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}},{"type":"null","description":"Metadata attached to the refund","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}}]},"reference_id":{"oneOf":[{"type":"string","description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"reference_type":{"oneOf":[{"type":"string","description":"Type of the reference number used for the refund","enum":["acquirer_reference_number","system_trace_audit_number","retrieval_reference_number"],"example":"acquirer_reference_number"},{"type":"null","description":"Type of the reference number used for the refund"}]},"reference_status":{"oneOf":[{"type":"string","description":"Status of the reference number used for the refund","enum":["available","pending","unavailable"],"example":"available"},{"type":"null","description":"Status of the reference number used for the refund"}]},"items":{"description":"List of refund items (charges that were refunded)","default":[],"type":"array","items":{"description":"Represents a single refund item (charge that was refunded)","type":"object","required":["amount_refunded"],"properties":{"amount_refunded":{"description":"The amount refunded from this charge in cents","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"payment_intent":{"oneOf":[{"type":"string","description":"The ID of the payment intent that the refund is associated with","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The ID of the payment intent that the refund is associated with","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"payment_method_id":{"oneOf":[{"type":"string","description":"The ID of the payment method used for this refund","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The ID of the payment method used for this refund","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"reference_id":{"oneOf":[{"type":"string","description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"Reference number that the customer can use to trace this refund with their bank or card issuer.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"reference_type":{"oneOf":[{"type":"string","description":"Type of the reference number used for the refund","enum":["acquirer_reference_number","system_trace_audit_number","retrieval_reference_number"],"example":"acquirer_reference_number"},{"type":"null","description":"Type of the reference number used for the refund"}]},"reference_status":{"oneOf":[{"type":"string","description":"Status of the reference number used for the refund","enum":["available","pending","unavailable"],"example":"available"},{"type":"null","description":"Status of the reference number used for the refund"}]}},"example":{"amount_refunded":2500,"payment_intent":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","payment_method_id":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","reference_id":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA","reference_type":"acquirer_reference_number","reference_status":"available"}}},"subscription_id":{"oneOf":[{"type":"string","description":"The subscription this refund is associated with (for subscription cancellation refunds)","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The subscription this refund is associated with (for subscription cancellation refunds)","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"invoice_id":{"oneOf":[{"type":"string","description":"The invoice this refund is associated with (for subscription billing period refunds)","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The invoice this refund is associated with (for subscription billing period refunds)","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"balance_transaction":{"oneOf":[{"type":"string","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available","isRequired":true},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false,"isRequired":true},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp."}]},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"}]},"exchange_rate":{"oneOf":[{"type":"number","description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","format":"double","example":1},{"type":"null","description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","format":"double","example":1}]},"reporting_category":{"oneOf":[{"type":"string","description":"High-level accounting category for the transaction. `null` if not yet categorized.","example":"example_value"},{"type":"null","description":"High-level accounting category for the transaction. `null` if not yet categorized.","example":"example_value"}]},"checkout_session_id":{"oneOf":[{"type":"string","description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"client_reference_id":{"oneOf":[{"type":"string","description":"Your own identifier for the originating object, carried over from the checkout session or payment.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"Your own identifier for the originating object, carried over from the checkout session or payment.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"source_id":{"oneOf":[{"type":"string","description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"type":{"oneOf":[{"type":"string","description":"The type of transaction."},{"type":"null","description":"The type of transaction."}]},"flex_payment_intent_id":{"oneOf":[{"type":"string","description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"mid":{"oneOf":[{"type":"string","description":"Merchant identifier (MID) for the account that processed the transaction.","example":"example_value"},{"type":"null","description":"Merchant identifier (MID) for the account that processed the transaction.","example":"example_value"}]},"currency":{"oneOf":[{"type":"string","description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","example":"usd"},{"type":"null","description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","example":"usd"}]},"metadata":{"oneOf":[{"type":"object","description":"Set of key-value pairs you can attach to the object for storing additional structured information.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}},{"type":"null","description":"Set of key-value pairs you can attach to the object for storing additional structured information.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}}]},"transaction_fee_amount":{"oneOf":[{"type":"integer","description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"interchange_fee_amount":{"oneOf":[{"type":"integer","description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"lmn_fee_amount":{"oneOf":[{"type":"integer","description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"dispute_fee_amount":{"oneOf":[{"type":"integer","description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"card_type":{"oneOf":[{"type":"string","description":"Card funding type used for the transaction."},{"type":"null","description":"Card funding type used for the transaction."}]},"card_network":{"oneOf":[{"type":"string","description":"Card network used for the transaction (e.g., `visa`, `mastercard`)."},{"type":"null","description":"Card network used for the transaction (e.g., `visa`, `mastercard`)."}]}}},{"type":"null","description":"Balance transaction that describes the impact of this refund on your balance. Defaults to the balance transaction ID; use `?expand=balance_transaction` to inflate the full object."}]},"failure_balance_transaction":{"oneOf":[{"type":"string","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available","isRequired":true},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false,"isRequired":true},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp."}]},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"}]},"exchange_rate":{"oneOf":[{"type":"number","description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","format":"double","example":1},{"type":"null","description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","format":"double","example":1}]},"reporting_category":{"oneOf":[{"type":"string","description":"High-level accounting category for the transaction. `null` if not yet categorized.","example":"example_value"},{"type":"null","description":"High-level accounting category for the transaction. `null` if not yet categorized.","example":"example_value"}]},"checkout_session_id":{"oneOf":[{"type":"string","description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"client_reference_id":{"oneOf":[{"type":"string","description":"Your own identifier for the originating object, carried over from the checkout session or payment.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"Your own identifier for the originating object, carried over from the checkout session or payment.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"source_id":{"oneOf":[{"type":"string","description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"type":{"oneOf":[{"type":"string","description":"The type of transaction."},{"type":"null","description":"The type of transaction."}]},"flex_payment_intent_id":{"oneOf":[{"type":"string","description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"mid":{"oneOf":[{"type":"string","description":"Merchant identifier (MID) for the account that processed the transaction.","example":"example_value"},{"type":"null","description":"Merchant identifier (MID) for the account that processed the transaction.","example":"example_value"}]},"currency":{"oneOf":[{"type":"string","description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","example":"usd"},{"type":"null","description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","example":"usd"}]},"metadata":{"oneOf":[{"type":"object","description":"Set of key-value pairs you can attach to the object for storing additional structured information.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}},{"type":"null","description":"Set of key-value pairs you can attach to the object for storing additional structured information.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}}]},"transaction_fee_amount":{"oneOf":[{"type":"integer","description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"interchange_fee_amount":{"oneOf":[{"type":"integer","description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"lmn_fee_amount":{"oneOf":[{"type":"integer","description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"dispute_fee_amount":{"oneOf":[{"type":"integer","description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"card_type":{"oneOf":[{"type":"string","description":"Card funding type used for the transaction."},{"type":"null","description":"Card funding type used for the transaction."}]},"card_network":{"oneOf":[{"type":"string","description":"Card network used for the transaction (e.g., `visa`, `mastercard`)."},{"type":"null","description":"Card network used for the transaction (e.g., `visa`, `mastercard`)."}]}}},{"type":"null","description":"After a refund fails, the balance transaction describing the adjustment that returns the funds to your balance."}]}}}]},"description":"A list of refunds that have been applied to the charge."},{"type":"null","description":"A list of refunds that have been applied to the charge."}]},"transfer_group":{"oneOf":[{"type":"string","description":"A string that identifies the resulting payment as part of a group","example":"example_value"},{"type":"null","description":"A string that identifies the resulting payment as part of a group","example":"example_value"}]},"payment_method_id":{"oneOf":[{"type":"string","description":"The ID of the PaymentMethod.","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The ID of the PaymentMethod.","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"three_d_secure":{"oneOf":[{"type":"object","description":"3D Secure authentication outcome details, if 3DS was used.","example":{"authentication_flow":"string","result":"string","result_reason":"string","version":"string"},"properties":{"authentication_flow":{"oneOf":[{"type":"string","description":"How the customer was authenticated: `challenge` or `frictionless`."},{"type":"null","description":"How the customer was authenticated: `challenge` or `frictionless`."}]},"result":{"oneOf":[{"type":"string","description":"Outcome of 3D Secure authentication."},{"type":"null","description":"Outcome of 3D Secure authentication."}]},"result_reason":{"oneOf":[{"type":"string","description":"Additional detail about why 3DS succeeded or failed."},{"type":"null","description":"Additional detail about why 3DS succeeded or failed."}]},"version":{"oneOf":[{"type":"string","description":"The version of 3D Secure used."},{"type":"null","description":"The version of 3D Secure used."}]}}},{"type":"null","description":"3D Secure authentication outcome details, if 3DS was used."}]},"decline_details":{"oneOf":[{"type":"object","description":"Decline and risk details for failed or blocked charges.","example":{"failure_code":"string","decline_code":"string","failure_message":"string","outcome_type":"string","network_status":"string","seller_message":"string","reason":"string","risk_level":"string"},"properties":{"failure_code":{"oneOf":[{"type":"string","description":"Error code for the charge failure (e.g. `card_declined`, `expired_card`)."},{"type":"null","description":"Error code for the charge failure (e.g. `card_declined`, `expired_card`)."}]},"decline_code":{"oneOf":[{"type":"string","description":"More specific decline reason (e.g. `insufficient_funds`, `lost_card`)."},{"type":"null","description":"More specific decline reason (e.g. `insufficient_funds`, `lost_card`)."}]},"failure_message":{"oneOf":[{"type":"string","description":"User-facing failure message."},{"type":"null","description":"User-facing failure message."}]},"outcome_type":{"oneOf":[{"type":"string","description":"The outcome type of the decline."},{"type":"null","description":"The outcome type of the decline."}]},"network_status":{"oneOf":[{"type":"string","description":"Network-level status: `approved_by_network`, `declined_by_network`, etc."},{"type":"null","description":"Network-level status: `approved_by_network`, `declined_by_network`, etc."}]},"seller_message":{"oneOf":[{"type":"string","description":"Technical explanation of the outcome for the merchant."},{"type":"null","description":"Technical explanation of the outcome for the merchant."}]},"reason":{"oneOf":[{"type":"string","description":"Fraud/risk reason (e.g. `elevated_risk_level`)."},{"type":"null","description":"Fraud/risk reason (e.g. `elevated_risk_level`)."}]},"risk_level":{"oneOf":[{"type":"string","description":"The risk level assessed for the payment."},{"type":"null","description":"The risk level assessed for the payment."}]}}},{"type":"null","description":"Decline and risk details for failed or blocked charges."}]},"balance_transaction":{"oneOf":[{"type":"string","description":"Balance transaction that describes the impact of this charge on your balance. Populated on successful capture, returned as the balance transaction ID. Always serialized; `null` for uncaptured charges.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"Balance transaction that describes the impact of this charge on your balance. Populated on successful capture, returned as the balance transaction ID. Always serialized; `null` for uncaptured charges.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available","isRequired":true},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false,"isRequired":true},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp."}]},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"}]},"exchange_rate":{"oneOf":[{"type":"number","description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","format":"double","example":1},{"type":"null","description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","format":"double","example":1}]},"reporting_category":{"oneOf":[{"type":"string","description":"High-level accounting category for the transaction. `null` if not yet categorized.","example":"example_value"},{"type":"null","description":"High-level accounting category for the transaction. `null` if not yet categorized.","example":"example_value"}]},"checkout_session_id":{"oneOf":[{"type":"string","description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"client_reference_id":{"oneOf":[{"type":"string","description":"Your own identifier for the originating object, carried over from the checkout session or payment.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"Your own identifier for the originating object, carried over from the checkout session or payment.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"source_id":{"oneOf":[{"type":"string","description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"type":{"oneOf":[{"type":"string","description":"The type of transaction."},{"type":"null","description":"The type of transaction."}]},"flex_payment_intent_id":{"oneOf":[{"type":"string","description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"mid":{"oneOf":[{"type":"string","description":"Merchant identifier (MID) for the account that processed the transaction.","example":"example_value"},{"type":"null","description":"Merchant identifier (MID) for the account that processed the transaction.","example":"example_value"}]},"currency":{"oneOf":[{"type":"string","description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","example":"usd"},{"type":"null","description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","example":"usd"}]},"metadata":{"oneOf":[{"type":"object","description":"Set of key-value pairs you can attach to the object for storing additional structured information.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}},{"type":"null","description":"Set of key-value pairs you can attach to the object for storing additional structured information.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}}]},"transaction_fee_amount":{"oneOf":[{"type":"integer","description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"interchange_fee_amount":{"oneOf":[{"type":"integer","description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"lmn_fee_amount":{"oneOf":[{"type":"integer","description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"dispute_fee_amount":{"oneOf":[{"type":"integer","description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"card_type":{"oneOf":[{"type":"string","description":"Card funding type used for the transaction."},{"type":"null","description":"Card funding type used for the transaction."}]},"card_network":{"oneOf":[{"type":"string","description":"Card network used for the transaction (e.g., `visa`, `mastercard`)."},{"type":"null","description":"Card network used for the transaction (e.g., `visa`, `mastercard`)."}]}}},{"type":"null","description":"Balance transaction that describes the impact of this charge on your balance. Populated on successful capture, returned as the balance transaction ID. Always serialized; `null` for uncaptured charges."}]},"failure_balance_transaction":{"oneOf":[{"type":"string","description":"Reversal balance transaction created when a captured charge fails or is otherwise reversed and funds are credited back. Always serialized; `null` on the common success path.","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"Reversal balance transaction created when a captured charge fails or is otherwise reversed and funds are credited back. Always serialized; `null` on the common success path.","required":["amount","balance_transaction_id","fee","net","status","test_mode"],"example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"balance_transaction_id":{"description":"Unique identifier for the balance transaction, prefixed with `fbtxn_`.","type":"string","example":"fbtxn_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"amount":{"description":"Gross amount of the transaction, in the smallest currency unit (e.g., `1000` = $10.00 USD). Positive for funds added to your balance (e.g., charges) and negative for funds removed (e.g., refunds, payouts, dispute debits).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"fee":{"description":"Total processing fee deducted from `amount`, in the smallest currency unit (e.g., `30` = $0.30 USD). `0` when no fee applies.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"net":{"description":"Net amount that affects your balance after `fee` is applied (`net = amount - fee`), in the smallest currency unit (e.g., `970` = $9.70 USD).","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"status":{"type":"string","enum":["available","pending"],"x-ms-enum":{"name":"BalanceTransactionStatus","modelAsString":false,"values":[{"value":"available","name":"Available","description":"Funds have settled and are available to be paid out."},{"value":"pending","name":"Pending","description":"Funds are not yet available."}]},"description":"Availability status of the funds: `pending` (not yet available) or `available` (settled and withdrawable).","example":"available","isRequired":true},"test_mode":{"description":"Whether this transaction was created in test mode. `true` for test-mode data, `false` for live data.","type":"boolean","example":false,"isRequired":true},"available_on":{"oneOf":[{"type":"string","description":"When the funds become available in your bank account. RFC 3339 timestamp.","example":"string"},{"type":"null","description":"When the funds become available in your bank account. RFC 3339 timestamp."}]},"created_at":{"oneOf":[{"type":"string","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"When the transaction was created. RFC 3339 timestamp.","example":"2026-06-15T14:30:00Z"}]},"exchange_rate":{"oneOf":[{"type":"number","description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","format":"double","example":1},{"type":"null","description":"The exchange rate applied if the transaction involved a currency conversion. `null` when no conversion took place.","format":"double","example":1}]},"reporting_category":{"oneOf":[{"type":"string","description":"High-level accounting category for the transaction. `null` if not yet categorized.","example":"example_value"},{"type":"null","description":"High-level accounting category for the transaction. `null` if not yet categorized.","example":"example_value"}]},"checkout_session_id":{"oneOf":[{"type":"string","description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"ID of the Checkout Session that originated this transaction, if it stems from a checkout.","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"client_reference_id":{"oneOf":[{"type":"string","description":"Your own identifier for the originating object, carried over from the checkout session or payment.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"Your own identifier for the originating object, carried over from the checkout session or payment.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"source_id":{"oneOf":[{"type":"string","description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"ID of the Flex object that produced this transaction (e.g., a Charge `fch_`, Refund `fre_`, or Payout `fpo_`). `null` if the source has not been resolved to a Flex object.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"type":{"oneOf":[{"type":"string","description":"The type of transaction."},{"type":"null","description":"The type of transaction."}]},"flex_payment_intent_id":{"oneOf":[{"type":"string","description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"ID of the Payment Intent associated with this transaction, if any. `null` for transactions not tied to a payment (e.g., payouts).","example":"fpi_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"mid":{"oneOf":[{"type":"string","description":"Merchant identifier (MID) for the account that processed the transaction.","example":"example_value"},{"type":"null","description":"Merchant identifier (MID) for the account that processed the transaction.","example":"example_value"}]},"currency":{"oneOf":[{"type":"string","description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","example":"usd"},{"type":"null","description":"Three-letter ISO currency code, in lowercase (e.g., `usd`).","example":"usd"}]},"metadata":{"oneOf":[{"type":"object","description":"Set of key-value pairs you can attach to the object for storing additional structured information.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}},{"type":"null","description":"Set of key-value pairs you can attach to the object for storing additional structured information.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}}]},"transaction_fee_amount":{"oneOf":[{"type":"integer","description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"Portion of `fee` attributable to standard transaction processing, in the smallest currency unit. `null` if not broken out.","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"interchange_fee_amount":{"oneOf":[{"type":"integer","description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"Portion of `fee` attributable to card-network interchange, in the smallest currency unit. `null` if not broken out.","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"lmn_fee_amount":{"oneOf":[{"type":"integer","description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"Portion of `fee` attributable to Letter of Medical Necessity (LMN) processing, in the smallest currency unit. `null` if not applicable.","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"dispute_fee_amount":{"oneOf":[{"type":"integer","description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"Portion of `fee` attributable to a dispute, in the smallest currency unit. `null` if not applicable.","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"card_type":{"oneOf":[{"type":"string","description":"Card funding type used for the transaction."},{"type":"null","description":"Card funding type used for the transaction."}]},"card_network":{"oneOf":[{"type":"string","description":"Card network used for the transaction (e.g., `visa`, `mastercard`)."},{"type":"null","description":"Card network used for the transaction (e.g., `visa`, `mastercard`)."}]}}},{"type":"null","description":"Reversal balance transaction created when a captured charge fails or is otherwise reversed and funds are credited back. Always serialized; `null` on the common success path."}]}}},{"type":"null","description":"The latest charge associated with the payment intent."}]},"invoice":{"oneOf":[{"type":"string","description":"The invoice associated with the payment intent.","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The invoice associated with the payment intent.","required":["amount_due","amount_paid","collection_method","created_at","invoice_id","status","test_mode","total"],"example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"invoice_id":{"description":"The id of the invoice.","type":"string","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"total":{"description":"The total amount of the invoice in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"amount_due":{"description":"The amount due in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"amount_paid":{"description":"The amount paid in cents.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"status":{"description":"The status of the invoice.","type":"string","enum":["draft","open","void","paid","uncollectible"],"example":"draft","isRequired":true},"collection_method":{"description":"Either charge_automatically or send_invoice. When charging automatically, Flex will attempt to pay this invoice using the default payment method attached to the customer. When sending an invoice, Flex will email this invoice to the customer with payment instructions.","type":"string","enum":["charge_automatically","send_invoice"],"example":"charge_automatically","isRequired":true},"test_mode":{"description":"Whether or not the invoice was created in test mode.","type":"boolean","example":false,"isRequired":true},"created_at":{"description":"When the invoice was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"payment_intent":{"oneOf":[{"description":"The payment intent associated with this invoice. The payment intent is created when the invoice is finalized."},{"type":"null","description":"The payment intent associated with this invoice. The payment intent is created when the invoice is finalized."}]},"charge":{"oneOf":[{"type":"string","description":"The id of the latest charge for this invoice.","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The id of the latest charge for this invoice.","example":"fch_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"customer":{"oneOf":[{"type":"string","description":"The id of the customer this invoice is for.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The id of the customer this invoice is for.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true},"owner_partner_id":{"oneOf":[{"type":"string","description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"phone":{"oneOf":[{"type":"string","description":"The customer's phone number.","format":"phone","example":"+15555555555"},{"type":"null","description":"The customer's phone number.","format":"phone","example":"+15555555555"}]},"employer":{"oneOf":[{"type":"string","description":"The customer's employer.","example":"Flex"},{"type":"null","description":"The customer's employer.","example":"Flex"}]},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"line1":{"oneOf":[{"type":"string","description":"The first line of the street address (e.g., street number and name).","example":"123 Main St"},{"type":"null","description":"The first line of the street address (e.g., street number and name).","example":"123 Main St"}]},"line2":{"oneOf":[{"type":"string","description":"The second line of the street address (e.g., apartment, suite, or unit).","example":"Suite 100"},{"type":"null","description":"The second line of the street address (e.g., apartment, suite, or unit).","example":"Suite 100"}]},"city":{"oneOf":[{"type":"string","description":"City, district, suburb, town, or village.","example":"San Francisco"},{"type":"null","description":"City, district, suburb, town, or village.","example":"San Francisco"}]},"state":{"oneOf":[{"type":"string","description":"State, county, province, or region.","example":"CA"},{"type":"null","description":"State, county, province, or region.","example":"CA"}]},"postal_code":{"oneOf":[{"type":"string","description":"ZIP or postal code.","example":"94107"},{"type":"null","description":"ZIP or postal code.","example":"94107"}]},"country":{"oneOf":[{"type":"string","description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","example":"US"},{"type":"null","description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","example":"US"}]}}},{"type":"null","description":"The customer's shipping address."}]},"metadata":{"oneOf":[{"type":"object","description":"Metadata associated with the customer.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}},{"type":"null","description":"Metadata associated with the customer.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}}]}}},{"type":"null","description":"The id of the customer this invoice is for."}]},"period_end":{"oneOf":[{"type":"string","description":"End of the usage period.","example":"string"},{"type":"null","description":"End of the usage period."}]},"period_start":{"oneOf":[{"type":"string","description":"Start of the usage period.","example":"string"},{"type":"null","description":"Start of the usage period."}]},"subscription":{"oneOf":[{"type":"string","description":"The subscription that this invoice was prepared for.","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The subscription that this invoice was prepared for.","required":["cancel_at_period_end","created_at","items","status","subscription_id","test_mode"],"example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"subscription_id":{"description":"Unique identifier for the object.","type":"string","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"items":{"description":"The items the customer is subscribed to.","type":"array","items":{"description":"A Subscription Item represents a single recurring Price billed as part of a Subscription, together with the quantity of that price the customer is subscribed to. A subscription has one item per recurring price it bills.","type":"object","required":["created_at","price","quantity","subscription_item_id","test_mode"],"properties":{"subscription_item_id":{"description":"Unique identifier for the subscription item.","type":"string","example":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"price":{"oneOf":[{"type":"string","description":"The recurring Price this item bills. Returned as a price ID by default, or as the full Price object when expanded.","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},{"type":"object","description":"The recurring Price this item bills. Returned as a price ID by default, or as the full Price object when expanded.","required":["active","created_at","price_id","product","test_mode","type","unit_amount"],"example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"price_id":{"description":"The unique identifier for the price.","type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"unit_amount":{"description":"The amount to charge per unit, in the smallest currency unit (e.g., `2500` = $25.00 USD).","type":"integer","format":"int32","minimum":-2147483648,"maximum":2147483647,"isRequired":true},"active":{"description":"Whether the price is currently active.","type":"boolean","example":false,"isRequired":true},"product":{"oneOf":[{"type":"string","description":"The product this price belongs to. Returned as a product ID by default, or as the full Product object when expanded.","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},{"type":"object","description":"The product this price belongs to. Returned as a product ID by default, or as the full Product object when expanded.","required":["active","created_at","hsa_fsa_eligibility","name","product_id","test_mode"],"example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"product_id":{"description":"The unique identifier for the product.","type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"name":{"description":"The name of the product.","type":"string","example":"Example","isRequired":true},"created_at":{"description":"The date the product was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"active":{"description":"Determines if the product is active or not.","type":"boolean","example":false,"isRequired":true},"hsa_fsa_eligibility":{"description":"The elegibility of the product for HSA/FSA.","type":"string","enum":["not_eligible","auto_substantiation","private_label","letter_of_medical_necessity","prescription","vision","service","pending"],"example":"not_eligible","isRequired":true},"test_mode":{"description":"Whether the product is in test mode or not.","type":"boolean","example":false,"isRequired":true},"owner_partner_id":{"oneOf":[{"type":"string","description":"The ID of the account that owns this product. For products shared across an organization this may be a sibling account; otherwise it is your own account ID.","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The ID of the account that owns this product. For products shared across an organization this may be a sibling account; otherwise it is your own account ID.","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"description":{"oneOf":[{"type":"string","description":"The description of the product.","example":"Premium SPF 50 mineral sunscreen"},{"type":"null","description":"The description of the product.","example":"Premium SPF 50 mineral sunscreen"}]},"document_description":{"oneOf":[{"type":"string","description":"Medical-grade description optimized for use in Letters of Medical Necessity and receipts.","deprecated":true},{"type":"null","description":"Medical-grade description optimized for use in Letters of Medical Necessity and receipts.","deprecated":true}]},"receipt_description":{"oneOf":[{"type":"string","description":"Shortened description tailored to receipt line items"},{"type":"null","description":"Shortened description tailored to receipt line items"}]},"visit_type":{"oneOf":[{"type":"string","description":"The visit type of the product if a letter of medical necessity is required.","enum":["cbtSleep","notApplicable","metabolomics","tinnitus","gym","exerciseDiet","orthopedic","alcohol","airPurification","vaginalHealth","menstrual","canopy","alopecia","genate","weightBlanket","bedJet","siderAl","sunwinkPowder","wavWatch","bodyComplete","ageRate","nitrousOxide","happyV","groupChat","icalmAnxiety","redBloom","foodom","branchErgonomicFurniture","curalife","eloraInfantWellness","nutriHealth","olipop","goldIntimate","touchStoneEssentials","utiva","sleepGeekz","figBrew","auBabyBlanket","babySleepSack","oshWellness","currentBodyRedLight","mito","circularRing","lymaRedLight","goodAirRx","tastermonial","karunaHome","ergoStandingChair","jbaGlucoseControl","bloomNutrition","buoyDrops","luxeWonderWig","saunaMarketplace","amrioreEyewear","pivotOrthoShoe","lumenCynergy","roga","pulsetto","mitoRedLight","gutPersonal","goFlaus","myHixel","calmigo","dotFit","stripesBeauty","mixHers","pmd","positivityWithPurpose","techRing","popVeneers","vertaClean","lumen","medicalMeal","emnHealth","detergentAllergy","lowImpactExercise","mediumImpactExercise","highImpactExercise","gardening","babyCarrier","smartGlasses","automatedCleaner","uvClothing","adaptiveShoes","breathWork","nonenalOdor","meneralsNootropicPouch","babyMonitorSplit","babySleepApp","coolingSleepwear","bodyPillow","uvGlasses","nursingChairs","coolingBed","posture","supplements","sleep","redLightTherapy","fitness","smartRing","womensVaginalHealth","fertilitySupport","femaleReproduction","femaleReproductionFood","pregnancyLiterature","iceBath","orthopedicShoes","sexualHealth","glucose","metabolicTest","skinCare","oralHealth","oralAnxiety","blueLightGlasses","anxiety","brainHealth","babyMonitor","compressionSocks","compressionShorts","waterPurification","medSpa","essentialOils","sleepBuds","latchLight","nutritionist","rairflow","enduranceTraining","hydration","hairGrowth","eD","postureFitness","childDevelopment","adaptiveClothing","sleepConsulting","hairRemoval","menopause","maleFertility","anxietyHealth","bidets","speechHealth","artOfLiving","breastMilk","petSupport","diapers","gutSupplements","smartWatch","medicalBotox","biomechanicalAssessment","erectileReset","femaleOrgasm","pornAddiction","memorySupport","oralHealthMasticGum","orthopedicSandals","childDevelopmentAnxietySleep","childDevelopmentAdjustment","childDevelopmentBehavior","childDevelopmentIdentity","emnHealthMobility","adaptiveShoesDependent","speechHealthDependent","breathWorkDependent"],"example":"cbtSleep"},{"type":"null","description":"The visit type of the product if a letter of medical necessity is required."}]},"upc_code":{"oneOf":[{"type":"string","description":"The upc code of the product."},{"type":"null","description":"The upc code of the product."}]},"gtin":{"oneOf":[{"type":"string","description":"The gtin code of the product."},{"type":"null","description":"The gtin code of the product."}]},"reference_gtin":{"oneOf":[{"type":"string","description":"The GTIN of a private-label reference product, used to establish HSA/FSA eligibility."},{"type":"null","description":"The GTIN of a private-label reference product, used to establish HSA/FSA eligibility."}]},"metadata":{"oneOf":[{"type":"object","description":"Metadata associated with the product.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}},{"type":"null","description":"Metadata associated with the product.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}}]},"url":{"oneOf":[{"type":"string","description":"The URL of the product.","example":"https://example.com"},{"type":"null","description":"The URL of the product.","example":"https://example.com"}]},"client_reference_id":{"oneOf":[{"type":"string","description":"An optional identifier for the product set by the client at creation time. Immutable after creation.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"An optional identifier for the product set by the client at creation time. Immutable after creation.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]}},"isRequired":true}],"isRequired":true},"created_at":{"description":"The date the price was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"type":{"description":"The type of the price: a single one-time charge, or a recurring charge billed on a schedule.","type":"string","enum":["one_time","recurring"],"example":"one_time","isRequired":true},"test_mode":{"description":"Whether the price is in test mode.","type":"boolean","example":false,"isRequired":true},"owner_partner_id":{"oneOf":[{"type":"string","description":"The ID of the account that owns this price. For prices shared across an organization this may be a sibling account; otherwise it is your own account ID.","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The ID of the account that owns this price. For prices shared across an organization this may be a sibling account; otherwise it is your own account ID.","example":"facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"description":{"oneOf":[{"type":"string","description":"The description of the price.","example":"Premium SPF 50 mineral sunscreen"},{"type":"null","description":"The description of the price.","example":"Premium SPF 50 mineral sunscreen"}]},"trial_period_days":{"oneOf":[{"type":"integer","description":"The number of trial period days before the customer is first charged for a recurring price.","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"The number of trial period days before the customer is first charged for a recurring price.","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"recurring":{"oneOf":[{"type":"object","description":"The recurring components of a price such as interval and trial period days.","required":["interval"],"example":{"interval":"day","interval_count":0,"trial_period_days":0},"properties":{"interval":{"description":"The billing cadence for the price.","type":"string","enum":["day","week","month","year"],"example":"day","isRequired":true},"interval_count":{"oneOf":[{"type":"integer","description":"The number of intervals","format":"int64","maximum":4294967295,"minimum":0},{"type":"null","description":"The number of intervals","format":"int64","maximum":4294967295,"minimum":0}]},"trial_period_days":{"oneOf":[{"type":"integer","description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","format":"int64","maximum":4294967295,"minimum":0},{"type":"null","description":"The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.","format":"int64","maximum":4294967295,"minimum":0}]}}},{"type":"null","description":"The recurring components of a price such as interval and trial period days."}]},"metadata":{"oneOf":[{"type":"object","description":"Metadata information for the price object","example":{"order_id":"8842","channel":"shopify"}},{"type":"null","description":"Metadata information for the price object","example":{"order_id":"8842","channel":"shopify"}}]},"lookup_key":{"oneOf":[{"type":"string","description":"A stable, partner-owned key for this price. Unique per account and mode across all prices, archived ones included. `null` until you set one.","maxLength":200,"example":"standard_monthly"},{"type":"null","description":"A stable, partner-owned key for this price. Unique per account and mode across all prices, archived ones included. `null` until you set one.","maxLength":200,"example":"standard_monthly"}]},"hsa_fsa_eligibility":{"oneOf":[{"type":"string","description":"The HSA/FSA eligibility for the price.","enum":["not_eligible","auto_substantiation","private_label","letter_of_medical_necessity","prescription","vision","service","pending"],"example":"not_eligible"},{"type":"null","description":"The HSA/FSA eligibility for the price."}]}},"isRequired":true}],"isRequired":true},"quantity":{"description":"The number of units of the price the customer is subscribed to.","type":"integer","format":"int32","example":2500,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"created_at":{"description":"Time at which the subscription item was created, as an RFC 3339 timestamp.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"test_mode":{"description":"Whether the subscription item exists in test mode.","type":"boolean","example":false,"isRequired":true},"updated_at":{"oneOf":[{"type":"string","description":"Time at which the subscription item was last updated, as an RFC 3339 timestamp. `null` if the item has not been updated since creation.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"Time at which the subscription item was last updated, as an RFC 3339 timestamp. `null` if the item has not been updated since creation.","example":"2026-06-15T14:30:00Z"}]}},"example":{"subscription_item_id":"fsubi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","price":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA","quantity":2500,"created_at":"2026-06-15T14:30:00Z","updated_at":"2026-06-15T14:30:00Z","test_mode":false}},"isRequired":true},"status":{"description":"Possible values are incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, or paused.","type":"string","enum":["incomplete","incomplete_expired","trialing","active","past_due","canceled","unpaid","paused"],"example":"incomplete","isRequired":true},"cancel_at_period_end":{"description":"If the subscription has been canceled with the at_period_end flag set to true, cancel_at_period_end on the subscription will be true. You can use this attribute to determine whether a subscription that has a status of active is scheduled to be canceled at the end of the current period.","type":"boolean","example":false,"isRequired":true},"test_mode":{"description":"Whether the subscription is in test mode.","type":"boolean","example":false,"isRequired":true},"latest_invoice":{"oneOf":[{"description":"The ID of the latest invoice generated for this subscription."},{"type":"null","description":"The ID of the latest invoice generated for this subscription."}]},"customer":{"oneOf":[{"type":"string","description":"The ID of the customer who owns the subscription.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The ID of the customer who owns the subscription.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true},"owner_partner_id":{"oneOf":[{"type":"string","description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"phone":{"oneOf":[{"type":"string","description":"The customer's phone number.","format":"phone","example":"+15555555555"},{"type":"null","description":"The customer's phone number.","format":"phone","example":"+15555555555"}]},"employer":{"oneOf":[{"type":"string","description":"The customer's employer.","example":"Flex"},{"type":"null","description":"The customer's employer.","example":"Flex"}]},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"line1":{"oneOf":[{"type":"string","description":"The first line of the street address (e.g., street number and name).","example":"123 Main St"},{"type":"null","description":"The first line of the street address (e.g., street number and name).","example":"123 Main St"}]},"line2":{"oneOf":[{"type":"string","description":"The second line of the street address (e.g., apartment, suite, or unit).","example":"Suite 100"},{"type":"null","description":"The second line of the street address (e.g., apartment, suite, or unit).","example":"Suite 100"}]},"city":{"oneOf":[{"type":"string","description":"City, district, suburb, town, or village.","example":"San Francisco"},{"type":"null","description":"City, district, suburb, town, or village.","example":"San Francisco"}]},"state":{"oneOf":[{"type":"string","description":"State, county, province, or region.","example":"CA"},{"type":"null","description":"State, county, province, or region.","example":"CA"}]},"postal_code":{"oneOf":[{"type":"string","description":"ZIP or postal code.","example":"94107"},{"type":"null","description":"ZIP or postal code.","example":"94107"}]},"country":{"oneOf":[{"type":"string","description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","example":"US"},{"type":"null","description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","example":"US"}]}}},{"type":"null","description":"The customer's shipping address."}]},"metadata":{"oneOf":[{"type":"object","description":"Metadata associated with the customer.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}},{"type":"null","description":"Metadata associated with the customer.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}}]}}},{"type":"null","description":"The ID of the customer who owns the subscription."}]},"current_period_end":{"oneOf":[{"type":"string","description":"End of the current period that the subscription has been invoiced for.","example":"string"},{"type":"null","description":"End of the current period that the subscription has been invoiced for."}]},"current_period_start":{"oneOf":[{"type":"string","description":"Start of the current period that the subscription has been invoiced for.","example":"string"},{"type":"null","description":"Start of the current period that the subscription has been invoiced for."}]},"metadata":{"oneOf":[{"type":"object","description":"A set of key/value pairs that you can attach to a subscription object.","example":{"order_id":"8842","channel":"shopify"}},{"type":"null","description":"A set of key/value pairs that you can attach to a subscription object.","example":{"order_id":"8842","channel":"shopify"}}]},"client_secret":{"oneOf":[{"type":"object","description":"Client secrets used to confirm the subscription's first payment or payment-method setup from your frontend. Present only while the subscription is being activated; omitted otherwise. Do not log or store these secrets; expose them only to the customer over TLS.","example":{"setup_secret":"string","payment_secret":"string"},"properties":{"setup_secret":{"oneOf":[{"type":"string","description":"Client secret of the SetupIntent used to collect and save a payment method for the subscription (for example, during a trial with no immediate charge). `null` when no setup is required. Do not log or store it; expose only to the customer over TLS."},{"type":"null","description":"Client secret of the SetupIntent used to collect and save a payment method for the subscription (for example, during a trial with no immediate charge). `null` when no setup is required. Do not log or store it; expose only to the customer over TLS."}]},"payment_secret":{"oneOf":[{"type":"string","description":"Client secret of the PaymentIntent used to confirm the subscription's first payment from your frontend. `null` when no immediate payment is required. Do not log or store it; expose only to the customer over TLS."},{"type":"null","description":"Client secret of the PaymentIntent used to confirm the subscription's first payment from your frontend. `null` when no immediate payment is required. Do not log or store it; expose only to the customer over TLS."}]}}},{"type":"null","description":"Client secrets used to confirm the subscription's first payment or payment-method setup from your frontend. Present only while the subscription is being activated; omitted otherwise. Do not log or store these secrets; expose them only to the customer over TLS."}]},"proration_behavior":{"oneOf":[{"type":"string","description":"The proration behavior for the subscription.","enum":["always_invoice","create_prorations","none"],"example":"always_invoice"},{"type":"null","description":"The proration behavior for the subscription."}]},"trial_start":{"oneOf":[{"type":"string","description":"Start of the subscription's trial period, as an RFC 3339 timestamp. `null` if the subscription has no trial.","example":"string"},{"type":"null","description":"Start of the subscription's trial period, as an RFC 3339 timestamp. `null` if the subscription has no trial."}]},"trial_end":{"oneOf":[{"type":"string","description":"End of the subscription's trial period, as an RFC 3339 timestamp. After this time the customer is billed normally. `null` if the subscription has no trial.","example":"string"},{"type":"null","description":"End of the subscription's trial period, as an RFC 3339 timestamp. After this time the customer is billed normally. `null` if the subscription has no trial."}]},"cancel_at":{"oneOf":[{"type":"string","description":"A future RFC 3339 timestamp at which the subscription will automatically be canceled. `null` unless a future cancellation has been scheduled.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"A future RFC 3339 timestamp at which the subscription will automatically be canceled. `null` unless a future cancellation has been scheduled.","example":"2026-06-15T14:30:00Z"}]},"canceled_at":{"oneOf":[{"type":"string","description":"The RFC 3339 timestamp at which the subscription was actually canceled. `null` if the subscription has not been canceled. Unlike `cancel_at` (a future scheduled cancellation), this is set once the cancellation has occurred.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"The RFC 3339 timestamp at which the subscription was actually canceled. `null` if the subscription has not been canceled. Unlike `cancel_at` (a future scheduled cancellation), this is set once the cancellation has occurred.","example":"2026-06-15T14:30:00Z"}]},"default_payment_method":{"oneOf":[{"type":"string","description":"The default payment method for the subscription (expandable).","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The default payment method for the subscription (expandable).","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"oneOf":[{"type":"object","description":"The billing address.","example":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"properties":{"city":{"oneOf":[{"type":"string","description":"City, district, suburb, town, or village.","example":"San Francisco"},{"type":"null","description":"City, district, suburb, town, or village.","example":"San Francisco"}]},"country":{"oneOf":[{"type":"string","description":"Two-letter ISO country code (e.g., `US`).","example":"US"},{"type":"null","description":"Two-letter ISO country code (e.g., `US`).","example":"US"}]},"line1":{"oneOf":[{"type":"string","description":"Address line 1, such as the street, PO box, or company name.","example":"123 Main St"},{"type":"null","description":"Address line 1, such as the street, PO box, or company name.","example":"123 Main St"}]},"line2":{"oneOf":[{"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building.","example":"Suite 100"},{"type":"null","description":"Address line 2, such as the apartment, suite, unit, or building.","example":"Suite 100"}]},"postal_code":{"oneOf":[{"type":"string","description":"ZIP or postal code.","example":"94107"},{"type":"null","description":"ZIP or postal code.","example":"94107"}]},"state":{"oneOf":[{"type":"string","description":"State, county, province, or region.","example":"CA"},{"type":"null","description":"State, county, province, or region.","example":"CA"}]}}},{"type":"null","description":"The billing address."}]},"email":{"oneOf":[{"type":"string","description":"The billing email address.","example":"john.doe@example.com"},{"type":"null","description":"The billing email address.","example":"john.doe@example.com"}]},"name":{"oneOf":[{"type":"string","description":"The billing name.","example":"Example"},{"type":"null","description":"The billing name.","example":"Example"}]},"phone":{"oneOf":[{"type":"string","description":"The billing phone number.","example":"+14155550142"},{"type":"null","description":"The billing phone number.","example":"+14155550142"}]}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"},"isRequired":true},"customer":{"oneOf":[{"type":"string","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},{"type":"object","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true},"owner_partner_id":{"oneOf":[{"type":"string","description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"phone":{"oneOf":[{"type":"string","description":"The customer's phone number.","format":"phone","example":"+15555555555"},{"type":"null","description":"The customer's phone number.","format":"phone","example":"+15555555555"}]},"employer":{"oneOf":[{"type":"string","description":"The customer's employer.","example":"Flex"},{"type":"null","description":"The customer's employer.","example":"Flex"}]},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"line1":{"oneOf":[{"type":"string","description":"The first line of the street address (e.g., street number and name).","example":"123 Main St"},{"type":"null","description":"The first line of the street address (e.g., street number and name).","example":"123 Main St"}]},"line2":{"oneOf":[{"type":"string","description":"The second line of the street address (e.g., apartment, suite, or unit).","example":"Suite 100"},{"type":"null","description":"The second line of the street address (e.g., apartment, suite, or unit).","example":"Suite 100"}]},"city":{"oneOf":[{"type":"string","description":"City, district, suburb, town, or village.","example":"San Francisco"},{"type":"null","description":"City, district, suburb, town, or village.","example":"San Francisco"}]},"state":{"oneOf":[{"type":"string","description":"State, county, province, or region.","example":"CA"},{"type":"null","description":"State, county, province, or region.","example":"CA"}]},"postal_code":{"oneOf":[{"type":"string","description":"ZIP or postal code.","example":"94107"},{"type":"null","description":"ZIP or postal code.","example":"94107"}]},"country":{"oneOf":[{"type":"string","description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","example":"US"},{"type":"null","description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","example":"US"}]}}},{"type":"null","description":"The customer's shipping address."}]},"metadata":{"oneOf":[{"type":"object","description":"Metadata associated with the customer.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}},{"type":"null","description":"Metadata associated with the customer.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}}]}},"isRequired":true}],"isRequired":true},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express","isRequired":true},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US","isRequired":true},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127,"isRequired":true},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123","isRequired":true},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit","isRequired":true},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242","isRequired":true}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"},"isRequired":true},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false,"isRequired":true},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean","isRequired":true},"metadata":{"oneOf":[{"type":"object","description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"object"}},{"type":"null","description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"object"}}]}}},{"type":"null","description":"The default payment method for the subscription (expandable)."}]},"backup_payment_method":{"oneOf":[{"type":"string","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup.","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"oneOf":[{"type":"object","description":"The billing address.","example":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"properties":{"city":{"oneOf":[{"type":"string","description":"City, district, suburb, town, or village.","example":"San Francisco"},{"type":"null","description":"City, district, suburb, town, or village.","example":"San Francisco"}]},"country":{"oneOf":[{"type":"string","description":"Two-letter ISO country code (e.g., `US`).","example":"US"},{"type":"null","description":"Two-letter ISO country code (e.g., `US`).","example":"US"}]},"line1":{"oneOf":[{"type":"string","description":"Address line 1, such as the street, PO box, or company name.","example":"123 Main St"},{"type":"null","description":"Address line 1, such as the street, PO box, or company name.","example":"123 Main St"}]},"line2":{"oneOf":[{"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building.","example":"Suite 100"},{"type":"null","description":"Address line 2, such as the apartment, suite, unit, or building.","example":"Suite 100"}]},"postal_code":{"oneOf":[{"type":"string","description":"ZIP or postal code.","example":"94107"},{"type":"null","description":"ZIP or postal code.","example":"94107"}]},"state":{"oneOf":[{"type":"string","description":"State, county, province, or region.","example":"CA"},{"type":"null","description":"State, county, province, or region.","example":"CA"}]}}},{"type":"null","description":"The billing address."}]},"email":{"oneOf":[{"type":"string","description":"The billing email address.","example":"john.doe@example.com"},{"type":"null","description":"The billing email address.","example":"john.doe@example.com"}]},"name":{"oneOf":[{"type":"string","description":"The billing name.","example":"Example"},{"type":"null","description":"The billing name.","example":"Example"}]},"phone":{"oneOf":[{"type":"string","description":"The billing phone number.","example":"+14155550142"},{"type":"null","description":"The billing phone number.","example":"+14155550142"}]}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"},"isRequired":true},"customer":{"oneOf":[{"type":"string","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},{"type":"object","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true},"owner_partner_id":{"oneOf":[{"type":"string","description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"phone":{"oneOf":[{"type":"string","description":"The customer's phone number.","format":"phone","example":"+15555555555"},{"type":"null","description":"The customer's phone number.","format":"phone","example":"+15555555555"}]},"employer":{"oneOf":[{"type":"string","description":"The customer's employer.","example":"Flex"},{"type":"null","description":"The customer's employer.","example":"Flex"}]},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"line1":{"oneOf":[{"type":"string","description":"The first line of the street address (e.g., street number and name).","example":"123 Main St"},{"type":"null","description":"The first line of the street address (e.g., street number and name).","example":"123 Main St"}]},"line2":{"oneOf":[{"type":"string","description":"The second line of the street address (e.g., apartment, suite, or unit).","example":"Suite 100"},{"type":"null","description":"The second line of the street address (e.g., apartment, suite, or unit).","example":"Suite 100"}]},"city":{"oneOf":[{"type":"string","description":"City, district, suburb, town, or village.","example":"San Francisco"},{"type":"null","description":"City, district, suburb, town, or village.","example":"San Francisco"}]},"state":{"oneOf":[{"type":"string","description":"State, county, province, or region.","example":"CA"},{"type":"null","description":"State, county, province, or region.","example":"CA"}]},"postal_code":{"oneOf":[{"type":"string","description":"ZIP or postal code.","example":"94107"},{"type":"null","description":"ZIP or postal code.","example":"94107"}]},"country":{"oneOf":[{"type":"string","description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","example":"US"},{"type":"null","description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","example":"US"}]}}},{"type":"null","description":"The customer's shipping address."}]},"metadata":{"oneOf":[{"type":"object","description":"Metadata associated with the customer.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}},{"type":"null","description":"Metadata associated with the customer.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}}]}},"isRequired":true}],"isRequired":true},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express","isRequired":true},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US","isRequired":true},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127,"isRequired":true},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123","isRequired":true},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit","isRequired":true},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242","isRequired":true}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"},"isRequired":true},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false,"isRequired":true},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean","isRequired":true},"metadata":{"oneOf":[{"type":"object","description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"object"}},{"type":"null","description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"object"}}]}}},{"type":"null","description":"The payment method charged when the default one fails (expandable). Omitted when the subscription has no backup."}]},"discounts":{"oneOf":[{"type":"array","items":{"description":"A Discount object represents the application of a coupon or promotion code to a checkout session, customer, subscription, or invoice. It records which coupon was redeemed, what the discount was applied to, and the time window over which it applies.","type":"object","required":["discount_id","source","start","test_mode"],"properties":{"discount_id":{"description":"The ID of the discount.","type":"string","example":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"source":{"description":"The source of the discount (coupon or promotion code).","type":"object","required":["coupon","type"],"properties":{"coupon":{"oneOf":[{"type":"string","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},{"type":"object","description":"The coupon that was redeemed. Returned as a coupon ID by default; pass `expand=discounts,coupons` on the Subscription API to expand it to the full coupon object.","required":["coupon_id","created_at","duration","name","test_mode","valid"],"example":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"coupon_id":{"description":"Unique identifier for the object.","type":"string","example":"fcoup_1234567890","isRequired":true},"duration":{"type":"string","enum":["once","repeating","forever"],"x-ms-enum":{"name":"CouponDuration","modelAsString":false,"values":[{"value":"once","name":"Once","description":"Applies to the first charge from a subscription with this coupon applied."},{"value":"repeating","name":"Repeating","description":"Applies to charges in the first duration_in_months months from a subscription with this coupon applied."},{"value":"forever","name":"Forever","description":"Applies to all charges from a subscription with this coupon applied."}]},"description":"One of forever, once, and repeating. Describes how long a customer who applies this coupon will get the discount.","example":"once","isRequired":true},"name":{"description":"Name of the coupon displayed to customers.","type":"string","example":"Example","isRequired":true},"valid":{"description":"Taking account of the above properties, whether this coupon can still be applied to a customer.","type":"boolean","example":false,"isRequired":true},"created_at":{"description":"Date when this coupon was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"test_mode":{"description":"Whether the coupon is in test mode","type":"boolean","example":false,"isRequired":true},"amount_off":{"oneOf":[{"type":"integer","description":"Amount that will be taken off the subtotal of any invoices for this customer.","format":"int32","maximum":2147483647,"minimum":-2147483648,"example":2500},{"type":"null","description":"Amount that will be taken off the subtotal of any invoices for this customer.","format":"int32","maximum":2147483647,"minimum":-2147483648,"example":2500}]},"applies_to":{"oneOf":[{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["products"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]},"properties":{"products":{"description":"The product that this coupon applies to.","type":"array","items":{"type":"string","example":"fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"isRequired":true}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["prices"],"properties":{"prices":{"description":"The price that this coupon applies to.","type":"array","items":{"type":"string","example":"fprice_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"isRequired":true}}},{"type":"object","description":"An object containing the ID of the product that the coupon can be applied to.","required":["fee_types"],"properties":{"fee_types":{"description":"The fee types that this coupon applies to.","type":"array","items":{"description":"The kind of fee applied to a checkout session: a Letter of Medical Necessity consultation fee, or a custom fee you define.","type":"string","enum":["lmn_consultation","custom"],"example":"lmn_consultation"},"isRequired":true}}},{"type":"string","description":"An object containing the ID of the product that the coupon can be applied to.","enum":["shipping"],"example":{"products":["fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA"]}},{"type":"null","description":"An object containing the ID of the product that the coupon can be applied to."}]},"duration_in_months":{"oneOf":[{"type":"integer","description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"metadata":{"oneOf":[{"type":"object","description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","example":{"order_id":"8842","channel":"shopify"}},{"type":"null","description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","example":{"order_id":"8842","channel":"shopify"}}]},"percent_off":{"oneOf":[{"type":"number","description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","format":"double"},{"type":"null","description":"Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.","format":"double"}]},"max_redemptions":{"oneOf":[{"type":"integer","description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"times_redeemed":{"oneOf":[{"type":"integer","description":"Number of times this coupon has been applied to a customer.","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"Number of times this coupon has been applied to a customer.","format":"int32","maximum":2147483647,"minimum":-2147483648}]}},"isRequired":true}],"isRequired":true},"type":{"description":"The type of source.","type":"string","enum":["coupon","promotion_code"],"example":"coupon","isRequired":true}},"example":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"isRequired":true},"test_mode":{"description":"Whether the discount was applied in test mode","type":"boolean","example":false,"isRequired":true},"start":{"description":"Date that the coupon was applied.","type":"string","example":"string","isRequired":true},"checkout_session":{"oneOf":[{"type":"string","description":"The checkout session that the discount was applied to.","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The checkout session that the discount was applied to.","example":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"customer":{"oneOf":[{"type":"string","description":"The customer that the discount was applied to.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The customer that the discount was applied to.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"subscription":{"oneOf":[{"type":"string","description":"The subscription that the discount was applied to.","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The subscription that the discount was applied to.","example":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"invoice":{"oneOf":[{"type":"string","description":"The invoice that the discount was applied to.","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The invoice that the discount was applied to.","example":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"promo_code":{"oneOf":[{"type":"string","description":"The promo code applied to create the discount.","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The promo code applied to create the discount.","example":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"end":{"oneOf":[{"type":"string","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null.","example":"string"},{"type":"null","description":"If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null."}]}},"example":{"discount_id":"fdi_01J9XR8M3K7VZ8N2YB4WJ6T0RA","checkout_session":"fcs_01J9XR8M3K7VZ8N2YB4WJ6T0RA","customer":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","subscription":"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA","invoice":"fin_01J9XR8M3K7VZ8N2YB4WJ6T0RA","source":{"coupon":"fcoup_01J9XR8M3K7VZ8N2YB4WJ6T0RA","type":"coupon"},"promo_code":"fpromo_01J9XR8M3K7VZ8N2YB4WJ6T0RA","test_mode":false,"end":"string","start":"string"}},"description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)"},{"type":"null","description":"The discounts applied to the subscription. Only present when `expand=discounts` is requested; omitted from the response otherwise. Usually 0–1 elements (Flex applies at most one coupon per subscription today), but modeled as an array for Stripe parity and future multi-discount support.\n\nFull `Discount` objects rather than `Expandable`: unlike the other expandable fields, `discounts` is populated only on `expand=discounts` and is always hydrated, so it never serializes as a bare ID. (The nested `source.coupon` inside each discount is still an `Expandable`, honoring `expand=discounts,coupons`.)"}]},"pause":{"oneOf":[{"type":"object","description":"The current pause. Present only while the subscription is paused.","required":["paused_at"],"example":{"paused_at":"2026-06-15T14:30:00Z","resume_at":"2026-06-15T14:30:00Z","billing_cycle_anchor":"unchanged","proration_behavior":"always_invoice","credit":"unused_time"},"properties":{"paused_at":{"description":"When the subscription was paused. ISO 8601 format. While paused, this is also the subscription's `current_period_end`.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"resume_at":{"oneOf":[{"type":"string","description":"When Flex resumes the subscription on its own. `null` when it stays paused until you resume it.","example":"2026-06-15T14:30:00Z"},{"type":"null","description":"When Flex resumes the subscription on its own. `null` when it stays paused until you resume it.","example":"2026-06-15T14:30:00Z"}]},"billing_cycle_anchor":{"oneOf":[{"type":"string","description":"Where billing restarts when Flex resumes at `resume_at`: `now` or `unchanged`. `null` when no resume is scheduled.","enum":["now","unchanged"],"x-ms-enum":{"name":"SubscriptionResumeBillingCycleAnchor","modelAsString":false,"values":[{"value":"now","name":"Now","description":"Bill monthly from the resume date, charging the full period now, net of any unused time credited at the pause. After an uncredited pause that ends inside the paid period, nothing is charged now and the next charge covers the time from the old period end."},{"value":"unchanged","name":"Unchanged","description":"Keep the original billing date."}]},"example":"unchanged"},{"type":"null","description":"Where billing restarts when Flex resumes at `resume_at`: `now` or `unchanged`. `null` when no resume is scheduled.","example":"unchanged"}]},"proration_behavior":{"oneOf":[{"type":"string","description":"How the partial period is billed when `billing_cycle_anchor` is `unchanged`. `null` otherwise.","enum":["create_prorations","always_invoice"],"x-ms-enum":{"name":"SubscriptionResumeProrationBehavior","modelAsString":false,"values":[{"value":"create_prorations","name":"CreateProrations","description":"Bill the partial period on the original billing date, with the next full period."},{"value":"always_invoice","name":"AlwaysInvoice","description":"Bill the partial period now, net of any unused time credited at the pause. A negative amount charges nothing and goes to the customer's balance."}]},"example":"always_invoice"},{"type":"null","description":"How the partial period is billed when `billing_cycle_anchor` is `unchanged`. `null` otherwise.","example":"always_invoice"}]},"credit":{"type":"string","enum":["unused_time","none"],"x-ms-enum":{"name":"SubscriptionPauseCredit","modelAsString":false,"values":[{"value":"unused_time","name":"UnusedTime","description":"Credit the unused paid time from the pause to the period end. The resume charge is net of it."},{"value":"none","name":"None","description":"Credit nothing for the paused days inside the paid period. A resume before the period ends keeps the paid days after it."}]},"description":"What the pause credited for the paid time left in the period.","example":"unused_time","default":"unused_time"}}},{"type":"null","description":"The current pause. Present only while the subscription is paused."}]}}},{"type":"null","description":"The subscription that this invoice was prepared for."}]},"paid_at":{"oneOf":[{"type":"string","description":"When the invoice was paid.","example":"string"},{"type":"null","description":"When the invoice was paid."}]},"metadata":{"oneOf":[{"type":"object","description":"Metadata associated with the invoice.","example":{"order_id":"8842","channel":"shopify"}},{"type":"null","description":"Metadata associated with the invoice.","example":{"order_id":"8842","channel":"shopify"}}]},"backup_charge_status":{"oneOf":[{"type":"string","description":"Outcome of the backup-payment-method fallback for this invoice. Omitted when no fallback applied. `succeeded` on a paid invoice means the subscription's backup card covered this renewal after the default payment method failed.","enum":["pending","succeeded","failed","skipped"],"example":"pending"},{"type":"null","description":"Outcome of the backup-payment-method fallback for this invoice. Omitted when no fallback applied. `succeeded` on a paid invoice means the subscription's backup card covered this renewal after the default payment method failed."}]}}},{"type":"null","description":"The invoice associated with the payment intent."}]},"client_secret":{"oneOf":[{"type":"string","description":"The client secret of the payment intent."},{"type":"null","description":"The client secret of the payment intent."}]},"metadata":{"oneOf":[{"type":"object","description":"The metadata associated with the payment intent.","example":{"order_id":"8842","channel":"shopify"}},{"type":"null","description":"The metadata associated with the payment intent.","example":{"order_id":"8842","channel":"shopify"}}]},"payment_method":{"oneOf":[{"type":"string","description":"The payment method associated with the payment intent.","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"object","description":"The payment method associated with the payment intent.","required":["billing_details","card","created_at","customer","off_session","payment_method_id","test_mode"],"example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"payment_method_id":{"description":"The ID of the PaymentMethod.","type":"string","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"billing_details":{"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","type":"object","properties":{"address":{"oneOf":[{"type":"object","description":"The billing address.","example":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"properties":{"city":{"oneOf":[{"type":"string","description":"City, district, suburb, town, or village.","example":"San Francisco"},{"type":"null","description":"City, district, suburb, town, or village.","example":"San Francisco"}]},"country":{"oneOf":[{"type":"string","description":"Two-letter ISO country code (e.g., `US`).","example":"US"},{"type":"null","description":"Two-letter ISO country code (e.g., `US`).","example":"US"}]},"line1":{"oneOf":[{"type":"string","description":"Address line 1, such as the street, PO box, or company name.","example":"123 Main St"},{"type":"null","description":"Address line 1, such as the street, PO box, or company name.","example":"123 Main St"}]},"line2":{"oneOf":[{"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building.","example":"Suite 100"},{"type":"null","description":"Address line 2, such as the apartment, suite, unit, or building.","example":"Suite 100"}]},"postal_code":{"oneOf":[{"type":"string","description":"ZIP or postal code.","example":"94107"},{"type":"null","description":"ZIP or postal code.","example":"94107"}]},"state":{"oneOf":[{"type":"string","description":"State, county, province, or region.","example":"CA"},{"type":"null","description":"State, county, province, or region.","example":"CA"}]}}},{"type":"null","description":"The billing address."}]},"email":{"oneOf":[{"type":"string","description":"The billing email address.","example":"john.doe@example.com"},{"type":"null","description":"The billing email address.","example":"john.doe@example.com"}]},"name":{"oneOf":[{"type":"string","description":"The billing name.","example":"Example"},{"type":"null","description":"The billing name.","example":"Example"}]},"phone":{"oneOf":[{"type":"string","description":"The billing phone number.","example":"+14155550142"},{"type":"null","description":"The billing phone number.","example":"+14155550142"}]}},"example":{"address":{"city":"San Francisco","country":"US","line1":"123 Main St","line2":"Suite 100","postal_code":"94107","state":"CA"},"email":"john.doe@example.com","name":"Example","phone":"+14155550142"},"isRequired":true},"customer":{"oneOf":[{"type":"string","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},{"type":"object","description":"The customer this payment method is attached to. Returned as the customer ID by default; expandable to the full Customer object.","required":["created_at","customer_id","email","first_name","last_name","test_mode"],"example":"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA","properties":{"customer_id":{"description":"The unique identifier for the customer.","type":"string","example":"fcus_01HACM7FZ1084XB1GB6053VM0D","isRequired":true},"first_name":{"description":"The customer's first name.","type":"string","example":"John","isRequired":true},"last_name":{"description":"The customer's last name.","type":"string","example":"Doe","isRequired":true},"email":{"description":"The customer's email address.","type":"string","example":"joh.doe@example.com","isRequired":true},"created_at":{"description":"The time the customer was created.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"test_mode":{"description":"Whether the customer was created in test mode.","type":"boolean","example":false,"isRequired":true},"owner_partner_id":{"oneOf":[{"type":"string","description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The partner that owns this customer. When a customer is shared with you by another partner in your organization, this is that sibling partner; otherwise it is your own partner id.","example":"obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]},"phone":{"oneOf":[{"type":"string","description":"The customer's phone number.","format":"phone","example":"+15555555555"},{"type":"null","description":"The customer's phone number.","format":"phone","example":"+15555555555"}]},"employer":{"oneOf":[{"type":"string","description":"The customer's employer.","example":"Flex"},{"type":"null","description":"The customer's employer.","example":"Flex"}]},"shipping":{"oneOf":[{"type":"object","description":"The customer's shipping address.","required":["shipping_address_id"],"example":{"shipping_address_id":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","line1":"123 Main St","line2":"Suite 100","city":"San Francisco","state":"CA","postal_code":"94107","country":"US"},"properties":{"shipping_address_id":{"description":"Unique identifier for the shipping address.","type":"string","example":"fsh_01J9XR8M3K7VZ8N2YB4WJ6T0RA","isRequired":true},"line1":{"oneOf":[{"type":"string","description":"The first line of the street address (e.g., street number and name).","example":"123 Main St"},{"type":"null","description":"The first line of the street address (e.g., street number and name).","example":"123 Main St"}]},"line2":{"oneOf":[{"type":"string","description":"The second line of the street address (e.g., apartment, suite, or unit).","example":"Suite 100"},{"type":"null","description":"The second line of the street address (e.g., apartment, suite, or unit).","example":"Suite 100"}]},"city":{"oneOf":[{"type":"string","description":"City, district, suburb, town, or village.","example":"San Francisco"},{"type":"null","description":"City, district, suburb, town, or village.","example":"San Francisco"}]},"state":{"oneOf":[{"type":"string","description":"State, county, province, or region.","example":"CA"},{"type":"null","description":"State, county, province, or region.","example":"CA"}]},"postal_code":{"oneOf":[{"type":"string","description":"ZIP or postal code.","example":"94107"},{"type":"null","description":"ZIP or postal code.","example":"94107"}]},"country":{"oneOf":[{"type":"string","description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","example":"US"},{"type":"null","description":"Two-letter country code (ISO 3166-1 alpha-2, e.g., `US`).","example":"US"}]}}},{"type":"null","description":"The customer's shipping address."}]},"metadata":{"oneOf":[{"type":"object","description":"Metadata associated with the customer.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}},{"type":"null","description":"Metadata associated with the customer.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"string"}}]}},"isRequired":true}],"isRequired":true},"card":{"description":"User card details.","type":"object","required":["brand","country","exp_month","exp_year","fingerprint","funding","last4"],"properties":{"brand":{"description":"The brand of the card.","type":"string","enum":["american_express","diners_club","discover","eftpos_au","JCB","master_card","union_pay","visa","unknown"],"example":"american_express","isRequired":true},"country":{"description":"Two-letter ISO code for the card's country.","type":"string","example":"US","isRequired":true},"exp_month":{"description":"The card's expiration month.","type":"integer","format":"int32","example":12,"minimum":-128,"maximum":127,"isRequired":true},"exp_year":{"description":"The card's expiration year.","type":"integer","format":"int32","example":2027,"minimum":-2147483648,"maximum":2147483647,"isRequired":true},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card.","type":"string","example":"abc123","isRequired":true},"funding":{"description":"The funding type of the card.","type":"string","enum":["credit","debit","hsa_fsa","prepaid","unknown"],"example":"credit","isRequired":true},"last4":{"description":"The last four digits of the card.","type":"string","example":"4242","isRequired":true}},"example":{"brand":"american_express","country":"US","exp_month":12,"exp_year":2027,"fingerprint":"abc123","funding":"credit","last4":"4242"},"isRequired":true},"created_at":{"description":"Time at which the object was created. ISO 8601 format.","type":"string","example":"2026-06-15T14:30:00Z","isRequired":true},"test_mode":{"description":"Whether this PaymentMethod is in test mode.","type":"boolean","example":false,"isRequired":true},"off_session":{"description":"Whether this PaymentMethod is valid for off_session (customer not present) purchase flows.","type":"boolean","isRequired":true},"metadata":{"oneOf":[{"type":"object","description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"object"}},{"type":"null","description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","example":{"order_id":"8842","channel":"shopify"},"additionalProperties":{"type":"object"}}]}}},{"type":"null","description":"The payment method associated with the payment intent."}]},"transfer_group":{"oneOf":[{"type":"string","description":"A string that identifies the resulting payment as part of a group","example":"example_value"},{"type":"null","description":"A string that identifies the resulting payment as part of a group","example":"example_value"}]},"payment_card_type":{"oneOf":[{"type":"string","description":"The primary card type used for this payment intent","enum":["primary","secondary"],"x-ms-enum":{"name":"PaymentCardType","modelAsString":false,"values":[{"value":"primary","name":"Primary","description":"In a split cart, `Primary` refers to the HSA/FSA eligible card. In a single cart (whether it's HSA/FSA or a fully ineligible cart), `Primary` refers to the only payment card used."},{"value":"secondary","name":"Secondary","description":"In a split cart and partial authorization payment, `Secondary` refers to the non-eligible or backup credit card used for ineligible items."}]},"example":"primary"},{"type":"null","description":"The primary card type used for this payment intent"}]},"letter_fee_amount":{"oneOf":[{"type":"integer","description":"Letter fee portion of application_fee_amount (waterfall allocation to HSA/FSA)","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"Letter fee portion of application_fee_amount (waterfall allocation to HSA/FSA)","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"transaction_fee":{"oneOf":[{"type":"integer","description":"Transaction fee portion of application_fee_amount (percentage + fixed fee)","format":"int32","maximum":2147483647,"minimum":-2147483648},{"type":"null","description":"Transaction fee portion of application_fee_amount (percentage + fixed fee)","format":"int32","maximum":2147483647,"minimum":-2147483648}]},"last_payment_error":{"oneOf":[{"type":"object","description":"The error from the most recent failed payment attempt, if any.","required":["type"],"example":{"type":"string","code":"string","decline_code":"string","message":"string","payment_method":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},"properties":{"type":{"description":"The type of error (card, invalid_request, api, etc.)","type":"string","isRequired":true},"code":{"oneOf":[{"type":"string","description":"Machine-readable error code (card_declined, expired_card, etc.)"},{"type":"null","description":"Machine-readable error code (card_declined, expired_card, etc.)"}]},"decline_code":{"oneOf":[{"type":"string","description":"Card-specific decline code (insufficient_funds, lost_card, etc.)"},{"type":"null","description":"Card-specific decline code (insufficient_funds, lost_card, etc.)"}]},"message":{"oneOf":[{"type":"string","description":"Human-readable error description."},{"type":"null","description":"Human-readable error description."}]},"payment_method":{"oneOf":[{"type":"string","description":"The Flex payment method ID that failed.","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"},{"type":"null","description":"The Flex payment method ID that failed.","example":"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"}]}}},{"type":"null","description":"The error from the most recent failed payment attempt, if any."}]}}}]}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Use a Bearer token to access this API.","scopes":["checkout_sessions:write"],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Use a Bearer token to access this API.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"flex-87","siteName":"Flex Documentation","title":"Create Checkout Session - Flex Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-28T22:54:20.093Z","originalFileLocation":"api-reference/checkout-sessions/create-checkout-session.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Creates a Checkout Session. The response includes a hosted redirect_url where the customer completes payment, along with the computed totals and eligibility. Flex classifies the line items for HSA/FSA eligibility and, when a Letter of Medical Necessity is required, sets up the collection flow. The session\u0026#x27;s mode determines whether it results in a one-time payment, a subscription, an off-session charge against a saved payment method, or a setup-only flow. When the line items mix eligible and non-eligible products, a split cart is created so each portion can be paid with the appropriate payment method.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Flex Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/flex-87/uZDAr5goax7LGN2W/_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/flex-87/uZDAr5goax7LGN2W/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/flex-87/uZDAr5goax7LGN2W/_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/flex-87/uZDAr5goax7LGN2W/_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/flex-87/uZDAr5goax7LGN2W/_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/flex-87/uZDAr5goax7LGN2W/_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/flex-87/uZDAr5goax7LGN2W/_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/flex-87/uZDAr5goax7LGN2W/_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/flex-87/uZDAr5goax7LGN2W/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Checkout Session - Flex Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a Checkout Session. The response includes a hosted redirect_url where the customer completes payment, along with the computed totals and eligibility. Flex classifies the line items for HSA/FSA eligibility and, when a Letter of Medical Necessity is required, sets up the collection flow. The session\u0026#x27;s mode determines whether it results in a one-time payment, a subscription, an off-session charge against a saved payment method, or a setup-only flow. When the line items mix eligible and non-eligible products, a split cart is created so each portion can be paid with the appropriate payment method.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Flex Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.withflex.com/api-reference/checkout-sessions/create-checkout-session\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://flex-87.mintlify.site/_mintlify/api/og/v2?division=Checkout+Sessions\u0026amp;title=Create+Checkout+Session\u0026amp;description=Creates+a+Checkout+Session.+The+response+includes+a+hosted+%60redirect_url%60+where+the%0Acustomer+completes+payment%2C+along+with+the+computed+totals+and+eligibility.+\u0026amp;theme=166c4e73f0167deeef40f76e\u0026amp;signature=96c67fa214efef4a9daa71b44107807f1d34f2ae46aa92be5cc7bb3178600baf\">\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 - Flex Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a Checkout Session. The response includes a hosted redirect_url where the customer completes payment, along with the computed totals and eligibility. Flex classifies the line items for HSA/FSA eligibility and, when a Letter of Medical Necessity is required, sets up the collection flow. The session\u0026#x27;s mode determines whether it results in a one-time payment, a subscription, an off-session charge against a saved payment method, or a setup-only flow. When the line items mix eligible and non-eligible products, a split cart is created so each portion can be paid with the appropriate payment method.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://flex-87.mintlify.site/_mintlify/api/og/v2?division=Checkout+Sessions\u0026amp;title=Create+Checkout+Session\u0026amp;description=Creates+a+Checkout+Session.+The+response+includes+a+hosted+%60redirect_url%60+where+the%0Acustomer+completes+payment%2C+along+with+the+computed+totals+and+eligibility.+\u0026amp;theme=166c4e73f0167deeef40f76e\u0026amp;signature=96c67fa214efef4a9daa71b44107807f1d34f2ae46aa92be5cc7bb3178600baf\">\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/flex-87/uZDAr5goax7LGN2W/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Flex Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0070FA\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.withflex.com/api-reference/checkout-sessions/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/checkout-sessions/create-checkout-session.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.withflex.com/#organization\",\"name\":\"Flex Documentation\",\"url\":\"https://docs.withflex.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/flex-87/1kILreF5HcjIKLdi/logo/light.svg?fit=max\u0026auto=format\u0026n=1kILreF5HcjIKLdi\u0026q=85\u0026s=f703a75bc80df014f4849a7225b4879f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.withflex.com#website\",\"name\":\"Flex Documentation\",\"url\":\"https://docs.withflex.com\",\"publisher\":{\"@id\":\"https://docs.withflex.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.withflex.com/api-reference/checkout-sessions/create-checkout-session#webpage\",\"url\":\"https://docs.withflex.com/api-reference/checkout-sessions/create-checkout-session\",\"name\":\"Create Checkout Session\",\"description\":\"Creates a Checkout Session. The response includes a hosted redirect_url where the customer completes payment, along with the computed totals and eligibility. Flex classifies the line items for HSA/FSA eligibility and, when a Letter of Medical Necessity is required, sets up the collection flow. The session's mode determines whether it results in a one-time payment, a subscription, an off-session charge against a saved payment method, or a setup-only flow. When the line items mix eligible and non-eligible products, a split cart is created so each portion can be paid with the appropriate payment method.\",\"dateModified\":\"2026-10-28T22:54:20.093Z\",\"isPartOf\":{\"@id\":\"https://docs.withflex.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.withflex.com/api-reference/checkout-sessions/create-checkout-session#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.withflex.com/api-reference/checkout-sessions/create-checkout-session#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.withflex.com/api-reference/shipping-rates/list-shipping-rates\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Checkout Sessions\",\"item\":\"https://docs.withflex.com/api-reference/checkout-sessions/list-checkout-sessions\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create Checkout Session\",\"item\":\"https://docs.withflex.com/api-reference/checkout-sessions/create-checkout-session\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.withflex.com/api-reference/checkout-sessions/create-checkout-session#apireference\",\"headline\":\"Create Checkout Session\",\"name\":\"Create Checkout Session\",\"description\":\"Creates a Checkout Session. The response includes a hosted redirect_url where the customer completes payment, along with the computed totals and eligibility. Flex classifies the line items for HSA/FSA eligibility and, when a Letter of Medical Necessity is required, sets up the collection flow. The session's mode determines whether it results in a one-time payment, a subscription, an off-session charge against a saved payment method, or a setup-only flow. When the line items mix eligible and non-eligible products, a split cart is created so each portion can be paid with the appropriate payment method.\",\"url\":\"https://docs.withflex.com/api-reference/checkout-sessions/create-checkout-session\",\"mainEntityOfPage\":{\"@id\":\"https://docs.withflex.com/api-reference/checkout-sessions/create-checkout-session#webpage\"},\"dateModified\":\"2026-10-28T22:54:20.093Z\",\"publisher\":{\"@id\":\"https://docs.withflex.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.withflex.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Flex Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Flex Documentation","nav":{"global":{"anchors":[{"anchor":"Status","icon":"wifi","href":"https://statuspage.incident.io/with-flex"},{"anchor":"Support","icon":"mail","href":"mailto:support@withflex.com"},{"anchor":"Website","icon":"laptop","href":"https://www.withflex.com"}]},"tabs":[{"tab":"Welcome","pages":[{"title":"Welcome","href":""}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/developer-guides/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Overview","pages":[{"title":"Introduction to the Flex API","sidebarTitle":"Introduction","href":"/api-reference/introduction"},{"title":"Expanding Resources","sidebarTitle":"Expanding Resources","href":"/api-reference/expanding-resources"}]},{"group":"API Reference","pages":[{"group":"Shipping Rates","pages":[{"title":"List Shipping Rates","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/shipping_rates","href":"/api-reference/shipping-rates/list-shipping-rates"},{"title":"Create Shipping Rate","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/shipping_rates","href":"/api-reference/shipping-rates/create-shipping-rate"},{"title":"Get Shipping Rate","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/shipping_rates/{id}","href":"/api-reference/shipping-rates/get-shipping-rate"},{"title":"Update Shipping Rate","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/shipping_rates/{id}","href":"/api-reference/shipping-rates/update-shipping-rate"}]},{"group":"Disputes","pages":[{"title":"List Disputes","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/disputes","href":"/api-reference/disputes/list-disputes"},{"title":"Count Disputes","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/disputes/count","href":"/api-reference/disputes/count-disputes"},{"title":"Get Dispute","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/disputes/{dispute_id}","href":"/api-reference/disputes/get-dispute"},{"title":"Update Dispute","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/disputes/{dispute_id}","href":"/api-reference/disputes/update-dispute"},{"title":"Close Dispute","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/disputes/{dispute_id}/close","href":"/api-reference/disputes/close-dispute"}]},{"group":"Events","pages":[{"title":"Retry Event","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/events/{id}/retry","href":"/api-reference/events/retry-event"}]},{"group":"Checkout Sessions","pages":[{"title":"List Checkout Sessions","description":"Returns a list of your Checkout Sessions, most recent first.","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/checkout/sessions","href":"/api-reference/checkout-sessions/list-checkout-sessions"},{"title":"Create Checkout Session","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/checkout/sessions","href":"/api-reference/checkout-sessions/create-checkout-session"},{"title":"Get Checkout Session","description":"Retrieves the Checkout Session with the given ID. Use the `expand` parameters to inline\nrelated objects such as the customer, payment intent, or subscription in the response.","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/checkout/sessions/{id}","href":"/api-reference/checkout-sessions/get-checkout-session"},{"title":"Get Line Items","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/checkout/sessions/{id}/line_items","href":"/api-reference/checkout-sessions/get-line-items"},{"title":"Confirm Checkout Session","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/checkout/sessions/{id}/confirm","href":"/api-reference/checkout-sessions/confirm-checkout-session"},{"title":"Capture Checkout Session","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/checkout/sessions/{id}/capture","href":"/api-reference/checkout-sessions/capture-checkout-session"},{"title":"Preview Capture Allocation","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/checkout/sessions/{id}/capture_allocation","href":"/api-reference/checkout-sessions/preview-capture-allocation"},{"title":"Reauth Checkout Session","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/checkout/sessions/{id}/reauth","href":"/api-reference/checkout-sessions/reauth-checkout-session"},{"title":"Refund Checkout Session","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/checkout/sessions/{id}/refund","href":"/api-reference/checkout-sessions/refund-checkout-session"},{"title":"Preview Refund Allocation","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/checkout/sessions/{id}/refund_allocation","href":"/api-reference/checkout-sessions/preview-refund-allocation"},{"title":"Cancel Auth Checkout Session","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/checkout/sessions/{id}/cancel","href":"/api-reference/checkout-sessions/cancel-auth-checkout-session"},{"title":"Resend Checkout Session Receipts","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/checkout/sessions/{id}/receipts/resend","href":"/api-reference/checkout-sessions/resend-checkout-session-receipts"},{"title":"Resend Checkout Session Lomn","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/checkout/sessions/{id}/lomn/resend","href":"/api-reference/checkout-sessions/resend-checkout-session-lomn"}]},{"group":"Coupons","pages":[{"title":"List Coupons","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/coupons","href":"/api-reference/coupons/list-coupons"},{"title":"Create Coupon","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/coupons","href":"/api-reference/coupons/create-coupon"},{"title":"Get Coupon","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/coupons/{id}","href":"/api-reference/coupons/get-coupon"}]},{"group":"Customers","pages":[{"title":"List customers","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/customers","href":"/api-reference/customers/list-customers"},{"title":"Create or update a customer","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/customers","href":"/api-reference/customers/create-or-update-a-customer"},{"title":"Retrieve a customer","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/customers/{id}","href":"/api-reference/customers/retrieve-a-customer"},{"title":"Delete a customer","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/customers/{id}","href":"/api-reference/customers/delete-a-customer"},{"title":"Update a customer","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/customers/{id}","href":"/api-reference/customers/update-a-customer"},{"title":"List a customer's payment methods","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/customers/{id}/payment_methods","href":"/api-reference/customers/list-a-customers-payment-methods"},{"title":"Retrieve a customer's payment method","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/customers/{id}/payment_methods/{pm_id}","href":"/api-reference/customers/retrieve-a-customers-payment-method"}]},{"group":"Exports","pages":[{"title":"List Exports","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/exports","href":"/api-reference/exports/list-exports"},{"title":"Create Export","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/exports","href":"/api-reference/exports/create-export"},{"title":"Get Export","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/exports/{id}","href":"/api-reference/exports/get-export"},{"title":"Cancel Export","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/exports/{id}/cancel","href":"/api-reference/exports/cancel-export"},{"title":"Create Export Url","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/exports/{id}/presigned_url","href":"/api-reference/exports/create-export-url"}]},{"group":"Invoices","pages":[{"title":"List Invoices","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/invoices","href":"/api-reference/invoices/list-invoices"},{"title":"Get Invoice","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/invoices/{id}","href":"/api-reference/invoices/get-invoice"},{"title":"Mark Invoice Uncollectible","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/invoices/{id}/mark_uncollectible","href":"/api-reference/invoices/mark-invoice-uncollectible"}]},{"group":"Products","pages":[{"title":"List Product Components","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/product_components","href":"/api-reference/products/list-product-components"},{"title":"Create Product Component","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/product_components","href":"/api-reference/products/create-product-component"},{"title":"Get Product Component","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/product_components/{id}","href":"/api-reference/products/get-product-component"},{"title":"Update Product Component","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/product_components/{id}","href":"/api-reference/products/update-product-component"},{"title":"List Products","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/products","href":"/api-reference/products/list-products"},{"title":"Create Product","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/products","href":"/api-reference/products/create-product"},{"title":"Processing Status","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/products/processing_status","href":"/api-reference/products/processing-status"},{"title":"Get Product","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/products/{id}","href":"/api-reference/products/get-product"},{"title":"Update Product","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/products/{id}","href":"/api-reference/products/update-product"}]},{"group":"Payment Intents","pages":[{"title":"List Payment Intents","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/payment_intents","href":"/api-reference/payment-intents/list-payment-intents"},{"title":"Get Payment Intent","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/payment_intents/{id}","href":"/api-reference/payment-intents/get-payment-intent"},{"title":"Send Receipt","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/payment_intents/{id}/receipt","href":"/api-reference/payment-intents/send-receipt"},{"title":"Cancel Payment Intent","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/payment_intents/{id}/cancel","href":"/api-reference/payment-intents/cancel-payment-intent"}]},{"group":"Payment Links","pages":[{"title":"List Payment Links","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/payment_links","href":"/api-reference/payment-links/list-payment-links"},{"title":"Create Payment Link","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/payment_links","href":"/api-reference/payment-links/create-payment-link"},{"title":"Get Payment Link","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/payment_links/{id}","href":"/api-reference/payment-links/get-payment-link"},{"title":"Update Payment Link","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/payment_links/{id}","href":"/api-reference/payment-links/update-payment-link"}]},{"group":"Payouts","pages":[{"title":"List Payouts","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/payouts","href":"/api-reference/payouts/list-payouts"}]},{"group":"Prices","pages":[{"title":"List Prices","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/prices","href":"/api-reference/prices/list-prices"},{"title":"Create Price","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/prices","href":"/api-reference/prices/create-price"},{"title":"Get Price","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/prices/{id}","href":"/api-reference/prices/get-price"},{"title":"Update Price","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/prices/{id}","href":"/api-reference/prices/update-price"}]},{"group":"Promo Codes","pages":[{"title":"List Promo Codes","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/promo_codes","href":"/api-reference/promo-codes/list-promo-codes"},{"title":"Create Promo Code","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/promo_codes","href":"/api-reference/promo-codes/create-promo-code"},{"title":"Get Promo Code","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/promo_codes/{id}","href":"/api-reference/promo-codes/get-promo-code"},{"title":"Update Promo Code","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/promo_codes/{id}","href":"/api-reference/promo-codes/update-promo-code"}]},{"group":"Refunds","pages":[{"title":"List Refunds","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/refunds","href":"/api-reference/refunds/list-refunds"},{"title":"Create Refund","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/refunds","href":"/api-reference/refunds/create-refund"},{"title":"Get Refund","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/refunds/{refund_id}","href":"/api-reference/refunds/get-refund"},{"title":"Update Refund","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/refunds/{refund_id}","href":"/api-reference/refunds/update-refund"}]},{"group":"Reviews","pages":[{"title":"List Reviews","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/reviews","href":"/api-reference/reviews/list-reviews"},{"title":"Get Review","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/reviews/{review_id}","href":"/api-reference/reviews/get-review"}]},{"group":"Subscriptions","pages":[{"title":"List Subscriptions","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/subscriptions","href":"/api-reference/subscriptions/list-subscriptions"},{"title":"Get Subscription","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/subscriptions/{id}","href":"/api-reference/subscriptions/get-subscription"},{"title":"Cancel Subscription","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/subscriptions/{id}","href":"/api-reference/subscriptions/cancel-subscription"},{"title":"Update Subscription","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/subscriptions/{id}","href":"/api-reference/subscriptions/update-subscription"},{"title":"Resend Subscription Receipts","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/subscriptions/{id}/receipts/resend","href":"/api-reference/subscriptions/resend-subscription-receipts"},{"title":"Get Refund Preview","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/subscriptions/{id}/refund_preview","href":"/api-reference/subscriptions/get-refund-preview"},{"title":"Pause Subscription","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/subscriptions/{id}/pause","href":"/api-reference/subscriptions/pause-subscription"},{"title":"Update Pause","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/subscriptions/{id}/pause","href":"/api-reference/subscriptions/update-pause"},{"title":"Resume Subscription","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/subscriptions/{id}/resume","href":"/api-reference/subscriptions/resume-subscription"},{"title":"Stop a failed resume and keep the subscription paused","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/subscriptions/{id}/resume/cancel","href":"/api-reference/subscriptions/stop-a-failed-resume-and-keep-the-subscription-paused"}]},{"group":"Balance Transactions","pages":[{"title":"List Balance Transactions","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/balance_transactions","href":"/api-reference/balance-transactions/list-balance-transactions"}]},{"group":"Setup Intents","pages":[{"title":"List Setup Intents","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/setup_intents","href":"/api-reference/setup-intents/list-setup-intents"},{"title":"Create Setup Intent","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/setup_intents","href":"/api-reference/setup-intents/create-setup-intent"},{"title":"Get Setup Intent","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/setup_intents/{id}","href":"/api-reference/setup-intents/get-setup-intent"}]},{"group":"Captures","pages":[{"title":"List captures","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/captures","href":"/api-reference/captures/list-captures"},{"title":"Retrieve a capture","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/captures/{capture_id}","href":"/api-reference/captures/retrieve-a-capture"},{"title":"Update a capture","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/captures/{capture_id}","href":"/api-reference/captures/update-a-capture"}]},{"group":"Files","pages":[{"title":"List Files","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/files","href":"/api-reference/files/list-files"},{"title":"Create File","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/files","href":"/api-reference/files/create-file"},{"title":"Retrieve File","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/files/{id}","href":"/api-reference/files/retrieve-file"}]}]}]},{"tab":"Compliance","pages":[{"title":"Compliance","href":"/compliance/introduction"}]},{"tab":"Marketing","pages":[{"title":"Marketing","href":"/merchant-success/introduction"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Create Checkout Session - Flex Documentation","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","Page-BUDYNlhG.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","clsx-eKJ4rcii.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CwjSCXIK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-9EK5IAXV.js"]}