Checks whether a merchant offers a UCP checkout Sapiom can drive. When status is supported, create the transaction with purchase.type: "ucp_checkout". Otherwise, use browser_checkout and complete the merchant’s checkout page in a browser with Browser Pay attached. Requires a buyer key.
GET
/
v1
/
transaction-compatibility
Check a merchant
curl --request GET \ --url https://api.sapiom.ai/v1/transaction-compatibility \ --header 'x-api-key: <api-key>'
Whole seconds until expiresAt when status is unknown, otherwise null
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Sapiom Pay","description":"Let your AI agent buy for each of your users with their own saved card. Sapiom vaults each user's card, authorizes every transaction against real checkout facts, and fills the card into checkout without your agent ever seeing it.","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/sapiom-1f975ca2/K4zW5IjQAMJutZvi/logo/light.svg?fit=max\u0026auto=format\u0026n=K4zW5IjQAMJutZvi\u0026q=85\u0026s=37d04ab53c9792ff376364fd56a2799e","dark":"https://mintcdn.com/sapiom-1f975ca2/K4zW5IjQAMJutZvi/logo/dark.svg?fit=max\u0026auto=format\u0026n=K4zW5IjQAMJutZvi\u0026q=85\u0026s=bee7a03b976b9be9e5944daf9ca380ba"},"favicon":"https://mintcdn.com/sapiom-1f975ca2/7k2CTIHfQZNyln5W/favicon.svg?fit=max\u0026auto=format\u0026n=7k2CTIHfQZNyln5W\u0026q=85\u0026s=ffac7db148c05d663b25d3e420b2a24d","api":{"playground":{"display":"simple"}},"navbar":{"primary":{"type":"button","label":"Request access","href":"/request-access"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"markdown":{"instructions":["Sapiom Pay is for platforms whose agent shops for many end users. Each end user is a buyer with their own Sapiom key and saved cards.","Use the buyer's key for every call made on that buyer's behalf. Never use one buyer's key for another user, and never give the agent the platform key.","Backends call the REST API at https://api.sapiom.ai/v1. Agents can also call the hosted MCP tools at https://api.sapiom.ai/v1/mcp/pay. Both take the key in an x-api-key header.","Keys that start with sk_test_ reach the sandbox, a separate test environment with its own buyers and cards, at the same addresses. Use test card numbers only there.","Never ask a buyer for a card number, expiry date or CVV in chat. Buyers enter card details only on Sapiom's hosted pages.","Check the merchant before buying. Use purchase.type ucp_checkout only when the merchant check returns supported. Otherwise use browser_checkout.","Follow the nextAction in each transaction result. Action links are secrets for the intended buyer only.","Use one idempotency key per transaction. Resume an unanswered create with the same request and key. If a UCP update or cancellation is uncertain, stop and hand off to a person. If a browser cancellation is uncertain, read the transaction and resend the same cancellation, with the same key, only if it is not closed. Never start a new transaction to escape an uncertain outcome.","For a ucp_checkout purchase, report an order as placed only when order.outcome is confirmed; if it is unknown, stop and hand off to a person. A browser_checkout purchase has no order confirmation (order is null): confirm the order on the merchant's page."]},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sapiom-1f975ca2","hasAudioNarration":false,"actualSubdomain":"sapiom-1f975ca2","customDomains":["docs.sapiom.ai"],"gitSource":{"type":"github","owner":"sapiom","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af26bd6ee9917a20ed54bf3","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API reference","count":26},{"language":"default","tag":"REST API","count":22},{"language":"default","tag":"Docs","count":20},{"language":"default","tag":"Transactions","count":15},{"language":"default","tag":"Cards","count":8},{"language":"default","tag":"Buyers","count":7},{"language":"default","tag":"Get started","count":4},{"language":"default","tag":"Pay in the browser","count":4},{"language":"default","tag":"MCP and SDK","count":2},{"language":"default","tag":"Early access","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/merchants/check-a-merchant","slug":"/api-reference/merchants/check-a-merchant","pageMetadata":{"title":"Check a merchant","description":"Checks whether a merchant offers a UCP checkout Sapiom can drive. When `status` is `supported`, create the transaction with `purchase.type: \"ucp_checkout\"`. Otherwise, use `browser_checkout` and complete the merchant's checkout page in a browser with Browser Pay attached. Requires a [buyer key](/api-reference/overview#authentication).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/transaction-compatibility","href":"/api-reference/merchants/check-a-merchant","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Checks whether a merchant offers a UCP checkout Sapiom can drive. When \", _jsx(_components.code, {\n children: \"status\"\n }), \" is \", _jsx(_components.code, {\n children: \"supported\"\n }), \", create the transaction with \", _jsx(_components.code, {\n children: \"purchase.type: \\\"ucp_checkout\\\"\"\n }), \". Otherwise, use \", _jsx(_components.code, {\n children: \"browser_checkout\"\n }), \" and complete the merchant’s checkout page in a browser with Browser Pay attached. Requires a \", _jsx(_components.a, {\n href: \"/api-reference/overview#authentication\",\n children: \"buyer key\"\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{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Check a merchant","description":"Checks whether a merchant offers a UCP checkout Sapiom can drive. When `status` is `supported`, create the transaction with `purchase.type: \"ucp_checkout\"`. Otherwise, use `browser_checkout` and complete the merchant's checkout page in a browser with Browser Pay attached. Requires a [buyer key](/api-reference/overview#authentication).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/transaction-compatibility","href":"/api-reference/merchants/check-a-merchant","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Checks whether a merchant offers a UCP checkout Sapiom can drive. When `status` is `supported`, create the transaction with `purchase.type: \"ucp_checkout\"`. Otherwise, use `browser_checkout` and complete the merchant's checkout page in a browser with Browser Pay attached. Requires a [buyer key](/api-reference/overview#authentication).","operationId":"TransactionCompatibilityController_check","parameters":["7fd08d2e-4f44-4745-bff6-a5c70043e7d7"],"responses":{"200":"301d584f-93ef-4da6-9f9d-227ea9ce0000","400":"ada3ce3e-d020-4f6a-b456-c868b8a4c64a","401":"d6ed4003-9b10-4e9a-86a1-92607fdbb80f","403":"e04d13ea-7470-4a5a-956f-7912720a5dc5","429":"582685b4-1b1b-4904-afcd-7e06bb15b077","503":"e582cf9d-e408-4bd3-812c-fb68ef7d50f9"},"security":["ddfebb3e-6281-4b46-ae31-bf7c98c6392f"],"summary":"Check a merchant","tags":["Merchants"],"method":"get","type":"path","servers":["96df3c0a-5b5d-4163-b956-f849b279a52f"],"path":"/v1/transaction-compatibility","baseUrlOptions":["https://api.sapiom.ai"],"title":"Check a merchant","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"7fd08d2e-4f44-4745-bff6-a5c70043e7d7":{"name":"domain","required":true,"in":"query","description":"Merchant to check: a bare domain or an https origin with an optional root slash","schema":{"example":"shop.example","type":"string","isRequired":true,"description":"Merchant to check: a bare domain or an https origin with an optional root slash","uniqueKey":"","typeLabel":"string"}}},"responses":{"301d584f-93ef-4da6-9f9d-227ea9ce0000":{"description":"Transaction compatibility result.","content":{"application/json":{"schema":{"type":"object","properties":{"merchant":{"type":"object","description":"The merchant that was checked","required":["domain","origin"],"properties":{"domain":{"type":"string","description":"The normalized domain from the input","example":"shop.example","isRequired":true,"uniqueKey":"merchant.domain","typeLabel":"string"},"origin":{"type":"string","description":"The https origin that answered the lookup","example":"https://shop.example","isRequired":true,"uniqueKey":"merchant.origin","typeLabel":"string"}},"isRequired":true,"uniqueKey":"merchant","typeLabel":"object"},"status":{"type":"string","description":"supported: structured checkout is available. Anything else: use browser checkout","enum":["supported","unsupported","unknown"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","description":"Why the merchant has this status","enum":["compatible_ucp_profile","no_manifest","no_compatible_version","no_checkout","timeout","fetch_failed","upstream_error","invalid_profile"],"isRequired":true,"uniqueKey":"reason","typeLabel":"enum\u003cstring>"},"protocol":{"oneOf":[{"type":"object","description":"The protocol and version negotiated; null unless status is supported","required":["name","version"],"properties":{"name":{"type":"string","description":"Commerce protocol the merchant speaks","enum":["ucp"],"isRequired":true,"uniqueKey":"protocol.oneOf.0.name","typeLabel":"enum\u003cstring>"},"version":{"type":"string","description":"The protocol release negotiated with the merchant","example":"2026-08-25","isRequired":true,"uniqueKey":"protocol.oneOf.0.version","typeLabel":"string"}},"isRequired":true,"uniqueKey":"protocol.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"protocol.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"protocol","typeLabel":"object | null"},"capabilities":{"description":"Allowlisted capabilities the merchant advertises; empty unless status is supported","type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Advertised capability name, from the known-capability allowlist only","enum":["dev.ucp.shopping.checkout","dev.ucp.shopping.fulfillment","dev.ucp.shopping.discount","dev.ucp.shopping.cart"],"isRequired":true,"uniqueKey":"capabilities.items.[INDEX].name","typeLabel":"enum\u003cstring>"},"supported":{"type":"boolean","description":"True when Sapiom implements this capability","isRequired":true,"uniqueKey":"capabilities.items.[INDEX].supported","typeLabel":"boolean"}},"required":["name","supported"],"uniqueKey":"capabilities.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"capabilities","typeLabel":"object[]"},"checkedAt":{"type":"string","description":"When the merchant profile was fetched (ISO 8601)","example":"2026-10-16T23:00:00Z","isRequired":true,"uniqueKey":"checkedAt","typeLabel":"string"},"expiresAt":{"type":"string","description":"When this answer stops being fresh (ISO 8601)","example":"2026-10-16T23:05:00Z","isRequired":true,"uniqueKey":"expiresAt","typeLabel":"string"},"retryAfterSeconds":{"oneOf":[{"type":"number","description":"Whole seconds until expiresAt when status is unknown, otherwise null","isRequired":true,"uniqueKey":"retryAfterSeconds.oneOf.0","typeLabel":"number"},{"type":"null","description":"Whole seconds until expiresAt when status is unknown, otherwise null","isRequired":true,"uniqueKey":"retryAfterSeconds.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"retryAfterSeconds","typeLabel":"number | null"}},"required":["merchant","status","reason","protocol","capabilities","checkedAt","expiresAt","retryAfterSeconds"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"merchant":{"domain":"shop.example","origin":"https://shop.example"},"status":"supported","reason":"compatible_ucp_profile","protocol":{"name":"ucp","version":"2026-08-25"},"capabilities":[{"name":"dev.ucp.shopping.checkout","supported":true}],"checkedAt":"2026-10-16T23:00:00Z","expiresAt":"2026-10-16T23:05:00Z","retryAfterSeconds":123}}},"exampleType":"generated"}},"exampleType":"generated"},"ada3ce3e-d020-4f6a-b456-c868b8a4c64a":{"description":"The merchant domain is invalid; a retryable origin may be included as derivedOrigin.","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","example":"path","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"derivedOrigin":{"type":"string","example":"https://shop.example","uniqueKey":"derivedOrigin","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"path","message":"\u003cstring>","derivedOrigin":"https://shop.example"}}},"exampleType":"generated"}},"exampleType":"generated"},"d6ed4003-9b10-4e9a-86a1-92607fdbb80f":{"description":"Authentication is missing or invalid.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"e04d13ea-7470-4a5a-956f-7912720a5dc5":{"description":"The caller lacks org.transactions.read.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"582685b4-1b1b-4904-afcd-7e06bb15b077":{"description":"Rate limited to 60 requests per minute per IP.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"e582cf9d-e408-4bd3-812c-fb68ef7d50f9":{"description":"Transaction compatibility is temporarily unavailable; this is not a merchant verdict.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"ddfebb3e-6281-4b46-ae31-bf7c98c6392f":{"api-key":{"type":"apiKey","in":"header","name":"x-api-key","description":"Your platform key for buyer management, or a buyer key for everything else.","scopes":[],"schemeName":"api-key"}}},"servers":{"96df3c0a-5b5d-4163-b956-f849b279a52f":{"url":"https://api.sapiom.ai","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"Your platform key for buyer management, or a buyer key for everything else.","scopes":[],"schemeName":"api-key"},"schema":{"title":"x-api-key","type":"string","description":"Your platform key for buyer management, or a buyer key for everything else.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"api-key","name":"x-api-key"}],"title":"api-key"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"sapiom-1f975ca2","siteName":"Sapiom Pay","title":"Check a merchant - Sapiom Pay","contextualStarterQuestions":[{"_id":"6aed01b5232f96e0946f5c13","deploymentId":"6ad7ec02d3b4a79828e24ed4","questionText":"How do I check merchant support?","status":"active","generatedBy":"contextual","path":"api-reference/merchants/check-a-merchant","createdAt":"2026-11-05T22:22:45.094Z","updatedAt":"2026-11-05T22:22:45.094Z","__v":0},{"_id":"6aed01b5232f96e0946f5c14","deploymentId":"6ad7ec02d3b4a79828e24ed4","questionText":"When should I use browser_checkout?","status":"active","generatedBy":"contextual","path":"api-reference/merchants/check-a-merchant","createdAt":"2026-11-05T22:22:45.094Z","updatedAt":"2026-11-05T22:22:45.094Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-04T01:36:30.907Z","originalFileLocation":"api-reference/merchants/check-a-merchant.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=\"Checks whether a merchant offers a UCP checkout Sapiom can drive. When status is supported, create the transaction with purchase.type: \u0026quot;ucp_checkout\u0026quot;. Otherwise, use browser_checkout and complete the merchant\u0026#x27;s checkout page in a browser with Browser Pay attached. Requires a buyer key.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sapiom Pay\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sapiom-1f975ca2/YgmZC92WGBAfsBaa/_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/sapiom-1f975ca2/YgmZC92WGBAfsBaa/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sapiom-1f975ca2/YgmZC92WGBAfsBaa/_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/sapiom-1f975ca2/YgmZC92WGBAfsBaa/_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/sapiom-1f975ca2/YgmZC92WGBAfsBaa/_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/sapiom-1f975ca2/YgmZC92WGBAfsBaa/_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/sapiom-1f975ca2/YgmZC92WGBAfsBaa/_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/sapiom-1f975ca2/YgmZC92WGBAfsBaa/_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/sapiom-1f975ca2/YgmZC92WGBAfsBaa/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Check a merchant - Sapiom Pay\">\u003cmeta data-mint-head property=\"og:description\" content=\"Checks whether a merchant offers a UCP checkout Sapiom can drive. When status is supported, create the transaction with purchase.type: \u0026quot;ucp_checkout\u0026quot;. Otherwise, use browser_checkout and complete the merchant\u0026#x27;s checkout page in a browser with Browser Pay attached. Requires a buyer key.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sapiom Pay\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sapiom.ai/api-reference/merchants/check-a-merchant\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sapiom-1f975ca2.mintlify.site/_mintlify/api/og/v2?division=Merchants\u0026amp;title=Check+a+merchant\u0026amp;description=Checks+whether+a+merchant+offers+a+UCP+checkout+Sapiom+can+drive.+When+%60status%60+is+%60supported%60%2C+create+the+transaction+with+%60purchase.type%3A+%22ucp_checkout%22%60.+Oth\u0026amp;theme=e82bf3ae0cd73b9b01c326a0\u0026amp;signature=520938b09b819e5e4949e87f7dd3bf39738ced57117c0f7e011b4cefb91a536f\">\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=\"Check a merchant - Sapiom Pay\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Checks whether a merchant offers a UCP checkout Sapiom can drive. When status is supported, create the transaction with purchase.type: \u0026quot;ucp_checkout\u0026quot;. Otherwise, use browser_checkout and complete the merchant\u0026#x27;s checkout page in a browser with Browser Pay attached. Requires a buyer key.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sapiom-1f975ca2.mintlify.site/_mintlify/api/og/v2?division=Merchants\u0026amp;title=Check+a+merchant\u0026amp;description=Checks+whether+a+merchant+offers+a+UCP+checkout+Sapiom+can+drive.+When+%60status%60+is+%60supported%60%2C+create+the+transaction+with+%60purchase.type%3A+%22ucp_checkout%22%60.+Oth\u0026amp;theme=e82bf3ae0cd73b9b01c326a0\u0026amp;signature=520938b09b819e5e4949e87f7dd3bf39738ced57117c0f7e011b4cefb91a536f\">\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/sapiom-1f975ca2/YgmZC92WGBAfsBaa/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sapiom Pay\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sapiom.ai/api-reference/merchants/check-a-merchant\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/merchants/check-a-merchant.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sapiom.ai/#organization\",\"name\":\"Sapiom Pay\",\"url\":\"https://docs.sapiom.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sapiom-1f975ca2/K4zW5IjQAMJutZvi/logo/light.svg?fit=max\u0026auto=format\u0026n=K4zW5IjQAMJutZvi\u0026q=85\u0026s=37d04ab53c9792ff376364fd56a2799e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sapiom.ai#website\",\"name\":\"Sapiom Pay\",\"url\":\"https://docs.sapiom.ai\",\"publisher\":{\"@id\":\"https://docs.sapiom.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sapiom.ai/api-reference/merchants/check-a-merchant#webpage\",\"url\":\"https://docs.sapiom.ai/api-reference/merchants/check-a-merchant\",\"name\":\"Check a merchant\",\"description\":\"Checks whether a merchant offers a UCP checkout Sapiom can drive. When status is supported, create the transaction with purchase.type: \\\"ucp_checkout\\\". Otherwise, use browser_checkout and complete the merchant's checkout page in a browser with Browser Pay attached. Requires a buyer key.\",\"dateModified\":\"2026-11-04T01:36:30.907Z\",\"isPartOf\":{\"@id\":\"https://docs.sapiom.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sapiom.ai/api-reference/merchants/check-a-merchant#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sapiom.ai/api-reference/merchants/check-a-merchant#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"REST API\",\"item\":\"https://docs.sapiom.ai/api-reference/buyers/create-a-buyer\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Check a merchant\",\"item\":\"https://docs.sapiom.ai/api-reference/merchants/check-a-merchant\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.sapiom.ai/api-reference/merchants/check-a-merchant#apireference\",\"headline\":\"Check a merchant\",\"name\":\"Check a merchant\",\"description\":\"Checks whether a merchant offers a UCP checkout Sapiom can drive. When status is supported, create the transaction with purchase.type: \\\"ucp_checkout\\\". Otherwise, use browser_checkout and complete the merchant's checkout page in a browser with Browser Pay attached. Requires a buyer key.\",\"url\":\"https://docs.sapiom.ai/api-reference/merchants/check-a-merchant\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sapiom.ai/api-reference/merchants/check-a-merchant#webpage\"},\"dateModified\":\"2026-11-04T01:36:30.907Z\",\"publisher\":{\"@id\":\"https://docs.sapiom.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sapiom.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sapiom Pay\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Sapiom Pay","nav":{"global":null,"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":""}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"Sapiom Pay API overview","sidebarTitle":"Overview","href":"/api-reference/overview"}]},{"group":"REST API","pages":[{"group":"Buyers","pages":[{"title":"Create a buyer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/tenants","href":"/api-reference/buyers/create-a-buyer"},{"title":"List buyers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tenants","href":"/api-reference/buyers/list-buyers"},{"title":"Delete a buyer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/tenants/{tenantId}","href":"/api-reference/buyers/delete-a-buyer"},{"title":"Create a buyer key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/tenants/{tenantId}/api-keys","href":"/api-reference/buyers/create-a-buyer-key"}]},{"group":"Cards","pages":[{"title":"Create a setup link","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/payment-cards/setup-links","href":"/api-reference/cards/create-a-setup-link"},{"title":"Get a setup link","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/payment-cards/setup-links/{linkId}","href":"/api-reference/cards/get-a-setup-link"},{"title":"List cards","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/payment-cards","href":"/api-reference/cards/list-cards"},{"title":"Get a card","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/payment-cards/{cardId}","href":"/api-reference/cards/get-a-card"},{"title":"Set the default card","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v1/payment-cards/{cardId}/default","href":"/api-reference/cards/set-the-default-card"},{"title":"Remove a card","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/payment-cards/{cardId}","href":"/api-reference/cards/remove-a-card"}]},{"group":"Spending limits","pages":[{"title":"Get spending limits","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/payment-cards/{cardId}/spending-limits","href":"/api-reference/spending-limits/get-spending-limits"},{"title":"Set spending limits","description":"Replaces a card's spending limits. Send the `version` from [Get spending limits](/api-reference/spending-limits/get-spending-limits), or `0` the first time, and `null` for any limit you don't want. Returns `409` when that version is out of date or the card can't be used. Requires a key with `org.read` to read limits or `org.write` to set them, such as your [platform key](/api-reference/overview#authentication), and the buyer's ID in the `sapiom-tenant` header. Buyer keys have neither permission.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v1/payment-cards/{cardId}/spending-limits","href":"/api-reference/spending-limits/set-spending-limits"}]},{"group":"Merchants","pages":[{"title":"Check a merchant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/transaction-compatibility","href":"/api-reference/merchants/check-a-merchant"}]},{"group":"Transactions","pages":[{"title":"Create a transaction","description":"Creates a transaction that buys from one merchant with one of the buyer's saved cards. Declare what it buys in `purchase`: `ucp_checkout` sends the merchant's UCP checkout, which Sapiom drives; `browser_checkout` states the merchant and total of a checkout page your agent completes in a browser. Name the card in `funding`. Follow the response's `nextAction` with [Get a transaction](/api-reference/transactions/get-a-transaction). A retry with the same `Idempotency-Key` and body returns the same transaction. Requires a [buyer key](/api-reference/overview#authentication).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/transactions","href":"/api-reference/transactions/create-a-transaction"},{"title":"Get a transaction","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/transactions/{transactionId}","href":"/api-reference/transactions/get-a-transaction"},{"title":"Cancel a transaction","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/transactions/{transactionId}/cancel","href":"/api-reference/transactions/cancel-a-transaction"},{"title":"Open the checkout","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/transactions/{transactionId}/ucp/checkout","href":"/api-reference/transactions/open-the-checkout"},{"title":"Get the checkout","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/transactions/{transactionId}/ucp/checkout","href":"/api-reference/transactions/get-the-checkout"},{"title":"Replace the checkout","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v1/transactions/{transactionId}/ucp/checkout","href":"/api-reference/transactions/replace-the-checkout"},{"title":"Cancel the checkout","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/transactions/{transactionId}/ucp/checkout/cancel","href":"/api-reference/transactions/cancel-the-checkout"},{"title":"Refresh the checkout","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/transactions/{transactionId}/ucp/checkout/refresh","href":"/api-reference/transactions/refresh-the-checkout"}]},{"group":"Browser Pay relay","pages":[{"title":"Relay a card request","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/transactions/{transactionId}/payment/relay","href":"/api-reference/browser-pay-relay/relay-a-card-request"}]}]},{"group":"MCP and SDK","pages":[{"title":"Sapiom Pay MCP tools reference","sidebarTitle":"MCP tools","href":"/api-reference/mcp-tools"},{"title":"Browser Pay SDK reference","sidebarTitle":"Browser Pay SDK","href":"/api-reference/browser-pay-sdk"}]},{"group":"Errors","pages":[{"title":"Sapiom Pay errors and how to handle them","sidebarTitle":"Errors","href":"/api-reference/errors"}]}]}]},"basePath":"","title":"Check a merchant - Sapiom Pay","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}