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.
Makes a retry of this request safe: a second call with the same key never consumes the amount again. Credential payloads are returned once, so a replay after a successful mint answers 409 ORDER_INTENT_CREDENTIAL_ALREADY_ISSUED. Without it every call is a new mint. 1 to 255 characters.
{"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://twitter.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":"6af652e7099366755051dbc1","clientVersion":"0.0.4117","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":196},{"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/agentic-commerce/order-intents/get-order-intent-credentials","slug":"/api-reference/agentic-commerce/order-intents/get-order-intent-credentials","pageMetadata":{"title":"Get Order Intent Credentials","sidebarTitle":"Get Order Intent Credentials","openapi":"api-reference/_open-api/Agents.json POST /unstable/order-intents/{orderIntentId}/credentials","description":"Create a payment credential from an order intent.\n\n**API scope required**: `order-intents.credentials`","href":"/api-reference/agentic-commerce/order-intents/get-order-intent-credentials"},"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: [_jsx(_components.p, {\n children: \"Create a payment credential from an order intent.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"API scope required\"\n }), \": \", _jsx(_components.code, {\n children: \"order-intents.credentials\"\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{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":"Get Order Intent Credentials","sidebarTitle":"Get Order Intent Credentials","openapi":"api-reference/_open-api/Agents.json POST /unstable/order-intents/{orderIntentId}/credentials","description":"Create a payment credential from an order intent.\n\n**API scope required**: `order-intents.credentials`","href":"/api-reference/agentic-commerce/order-intents/get-order-intent-credentials"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/crossmint/d1c432d03c0c4224/scripts/dd.js","/_mintlify/custom/crossmint/7fc8d54052d3edb0/scripts/hubspot.js"],"openApiReferenceData":{"operation":{"description":"Create a payment credential from an order intent.\n\n**API scope required**: `order-intents.credentials`","operationId":"orderIntents.credentials.create","parameters":["c10281cf-5484-4fcc-80a1-048051fc8835","6246aea7-b971-4d02-a0f7-679246e8bd26"],"requestBody":"4eeb76b8-b849-4165-ae25-f06ce4061691","responses":{"201":"263fb83f-3746-4d3f-80ab-bece86ba8752","400":"97f39176-394e-4adb-b619-2e86fd5bc5e4","409":"635b5928-e5e5-4341-a72c-66c035b6dd5f"},"security":["43e41fb7-a4b2-4771-9290-9032b408aa24"],"summary":"Create Order Intent Credential","tags":["Order Intents"],"method":"post","type":"path","servers":["fb58a98f-10d4-4134-b36b-b4b7aaf719eb","fe7d279a-529a-4bb9-b6e1-5e9af265646a"],"path":"/unstable/order-intents/{orderIntentId}/credentials","baseUrlOptions":["https://staging.crossmint.com/api","https://www.crossmint.com/api"],"title":"Create Order Intent Credential","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.oneOf.1.amount.currency":"USD","body.oneOf.1.amount.value":"25.00","body.oneOf.1.credential.format":"card","body.oneOf.1.provider":"vic","body.oneOf.1.rail":"agentic-token","body.oneOf.1.merchant.countryCode":"US","body.oneOf.1.merchant.name":"Acme Store","body.oneOf.1.merchant.url":"https://acme.example.com"},{"body.oneOf.0.amount.currency":"USD","body.oneOf.0.amount.value":"25.00","body.oneOf.0.credential.format":"card","body.oneOf.0.credential.publicKey.e":"AQAB","body.oneOf.0.credential.publicKey.kty":"RSA","body.oneOf.0.credential.publicKey.n":"qIMepMOHZyymTpmX9KiM-tpufrUq8cqNST7NPIaLC_7kCa6i3CiGN6JVNkDrhtOAK4uRVFOJ-34NZq9BXx1FV7ENcSMwClwrNt2JgCTkRaxS8mv_SDxp54s5B5aDBxCaAdoAP62lRw0PsvqrNE3zlmPEuv0GqdRAGqpMEtKCB3sR1tk-opn8ReGrbuOuP932HuD_p89Wgt4i9staDyiZo-pf50tm86-Zr41qxstQLM9ahVwt9AqlSanjjAwU6s83q8BBzkYGcEpXhQ4kpbP9z-A_77wcyiW2-N9HWrKvvhknl_z8waxe5mnAgVx2GA4HHZhki8YWXRjXjb9TSHsSPw","body.oneOf.0.rail":"encrypted-card","body.oneOf.0.merchant.countryCode":"US","body.oneOf.0.merchant.name":"Acme Store","body.oneOf.0.merchant.url":"https://acme.example.com"},{"body.oneOf.1.amount.currency":"USD","body.oneOf.1.amount.value":"25.00","body.oneOf.1.credential.format":"identifier","body.oneOf.1.credential.payload.networkBusinessProfile":"profile_123","body.oneOf.1.provider":"stripe","body.oneOf.1.rail":"spt","body.oneOf.1.merchant.countryCode":"US","body.oneOf.1.merchant.name":"Acme Store","body.oneOf.1.merchant.url":"https://acme.example.com"}]},"dependencies":{"parameters":{"c10281cf-5484-4fcc-80a1-048051fc8835":{"in":"path","name":"orderIntentId","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"6246aea7-b971-4d02-a0f7-679246e8bd26":{"description":"Makes a retry of this request safe: a second call with the same key never consumes the amount again. Credential payloads are returned once, so a replay after a successful mint answers 409 `ORDER_INTENT_CREDENTIAL_ALREADY_ISSUED`. Without it every call is a new mint. 1 to 255 characters.","in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string","isRequired":false,"description":"Makes a retry of this request safe: a second call with the same key never consumes the amount again. Credential payloads are returned once, so a replay after a successful mint answers 409 `ORDER_INTENT_CREDENTIAL_ALREADY_ISSUED`. Without it every call is a new mint. 1 to 255 characters.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"examples":{"Card Network Token":{"title":"Card Network Token","description":"Mint a one-time card number from a card-network rail (`agentic-token`). Use the rail's `provider`. `merchant` is required when the order intent has none.","value":{"amount":{"currency":"USD","value":"25.00"},"credential":{"format":"card"},"merchant":{"countryCode":"US","name":"Acme Store","url":"https://acme.example.com"},"provider":"vic","rail":"agentic-token"}},"Encrypted Card":{"title":"Encrypted Card","description":"Get the saved card, encrypted to your RSA public key (a JWK with `kty`, `n` and `e`). In production, the project needs encrypted card access. `merchant` is required when the order intent has none.","value":{"amount":{"currency":"USD","value":"25.00"},"credential":{"format":"card","publicKey":{"e":"AQAB","kty":"RSA","n":"qIMepMOHZyymTpmX9KiM-tpufrUq8cqNST7NPIaLC_7kCa6i3CiGN6JVNkDrhtOAK4uRVFOJ-34NZq9BXx1FV7ENcSMwClwrNt2JgCTkRaxS8mv_SDxp54s5B5aDBxCaAdoAP62lRw0PsvqrNE3zlmPEuv0GqdRAGqpMEtKCB3sR1tk-opn8ReGrbuOuP932HuD_p89Wgt4i9staDyiZo-pf50tm86-Zr41qxstQLM9ahVwt9AqlSanjjAwU6s83q8BBzkYGcEpXhQ4kpbP9z-A_77wcyiW2-N9HWrKvvhknl_z8waxe5mnAgVx2GA4HHZhki8YWXRjXjb9TSHsSPw"}},"merchant":{"countryCode":"US","name":"Acme Store","url":"https://acme.example.com"},"rail":"encrypted-card"}},"Stripe Shared Payment Token":{"title":"Stripe Shared Payment Token","description":"Get a Stripe shared payment token for the merchant's Stripe network business profile. `merchant` is required when the order intent has none.","value":{"amount":{"currency":"USD","value":"25.00"},"credential":{"format":"identifier","payload":{"networkBusinessProfile":"profile_123"}},"merchant":{"countryCode":"US","name":"Acme Store","url":"https://acme.example.com"},"provider":"stripe","rail":"spt"}}},"schema":{"oneOf":[{"type":"object","required":["amount","credential","rail"],"properties":{"amount":{"additionalProperties":false,"properties":{"currency":{"pattern":"^[A-Za-z]{3}$","type":"string","isRequired":true,"uniqueKey":"oneOf.0.amount.currency","typeLabel":"string"},"value":{"pattern":"^\\d+(\\.\\d{1,4})?$","type":"string","isRequired":true,"uniqueKey":"oneOf.0.amount.value","typeLabel":"string"}},"required":["currency","value"],"type":"object","isRequired":true,"uniqueKey":"oneOf.0.amount","typeLabel":"object"},"credential":{"additionalProperties":false,"properties":{"format":{"const":"card","type":"string","isRequired":true,"uniqueKey":"oneOf.0.credential.format","typeLabel":"string"},"publicKey":{"additionalProperties":false,"properties":{"e":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.0.credential.publicKey.e","typeLabel":"string"},"kty":{"const":"RSA","type":"string","isRequired":true,"uniqueKey":"oneOf.0.credential.publicKey.kty","typeLabel":"string"},"n":{"minLength":342,"pattern":"^[A-Za-z0-9_-]+$","type":"string","isRequired":true,"uniqueKey":"oneOf.0.credential.publicKey.n","typeLabel":"string"}},"required":["e","kty","n"],"type":"object","isRequired":true,"uniqueKey":"oneOf.0.credential.publicKey","typeLabel":"object"}},"required":["format","publicKey"],"type":"object","isRequired":true,"uniqueKey":"oneOf.0.credential","typeLabel":"object"},"rail":{"const":"encrypted-card","type":"string","isRequired":true,"uniqueKey":"oneOf.0.rail","typeLabel":"string"},"merchant":{"additionalProperties":false,"properties":{"countryCode":{"pattern":"^[A-Za-z]{2}$","type":"string","isRequired":true,"uniqueKey":"oneOf.0.merchant.countryCode","typeLabel":"string"},"name":{"maxLength":200,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.0.merchant.name","typeLabel":"string"},"url":{"maxLength":2048,"pattern":"^https?:\\/\\/","type":"string","isRequired":true,"uniqueKey":"oneOf.0.merchant.url","typeLabel":"string"},"acquirerBin":{"pattern":"^\\d{6}$","type":"string","uniqueKey":"oneOf.0.merchant.acquirerBin","typeLabel":"string"},"categoryCode":{"pattern":"^\\d{4}$","type":"string","uniqueKey":"oneOf.0.merchant.categoryCode","typeLabel":"string"}},"required":["countryCode","name","url"],"type":"object","uniqueKey":"oneOf.0.merchant","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["amount","credential","provider","rail"],"properties":{"amount":{"additionalProperties":false,"properties":{"currency":{"pattern":"^[A-Za-z]{3}$","type":"string","isRequired":true,"uniqueKey":"oneOf.1.amount.currency","typeLabel":"string"},"value":{"pattern":"^\\d+(\\.\\d{1,4})?$","type":"string","isRequired":true,"uniqueKey":"oneOf.1.amount.value","typeLabel":"string"}},"required":["currency","value"],"type":"object","isRequired":true,"uniqueKey":"oneOf.1.amount","typeLabel":"object"},"credential":{"additionalProperties":false,"properties":{"format":{"const":"identifier","type":"string","isRequired":true,"uniqueKey":"oneOf.1.credential.format","typeLabel":"string"},"payload":{"additionalProperties":false,"properties":{"networkBusinessProfile":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.1.credential.payload.networkBusinessProfile","typeLabel":"string"}},"required":["networkBusinessProfile"],"type":"object","isRequired":true,"uniqueKey":"oneOf.1.credential.payload","typeLabel":"object"}},"required":["format","payload"],"type":"object","isRequired":true,"uniqueKey":"oneOf.1.credential","typeLabel":"object"},"provider":{"const":"stripe","type":"string","isRequired":true,"uniqueKey":"oneOf.1.provider","typeLabel":"string"},"rail":{"const":"spt","type":"string","isRequired":true,"uniqueKey":"oneOf.1.rail","typeLabel":"string"},"merchant":{"additionalProperties":false,"properties":{"countryCode":{"pattern":"^[A-Za-z]{2}$","type":"string","isRequired":true,"uniqueKey":"oneOf.1.merchant.countryCode","typeLabel":"string"},"name":{"maxLength":200,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.1.merchant.name","typeLabel":"string"},"url":{"maxLength":2048,"pattern":"^https?:\\/\\/","type":"string","isRequired":true,"uniqueKey":"oneOf.1.merchant.url","typeLabel":"string"},"acquirerBin":{"pattern":"^\\d{6}$","type":"string","uniqueKey":"oneOf.1.merchant.acquirerBin","typeLabel":"string"},"categoryCode":{"pattern":"^\\d{4}$","type":"string","uniqueKey":"oneOf.1.merchant.categoryCode","typeLabel":"string"}},"required":["countryCode","name","url"],"type":"object","uniqueKey":"oneOf.1.merchant","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","required":["amount","credential","provider","rail"],"properties":{"amount":{"additionalProperties":false,"properties":{"currency":{"pattern":"^[A-Za-z]{3}$","type":"string","isRequired":true,"uniqueKey":"oneOf.2.amount.currency","typeLabel":"string"},"value":{"pattern":"^\\d+(\\.\\d{1,4})?$","type":"string","isRequired":true,"uniqueKey":"oneOf.2.amount.value","typeLabel":"string"}},"required":["currency","value"],"type":"object","isRequired":true,"uniqueKey":"oneOf.2.amount","typeLabel":"object"},"credential":{"additionalProperties":false,"properties":{"format":{"enum":["card","network-token"],"type":"string","isRequired":true,"uniqueKey":"oneOf.2.credential.format","typeLabel":"enum\u003cstring>"}},"required":["format"],"type":"object","isRequired":true,"uniqueKey":"oneOf.2.credential","typeLabel":"object"},"provider":{"enum":["agentpay","vic"],"type":"string","isRequired":true,"uniqueKey":"oneOf.2.provider","typeLabel":"enum\u003cstring>"},"rail":{"const":"agentic-token","type":"string","isRequired":true,"uniqueKey":"oneOf.2.rail","typeLabel":"string"},"merchant":{"additionalProperties":false,"properties":{"countryCode":{"pattern":"^[A-Za-z]{2}$","type":"string","isRequired":true,"uniqueKey":"oneOf.2.merchant.countryCode","typeLabel":"string"},"name":{"maxLength":200,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.2.merchant.name","typeLabel":"string"},"url":{"maxLength":2048,"pattern":"^https?:\\/\\/","type":"string","isRequired":true,"uniqueKey":"oneOf.2.merchant.url","typeLabel":"string"},"acquirerBin":{"pattern":"^\\d{6}$","type":"string","uniqueKey":"oneOf.2.merchant.acquirerBin","typeLabel":"string"},"categoryCode":{"pattern":"^\\d{4}$","type":"string","uniqueKey":"oneOf.2.merchant.categoryCode","typeLabel":"string"}},"required":["countryCode","name","url"],"type":"object","uniqueKey":"oneOf.2.merchant","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.2","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"required":true,"exampleType":"examples"},"responses":{"263fb83f-3746-4d3f-80ab-bece86ba8752":{"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["amount","credential","expiresAt","id","rail"],"properties":{"amount":{"additionalProperties":false,"properties":{"currency":{"pattern":"^[A-Za-z]{3}$","type":"string","isRequired":true,"uniqueKey":"oneOf.0.amount.currency","typeLabel":"string"},"value":{"pattern":"^\\d+(\\.\\d{1,4})?$","type":"string","isRequired":true,"uniqueKey":"oneOf.0.amount.value","typeLabel":"string"}},"required":["currency","value"],"type":"object","isRequired":true,"uniqueKey":"oneOf.0.amount","typeLabel":"object"},"credential":{"additionalProperties":false,"properties":{"format":{"const":"card","type":"string","isRequired":true,"uniqueKey":"oneOf.0.credential.format","typeLabel":"string"},"value":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.0.credential.value","typeLabel":"string"}},"required":["format","value"],"type":"object","isRequired":true,"uniqueKey":"oneOf.0.credential","typeLabel":"object"},"expiresAt":{"description":"ISO 8601. A UTC offset is accepted. Fractional seconds are optional.","example":"2024-01-15T10:30:00.000Z","format":"date-time","type":"string","isRequired":true,"uniqueKey":"oneOf.0.expiresAt","typeLabel":"string\u003cdate-time>"},"id":{"format":"uuid","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)$","type":"string","isRequired":true,"uniqueKey":"oneOf.0.id","typeLabel":"string\u003cuuid>"},"rail":{"const":"encrypted-card","type":"string","isRequired":true,"uniqueKey":"oneOf.0.rail","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["amount","credential","expiresAt","id","provider","rail"],"properties":{"amount":{"additionalProperties":false,"properties":{"currency":{"pattern":"^[A-Za-z]{3}$","type":"string","isRequired":true,"uniqueKey":"oneOf.1.amount.currency","typeLabel":"string"},"value":{"pattern":"^\\d+(\\.\\d{1,4})?$","type":"string","isRequired":true,"uniqueKey":"oneOf.1.amount.value","typeLabel":"string"}},"required":["currency","value"],"type":"object","isRequired":true,"uniqueKey":"oneOf.1.amount","typeLabel":"object"},"credential":{"additionalProperties":false,"properties":{"format":{"const":"identifier","type":"string","isRequired":true,"uniqueKey":"oneOf.1.credential.format","typeLabel":"string"},"value":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.1.credential.value","typeLabel":"string"}},"required":["format","value"],"type":"object","isRequired":true,"uniqueKey":"oneOf.1.credential","typeLabel":"object"},"expiresAt":{"description":"ISO 8601. A UTC offset is accepted. Fractional seconds are optional.","example":"2024-01-15T10:30:00.000Z","format":"date-time","type":"string","isRequired":true,"uniqueKey":"oneOf.1.expiresAt","typeLabel":"string\u003cdate-time>"},"id":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.1.id","typeLabel":"string"},"provider":{"const":"stripe","type":"string","isRequired":true,"uniqueKey":"oneOf.1.provider","typeLabel":"string"},"rail":{"const":"spt","type":"string","isRequired":true,"uniqueKey":"oneOf.1.rail","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","required":["amount","credential","expiresAt","id","provider","rail"],"properties":{"amount":{"additionalProperties":false,"properties":{"currency":{"pattern":"^[A-Za-z]{3}$","type":"string","isRequired":true,"uniqueKey":"oneOf.2.amount.currency","typeLabel":"string"},"value":{"pattern":"^\\d+(\\.\\d{1,4})?$","type":"string","isRequired":true,"uniqueKey":"oneOf.2.amount.value","typeLabel":"string"}},"required":["currency","value"],"type":"object","isRequired":true,"uniqueKey":"oneOf.2.amount","typeLabel":"object"},"credential":{"oneOf":[{"type":"object","required":["format","value"],"properties":{"format":{"const":"card","type":"string","isRequired":true,"uniqueKey":"oneOf.2.credential.oneOf.0.format","typeLabel":"string"},"value":{"additionalProperties":false,"properties":{"cvc":{"type":"string","isRequired":true,"uniqueKey":"oneOf.2.credential.oneOf.0.value.cvc","typeLabel":"string"},"expirationMonth":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer","isRequired":true,"uniqueKey":"oneOf.2.credential.oneOf.0.value.expirationMonth","typeLabel":"integer"},"expirationYear":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer","isRequired":true,"uniqueKey":"oneOf.2.credential.oneOf.0.value.expirationYear","typeLabel":"integer"},"number":{"type":"string","isRequired":true,"uniqueKey":"oneOf.2.credential.oneOf.0.value.number","typeLabel":"string"}},"required":["cvc","expirationMonth","expirationYear","number"],"type":"object","isRequired":true,"uniqueKey":"oneOf.2.credential.oneOf.0.value","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.2.credential.oneOf.0","typeLabel":"object"},{"type":"object","required":["format","value"],"properties":{"format":{"const":"network-token","type":"string","isRequired":true,"uniqueKey":"oneOf.2.credential.oneOf.1.format","typeLabel":"string"},"value":{"additionalProperties":false,"properties":{"cryptogram":{"additionalProperties":false,"properties":{"type":{"const":"CARD_APPLICATION_CRYPTOGRAM_SHORT_FORM","type":"string","isRequired":true,"uniqueKey":"oneOf.2.credential.oneOf.1.value.cryptogram.type","typeLabel":"string"},"value":{"type":"string","isRequired":true,"uniqueKey":"oneOf.2.credential.oneOf.1.value.cryptogram.value","typeLabel":"string"},"expiresAt":{"description":"ISO 8601. A UTC offset is accepted. Fractional seconds are optional.","example":"2024-01-15T10:30:00.000Z","format":"date-time","type":"string","uniqueKey":"oneOf.2.credential.oneOf.1.value.cryptogram.expiresAt","typeLabel":"string\u003cdate-time>"}},"required":["type","value"],"type":"object","isRequired":true,"uniqueKey":"oneOf.2.credential.oneOf.1.value.cryptogram","typeLabel":"object"},"eci":{"type":"string","isRequired":true,"uniqueKey":"oneOf.2.credential.oneOf.1.value.eci","typeLabel":"string"},"expirationMonth":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer","isRequired":true,"uniqueKey":"oneOf.2.credential.oneOf.1.value.expirationMonth","typeLabel":"integer"},"expirationYear":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer","isRequired":true,"uniqueKey":"oneOf.2.credential.oneOf.1.value.expirationYear","typeLabel":"integer"},"paymentToken":{"type":"string","isRequired":true,"uniqueKey":"oneOf.2.credential.oneOf.1.value.paymentToken","typeLabel":"string"}},"required":["cryptogram","eci","expirationMonth","expirationYear","paymentToken"],"type":"object","isRequired":true,"uniqueKey":"oneOf.2.credential.oneOf.1.value","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.2.credential.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"oneOf.2.credential","typeLabel":"object"},"expiresAt":{"description":"ISO 8601. A UTC offset is accepted. Fractional seconds are optional.","example":"2024-01-15T10:30:00.000Z","format":"date-time","type":"string","isRequired":true,"uniqueKey":"oneOf.2.expiresAt","typeLabel":"string\u003cdate-time>"},"id":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.2.id","typeLabel":"string"},"provider":{"enum":["agentpay","vic"],"type":"string","isRequired":true,"uniqueKey":"oneOf.2.provider","typeLabel":"enum\u003cstring>"},"rail":{"const":"agentic-token","type":"string","isRequired":true,"uniqueKey":"oneOf.2.rail","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.2","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"amount":{"currency":"\u003cstring>","value":"\u003cstring>"},"credential":{"format":"card","value":"\u003cstring>"},"expiresAt":"2024-01-15T10:30:00.000Z","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","rail":"encrypted-card"}}},"exampleType":"generated"}},"description":"Returns the payment credential","exampleType":"generated"},"97f39176-394e-4adb-b619-2e86fd5bc5e4":{"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 project lacks the addon the requested rail requires (`code: \"project:addon.required\"`). The `encrypted-card` rail is listed on every active order intent, but minting it needs the `encryptedCardOrderIntents` addon.","exampleType":"generated"},"635b5928-e5e5-4341-a72c-66c035b6dd5f":{"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 card security code must be collected again before an `encrypted-card` credential can be issued (`code: \"ORDER_INTENT_CVC_RECOLLECTION_REQUIRED\"`). The rail stays `pending_cvc_recollection`: recollect the CVC and retry.\n\nA credential was already issued for this `Idempotency-Key` (`code: \"ORDER_INTENT_CREDENTIAL_ALREADY_ISSUED\"`). Credential payloads are returned once; use a new key for a new mint.\n\nThe saved card of the order intent was deleted (`code: \"payments:payment-method.deleted\"`). The order intent cannot mint on any rail; create a new order intent with another card.","exampleType":"generated"}},"security":{"43e41fb7-a4b2-4771-9290-9032b408aa24":{"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"}}},"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"}]},"originalFileLocation":"api-reference/_open-api/Agents.json"},"subdomain":"crossmint","siteName":"Crossmint Docs","title":"Get Order Intent Credentials - Crossmint Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-17T15:01:13.731Z","originalFileLocation":"api-reference/agentic-commerce/order-intents/get-order-intent-credentials.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=\"Create a payment credential from an order intent. API scope required: order-intents.credentials\">\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=\"Get Order Intent Credentials - Crossmint Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a payment credential from an order intent. API scope required: order-intents.credentials\">\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/agentic-commerce/order-intents/get-order-intent-credentials\">\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=Order+Intents\u0026amp;title=Get+Order+Intent+Credentials\u0026amp;description=Create+a+payment+credential+from+an+order+intent.%0A%0A**API+scope+required**%3A+%60order-intents.credentials%60\u0026amp;theme=b8bba0b38c114479513683ad\u0026amp;signature=e86af67e91bd851a53101eda01fe87f0671c5ba62be4bc661436885d63026858\">\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=\"Get Order Intent Credentials - Crossmint Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a payment credential from an order intent. API scope required: order-intents.credentials\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://crossmint.mintlify.site/_mintlify/api/og/v2?division=Order+Intents\u0026amp;title=Get+Order+Intent+Credentials\u0026amp;description=Create+a+payment+credential+from+an+order+intent.%0A%0A**API+scope+required**%3A+%60order-intents.credentials%60\u0026amp;theme=b8bba0b38c114479513683ad\u0026amp;signature=e86af67e91bd851a53101eda01fe87f0671c5ba62be4bc661436885d63026858\">\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/agentic-commerce/order-intents/get-order-intent-credentials\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/agentic-commerce/order-intents/get-order-intent-credentials.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/agentic-commerce/order-intents/get-order-intent-credentials#webpage\",\"url\":\"https://docs.crossmint.com/api-reference/agentic-commerce/order-intents/get-order-intent-credentials\",\"name\":\"Get Order Intent Credentials\",\"description\":\"Create a payment credential from an order intent. API scope required: order-intents.credentials\",\"dateModified\":\"2026-10-17T15:01:13.731Z\",\"isPartOf\":{\"@id\":\"https://docs.crossmint.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.crossmint.com/api-reference/agentic-commerce/order-intents/get-order-intent-credentials#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.crossmint.com/api-reference/agentic-commerce/order-intents/get-order-intent-credentials#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\":\"Order Intents\",\"item\":\"https://docs.crossmint.com/api-reference/agentic-commerce/order-intents/list-order-intents\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Get Order Intent Credentials\",\"item\":\"https://docs.crossmint.com/api-reference/agentic-commerce/order-intents/get-order-intent-credentials\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.crossmint.com/api-reference/agentic-commerce/order-intents/get-order-intent-credentials#apireference\",\"headline\":\"Get Order Intent Credentials\",\"name\":\"Get Order Intent Credentials\",\"description\":\"Create a payment credential from an order intent. API scope required: order-intents.credentials\",\"url\":\"https://docs.crossmint.com/api-reference/agentic-commerce/order-intents/get-order-intent-credentials\",\"mainEntityOfPage\":{\"@id\":\"https://docs.crossmint.com/api-reference/agentic-commerce/order-intents/get-order-intent-credentials#webpage\"},\"dateModified\":\"2026-10-17T15:01:13.731Z\",\"publisher\":{\"@id\":\"https://docs.crossmint.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.crossmint.com#website\"}}]}\u003c/script>","agentPointerHref":"/api-reference/agentic-commerce/order-intents/get-order-intent-credentials.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","description":"Create a new order intent.\n\n**API scope required**: `order-intents.create`","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","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":"Get Order Intent Credentials - Crossmint Docs","buildId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","deploymentId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DDP9JXtj.js","utils-8yQyvEtx.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CBCFR8Sn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-rQaXkUHa.js","snippetPresets-J5KpBTgV.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BVxVH4Cj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BxdQ2vIi.js","shallow-BjV2tFiD.js","getApiPlaygroundDisplay-C_55tL4O.js","CodeSnippet-C0JpiCOC.js","CodeSnippets-w9Ps7djG.js","Page-DTNSD-0M.js","getPastedJson-BDfB-H8d.js","icon-g-kUkkO9.js","MethodPill-v4l6fq0h.js","DuplicateIcon-CvLo-CfU.js","createIcon-165clrrV.js","DynamicMarkdown-D3RQ-fEj.js","SectionHeading-vvo-3yLf.js","axios-vUo_bRtp.js","Markdown-CMT1uFWQ.js","clsx-C8f2yC9R.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CI2D8R2Y.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-k78Wrw_e.js"]}