Starts a checkout run: the agent opens startUrl, works toward task within constraints, and reports back through the run’s messages. Without a startUrl, task is required: the run finds products for it and asks the buyer to choose one before it opens a page. A buyerProfileId supplies identity and shipping details; browser.profileId reuses the user’s saved merchant session; send it on every checkout for that user. The response is the run in queued status. Poll Get Agent Checkout or stream its messages to follow it.
API scope required: agent-checkouts.create
POST
/
unstable
/
agent-checkouts
curl --request POST \ --url https://staging.crossmint.com/api/unstable/agent-checkouts \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data '{ "constraints": { "maxCost": { "amount": "20.00", "currency": "USD" } }, "request": { "startUrl": "https://shop.example.com/products/sticker-pack", "task": "Go to the checkout for one sticker pack, with standard delivery." }}'
Agent Checkouts uses production API keys. A staging key gets 403 with the message "Agent Checkouts is only available in production". See Test Agent Checkouts.
Authorizations
apiKey & userJwtapiKey
X-API-KEY
string
header
required
API key required for authentication
Authorization
string
header
required
The end user's JWT, sent as Authorization: Bearer <JWT> together with a client-side API key. Validated against the project's external JWT configuration.
Headers
x-crossmint-user-id
string
Server-side subject to act on behalf of. Ignored for client-side user auth.
Body
application/json
constraints
object
required
maxCost is the most this run may authorize for the purchase, compared only in its own currency. When the merchant charges in another currency, a card payment is requested for the exact total in that currency, without conversion or a check against maxCost; the buyer's approval of that amount is the check.
Show child attributes
request
object
required
Show child attributes
browser
object
Browser profile and requested location, or a caller-owned browser; provide at least one property. A CDP connection excludes the other properties
Monotonically increasing version of this run snapshot. When combining polling and stream updates, retain the snapshot with the greatest revision; values may skip and have no meaning beyond ordering
Required range: 0 <= x <= 9007199254740991
runId
string
required
Minimum string length: 1
status
enum<string>
required
Available options:
failed
continuedIn
object
The run started at the alternative the buyer chose after this run could not buy; that run buys it
Show child attributes
continues
object
The run this one continues: it buys the alternative its buyer chose after that run could not buy
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Crossmint Docs","colors":{"primary":"#36b37e","light":"#87ff8f","dark":"#001d01"},"logo":{"light":"https://mintcdn.com/crossmint/a8gPOTKEuVFcSfC3/logo/crossmint-light.png?fit=max\u0026auto=format\u0026n=a8gPOTKEuVFcSfC3\u0026q=85\u0026s=8c2671e4c8f7da6956e1508bd68c2928","dark":"https://mintcdn.com/crossmint/a8gPOTKEuVFcSfC3/logo/crossmint-dark.png?fit=max\u0026auto=format\u0026n=a8gPOTKEuVFcSfC3\u0026q=85\u0026s=272ecc17664d17b9ff24471758ff80b2"},"favicon":"https://mintcdn.com/crossmint/xq66q9GV6z6jjj95/favicon.png?fit=max\u0026auto=format\u0026n=xq66q9GV6z6jjj95\u0026q=85\u0026s=00fb89ddf6ba5b1022b9307039c08006","api":{"openapi":["api-reference/_open-api/MintingAPIs.json","api-reference/_open-api/AdminAPIs.json","api-reference/_open-api/VerifiableCredentialsAPIs.json","api-reference/_open-api/Wallets.json"],"examples":{"prefill":true}},"background":{"color":{"dark":"#090b0c"}},"navbar":{"links":[{"href":"https://www.crossmint.com/contact","label":"Support"},{"href":"https://staging.crossmint.com/console","label":"Staging Console"}],"primary":{"type":"button","label":"Console","href":"https://www.crossmint.com/console"}},"footer":{"socials":{"website":"https://www.crossmint.com","twitter":"https://x.com/crossmint","github":"https://github.com/crossmint"}},"integrations":{"ga4":{"measurementId":"G-CP5EDD6GVT"},"posthog":{"apiKey":"phc_tfgodwfjuO9v3Nw0tIWJNzACoi2opL7X2Ly0Mg2UCTz","apiHost":"https://eu.i.posthog.com","sessionRecording":false}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"crossmint","hasAudioNarration":false,"actualSubdomain":"crossmint","customDomains":["docs.crossmint.com"],"gitSource":{"type":"github","owner":"paella-labs","repo":"crossbit-main","deployBranch":"main","contentDirectory":"apps/crossmint-mintlify-docs/src","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true,"contextualFeedback":{"allowEmail":true},"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af7a14baa6af38816478ab0","clientVersion":"0.0.4142","searchFilterCounts":[{"language":"default","tag":"API Reference","count":1094},{"language":"default","tag":"Wallets","count":870},{"language":"default","tag":"Kotlin SDK","count":427},{"language":"default","tag":"Swift SDK","count":237},{"language":"default","tag":"Checkout","count":197},{"language":"default","tag":"Classes","count":182},{"language":"default","tag":"Data Classes","count":182},{"language":"default","tag":"Typescript SDK","count":156},{"language":"default","tag":"Guides","count":134},{"language":"default","tag":"Structs","count":127}]},"assistantConfig":{"enableAskAiButton":true,"enableStarterQuestions":false,"enableAskAiSearchBar":false,"deflection":{"enabled":true,"type":"link","url":"https://www.crossmint.com/contact/sales"}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".tab-container [data-component-part=\"tabs-list\"]{flex-wrap:wrap;overflow:visible;row-gap:0.25rem}.tab-container [data-component-part=\"tabs-list\"]>li{white-space:nowrap}.nav-dropdown-item,.nav-dropdown-item *{font-weight:500!important;color:rgb(75, 85, 99)!important}.nav-dropdown-item:hover,.nav-dropdown-item:hover *{color:rgb(31, 41, 55)!important}.dark .nav-dropdown-item,.dark .nav-dropdown-item *{color:rgb(156, 163, 175)!important}.dark .nav-dropdown-item:hover,.dark .nav-dropdown-item:hover *{color:rgb(209, 213, 219)!important}"}],"page":{"pagePath":"api-reference/agent-checkouts/create-agent-checkout","slug":"/api-reference/agent-checkouts/create-agent-checkout","pageMetadata":{"title":"Create Agent Checkout","sidebarTitle":"Create Agent Checkout","openapi":"api-reference/_open-api/Agents.json POST /unstable/agent-checkouts","description":"Starts a checkout run: the agent opens `startUrl`, works toward `task` within `constraints`, and reports back through the run's messages. Without a `startUrl`, `task` is required: the run finds products for it and asks the buyer to choose one before it opens a page. A `buyerProfileId` supplies identity and shipping details; `browser.profileId` reuses the user's saved merchant session; send it on every checkout for that user. The response is the run in `queued` status. Poll Get Agent Checkout or stream its messages to follow it.\n\n**API scope required**: `agent-checkouts.create`","href":"/api-reference/agent-checkouts/create-agent-checkout"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Starts a checkout run: the agent opens \", _jsx(_components.code, {\n children: \"startUrl\"\n }), \", works toward \", _jsx(_components.code, {\n children: \"task\"\n }), \" within \", _jsx(_components.code, {\n children: \"constraints\"\n }), \", and reports back through the run’s messages. Without a \", _jsx(_components.code, {\n children: \"startUrl\"\n }), \", \", _jsx(_components.code, {\n children: \"task\"\n }), \" is required: the run finds products for it and asks the buyer to choose one before it opens a page. A \", _jsx(_components.code, {\n children: \"buyerProfileId\"\n }), \" supplies identity and shipping details; \", _jsx(_components.code, {\n children: \"browser.profileId\"\n }), \" reuses the user’s saved merchant session; send it on every checkout for that user. The response is the run in \", _jsx(_components.code, {\n children: \"queued\"\n }), \" status. Poll Get Agent Checkout or stream its messages to follow it.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"API scope required\"\n }), \": \", _jsx(_components.code, {\n children: \"agent-checkouts.create\"\n })]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,..._provideComponents(),...props.components},{Note}=_components;if(!Note)_missingMdxReference(`Note`,true);return _jsx(_components.p,{children:_jsxs(Note,{children:[`Agent Checkouts uses production API keys. A staging key gets `,_jsx(_components.code,{children:`403`}),` with the message \"Agent Checkouts is only available in production\". See `,_jsx(_components.a,{href:`/agents/checkouts/test-agent-checkouts`,children:`Test Agent Checkouts`}),`.`]})})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Agent Checkout","sidebarTitle":"Create Agent Checkout","openapi":"api-reference/_open-api/Agents.json POST /unstable/agent-checkouts","description":"Starts a checkout run: the agent opens `startUrl`, works toward `task` within `constraints`, and reports back through the run's messages. Without a `startUrl`, `task` is required: the run finds products for it and asks the buyer to choose one before it opens a page. A `buyerProfileId` supplies identity and shipping details; `browser.profileId` reuses the user's saved merchant session; send it on every checkout for that user. The response is the run in `queued` status. Poll Get Agent Checkout or stream its messages to follow it.\n\n**API scope required**: `agent-checkouts.create`","href":"/api-reference/agent-checkouts/create-agent-checkout"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/crossmint/d1c432d03c0c4224/scripts/dd.js","/_mintlify/custom/crossmint/7fc8d54052d3edb0/scripts/hubspot.js"],"openApiReferenceData":{"operation":{"description":"Starts a checkout run: the agent opens `startUrl`, works toward `task` within `constraints`, and reports back through the run's messages. Without a `startUrl`, `task` is required: the run finds products for it and asks the buyer to choose one before it opens a page. A `buyerProfileId` supplies identity and shipping details; `browser.profileId` reuses the user's saved merchant session; send it on every checkout for that user. The response is the run in `queued` status. Poll Get Agent Checkout or stream its messages to follow it.\n\n**API scope required**: `agent-checkouts.create`","operationId":"agentCheckouts.create","parameters":["b5a99a5e-fc6e-41eb-90cf-8d7809fc5cad"],"requestBody":"bd23a697-1789-442f-80ef-9640153574a4","responses":{"202":"1524f2a2-e724-43b5-9ddc-0c6b8fb8e077","400":"36bada4e-09a6-432e-89ea-a6e94668c540","401":"7edfc328-4d05-4112-81ad-03271a87532e","403":"a98f4518-4d7e-4ffc-978a-0f77e9ebcb50","409":"569ed7e6-54ff-4c45-8615-db00c0bbff28","502":"7e17948b-21df-4453-8acc-56fc5c9ddabd","503":"0c33347c-30e6-4b92-b03d-67af3b24660d"},"security":["7c6b59ea-e00d-4e1d-9c6b-525d506e1859","b8ce850a-3dbb-4a4c-80f9-fd4de8eed878"],"summary":"Create Agent Checkout","tags":["Agent Checkouts"],"method":"post","type":"path","servers":["fb58a98f-10d4-4134-b36b-b4b7aaf719eb","fe7d279a-529a-4bb9-b6e1-5e9af265646a"],"path":"/unstable/agent-checkouts","baseUrlOptions":["https://staging.crossmint.com/api","https://www.crossmint.com/api"],"title":"Create Agent Checkout","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.constraints.maxCost.amount":"20.00","body.constraints.maxCost.currency":"USD","body.request.startUrl":"https://shop.example.com/products/sticker-pack","body.request.task":"Go to the checkout for one sticker pack, with standard delivery."},{"body.constraints.maxCost.amount":"20.00","body.constraints.maxCost.currency":"USD","body.request.startUrl":"https://shop.example.com/products/sticker-pack","body.request.task":"Go to the checkout for one sticker pack, with standard delivery.","body.browser.profileId":"1d2e3f4a-5b6c-4d7e-8f9a-0b1c2d3e4f5a","body.buyerProfileId":"6f0b8a3e-2c4d-4e5f-9a1b-3c5d7e9f1a2b"}]},"dependencies":{"parameters":{"b5a99a5e-fc6e-41eb-90cf-8d7809fc5cad":{"description":"Server-side subject to act on behalf of. Ignored for client-side user auth.","in":"header","name":"x-crossmint-user-id","required":false,"schema":{"type":"string","isRequired":false,"description":"Server-side subject to act on behalf of. Ignored for client-side user auth.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"examples":{"Buy a Product":{"title":"Buy a Product","description":"Start a checkout from a product page, with a task and the most the agent can spend.","value":{"constraints":{"maxCost":{"amount":"20.00","currency":"USD"}},"request":{"startUrl":"https://shop.example.com/products/sticker-pack","task":"Go to the checkout for one sticker pack, with standard delivery."}}},"Use Saved Profiles":{"title":"Use Saved Profiles","description":"Reuse a buyer profile for the shipping details and a browser profile for the merchant session.","value":{"browser":{"profileId":"1d2e3f4a-5b6c-4d7e-8f9a-0b1c2d3e4f5a"},"buyerProfileId":"6f0b8a3e-2c4d-4e5f-9a1b-3c5d7e9f1a2b","constraints":{"maxCost":{"amount":"20.00","currency":"USD"}},"request":{"startUrl":"https://shop.example.com/products/sticker-pack","task":"Go to the checkout for one sticker pack, with standard delivery."}}}},"schema":{"additionalProperties":false,"properties":{"constraints":{"description":"maxCost is the most this run may authorize for the purchase, compared only in its own currency. When the merchant charges in another currency, a card payment is requested for the exact total in that currency, without conversion or a check against maxCost; the buyer's approval of that amount is the check.","properties":{"maxCost":{"properties":{"amount":{"pattern":"^(?:0\\.(?=\\d*[1-9])\\d{1,6}|[1-9]\\d{0,14}(?:\\.\\d{1,6})?)$","type":"string","isRequired":true,"uniqueKey":"constraints.maxCost.amount","typeLabel":"string"},"currency":{"pattern":"^[A-Z]{3}$","type":"string","isRequired":true,"uniqueKey":"constraints.maxCost.currency","typeLabel":"string"}},"required":["amount","currency"],"type":"object","isRequired":true,"uniqueKey":"constraints.maxCost","typeLabel":"object"}},"required":["maxCost"],"type":"object","isRequired":true,"uniqueKey":"constraints","typeLabel":"object"},"request":{"properties":{"startUrl":{"format":"uri","type":"string","uniqueKey":"request.startUrl","typeLabel":"string\u003curi>"},"task":{"maxLength":20000,"minLength":1,"type":"string","uniqueKey":"request.task","typeLabel":"string"}},"type":"object","isRequired":true,"uniqueKey":"request","typeLabel":"object"},"browser":{"description":"Browser profile and requested location, or a caller-owned browser; provide at least one property. A CDP connection excludes the other properties","properties":{"cdp":{"description":"Caller-owned browser controlled through CDP. Cannot be combined with profileId or location. UC connects and disconnects; it never launches or closes it. Never returned by the API","properties":{"url":{"description":"Chrome DevTools Protocol endpoint UC connects to. Production accepts only wss URLs to public hosts","format":"uri","maxLength":4096,"type":"string","isRequired":true,"uniqueKey":"browser.cdp.url","typeLabel":"string\u003curi>"},"headers":{"additionalProperties":{"maxLength":8192,"type":"string","uniqueKey":"browser.cdp.headers.additionalProperties","typeLabel":"string"},"description":"Headers sent when connecting to the CDP endpoint, such as provider credentials","propertyNames":{"type":"string"},"type":"object","uniqueKey":"browser.cdp.headers","typeLabel":"object"}},"required":["url"],"type":"object","uniqueKey":"browser.cdp","typeLabel":"object"},"location":{"properties":{"countryCode":{"description":"ISO 3166-1 alpha-2 country code; input is trimmed and uppercased","type":"string","isRequired":true,"uniqueKey":"browser.location.countryCode","typeLabel":"string"},"type":{"enum":["country"],"type":"string","isRequired":true,"uniqueKey":"browser.location.type","typeLabel":"enum\u003cstring>"}},"required":["countryCode","type"],"type":"object","uniqueKey":"browser.location","typeLabel":"object"},"profileId":{"type":"string","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"browser.profileId","typeLabel":"string"}},"type":"object","uniqueKey":"browser","typeLabel":"object"},"buyerProfileId":{"type":"string","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"buyerProfileId","typeLabel":"string"},"merchantGuidance":{"maxLength":20000,"minLength":1,"type":"string","uniqueKey":"merchantGuidance","typeLabel":"string"}},"required":["constraints","request"],"type":"object","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"required":true,"exampleType":"examples"},"responses":{"1524f2a2-e724-43b5-9ddc-0c6b8fb8e077":{"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["browser","createdAt","input","reason","requiredAction","revision","runId","status"],"properties":{"browser":{"oneOf":[{"type":"object","required":["embedUrl","permissions"],"properties":{"embedUrl":{"format":"uri","type":"string","isRequired":true,"uniqueKey":"oneOf.0.browser.oneOf.0.embedUrl","typeLabel":"string\u003curi>"},"permissions":{"items":{"enum":["read"],"type":"string","uniqueKey":"oneOf.0.browser.oneOf.0.permissions.items.[INDEX]","typeLabel":"enum\u003cstring>"},"maxItems":1,"minItems":1,"readOnly":true,"type":"array","isRequired":true,"uniqueKey":"oneOf.0.browser.oneOf.0.permissions","typeLabel":"enum\u003cstring>[]"}},"isRequired":true,"uniqueKey":"oneOf.0.browser.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.0.browser.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.browser","typeLabel":"object | null"},"createdAt":{"type":"string","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","isRequired":true,"uniqueKey":"oneOf.0.createdAt","typeLabel":"string"},"input":{"properties":{"constraints":{"properties":{"maxCost":{"properties":{"amount":{"pattern":"^(?:0\\.(?=\\d*[1-9])\\d{1,6}|[1-9]\\d{0,14}(?:\\.\\d{1,6})?)$","type":"string","isRequired":true,"uniqueKey":"oneOf.0.input.constraints.maxCost.amount","typeLabel":"string"},"currency":{"pattern":"^[A-Z]{3}$","type":"string","isRequired":true,"uniqueKey":"oneOf.0.input.constraints.maxCost.currency","typeLabel":"string"}},"required":["amount","currency"],"type":"object","isRequired":true,"uniqueKey":"oneOf.0.input.constraints.maxCost","typeLabel":"object"}},"required":["maxCost"],"type":"object","isRequired":true,"uniqueKey":"oneOf.0.input.constraints","typeLabel":"object"},"request":{"properties":{"startUrl":{"format":"uri","type":"string","uniqueKey":"oneOf.0.input.request.startUrl","typeLabel":"string\u003curi>"},"task":{"maxLength":20000,"minLength":1,"type":"string","uniqueKey":"oneOf.0.input.request.task","typeLabel":"string"}},"type":"object","isRequired":true,"uniqueKey":"oneOf.0.input.request","typeLabel":"object"},"browser":{"description":"Browser profile and requested location, or a redacted caller-owned browser; at least one property","properties":{"cdp":{"description":"A caller-owned CDP browser was supplied; its endpoint is never returned","properties":{"redacted":{"const":true,"type":"boolean","isRequired":true,"uniqueKey":"oneOf.0.input.browser.cdp.redacted","typeLabel":"boolean"}},"required":["redacted"],"type":"object","uniqueKey":"oneOf.0.input.browser.cdp","typeLabel":"object"},"location":{"properties":{"countryCode":{"description":"ISO 3166-1 alpha-2 country code; input is trimmed and uppercased","type":"string","isRequired":true,"uniqueKey":"oneOf.0.input.browser.location.countryCode","typeLabel":"string"},"type":{"enum":["country"],"type":"string","isRequired":true,"uniqueKey":"oneOf.0.input.browser.location.type","typeLabel":"enum\u003cstring>"}},"required":["countryCode","type"],"type":"object","uniqueKey":"oneOf.0.input.browser.location","typeLabel":"object"},"profileId":{"type":"string","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"oneOf.0.input.browser.profileId","typeLabel":"string"}},"type":"object","uniqueKey":"oneOf.0.input.browser","typeLabel":"object"},"buyerProfileId":{"type":"string","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"oneOf.0.input.buyerProfileId","typeLabel":"string"},"merchantGuidance":{"maxLength":20000,"minLength":1,"type":"string","uniqueKey":"oneOf.0.input.merchantGuidance","typeLabel":"string"}},"required":["constraints","request"],"type":"object","isRequired":true,"uniqueKey":"oneOf.0.input","typeLabel":"object"},"reason":{"enum":["accounting_unavailable","browser_location_unsupported","browser_session_lost","cancelled","cost_limit","input_expired","model_error","reconciliation_required","runtime_error"],"type":"string","isRequired":true,"uniqueKey":"oneOf.0.reason","typeLabel":"enum\u003cstring>"},"requiredAction":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"oneOf.0.requiredAction.oneOf.0","typeLabel":"null"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.0.requiredAction.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.requiredAction","typeLabel":"null"},"revision":{"description":"Monotonically increasing version of this run snapshot. When combining polling and stream updates, retain the snapshot with the greatest revision; values may skip and have no meaning beyond ordering","maximum":9007199254740991,"minimum":0,"type":"integer","isRequired":true,"uniqueKey":"oneOf.0.revision","typeLabel":"integer"},"runId":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.0.runId","typeLabel":"string"},"status":{"enum":["failed"],"type":"string","isRequired":true,"uniqueKey":"oneOf.0.status","typeLabel":"enum\u003cstring>"},"continuedIn":{"description":"The run started at the alternative the buyer chose after this run could not buy; that run buys it","properties":{"runId":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.0.continuedIn.runId","typeLabel":"string"}},"required":["runId"],"type":"object","uniqueKey":"oneOf.0.continuedIn","typeLabel":"object"},"continues":{"description":"The run this one continues: it buys the alternative its buyer chose after that run could not buy","properties":{"runId":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.0.continues.runId","typeLabel":"string"}},"required":["runId"],"type":"object","uniqueKey":"oneOf.0.continues","typeLabel":"object"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["browser","createdAt","input","requiredAction","result","revision","runId","status"],"properties":{"browser":{"oneOf":[{"type":"object","required":["embedUrl","permissions"],"properties":{"embedUrl":{"format":"uri","type":"string","isRequired":true,"uniqueKey":"oneOf.1.browser.oneOf.0.embedUrl","typeLabel":"string\u003curi>"},"permissions":{"items":{"enum":["read"],"type":"string","uniqueKey":"oneOf.1.browser.oneOf.0.permissions.items.[INDEX]","typeLabel":"enum\u003cstring>"},"maxItems":1,"minItems":1,"readOnly":true,"type":"array","isRequired":true,"uniqueKey":"oneOf.1.browser.oneOf.0.permissions","typeLabel":"enum\u003cstring>[]"}},"isRequired":true,"uniqueKey":"oneOf.1.browser.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.1.browser.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.browser","typeLabel":"object | null"},"createdAt":{"type":"string","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","isRequired":true,"uniqueKey":"oneOf.1.createdAt","typeLabel":"string"},"input":{"properties":{"constraints":{"properties":{"maxCost":{"properties":{"amount":{"pattern":"^(?:0\\.(?=\\d*[1-9])\\d{1,6}|[1-9]\\d{0,14}(?:\\.\\d{1,6})?)$","type":"string","isRequired":true,"uniqueKey":"oneOf.1.input.constraints.maxCost.amount","typeLabel":"string"},"currency":{"pattern":"^[A-Z]{3}$","type":"string","isRequired":true,"uniqueKey":"oneOf.1.input.constraints.maxCost.currency","typeLabel":"string"}},"required":["amount","currency"],"type":"object","isRequired":true,"uniqueKey":"oneOf.1.input.constraints.maxCost","typeLabel":"object"}},"required":["maxCost"],"type":"object","isRequired":true,"uniqueKey":"oneOf.1.input.constraints","typeLabel":"object"},"request":{"properties":{"startUrl":{"format":"uri","type":"string","uniqueKey":"oneOf.1.input.request.startUrl","typeLabel":"string\u003curi>"},"task":{"maxLength":20000,"minLength":1,"type":"string","uniqueKey":"oneOf.1.input.request.task","typeLabel":"string"}},"type":"object","isRequired":true,"uniqueKey":"oneOf.1.input.request","typeLabel":"object"},"browser":{"description":"Browser profile and requested location, or a redacted caller-owned browser; at least one property","properties":{"cdp":{"description":"A caller-owned CDP browser was supplied; its endpoint is never returned","properties":{"redacted":{"const":true,"type":"boolean","isRequired":true,"uniqueKey":"oneOf.1.input.browser.cdp.redacted","typeLabel":"boolean"}},"required":["redacted"],"type":"object","uniqueKey":"oneOf.1.input.browser.cdp","typeLabel":"object"},"location":{"properties":{"countryCode":{"description":"ISO 3166-1 alpha-2 country code; input is trimmed and uppercased","type":"string","isRequired":true,"uniqueKey":"oneOf.1.input.browser.location.countryCode","typeLabel":"string"},"type":{"enum":["country"],"type":"string","isRequired":true,"uniqueKey":"oneOf.1.input.browser.location.type","typeLabel":"enum\u003cstring>"}},"required":["countryCode","type"],"type":"object","uniqueKey":"oneOf.1.input.browser.location","typeLabel":"object"},"profileId":{"type":"string","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"oneOf.1.input.browser.profileId","typeLabel":"string"}},"type":"object","uniqueKey":"oneOf.1.input.browser","typeLabel":"object"},"buyerProfileId":{"type":"string","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"oneOf.1.input.buyerProfileId","typeLabel":"string"},"merchantGuidance":{"maxLength":20000,"minLength":1,"type":"string","uniqueKey":"oneOf.1.input.merchantGuidance","typeLabel":"string"}},"required":["constraints","request"],"type":"object","isRequired":true,"uniqueKey":"oneOf.1.input","typeLabel":"object"},"requiredAction":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"oneOf.1.requiredAction.oneOf.0","typeLabel":"null"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.1.requiredAction.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.requiredAction","typeLabel":"null"},"result":{"properties":{"code":{"enum":["merchant.access_blocked","merchant.checkout_error","merchant.fulfillment_unavailable","merchant.human_verification_required","merchant.no_safe_path","merchant.payment_declined","policy.max_cost_exceeded","product.item_unavailable","product.requested_option_unavailable"],"type":"string","isRequired":true,"uniqueKey":"oneOf.1.result.code","typeLabel":"enum\u003cstring>"},"outcome":{"enum":["blocked"],"type":"string","isRequired":true,"uniqueKey":"oneOf.1.result.outcome","typeLabel":"enum\u003cstring>"},"summary":{"maxLength":2000,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.1.result.summary","typeLabel":"string"}},"required":["code","outcome","summary"],"type":"object","isRequired":true,"uniqueKey":"oneOf.1.result","typeLabel":"object"},"revision":{"description":"Monotonically increasing version of this run snapshot. When combining polling and stream updates, retain the snapshot with the greatest revision; values may skip and have no meaning beyond ordering","maximum":9007199254740991,"minimum":0,"type":"integer","isRequired":true,"uniqueKey":"oneOf.1.revision","typeLabel":"integer"},"runId":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.1.runId","typeLabel":"string"},"status":{"enum":["blocked"],"type":"string","isRequired":true,"uniqueKey":"oneOf.1.status","typeLabel":"enum\u003cstring>"},"continuedIn":{"description":"The run started at the alternative the buyer chose after this run could not buy; that run buys it","properties":{"runId":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.1.continuedIn.runId","typeLabel":"string"}},"required":["runId"],"type":"object","uniqueKey":"oneOf.1.continuedIn","typeLabel":"object"},"continues":{"description":"The run this one continues: it buys the alternative its buyer chose after that run could not buy","properties":{"runId":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.1.continues.runId","typeLabel":"string"}},"required":["runId"],"type":"object","uniqueKey":"oneOf.1.continues","typeLabel":"object"}},"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","required":["browser","createdAt","input","requiredAction","result","revision","runId","status"],"properties":{"browser":{"oneOf":[{"type":"object","required":["embedUrl","permissions"],"properties":{"embedUrl":{"format":"uri","type":"string","isRequired":true,"uniqueKey":"oneOf.2.browser.oneOf.0.embedUrl","typeLabel":"string\u003curi>"},"permissions":{"items":{"enum":["read"],"type":"string","uniqueKey":"oneOf.2.browser.oneOf.0.permissions.items.[INDEX]","typeLabel":"enum\u003cstring>"},"maxItems":1,"minItems":1,"readOnly":true,"type":"array","isRequired":true,"uniqueKey":"oneOf.2.browser.oneOf.0.permissions","typeLabel":"enum\u003cstring>[]"}},"isRequired":true,"uniqueKey":"oneOf.2.browser.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.2.browser.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.browser","typeLabel":"object | null"},"createdAt":{"type":"string","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","isRequired":true,"uniqueKey":"oneOf.2.createdAt","typeLabel":"string"},"input":{"properties":{"constraints":{"properties":{"maxCost":{"properties":{"amount":{"pattern":"^(?:0\\.(?=\\d*[1-9])\\d{1,6}|[1-9]\\d{0,14}(?:\\.\\d{1,6})?)$","type":"string","isRequired":true,"uniqueKey":"oneOf.2.input.constraints.maxCost.amount","typeLabel":"string"},"currency":{"pattern":"^[A-Z]{3}$","type":"string","isRequired":true,"uniqueKey":"oneOf.2.input.constraints.maxCost.currency","typeLabel":"string"}},"required":["amount","currency"],"type":"object","isRequired":true,"uniqueKey":"oneOf.2.input.constraints.maxCost","typeLabel":"object"}},"required":["maxCost"],"type":"object","isRequired":true,"uniqueKey":"oneOf.2.input.constraints","typeLabel":"object"},"request":{"properties":{"startUrl":{"format":"uri","type":"string","uniqueKey":"oneOf.2.input.request.startUrl","typeLabel":"string\u003curi>"},"task":{"maxLength":20000,"minLength":1,"type":"string","uniqueKey":"oneOf.2.input.request.task","typeLabel":"string"}},"type":"object","isRequired":true,"uniqueKey":"oneOf.2.input.request","typeLabel":"object"},"browser":{"description":"Browser profile and requested location, or a redacted caller-owned browser; at least one property","properties":{"cdp":{"description":"A caller-owned CDP browser was supplied; its endpoint is never returned","properties":{"redacted":{"const":true,"type":"boolean","isRequired":true,"uniqueKey":"oneOf.2.input.browser.cdp.redacted","typeLabel":"boolean"}},"required":["redacted"],"type":"object","uniqueKey":"oneOf.2.input.browser.cdp","typeLabel":"object"},"location":{"properties":{"countryCode":{"description":"ISO 3166-1 alpha-2 country code; input is trimmed and uppercased","type":"string","isRequired":true,"uniqueKey":"oneOf.2.input.browser.location.countryCode","typeLabel":"string"},"type":{"enum":["country"],"type":"string","isRequired":true,"uniqueKey":"oneOf.2.input.browser.location.type","typeLabel":"enum\u003cstring>"}},"required":["countryCode","type"],"type":"object","uniqueKey":"oneOf.2.input.browser.location","typeLabel":"object"},"profileId":{"type":"string","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"oneOf.2.input.browser.profileId","typeLabel":"string"}},"type":"object","uniqueKey":"oneOf.2.input.browser","typeLabel":"object"},"buyerProfileId":{"type":"string","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"oneOf.2.input.buyerProfileId","typeLabel":"string"},"merchantGuidance":{"maxLength":20000,"minLength":1,"type":"string","uniqueKey":"oneOf.2.input.merchantGuidance","typeLabel":"string"}},"required":["constraints","request"],"type":"object","isRequired":true,"uniqueKey":"oneOf.2.input","typeLabel":"object"},"requiredAction":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"oneOf.2.requiredAction.oneOf.0","typeLabel":"null"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.2.requiredAction.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.requiredAction","typeLabel":"null"},"result":{"properties":{"outcome":{"enum":["cancelled"],"type":"string","isRequired":true,"uniqueKey":"oneOf.2.result.outcome","typeLabel":"enum\u003cstring>"},"summary":{"maxLength":2000,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.2.result.summary","typeLabel":"string"}},"required":["outcome","summary"],"type":"object","isRequired":true,"uniqueKey":"oneOf.2.result","typeLabel":"object"},"revision":{"description":"Monotonically increasing version of this run snapshot. When combining polling and stream updates, retain the snapshot with the greatest revision; values may skip and have no meaning beyond ordering","maximum":9007199254740991,"minimum":0,"type":"integer","isRequired":true,"uniqueKey":"oneOf.2.revision","typeLabel":"integer"},"runId":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.2.runId","typeLabel":"string"},"status":{"enum":["cancelled"],"type":"string","isRequired":true,"uniqueKey":"oneOf.2.status","typeLabel":"enum\u003cstring>"},"continues":{"description":"The run this one continues: it buys the alternative its buyer chose after that run could not buy","properties":{"runId":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.2.continues.runId","typeLabel":"string"}},"required":["runId"],"type":"object","uniqueKey":"oneOf.2.continues","typeLabel":"object"}},"uniqueKey":"oneOf.2","typeLabel":"object"},{"type":"object","required":["browser","createdAt","input","requiredAction","result","revision","runId","status"],"properties":{"browser":{"oneOf":[{"type":"object","required":["embedUrl","permissions"],"properties":{"embedUrl":{"format":"uri","type":"string","isRequired":true,"uniqueKey":"oneOf.3.browser.oneOf.0.embedUrl","typeLabel":"string\u003curi>"},"permissions":{"items":{"enum":["read"],"type":"string","uniqueKey":"oneOf.3.browser.oneOf.0.permissions.items.[INDEX]","typeLabel":"enum\u003cstring>"},"maxItems":1,"minItems":1,"readOnly":true,"type":"array","isRequired":true,"uniqueKey":"oneOf.3.browser.oneOf.0.permissions","typeLabel":"enum\u003cstring>[]"}},"isRequired":true,"uniqueKey":"oneOf.3.browser.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.3.browser.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.3.browser","typeLabel":"object | null"},"createdAt":{"type":"string","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","isRequired":true,"uniqueKey":"oneOf.3.createdAt","typeLabel":"string"},"input":{"properties":{"constraints":{"properties":{"maxCost":{"properties":{"amount":{"pattern":"^(?:0\\.(?=\\d*[1-9])\\d{1,6}|[1-9]\\d{0,14}(?:\\.\\d{1,6})?)$","type":"string","isRequired":true,"uniqueKey":"oneOf.3.input.constraints.maxCost.amount","typeLabel":"string"},"currency":{"pattern":"^[A-Z]{3}$","type":"string","isRequired":true,"uniqueKey":"oneOf.3.input.constraints.maxCost.currency","typeLabel":"string"}},"required":["amount","currency"],"type":"object","isRequired":true,"uniqueKey":"oneOf.3.input.constraints.maxCost","typeLabel":"object"}},"required":["maxCost"],"type":"object","isRequired":true,"uniqueKey":"oneOf.3.input.constraints","typeLabel":"object"},"request":{"properties":{"startUrl":{"format":"uri","type":"string","uniqueKey":"oneOf.3.input.request.startUrl","typeLabel":"string\u003curi>"},"task":{"maxLength":20000,"minLength":1,"type":"string","uniqueKey":"oneOf.3.input.request.task","typeLabel":"string"}},"type":"object","isRequired":true,"uniqueKey":"oneOf.3.input.request","typeLabel":"object"},"browser":{"description":"Browser profile and requested location, or a redacted caller-owned browser; at least one property","properties":{"cdp":{"description":"A caller-owned CDP browser was supplied; its endpoint is never returned","properties":{"redacted":{"const":true,"type":"boolean","isRequired":true,"uniqueKey":"oneOf.3.input.browser.cdp.redacted","typeLabel":"boolean"}},"required":["redacted"],"type":"object","uniqueKey":"oneOf.3.input.browser.cdp","typeLabel":"object"},"location":{"properties":{"countryCode":{"description":"ISO 3166-1 alpha-2 country code; input is trimmed and uppercased","type":"string","isRequired":true,"uniqueKey":"oneOf.3.input.browser.location.countryCode","typeLabel":"string"},"type":{"enum":["country"],"type":"string","isRequired":true,"uniqueKey":"oneOf.3.input.browser.location.type","typeLabel":"enum\u003cstring>"}},"required":["countryCode","type"],"type":"object","uniqueKey":"oneOf.3.input.browser.location","typeLabel":"object"},"profileId":{"type":"string","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"oneOf.3.input.browser.profileId","typeLabel":"string"}},"type":"object","uniqueKey":"oneOf.3.input.browser","typeLabel":"object"},"buyerProfileId":{"type":"string","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"oneOf.3.input.buyerProfileId","typeLabel":"string"},"merchantGuidance":{"maxLength":20000,"minLength":1,"type":"string","uniqueKey":"oneOf.3.input.merchantGuidance","typeLabel":"string"}},"required":["constraints","request"],"type":"object","isRequired":true,"uniqueKey":"oneOf.3.input","typeLabel":"object"},"requiredAction":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"oneOf.3.requiredAction.oneOf.0","typeLabel":"null"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.3.requiredAction.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.3.requiredAction","typeLabel":"null"},"result":{"properties":{"outcome":{"enum":["succeeded"],"type":"string","isRequired":true,"uniqueKey":"oneOf.3.result.outcome","typeLabel":"enum\u003cstring>"},"purchase":{"oneOf":[{"type":"object","required":["kind"],"properties":{"kind":{"enum":["confirmed_without_receipt"],"type":"string","isRequired":true,"uniqueKey":"oneOf.3.result.purchase.oneOf.0.kind","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.3.result.purchase.oneOf.0","typeLabel":"object"},{"type":"object","required":["kind"],"properties":{"kind":{"enum":["nothing_placed"],"type":"string","isRequired":true,"uniqueKey":"oneOf.3.result.purchase.oneOf.1.kind","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.3.result.purchase.oneOf.1","typeLabel":"object"},{"type":"object","required":["kind","receipt"],"properties":{"kind":{"enum":["receipt_captured"],"type":"string","isRequired":true,"uniqueKey":"oneOf.3.result.purchase.oneOf.2.kind","typeLabel":"enum\u003cstring>"},"receipt":{"properties":{"total":{"properties":{"amount":{"pattern":"^(?:0|[1-9]\\d{0,14})(?:\\.\\d{1,6})?$","type":"string","isRequired":true,"uniqueKey":"oneOf.3.result.purchase.oneOf.2.receipt.total.amount","typeLabel":"string"},"currency":{"pattern":"^[A-Z]{3}$","type":"string","isRequired":true,"uniqueKey":"oneOf.3.result.purchase.oneOf.2.receipt.total.currency","typeLabel":"string"}},"required":["amount","currency"],"type":"object","isRequired":true,"uniqueKey":"oneOf.3.result.purchase.oneOf.2.receipt.total","typeLabel":"object"},"merchantOrderId":{"maxLength":500,"minLength":1,"type":"string","uniqueKey":"oneOf.3.result.purchase.oneOf.2.receipt.merchantOrderId","typeLabel":"string"}},"required":["total"],"type":"object","isRequired":true,"uniqueKey":"oneOf.3.result.purchase.oneOf.2.receipt","typeLabel":"object"}},"isRequired":true,"uniqueKey":"oneOf.3.result.purchase.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"oneOf.3.result.purchase","typeLabel":"object"},"summary":{"maxLength":2000,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.3.result.summary","typeLabel":"string"}},"required":["outcome","purchase","summary"],"type":"object","isRequired":true,"uniqueKey":"oneOf.3.result","typeLabel":"object"},"revision":{"description":"Monotonically increasing version of this run snapshot. When combining polling and stream updates, retain the snapshot with the greatest revision; values may skip and have no meaning beyond ordering","maximum":9007199254740991,"minimum":0,"type":"integer","isRequired":true,"uniqueKey":"oneOf.3.revision","typeLabel":"integer"},"runId":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.3.runId","typeLabel":"string"},"status":{"enum":["succeeded"],"type":"string","isRequired":true,"uniqueKey":"oneOf.3.status","typeLabel":"enum\u003cstring>"},"continues":{"description":"The run this one continues: it buys the alternative its buyer chose after that run could not buy","properties":{"runId":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.3.continues.runId","typeLabel":"string"}},"required":["runId"],"type":"object","uniqueKey":"oneOf.3.continues","typeLabel":"object"}},"uniqueKey":"oneOf.3","typeLabel":"object"},{"type":"object","required":["browser","createdAt","input","requiredAction","revision","runId","status"],"properties":{"browser":{"oneOf":[{"type":"object","required":["embedUrl","permissions"],"properties":{"embedUrl":{"format":"uri","type":"string","isRequired":true,"uniqueKey":"oneOf.4.browser.oneOf.0.embedUrl","typeLabel":"string\u003curi>"},"permissions":{"items":{"enum":["read"],"type":"string","uniqueKey":"oneOf.4.browser.oneOf.0.permissions.items.[INDEX]","typeLabel":"enum\u003cstring>"},"maxItems":1,"minItems":1,"readOnly":true,"type":"array","isRequired":true,"uniqueKey":"oneOf.4.browser.oneOf.0.permissions","typeLabel":"enum\u003cstring>[]"}},"isRequired":true,"uniqueKey":"oneOf.4.browser.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.4.browser.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.4.browser","typeLabel":"object | null"},"createdAt":{"type":"string","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","isRequired":true,"uniqueKey":"oneOf.4.createdAt","typeLabel":"string"},"input":{"properties":{"constraints":{"properties":{"maxCost":{"properties":{"amount":{"pattern":"^(?:0\\.(?=\\d*[1-9])\\d{1,6}|[1-9]\\d{0,14}(?:\\.\\d{1,6})?)$","type":"string","isRequired":true,"uniqueKey":"oneOf.4.input.constraints.maxCost.amount","typeLabel":"string"},"currency":{"pattern":"^[A-Z]{3}$","type":"string","isRequired":true,"uniqueKey":"oneOf.4.input.constraints.maxCost.currency","typeLabel":"string"}},"required":["amount","currency"],"type":"object","isRequired":true,"uniqueKey":"oneOf.4.input.constraints.maxCost","typeLabel":"object"}},"required":["maxCost"],"type":"object","isRequired":true,"uniqueKey":"oneOf.4.input.constraints","typeLabel":"object"},"request":{"properties":{"startUrl":{"format":"uri","type":"string","uniqueKey":"oneOf.4.input.request.startUrl","typeLabel":"string\u003curi>"},"task":{"maxLength":20000,"minLength":1,"type":"string","uniqueKey":"oneOf.4.input.request.task","typeLabel":"string"}},"type":"object","isRequired":true,"uniqueKey":"oneOf.4.input.request","typeLabel":"object"},"browser":{"description":"Browser profile and requested location, or a redacted caller-owned browser; at least one property","properties":{"cdp":{"description":"A caller-owned CDP browser was supplied; its endpoint is never returned","properties":{"redacted":{"const":true,"type":"boolean","isRequired":true,"uniqueKey":"oneOf.4.input.browser.cdp.redacted","typeLabel":"boolean"}},"required":["redacted"],"type":"object","uniqueKey":"oneOf.4.input.browser.cdp","typeLabel":"object"},"location":{"properties":{"countryCode":{"description":"ISO 3166-1 alpha-2 country code; input is trimmed and uppercased","type":"string","isRequired":true,"uniqueKey":"oneOf.4.input.browser.location.countryCode","typeLabel":"string"},"type":{"enum":["country"],"type":"string","isRequired":true,"uniqueKey":"oneOf.4.input.browser.location.type","typeLabel":"enum\u003cstring>"}},"required":["countryCode","type"],"type":"object","uniqueKey":"oneOf.4.input.browser.location","typeLabel":"object"},"profileId":{"type":"string","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"oneOf.4.input.browser.profileId","typeLabel":"string"}},"type":"object","uniqueKey":"oneOf.4.input.browser","typeLabel":"object"},"buyerProfileId":{"type":"string","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"oneOf.4.input.buyerProfileId","typeLabel":"string"},"merchantGuidance":{"maxLength":20000,"minLength":1,"type":"string","uniqueKey":"oneOf.4.input.merchantGuidance","typeLabel":"string"}},"required":["constraints","request"],"type":"object","isRequired":true,"uniqueKey":"oneOf.4.input","typeLabel":"object"},"requiredAction":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"oneOf.4.requiredAction.oneOf.0","typeLabel":"null"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.4.requiredAction.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.4.requiredAction","typeLabel":"null"},"revision":{"description":"Monotonically increasing version of this run snapshot. When combining polling and stream updates, retain the snapshot with the greatest revision; values may skip and have no meaning beyond ordering","maximum":9007199254740991,"minimum":0,"type":"integer","isRequired":true,"uniqueKey":"oneOf.4.revision","typeLabel":"integer"},"runId":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.4.runId","typeLabel":"string"},"status":{"enum":["running"],"type":"string","isRequired":true,"uniqueKey":"oneOf.4.status","typeLabel":"enum\u003cstring>"},"continues":{"description":"The run this one continues: it buys the alternative its buyer chose after that run could not buy","properties":{"runId":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.4.continues.runId","typeLabel":"string"}},"required":["runId"],"type":"object","uniqueKey":"oneOf.4.continues","typeLabel":"object"}},"uniqueKey":"oneOf.4","typeLabel":"object"},{"type":"object","required":["browser","createdAt","input","requiredAction","revision","runId","status"],"properties":{"browser":{"oneOf":[{"type":"object","required":["embedUrl","permissions"],"properties":{"embedUrl":{"format":"uri","type":"string","isRequired":true,"uniqueKey":"oneOf.5.browser.oneOf.0.embedUrl","typeLabel":"string\u003curi>"},"permissions":{"items":{"enum":["read"],"type":"string","uniqueKey":"oneOf.5.browser.oneOf.0.permissions.items.[INDEX]","typeLabel":"enum\u003cstring>"},"maxItems":1,"minItems":1,"readOnly":true,"type":"array","isRequired":true,"uniqueKey":"oneOf.5.browser.oneOf.0.permissions","typeLabel":"enum\u003cstring>[]"}},"isRequired":true,"uniqueKey":"oneOf.5.browser.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.5.browser.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.5.browser","typeLabel":"object | null"},"createdAt":{"type":"string","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","isRequired":true,"uniqueKey":"oneOf.5.createdAt","typeLabel":"string"},"input":{"properties":{"constraints":{"properties":{"maxCost":{"properties":{"amount":{"pattern":"^(?:0\\.(?=\\d*[1-9])\\d{1,6}|[1-9]\\d{0,14}(?:\\.\\d{1,6})?)$","type":"string","isRequired":true,"uniqueKey":"oneOf.5.input.constraints.maxCost.amount","typeLabel":"string"},"currency":{"pattern":"^[A-Z]{3}$","type":"string","isRequired":true,"uniqueKey":"oneOf.5.input.constraints.maxCost.currency","typeLabel":"string"}},"required":["amount","currency"],"type":"object","isRequired":true,"uniqueKey":"oneOf.5.input.constraints.maxCost","typeLabel":"object"}},"required":["maxCost"],"type":"object","isRequired":true,"uniqueKey":"oneOf.5.input.constraints","typeLabel":"object"},"request":{"properties":{"startUrl":{"format":"uri","type":"string","uniqueKey":"oneOf.5.input.request.startUrl","typeLabel":"string\u003curi>"},"task":{"maxLength":20000,"minLength":1,"type":"string","uniqueKey":"oneOf.5.input.request.task","typeLabel":"string"}},"type":"object","isRequired":true,"uniqueKey":"oneOf.5.input.request","typeLabel":"object"},"browser":{"description":"Browser profile and requested location, or a redacted caller-owned browser; at least one property","properties":{"cdp":{"description":"A caller-owned CDP browser was supplied; its endpoint is never returned","properties":{"redacted":{"const":true,"type":"boolean","isRequired":true,"uniqueKey":"oneOf.5.input.browser.cdp.redacted","typeLabel":"boolean"}},"required":["redacted"],"type":"object","uniqueKey":"oneOf.5.input.browser.cdp","typeLabel":"object"},"location":{"properties":{"countryCode":{"description":"ISO 3166-1 alpha-2 country code; input is trimmed and uppercased","type":"string","isRequired":true,"uniqueKey":"oneOf.5.input.browser.location.countryCode","typeLabel":"string"},"type":{"enum":["country"],"type":"string","isRequired":true,"uniqueKey":"oneOf.5.input.browser.location.type","typeLabel":"enum\u003cstring>"}},"required":["countryCode","type"],"type":"object","uniqueKey":"oneOf.5.input.browser.location","typeLabel":"object"},"profileId":{"type":"string","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"oneOf.5.input.browser.profileId","typeLabel":"string"}},"type":"object","uniqueKey":"oneOf.5.input.browser","typeLabel":"object"},"buyerProfileId":{"type":"string","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"oneOf.5.input.buyerProfileId","typeLabel":"string"},"merchantGuidance":{"maxLength":20000,"minLength":1,"type":"string","uniqueKey":"oneOf.5.input.merchantGuidance","typeLabel":"string"}},"required":["constraints","request"],"type":"object","isRequired":true,"uniqueKey":"oneOf.5.input","typeLabel":"object"},"requiredAction":{"properties":{"messageId":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.messageId","typeLabel":"string"},"request":{"properties":{"expiresAt":{"type":"string","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.expiresAt","typeLabel":"string"},"interaction":{"oneOf":[{"type":"object","required":["amount","kind","merchant","method","purpose"],"properties":{"amount":{"properties":{"currency":{"pattern":"^[A-Z]{3}$","type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.0.amount.currency","typeLabel":"string"},"kind":{"enum":["exact","maximum"],"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.0.amount.kind","typeLabel":"enum\u003cstring>"},"value":{"pattern":"^(?:0\\.(?=\\d*[1-9])\\d{1,6}|[1-9]\\d{0,14}(?:\\.\\d{1,6})?)$","type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.0.amount.value","typeLabel":"string"}},"required":["currency","kind","value"],"type":"object","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.0.amount","typeLabel":"object"},"kind":{"enum":["payment"],"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"merchant":{"properties":{"countryCode":{"description":"ISO 3166-1 alpha-2 country code; input is trimmed and uppercased","type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.0.merchant.countryCode","typeLabel":"string"},"name":{"maxLength":200,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.0.merchant.name","typeLabel":"string"},"url":{"maxLength":2048,"pattern":"^https?:\\/\\/","type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.0.merchant.url","typeLabel":"string"}},"required":["countryCode","name","url"],"type":"object","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.0.merchant","typeLabel":"object"},"method":{"enum":["card"],"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.0.method","typeLabel":"enum\u003cstring>"},"purpose":{"enum":["checkout_payment"],"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.0.purpose","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.0","typeLabel":"object"},{"type":"object","required":["amount","authorizationUrl","kind","merchant","method","purpose"],"properties":{"amount":{"properties":{"currency":{"pattern":"^[A-Z]{3}$","type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.1.amount.currency","typeLabel":"string"},"kind":{"enum":["exact"],"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.1.amount.kind","typeLabel":"enum\u003cstring>"},"value":{"pattern":"^(?:0\\.(?=\\d*[1-9])\\d{1,6}|[1-9]\\d{0,14}(?:\\.\\d{1,6})?)$","type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.1.amount.value","typeLabel":"string"}},"required":["currency","kind","value"],"type":"object","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.1.amount","typeLabel":"object"},"authorizationUrl":{"description":"Absolute URL of UC's Klarna button, where the buyer pays with Klarna. Render it in an iframe from an origin UC allows to embed it; style the button with `theme=default|light|dark|outlined|pink`, `shape=default|pill|rect`, `logoAlignment=default|left|center` and `locale` (such as `en-US`). Anyone with this URL can pay this request; do not log or share it.","maxLength":2048,"pattern":"^https?:\\/\\/[^\\/?#]+\\/payments\\/klarna\\/[^\\/?#]+\\/[A-Za-z0-9_-]{32}$","type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.1.authorizationUrl","typeLabel":"string"},"kind":{"enum":["payment"],"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.1.kind","typeLabel":"enum\u003cstring>"},"merchant":{"properties":{"url":{"maxLength":2048,"pattern":"^https?:\\/\\/","type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.1.merchant.url","typeLabel":"string"}},"required":["url"],"type":"object","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.1.merchant","typeLabel":"object"},"method":{"enum":["klarna"],"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.1.method","typeLabel":"enum\u003cstring>"},"purpose":{"enum":["checkout_payment"],"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.1.purpose","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.1","typeLabel":"object"},{"type":"object","required":["fields","kind"],"properties":{"fields":{"items":{"oneOf":[{"type":"object","required":["handling","input","key","label","required"],"properties":{"handling":{"enum":["protected"],"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.0.handling","typeLabel":"enum\u003cstring>"},"input":{"oneOf":[{"type":"object","required":["kind"],"properties":{"kind":{"enum":["text"],"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.0.input.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"autoComplete":{"enum":["current-password","email","family-name","given-name","name","new-password","off","on","one-time-code","postal-code","street-address","tel","username"],"type":"string","uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.0.input.oneOf.0.autoComplete","typeLabel":"enum\u003cstring>"},"display":{"enum":["masked"],"type":"string","uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.0.input.oneOf.0.display","typeLabel":"enum\u003cstring>"},"inputMode":{"enum":["decimal","email","none","numeric","search","tel","text","url"],"type":"string","uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.0.input.oneOf.0.inputMode","typeLabel":"enum\u003cstring>"},"multiline":{"const":false,"type":"boolean","uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.0.input.oneOf.0.multiline","typeLabel":"boolean"},"placeholder":{"type":"string","uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.0.input.oneOf.0.placeholder","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.0.input.oneOf.0","typeLabel":"object"},{"type":"object","required":["kind"],"properties":{"kind":{"enum":["integer"],"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.0.input.oneOf.1.kind","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.0.input.oneOf.1","typeLabel":"object"},{"type":"object","required":["kind"],"properties":{"kind":{"enum":["number"],"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.0.input.oneOf.2.kind","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.0.input.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.0.input","typeLabel":"object"},"key":{"minLength":1,"pattern":"^(?!(?:__proto__|constructor|prototype)$)[\\s\\S]+$","type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.0.key","typeLabel":"string"},"label":{"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.0.label","typeLabel":"string"},"required":{"type":"boolean","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.0.required","typeLabel":"boolean"}},"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["handling","input","key","label","required"],"properties":{"handling":{"enum":["standard"],"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.handling","typeLabel":"enum\u003cstring>"},"input":{"oneOf":[{"type":"object","required":["kind"],"properties":{"kind":{"enum":["text"],"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"autoComplete":{"enum":["current-password","email","family-name","given-name","name","new-password","off","on","one-time-code","postal-code","street-address","tel","username"],"type":"string","uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.0.autoComplete","typeLabel":"enum\u003cstring>"},"display":{"enum":["masked"],"type":"string","uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.0.display","typeLabel":"enum\u003cstring>"},"inputMode":{"enum":["decimal","email","none","numeric","search","tel","text","url"],"type":"string","uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.0.inputMode","typeLabel":"enum\u003cstring>"},"multiline":{"type":"boolean","uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.0.multiline","typeLabel":"boolean"},"placeholder":{"type":"string","uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.0.placeholder","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.0","typeLabel":"object"},{"type":"object","required":["kind"],"properties":{"kind":{"enum":["boolean"],"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.1.kind","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.1","typeLabel":"object"},{"type":"object","required":["kind","options","selection"],"properties":{"kind":{"enum":["choice"],"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.2.kind","typeLabel":"enum\u003cstring>"},"options":{"items":{"properties":{"disabled":{"type":"boolean","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.2.options.items.[INDEX].disabled","typeLabel":"boolean"},"label":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.2.options.items.[INDEX].label","typeLabel":"string"},"placeholder":{"type":"boolean","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.2.options.items.[INDEX].placeholder","typeLabel":"boolean"},"selected":{"type":"boolean","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.2.options.items.[INDEX].selected","typeLabel":"boolean"},"value":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.2.options.items.[INDEX].value","typeLabel":"string"},"description":{"maxLength":500,"minLength":1,"type":"string","uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.2.options.items.[INDEX].description","typeLabel":"string"},"href":{"format":"uri","maxLength":4096,"type":"string","uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.2.options.items.[INDEX].href","typeLabel":"string\u003curi>"},"imageUrl":{"format":"uri","maxLength":4096,"type":"string","uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.2.options.items.[INDEX].imageUrl","typeLabel":"string\u003curi>"}},"required":["disabled","label","placeholder","selected","value"],"type":"object","uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.2.options.items.[INDEX]","typeLabel":"object"},"minItems":1,"type":"array","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.2.options","typeLabel":"object[]"},"selection":{"oneOf":[{"type":"object","required":["kind","min"],"properties":{"kind":{"enum":["many"],"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.2.selection.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"min":{"maximum":9007199254740991,"minimum":0,"type":"integer","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.2.selection.oneOf.0.min","typeLabel":"integer"},"max":{"maximum":9007199254740991,"minimum":0,"type":"integer","uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.2.selection.oneOf.0.max","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.2.selection.oneOf.0","typeLabel":"object"},{"type":"object","required":["kind"],"properties":{"kind":{"enum":["one"],"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.2.selection.oneOf.1.kind","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.2.selection.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.2.selection","typeLabel":"object"}},"isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.2","typeLabel":"object"},{"type":"object","required":["kind"],"properties":{"kind":{"enum":["integer"],"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.3.kind","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.3","typeLabel":"object"},{"type":"object","required":["kind"],"properties":{"kind":{"enum":["number"],"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.4.kind","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input.oneOf.4","typeLabel":"object"}],"isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.input","typeLabel":"object"},"key":{"minLength":1,"pattern":"^(?!(?:__proto__|constructor|prototype)$)[\\s\\S]+$","type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.key","typeLabel":"string"},"label":{"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.label","typeLabel":"string"},"required":{"type":"boolean","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1.required","typeLabel":"boolean"}},"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields.items.[INDEX]","typeLabel":"object"},"minItems":1,"type":"array","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.fields","typeLabel":"object[]"},"kind":{"enum":["form"],"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2.kind","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.interaction","typeLabel":"object"},"question":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request.question","typeLabel":"string"}},"required":["expiresAt","interaction","question"],"type":"object","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.request","typeLabel":"object"},"requestId":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.requestId","typeLabel":"string"},"type":{"enum":["input_response"],"type":"string","isRequired":true,"uniqueKey":"oneOf.5.requiredAction.type","typeLabel":"enum\u003cstring>"}},"required":["messageId","request","requestId","type"],"type":"object","isRequired":true,"uniqueKey":"oneOf.5.requiredAction","typeLabel":"object"},"revision":{"description":"Monotonically increasing version of this run snapshot. When combining polling and stream updates, retain the snapshot with the greatest revision; values may skip and have no meaning beyond ordering","maximum":9007199254740991,"minimum":0,"type":"integer","isRequired":true,"uniqueKey":"oneOf.5.revision","typeLabel":"integer"},"runId":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.5.runId","typeLabel":"string"},"status":{"enum":["awaiting_input"],"type":"string","isRequired":true,"uniqueKey":"oneOf.5.status","typeLabel":"enum\u003cstring>"},"continues":{"description":"The run this one continues: it buys the alternative its buyer chose after that run could not buy","properties":{"runId":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.5.continues.runId","typeLabel":"string"}},"required":["runId"],"type":"object","uniqueKey":"oneOf.5.continues","typeLabel":"object"}},"uniqueKey":"oneOf.5","typeLabel":"object"},{"type":"object","required":["browser","createdAt","input","requiredAction","revision","runId","status"],"properties":{"browser":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"oneOf.6.browser.oneOf.0","typeLabel":"null"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.6.browser.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.6.browser","typeLabel":"null"},"createdAt":{"type":"string","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","isRequired":true,"uniqueKey":"oneOf.6.createdAt","typeLabel":"string"},"input":{"properties":{"constraints":{"properties":{"maxCost":{"properties":{"amount":{"pattern":"^(?:0\\.(?=\\d*[1-9])\\d{1,6}|[1-9]\\d{0,14}(?:\\.\\d{1,6})?)$","type":"string","isRequired":true,"uniqueKey":"oneOf.6.input.constraints.maxCost.amount","typeLabel":"string"},"currency":{"pattern":"^[A-Z]{3}$","type":"string","isRequired":true,"uniqueKey":"oneOf.6.input.constraints.maxCost.currency","typeLabel":"string"}},"required":["amount","currency"],"type":"object","isRequired":true,"uniqueKey":"oneOf.6.input.constraints.maxCost","typeLabel":"object"}},"required":["maxCost"],"type":"object","isRequired":true,"uniqueKey":"oneOf.6.input.constraints","typeLabel":"object"},"request":{"properties":{"startUrl":{"format":"uri","type":"string","uniqueKey":"oneOf.6.input.request.startUrl","typeLabel":"string\u003curi>"},"task":{"maxLength":20000,"minLength":1,"type":"string","uniqueKey":"oneOf.6.input.request.task","typeLabel":"string"}},"type":"object","isRequired":true,"uniqueKey":"oneOf.6.input.request","typeLabel":"object"},"browser":{"description":"Browser profile and requested location, or a redacted caller-owned browser; at least one property","properties":{"cdp":{"description":"A caller-owned CDP browser was supplied; its endpoint is never returned","properties":{"redacted":{"const":true,"type":"boolean","isRequired":true,"uniqueKey":"oneOf.6.input.browser.cdp.redacted","typeLabel":"boolean"}},"required":["redacted"],"type":"object","uniqueKey":"oneOf.6.input.browser.cdp","typeLabel":"object"},"location":{"properties":{"countryCode":{"description":"ISO 3166-1 alpha-2 country code; input is trimmed and uppercased","type":"string","isRequired":true,"uniqueKey":"oneOf.6.input.browser.location.countryCode","typeLabel":"string"},"type":{"enum":["country"],"type":"string","isRequired":true,"uniqueKey":"oneOf.6.input.browser.location.type","typeLabel":"enum\u003cstring>"}},"required":["countryCode","type"],"type":"object","uniqueKey":"oneOf.6.input.browser.location","typeLabel":"object"},"profileId":{"type":"string","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"oneOf.6.input.browser.profileId","typeLabel":"string"}},"type":"object","uniqueKey":"oneOf.6.input.browser","typeLabel":"object"},"buyerProfileId":{"type":"string","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"oneOf.6.input.buyerProfileId","typeLabel":"string"},"merchantGuidance":{"maxLength":20000,"minLength":1,"type":"string","uniqueKey":"oneOf.6.input.merchantGuidance","typeLabel":"string"}},"required":["constraints","request"],"type":"object","isRequired":true,"uniqueKey":"oneOf.6.input","typeLabel":"object"},"requiredAction":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"oneOf.6.requiredAction.oneOf.0","typeLabel":"null"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.6.requiredAction.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.6.requiredAction","typeLabel":"null"},"revision":{"description":"Monotonically increasing version of this run snapshot. When combining polling and stream updates, retain the snapshot with the greatest revision; values may skip and have no meaning beyond ordering","maximum":9007199254740991,"minimum":0,"type":"integer","isRequired":true,"uniqueKey":"oneOf.6.revision","typeLabel":"integer"},"runId":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.6.runId","typeLabel":"string"},"status":{"enum":["queued"],"type":"string","isRequired":true,"uniqueKey":"oneOf.6.status","typeLabel":"enum\u003cstring>"},"continues":{"description":"The run this one continues: it buys the alternative its buyer chose after that run could not buy","properties":{"runId":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.6.continues.runId","typeLabel":"string"}},"required":["runId"],"type":"object","uniqueKey":"oneOf.6.continues","typeLabel":"object"}},"uniqueKey":"oneOf.6","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"browser":{"embedUrl":"\u003cstring>","permissions":["read"]},"createdAt":"\u003cstring>","input":{"constraints":{"maxCost":{"amount":"\u003cstring>","currency":"\u003cstring>"}},"request":{"startUrl":"\u003cstring>","task":"\u003cstring>"},"browser":{"cdp":{"redacted":true},"location":{"countryCode":"\u003cstring>","type":"country"},"profileId":"\u003cstring>"},"buyerProfileId":"\u003cstring>","merchantGuidance":"\u003cstring>"},"reason":"accounting_unavailable","requiredAction":null,"revision":4503599627370495,"runId":"\u003cstring>","status":"failed","continuedIn":{"runId":"\u003cstring>"},"continues":{"runId":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"The checkout run was accepted.","exampleType":"generated"},"36bada4e-09a6-432e-89ea-a6e94668c540":{"content":{"application/json":{"schema":{"properties":{"error":{"example":true,"type":"boolean","isRequired":true,"uniqueKey":"error","typeLabel":"boolean"},"message":{"description":"Human-readable error message describing what went wrong","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"description":"Machine-readable error code for programmatic handling","type":"string","uniqueKey":"code","typeLabel":"string"},"parameters":{"additionalProperties":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"parameters.additionalProperties.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"parameters.additionalProperties.oneOf.0","typeLabel":"string[]"},{"type":"string","uniqueKey":"parameters.additionalProperties.oneOf.1","typeLabel":"string"}],"uniqueKey":"parameters.additionalProperties","typeLabel":"string[] | string"},"description":"Values that explain a coded error, such as the limit that was exceeded, the amount that remains, or the list of supported currencies.","type":"object","uniqueKey":"parameters","typeLabel":"object"}},"required":["error","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":true,"message":"\u003cstring>","code":"\u003cstring>","parameters":{}}}},"exampleType":"generated"}},"description":"Invalid arguments. Make sure you are following the API specification.","exampleType":"generated"},"7edfc328-4d05-4112-81ad-03271a87532e":{"content":{"application/json":{"schema":{"properties":{"error":{"example":true,"type":"boolean","isRequired":true,"uniqueKey":"error","typeLabel":"boolean"},"message":{"description":"Human-readable error message describing what went wrong","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"description":"Machine-readable error code for programmatic handling","type":"string","uniqueKey":"code","typeLabel":"string"},"parameters":{"additionalProperties":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"parameters.additionalProperties.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"parameters.additionalProperties.oneOf.0","typeLabel":"string[]"},{"type":"string","uniqueKey":"parameters.additionalProperties.oneOf.1","typeLabel":"string"}],"uniqueKey":"parameters.additionalProperties","typeLabel":"string[] | string"},"description":"Values that explain a coded error, such as the limit that was exceeded, the amount that remains, or the list of supported currencies.","type":"object","uniqueKey":"parameters","typeLabel":"object"}},"required":["error","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":true,"message":"\u003cstring>","code":"\u003cstring>","parameters":{}}}},"exampleType":"generated"}},"description":"Missing or invalid API key.","exampleType":"generated"},"a98f4518-4d7e-4ffc-978a-0f77e9ebcb50":{"content":{"application/json":{"schema":{"properties":{"error":{"example":true,"type":"boolean","isRequired":true,"uniqueKey":"error","typeLabel":"boolean"},"message":{"description":"Human-readable error message describing what went wrong","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"description":"Machine-readable error code for programmatic handling","type":"string","uniqueKey":"code","typeLabel":"string"},"parameters":{"additionalProperties":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"parameters.additionalProperties.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"parameters.additionalProperties.oneOf.0","typeLabel":"string[]"},{"type":"string","uniqueKey":"parameters.additionalProperties.oneOf.1","typeLabel":"string"}],"uniqueKey":"parameters.additionalProperties","typeLabel":"string[] | string"},"description":"Values that explain a coded error, such as the limit that was exceeded, the amount that remains, or the list of supported currencies.","type":"object","uniqueKey":"parameters","typeLabel":"object"}},"required":["error","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":true,"message":"\u003cstring>","code":"\u003cstring>","parameters":{}}}},"exampleType":"generated"}},"description":"Forbidden. Ensure the credentials are correct and the authentication source is allowed.","exampleType":"generated"},"569ed7e6-54ff-4c45-8615-db00c0bbff28":{"content":{"application/json":{"schema":{"properties":{"error":{"example":true,"type":"boolean","isRequired":true,"uniqueKey":"error","typeLabel":"boolean"},"message":{"description":"Human-readable error message describing what went wrong","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"description":"Machine-readable error code for programmatic handling","type":"string","uniqueKey":"code","typeLabel":"string"},"parameters":{"additionalProperties":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"parameters.additionalProperties.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"parameters.additionalProperties.oneOf.0","typeLabel":"string[]"},{"type":"string","uniqueKey":"parameters.additionalProperties.oneOf.1","typeLabel":"string"}],"uniqueKey":"parameters.additionalProperties","typeLabel":"string[] | string"},"description":"Values that explain a coded error, such as the limit that was exceeded, the amount that remains, or the list of supported currencies.","type":"object","uniqueKey":"parameters","typeLabel":"object"}},"required":["error","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":true,"message":"\u003cstring>","code":"\u003cstring>","parameters":{}}}},"exampleType":"generated"}},"description":"The request conflicts with the current state of the resource.","exampleType":"generated"},"7e17948b-21df-4453-8acc-56fc5c9ddabd":{"content":{"application/json":{"schema":{"properties":{"error":{"example":true,"type":"boolean","isRequired":true,"uniqueKey":"error","typeLabel":"boolean"},"message":{"description":"Human-readable error message describing what went wrong","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"description":"Machine-readable error code for programmatic handling","type":"string","uniqueKey":"code","typeLabel":"string"},"parameters":{"additionalProperties":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"parameters.additionalProperties.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"parameters.additionalProperties.oneOf.0","typeLabel":"string[]"},{"type":"string","uniqueKey":"parameters.additionalProperties.oneOf.1","typeLabel":"string"}],"uniqueKey":"parameters.additionalProperties","typeLabel":"string[] | string"},"description":"Values that explain a coded error, such as the limit that was exceeded, the amount that remains, or the list of supported currencies.","type":"object","uniqueKey":"parameters","typeLabel":"object"}},"required":["error","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":true,"message":"\u003cstring>","code":"\u003cstring>","parameters":{}}}},"exampleType":"generated"}},"description":"The upstream service returned an incompatible response.","exampleType":"generated"},"0c33347c-30e6-4b92-b03d-67af3b24660d":{"content":{"application/json":{"schema":{"properties":{"error":{"example":true,"type":"boolean","isRequired":true,"uniqueKey":"error","typeLabel":"boolean"},"message":{"description":"Human-readable error message describing what went wrong","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"description":"Machine-readable error code for programmatic handling","type":"string","uniqueKey":"code","typeLabel":"string"},"parameters":{"additionalProperties":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"parameters.additionalProperties.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"parameters.additionalProperties.oneOf.0","typeLabel":"string[]"},{"type":"string","uniqueKey":"parameters.additionalProperties.oneOf.1","typeLabel":"string"}],"uniqueKey":"parameters.additionalProperties","typeLabel":"string[] | string"},"description":"Values that explain a coded error, such as the limit that was exceeded, the amount that remains, or the list of supported currencies.","type":"object","uniqueKey":"parameters","typeLabel":"object"}},"required":["error","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":true,"message":"\u003cstring>","code":"\u003cstring>","parameters":{}}}},"exampleType":"generated"}},"description":"Service unavailable. Try again in a few minutes. If the issue persists, contact Crossmint support.","exampleType":"generated"}},"security":{"7c6b59ea-e00d-4e1d-9c6b-525d506e1859":{"apiKey":{"description":"API key required for authentication","in":"header","name":"X-API-KEY","type":"apiKey","scopes":[],"schemeName":"apiKey"},"userJwt":{"bearerFormat":"JWT","description":"The end user's JWT, sent as `Authorization: Bearer \u003cJWT>` together with a client-side API key. Validated against the project's external JWT configuration.","scheme":"bearer","type":"http","scopes":[],"schemeName":"userJwt"}},"b8ce850a-3dbb-4a4c-80f9-fd4de8eed878":{"apiKey":{"description":"API key required for authentication","in":"header","name":"X-API-KEY","type":"apiKey","scopes":[],"schemeName":"apiKey"}}},"servers":{"fb58a98f-10d4-4134-b36b-b4b7aaf719eb":{"description":"Staging environment (testnets)","url":"https://staging.crossmint.com/api"},"fe7d279a-529a-4bb9-b6e1-5e9af265646a":{"description":"Production environment (mainnets)","url":"https://www.crossmint.com/api"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"description":"API key required for authentication","in":"header","name":"X-API-KEY","type":"apiKey","scopes":[],"schemeName":"apiKey"},"schema":{"title":"X-API-KEY","type":"string","description":"API key required for authentication","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"X-API-KEY"},{"scheme":{"bearerFormat":"JWT","description":"The end user's JWT, sent as `Authorization: Bearer \u003cJWT>` together with a client-side API key. Validated against the project's external JWT configuration.","scheme":"bearer","type":"http","scopes":[],"schemeName":"userJwt"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"The end user's JWT, sent as `Authorization: Bearer \u003cJWT>` together with a client-side API key. Validated against the project's external JWT configuration.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"userJwt","name":"Authorization"}],"title":"apiKey \u0026 userJwt"},{"schemes":[{"scheme":{"description":"API key required for authentication","in":"header","name":"X-API-KEY","type":"apiKey","scopes":[],"schemeName":"apiKey"},"schema":{"title":"X-API-KEY","type":"string","description":"API key required for authentication","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"X-API-KEY"}],"title":"apiKey"}]},"originalFileLocation":"api-reference/_open-api/Agents.json"},"subdomain":"crossmint","siteName":"Crossmint Docs","title":"Create Agent Checkout - Crossmint Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-09T12:09:05.916Z","originalFileLocation":"api-reference/agent-checkouts/create-agent-checkout.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=\"Starts a checkout run: the agent opens startUrl, works toward task within constraints, and reports back through the run\u0026#x27;s messages. Without a startUrl, task is required: the run finds products for it and asks the buyer to choose one before it opens a page. A buyerProfileId supplies identity and shipping details; browser.profileId reuses the user\u0026#x27;s saved merchant session; send it on every checkout for that user. The response is the run in queued status. Poll Get Agent Checkout or stream its messages to follow it. API scope required: agent-checkouts.create\">\u003cmeta data-mint-head name=\"application-name\" content=\"Crossmint Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/crossmint/-1hhMU0vchFPUD3H/_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/crossmint/-1hhMU0vchFPUD3H/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/crossmint/-1hhMU0vchFPUD3H/_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/crossmint/-1hhMU0vchFPUD3H/_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/crossmint/-1hhMU0vchFPUD3H/_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/crossmint/-1hhMU0vchFPUD3H/_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/crossmint/-1hhMU0vchFPUD3H/_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/crossmint/-1hhMU0vchFPUD3H/_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/crossmint/-1hhMU0vchFPUD3H/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Agent Checkout - Crossmint Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Starts a checkout run: the agent opens startUrl, works toward task within constraints, and reports back through the run\u0026#x27;s messages. Without a startUrl, task is required: the run finds products for it and asks the buyer to choose one before it opens a page. A buyerProfileId supplies identity and shipping details; browser.profileId reuses the user\u0026#x27;s saved merchant session; send it on every checkout for that user. The response is the run in queued status. Poll Get Agent Checkout or stream its messages to follow it. API scope required: agent-checkouts.create\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Crossmint Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.crossmint.com/api-reference/agent-checkouts/create-agent-checkout\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://crossmint.mintlify.site/_mintlify/api/og/v2?division=Agent+Checkouts\u0026amp;title=Create+Agent+Checkout\u0026amp;description=Starts+a+checkout+run%3A+the+agent+opens+%60startUrl%60%2C+works+toward+%60task%60+within+%60constraints%60%2C+and+reports+back+through+the+run%27s+messages.+Without+a+%60startUrl%60%2C+\u0026amp;theme=b8bba0b38c114479513683ad\u0026amp;signature=eadf54a29f6c5ec0ec7f34d233cfd694772e4755f34a6efb16705aa78af35b19\">\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 Agent Checkout - Crossmint Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Starts a checkout run: the agent opens startUrl, works toward task within constraints, and reports back through the run\u0026#x27;s messages. Without a startUrl, task is required: the run finds products for it and asks the buyer to choose one before it opens a page. A buyerProfileId supplies identity and shipping details; browser.profileId reuses the user\u0026#x27;s saved merchant session; send it on every checkout for that user. The response is the run in queued status. Poll Get Agent Checkout or stream its messages to follow it. API scope required: agent-checkouts.create\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://crossmint.mintlify.site/_mintlify/api/og/v2?division=Agent+Checkouts\u0026amp;title=Create+Agent+Checkout\u0026amp;description=Starts+a+checkout+run%3A+the+agent+opens+%60startUrl%60%2C+works+toward+%60task%60+within+%60constraints%60%2C+and+reports+back+through+the+run%27s+messages.+Without+a+%60startUrl%60%2C+\u0026amp;theme=b8bba0b38c114479513683ad\u0026amp;signature=eadf54a29f6c5ec0ec7f34d233cfd694772e4755f34a6efb16705aa78af35b19\">\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/crossmint/-1hhMU0vchFPUD3H/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Crossmint Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#36b37e\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.crossmint.com/api-reference/agent-checkouts/create-agent-checkout\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/agent-checkouts/create-agent-checkout.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.crossmint.com/#organization\",\"name\":\"Crossmint Docs\",\"url\":\"https://docs.crossmint.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/crossmint/a8gPOTKEuVFcSfC3/logo/crossmint-light.png?fit=max\u0026auto=format\u0026n=a8gPOTKEuVFcSfC3\u0026q=85\u0026s=8c2671e4c8f7da6956e1508bd68c2928\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.crossmint.com#website\",\"name\":\"Crossmint Docs\",\"url\":\"https://docs.crossmint.com\",\"publisher\":{\"@id\":\"https://docs.crossmint.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.crossmint.com/api-reference/agent-checkouts/create-agent-checkout#webpage\",\"url\":\"https://docs.crossmint.com/api-reference/agent-checkouts/create-agent-checkout\",\"name\":\"Create Agent Checkout\",\"description\":\"Starts a checkout run: the agent opens startUrl, works toward task within constraints, and reports back through the run's messages. Without a startUrl, task is required: the run finds products for it and asks the buyer to choose one before it opens a page. A buyerProfileId supplies identity and shipping details; browser.profileId reuses the user's saved merchant session; send it on every checkout for that user. The response is the run in queued status. Poll Get Agent Checkout or stream its messages to follow it. API scope required: agent-checkouts.create\",\"dateModified\":\"2026-11-09T12:09:05.916Z\",\"isPartOf\":{\"@id\":\"https://docs.crossmint.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.crossmint.com/api-reference/agent-checkouts/create-agent-checkout#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.crossmint.com/api-reference/agent-checkouts/create-agent-checkout#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.crossmint.com/api-reference/agentic-commerce/payment-methods/create-payment-method\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"REST\",\"item\":\"https://docs.crossmint.com/api-reference/agentic-commerce/payment-methods/create-payment-method\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create Agent Checkout\",\"item\":\"https://docs.crossmint.com/api-reference/agent-checkouts/create-agent-checkout\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.crossmint.com/api-reference/agent-checkouts/create-agent-checkout#apireference\",\"headline\":\"Create Agent Checkout\",\"name\":\"Create Agent Checkout\",\"description\":\"Starts a checkout run: the agent opens startUrl, works toward task within constraints, and reports back through the run's messages. Without a startUrl, task is required: the run finds products for it and asks the buyer to choose one before it opens a page. A buyerProfileId supplies identity and shipping details; browser.profileId reuses the user's saved merchant session; send it on every checkout for that user. The response is the run in queued status. Poll Get Agent Checkout or stream its messages to follow it. API scope required: agent-checkouts.create\",\"url\":\"https://docs.crossmint.com/api-reference/agent-checkouts/create-agent-checkout\",\"mainEntityOfPage\":{\"@id\":\"https://docs.crossmint.com/api-reference/agent-checkouts/create-agent-checkout#webpage\"},\"dateModified\":\"2026-11-09T12:09:05.916Z\",\"publisher\":{\"@id\":\"https://docs.crossmint.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.crossmint.com#website\"}}]}\u003c/script>","agentPointerHref":"/api-reference/agent-checkouts/create-agent-checkout.md","siteName":"Crossmint Docs","nav":{"global":null,"tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":"/introduction/platform-overview"}]},{"tab":"Wallets","pages":[{"title":"Wallets","href":"/wallets/overview"}]},{"tab":"Identity","pages":[{"title":"Identity","href":"/identity/overview"}]},{"tab":"Stablecoin Orchestration","pages":[{"title":"Stablecoin Orchestration","href":"/stablecoin-orchestration/overview"}]},{"tab":"Checkout","pages":[{"title":"Checkout","href":"/payments/introduction"}]},{"tab":"Onramp","pages":[{"title":"Onramp","href":"/onramp/overview"}]},{"tab":"Offramp","pages":[{"title":"Offramp","href":"/offramp/overview"}]},{"tab":"Agents","groups":[{"group":"Introduction","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/agents/overview"},{"title":"How Agents Pay","href":"/agents/how-agents-pay"},{"title":"How Agents Buy","href":"/agents/how-agents-buy"}]},{"group":"Agent Cards","pages":[{"title":"Agent Cards","sidebarTitle":"Overview","href":"/agents/cards/overview"},{"title":"Agent Cards Quickstart ⚡","sidebarTitle":"Quickstart ⚡","href":"/agents/cards-quickstart"},{"group":"Concepts","pages":[{"title":"Card Rails and PCI Compliance","sidebarTitle":"Rails and PCI","href":"/agents/cards/rails-and-pci"}]},{"group":"Guides","pages":[{"title":"Save a Card","sidebarTitle":"Save a Card","href":"/agents/payment-methods/cards/save-card"},{"title":"Register a Card","href":"/agents/payment-methods/cards/register-card"},{"title":"Approve an Order Intent","href":"/agents/payment-methods/cards/create-agent-card"},{"title":"List Order Intents","href":"/agents/payment-methods/cards/list-order-intents"},{"title":"Get a Card Number","href":"/agents/payment-methods/cards/retrieve-agent-card"},{"title":"Ask for the CVC Again","sidebarTitle":"Ask for the CVC Again","href":"/agents/payment-methods/cards/recollect-cvc"},{"title":"Customize UI","sidebarTitle":"Customize UI","href":"/agents/payment-methods/cards/customize-verification-ui"},{"title":"Cancel Card Access","href":"/agents/payment-methods/cards/remove-cards"},{"title":"Test Agent Cards","href":"/agents/payment-methods/cards/test-agent-cards"}]}]},{"group":"Agent Wallets and Onramps","pages":[{"title":"Agent Wallets","sidebarTitle":"Overview","href":"/agents/wallets/overview"},{"title":"Agent Wallets Quickstart ⚡","sidebarTitle":"Quickstart ⚡","href":"/agents/stablecoin-wallet-quickstart"},{"group":"Guides","pages":[{"title":"Create a User Wallet","sidebarTitle":"Create a User Wallet","href":"/agents/payment-methods/stablecoin-wallets/create-user-wallet"},{"title":"Authorize the Agent","sidebarTitle":"Authorize the Agent","href":"/agents/payment-methods/stablecoin-wallets/authorize-agent"},{"title":"Onramp \u0026 Add Funds","sidebarTitle":"Onramp \u0026 Add Funds","href":"/agents/payment-methods/stablecoin-wallets/onramp-add-funds"},{"title":"Server Agent Wallets","sidebarTitle":"Server Agent Wallets","href":"/agents/payment-methods/stablecoin-wallets/server-agent-wallets"},{"title":"Using the Wallet","sidebarTitle":"Using the Wallet","href":"/agents/payment-methods/stablecoin-wallets/on-chain-actions"},{"title":"x402","sidebarTitle":"x402","href":"/agents/payment-flows/x402"},{"title":"MPP","href":"/agents/payment-flows/mpp"},{"title":"Remove Agent Access","href":"/agents/payment-methods/stablecoin-wallets/remove-agent-access"}]}]},{"group":"Agent Checkouts","pages":[{"title":"Agent Checkouts","sidebarTitle":"Overview","href":"/agents/checkouts/overview"},{"title":"Agent Checkouts Quickstart ⚡","sidebarTitle":"Quickstart ⚡","href":"/agents/agent-checkouts-quickstart"},{"group":"Concepts","pages":[{"title":"How Agent Checkouts Works","sidebarTitle":"How It Works","href":"/agents/checkouts/how-it-works"},{"title":"Common Questions","href":"/agents/checkouts/common-questions"},{"title":"Affiliate Program","href":"/agents/checkouts/affiliate-program"}]},{"group":"Guides","pages":[{"title":"Configure a Checkout","href":"/agents/checkouts/configure"},{"title":"Answer Questions","href":"/agents/checkouts/buyer-inputs"},{"title":"Pay for a Checkout","href":"/agents/checkouts/payments"},{"title":"Sign In to Stores","href":"/agents/checkouts/merchant-sessions"},{"title":"Stream Updates","href":"/agents/checkouts/follow-run"},{"title":"Statuses, Results, and Errors","sidebarTitle":"Statuses and Errors","mode":"wide","href":"/agents/checkouts/statuses"},{"title":"Test Agent Checkouts","href":"/agents/checkouts/test-agent-checkouts"}]},{"group":"Use Cases","pages":[{"title":"Manage a Store Cart","href":"/agents/checkouts/use-cases/manage-a-cart"},{"title":"Buy Several Items in One Order","href":"/agents/checkouts/use-cases/buy-several-items"},{"title":"Buy When the Price Drops","href":"/agents/checkouts/use-cases/buy-when-the-price-drops"},{"title":"Check a Price Without Buying","href":"/agents/checkouts/use-cases/check-a-price"},{"title":"Manage Subscriptions","href":"/agents/checkouts/use-cases/manage-subscriptions"}]}]},{"group":"API Reference","pages":[{"group":"REST","icon":"brackets-curly","pages":[{"group":"Payment Methods","pages":[{"openapi":"api-reference/_open-api/PaymentMethods.json POST /2026-09-16/payment-methods","title":"Create Payment Method","href":"/api-reference/agentic-commerce/payment-methods/create-payment-method"},{"openapi":"api-reference/_open-api/PaymentMethods.json GET /2026-09-16/payment-methods","title":"List Payment Methods","href":"/api-reference/agentic-commerce/payment-methods/list-payment-methods"},{"openapi":"api-reference/_open-api/PaymentMethods.json DELETE /2026-09-16/payment-methods/{paymentMethodId}","title":"Delete Payment Method","href":"/api-reference/agentic-commerce/payment-methods/delete-payment-method"}]},{"group":"Order Intents","pages":[{"title":"List Order Intents","sidebarTitle":"List Order Intents","openapi":"api-reference/_open-api/Agents.json GET /unstable/order-intents","href":"/api-reference/agentic-commerce/order-intents/list-order-intents"},{"title":"Get Order Intent","sidebarTitle":"Get Order Intent","openapi":"api-reference/_open-api/Agents.json GET /unstable/order-intents/{orderIntentId}","href":"/api-reference/agentic-commerce/order-intents/get-order-intent"},{"title":"Create Order Intent","sidebarTitle":"Create Order Intent","openapi":"api-reference/_open-api/Agents.json POST /unstable/order-intents","href":"/api-reference/agentic-commerce/order-intents/create-order-intent"},{"title":"Get Order Intent Credentials","sidebarTitle":"Get Order Intent Credentials","openapi":"api-reference/_open-api/Agents.json POST /unstable/order-intents/{orderIntentId}/credentials","href":"/api-reference/agentic-commerce/order-intents/get-order-intent-credentials"},{"title":"Revoke Order Intent","sidebarTitle":"Revoke Order Intent","openapi":"api-reference/_open-api/Agents.json DELETE /unstable/order-intents/{orderIntentId}","description":"Cancel an active order intent.\n\n**API scope required**: `order-intents.revoke`","href":"/api-reference/agentic-commerce/order-intents/revoke-order-intent"}]},{"group":"Agent Checkouts","pages":[{"title":"Create Agent Checkout","sidebarTitle":"Create Agent Checkout","openapi":"api-reference/_open-api/Agents.json POST /unstable/agent-checkouts","href":"/api-reference/agent-checkouts/create-agent-checkout"},{"title":"List Agent Checkouts","sidebarTitle":"List Agent Checkouts","openapi":"api-reference/_open-api/Agents.json GET /unstable/agent-checkouts","description":"Returns the authenticated user's checkout runs, newest first, one page at a time. Each run carries its `status`, the task and start URL it was created with, and `knownSpentUsdMicros` so far.\n\n**API scope required**: `agent-checkouts.read`","href":"/api-reference/agent-checkouts/list-agent-checkouts"},{"title":"Get Agent Checkout","sidebarTitle":"Get Agent Checkout","openapi":"api-reference/_open-api/Agents.json GET /unstable/agent-checkouts/{id}","href":"/api-reference/agent-checkouts/get-agent-checkout"},{"title":"List Agent Checkout Messages","sidebarTitle":"List Messages","openapi":"api-reference/_open-api/Agents.json GET /unstable/agent-checkouts/{id}/messages","href":"/api-reference/agent-checkouts/list-agent-checkout-messages"},{"title":"Send Agent Checkout Message","sidebarTitle":"Send Message","openapi":"api-reference/_open-api/Agents.json POST /unstable/agent-checkouts/{id}/messages","href":"/api-reference/agent-checkouts/send-agent-checkout-message"},{"title":"Stream Agent Checkout Messages","sidebarTitle":"Stream Messages","openapi":"api-reference/_open-api/Agents.json GET /unstable/agent-checkouts/{id}/messages/stream","href":"/api-reference/agent-checkouts/stream-agent-checkout-messages"},{"title":"Cancel Agent Checkout","sidebarTitle":"Cancel Agent Checkout","openapi":"api-reference/_open-api/Agents.json POST /unstable/agent-checkouts/{id}/cancel","href":"/api-reference/agent-checkouts/cancel-agent-checkout"}]},{"group":"Buyer Profiles","pages":[{"title":"Create Buyer Profile","sidebarTitle":"Create Buyer Profile","openapi":"api-reference/_open-api/Agents.json POST /unstable/agent-checkouts/buyer-profiles","href":"/api-reference/agent-checkouts/create-buyer-profile"},{"title":"List Buyer Profiles","sidebarTitle":"List Buyer Profiles","openapi":"api-reference/_open-api/Agents.json GET /unstable/agent-checkouts/buyer-profiles","href":"/api-reference/agent-checkouts/list-buyer-profiles"},{"title":"Get Buyer Profile","sidebarTitle":"Get Buyer Profile","openapi":"api-reference/_open-api/Agents.json GET /unstable/agent-checkouts/buyer-profiles/{id}","href":"/api-reference/agent-checkouts/get-buyer-profile"},{"title":"Update Buyer Profile","sidebarTitle":"Update Buyer Profile","openapi":"api-reference/_open-api/Agents.json PATCH /unstable/agent-checkouts/buyer-profiles/{id}","href":"/api-reference/agent-checkouts/update-buyer-profile"},{"title":"Delete Buyer Profile","sidebarTitle":"Delete Buyer Profile","openapi":"api-reference/_open-api/Agents.json DELETE /unstable/agent-checkouts/buyer-profiles/{id}","href":"/api-reference/agent-checkouts/delete-buyer-profile"}]},{"group":"Browser Profiles","pages":[{"title":"Create Browser Profile","sidebarTitle":"Create Browser Profile","openapi":"api-reference/_open-api/Agents.json POST /unstable/agent-checkouts/browser-profiles","href":"/api-reference/agent-checkouts/create-browser-profile"},{"title":"List Browser Profiles","sidebarTitle":"List Browser Profiles","openapi":"api-reference/_open-api/Agents.json GET /unstable/agent-checkouts/browser-profiles","href":"/api-reference/agent-checkouts/list-browser-profiles"},{"title":"Get Browser Profile","sidebarTitle":"Get Browser Profile","openapi":"api-reference/_open-api/Agents.json GET /unstable/agent-checkouts/browser-profiles/{id}","href":"/api-reference/agent-checkouts/get-browser-profile"},{"title":"Update Browser Profile","sidebarTitle":"Update Browser Profile","openapi":"api-reference/_open-api/Agents.json PATCH /unstable/agent-checkouts/browser-profiles/{id}","href":"/api-reference/agent-checkouts/update-browser-profile"},{"title":"Delete Browser Profile","sidebarTitle":"Delete Browser Profile","openapi":"api-reference/_open-api/Agents.json DELETE /unstable/agent-checkouts/browser-profiles/{id}","href":"/api-reference/agent-checkouts/delete-browser-profile"}]}]},{"group":"React SDK","icon":"/images/icons/react.svg","pages":[{"title":"Get Started","href":"/sdk-reference/agents/react/get-started"},{"title":"Providers","href":"/sdk-reference/agents/react/providers"},{"title":"Components","href":"/sdk-reference/agents/react/components"}]}]}]},{"tab":"Others","menu":[{"item":"Tokenization","pages":[{"title":"Tokenization","href":"/tokenization/introduction"}]}],"pages":[{"title":"Others","href":"/tokenization/introduction"}]}]},"basePath":"","title":"Create Agent Checkout - Crossmint Docs","buildId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","deploymentId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-NXj-Rqjv.js","utils-m0thOP-_.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D13EKcfm.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema--XTdfsEb.js","snippetPresets-D3s4lmAH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-ChURybxL.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DL8CiXq2.js","shallow-DI2-YB2E.js","getApiPlaygroundDisplay-DxbW7b_y.js","CodeSnippet-CiNYS0pP.js","CodeSnippets-BT87bThu.js","Page-DSpdRuhM.js","getPastedJson-F_g_IrFQ.js","icon-CCIG5BAs.js","MethodPill-DY3E0jwx.js","DuplicateIcon-BN88xnEg.js","createIcon-VCCc5HO5.js","DynamicMarkdown-CaSwclgK.js","SectionHeading-DXV8nWhc.js","axios-vUo_bRtp.js","Markdown-CV32Re6G.js","clsx-5ydLOnhV.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-pFDdfjRe.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BUGO5bPJ.js"]}