Reads the current order’s verification credentials, for a merchant taking the step over with identityVerificationHandling="external". Undefined until the order needs verification, and again once the order moves on, which happens before the flow shows its result. Keep the last value mounted until onComplete or onCancel.
import { useRef, useState } from "react";import { CrossmintIdentityVerification, type IdentityVerificationAppearance, useIdentityVerificationCredentials,} from "@crossmint/client-sdk-react-ui";// Mount one step per order, for example with key={order.orderId}, so the next order starts open.function VerificationStep({ appearance }: { appearance?: IdentityVerificationAppearance }) { const credentials = useIdentityVerificationCredentials(); // The order moves on before the flow shows its result, so keep the last credentials // and close the step on onComplete or onCancel. const lastCredentials = useRef(credentials); lastCredentials.current = credentials ?? lastCredentials.current; const [closed, setClosed] = useState(false); if (closed || lastCredentials.current == null) { return null; } return ( <CrossmintIdentityVerification credentials={lastCredentials.current} appearance={appearance} onComplete={({ status }) => { console.log(status); setClosed(true); }} onCancel={() => setClosed(true)} /> );}
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Crossmint Docs","colors":{"primary":"#36b37e","light":"#87ff8f","dark":"#001d01"},"logo":{"light":"https://mintcdn.com/crossmint/a8gPOTKEuVFcSfC3/logo/crossmint-light.png?fit=max\u0026auto=format\u0026n=a8gPOTKEuVFcSfC3\u0026q=85\u0026s=8c2671e4c8f7da6956e1508bd68c2928","dark":"https://mintcdn.com/crossmint/a8gPOTKEuVFcSfC3/logo/crossmint-dark.png?fit=max\u0026auto=format\u0026n=a8gPOTKEuVFcSfC3\u0026q=85\u0026s=272ecc17664d17b9ff24471758ff80b2"},"favicon":"https://mintcdn.com/crossmint/xq66q9GV6z6jjj95/favicon.png?fit=max\u0026auto=format\u0026n=xq66q9GV6z6jjj95\u0026q=85\u0026s=00fb89ddf6ba5b1022b9307039c08006","api":{"openapi":["api-reference/_open-api/MintingAPIs.json","api-reference/_open-api/AdminAPIs.json","api-reference/_open-api/VerifiableCredentialsAPIs.json","api-reference/_open-api/Wallets.json"],"examples":{"prefill":true}},"background":{"color":{"dark":"#090b0c"}},"navbar":{"links":[{"href":"https://www.crossmint.com/contact","label":"Support"},{"href":"https://staging.crossmint.com/console","label":"Staging Console"}],"primary":{"type":"button","label":"Console","href":"https://www.crossmint.com/console"}},"footer":{"socials":{"website":"https://www.crossmint.com","twitter":"https://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":""},"chroma":{"liveDeploymentHistoryId":"6aebfb358745fc9cf77b8e0b","collectionId":"71df2fbc-95df-4db3-84f4-735cd2a542b6","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aebfb358745fc9cf77b8e0b"},"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":"6aee6eeb3d2baf3afdd01b5f","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"API Reference","count":1063},{"language":"default","tag":"Wallets","count":850},{"language":"default","tag":"Kotlin SDK","count":413},{"language":"default","tag":"Swift SDK","count":227},{"language":"default","tag":"Checkout","count":186},{"language":"default","tag":"Classes","count":180},{"language":"default","tag":"Data Classes","count":169},{"language":"default","tag":"Typescript SDK","count":151},{"language":"default","tag":"Guides","count":134},{"language":"default","tag":"REST","count":122}]},"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":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".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":"sdk-reference/checkout/react/hooks","slug":"/sdk-reference/checkout/react/hooks","pageMetadata":{"title":"Hooks","description":"React hooks for React SDK reference for Crossmint checkout","href":"/sdk-reference/checkout/react/hooks"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"React hooks for React SDK reference for Crossmint checkout\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,hr:`hr`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`usecrossmintcheckout`,children:`useCrossmintCheckout()`}),`\n`,_jsx(Heading,{level:`3`,id:`returns`,children:`Returns`}),`\n`,_jsx(ResponseField,{name:`order`,type:`object`,id:`param-order`,children:_jsxs(Expandable,{title:`parameters`,children:[_jsx(ResponseField,{name:`lineItems`,type:`object[]`,id:`param-line-items`,children:_jsxs(Expandable,{title:`parameters`,children:[_jsx(ResponseField,{name:`callData`,type:`Record\u003cstring, any>`,id:`param-call-data`}),_jsx(ResponseField,{name:`chain`,type:`\"solana\" | \"sui\" | \"aptos\" | \"ethereum\" | \"polygon\" | \"bsc\" | \"optimism\" | \"arbitrum\" | \"base\" | \"zora\" | ...`,id:`param-chain`}),_jsx(ResponseField,{name:`delivery`,type:`{ recipient?: object | object; status: \"completed\"; tokens: ... | ...[]; txId: string } | ...`,id:`param-delivery`,children:_jsxs(Expandable,{title:`parameters`,children:[_jsx(ResponseField,{name:`recipient`,type:`{ locator: string; physicalAddress?: object; walletAddress: string } | ...`,id:`param-recipient`}),_jsx(ResponseField,{name:`status`,type:`\"completed\"`,id:`param-status`}),_jsx(ResponseField,{name:`tokens`,type:`object | object[]`,id:`param-tokens`}),_jsx(ResponseField,{name:`txId`,type:`string`,id:`param-tx-id`})]})}),_jsx(ResponseField,{name:`metadata`,type:`object`,id:`param-metadata`,children:_jsxs(Expandable,{title:`parameters`,children:[_jsx(ResponseField,{name:`collection`,type:`{ description?: string; imageUrl?: string; name?: string }`,id:`param-collection`}),_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description`}),_jsx(ResponseField,{name:`imageUrl`,type:`string`,id:`param-image-url`}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`})]})}),_jsx(ResponseField,{name:`quantity`,type:`number`,id:`param-quantity`}),_jsx(ResponseField,{name:`quote`,type:`object`,id:`param-quote`,children:_jsxs(Expandable,{title:`parameters`,children:[_jsx(ResponseField,{name:`charges`,type:`{ gas?: object; unit: object }`,id:`param-charges`}),_jsx(ResponseField,{name:`status`,type:`\"valid\" | \"expired\" | \"requires-recipient\" | \"item-unavailable\"`,id:`param-status-1`}),_jsx(ResponseField,{name:`totalPrice`,type:`object`,id:`param-total-price`}),_jsx(ResponseField,{name:`unavailabilityReason`,type:`{ code: \"to\" | \"do\"; message: string }`,id:`param-unavailability-reason`})]})}),_jsx(ResponseField,{name:`slippageBps`,type:`number`,id:`param-slippage-bps`})]})}),_jsx(ResponseField,{name:`locale`,type:`\"en-US\" | \"es-ES\" | \"fr-FR\" | \"it-IT\" | \"ja-JP\" | \"ko-KR\" | \"pt-PT\" | \"zh-CN\" | \"zh-TW\" | \"de-DE\" | \"ru-RU\" | ...`,id:`param-locale`}),_jsx(ResponseField,{name:`orderId`,type:`string`,id:`param-order-id`}),_jsx(ResponseField,{name:`payment`,type:`object`,id:`param-payment`,children:_jsxs(Expandable,{title:`parameters`,children:[_jsx(ResponseField,{name:`currency`,type:`\"usd\" | \"eur\" | \"gbp\" | \"aud\" | \"sgd\" | \"hkd\" | \"krw\" | \"inr\" | \"vnd\" | \"jpy\" | \"mxn\" | \"xcd\" | \"eth\" | ...`,id:`param-currency`}),_jsx(ResponseField,{name:`failureReason`,type:`{ code: string; message?: string } | { code: \"unknown\" | \"tx-id-not-found\" | \"insufficient-funds\"; message?: string }`,id:`param-failure-reason`,children:_jsxs(Expandable,{title:`parameters`,children:[_jsx(ResponseField,{name:`code`,type:`string`,id:`param-code`}),_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`})]})}),_jsx(ResponseField,{name:`method`,type:`\"solana\" | \"ethereum\" | \"polygon\" | \"bsc\" | \"optimism\" | \"arbitrum\" | \"base\" | \"zora\" | \"arbitrumnova\" | ...`,id:`param-method`}),_jsx(ResponseField,{name:`preparation`,type:`object | object`,id:`param-preparation`,children:_jsxs(Expandable,{title:`parameters`,children:[_jsx(ResponseField,{name:`chain`,type:`\"solana\" | \"sui\" | \"aptos\" | \"ethereum\" | \"polygon\" | \"bsc\" | \"optimism\" | \"arbitrum\" | \"base\" | \"zora\" | ...`,id:`param-chain-1`}),_jsx(ResponseField,{name:`payerAddress`,type:`string`,id:`param-payer-address`}),_jsx(ResponseField,{name:`serializedTransaction`,type:`string`,id:`param-serialized-transaction`}),_jsx(ResponseField,{name:`stripeClientSecret`,type:`string`,id:`param-stripe-client-secret`}),_jsx(ResponseField,{name:`stripeEphemeralKeySecret`,type:`string`,id:`param-stripe-ephemeral-key-secret`}),_jsx(ResponseField,{name:`stripePublishableKey`,type:`string`,id:`param-stripe-publishable-key`}),_jsx(ResponseField,{name:`stripeSubscriptionId`,type:`string`,id:`param-stripe-subscription-id`})]})}),_jsx(ResponseField,{name:`receiptEmail`,type:`string`,id:`param-receipt-email`}),_jsx(ResponseField,{name:`received`,type:`object | object`,id:`param-received`,children:_jsxs(Expandable,{title:`parameters`,children:[_jsx(ResponseField,{name:`amount`,type:`string`,id:`param-amount`}),_jsx(ResponseField,{name:`currency`,type:`\"usd\" | \"eur\" | \"gbp\" | \"aud\" | \"sgd\" | \"hkd\" | \"krw\" | \"inr\" | \"vnd\" | \"jpy\" | \"mxn\" | \"xcd\" | \"eth\" | ...`,id:`param-currency-1`}),_jsx(ResponseField,{name:`chain`,type:`\"solana\" | \"sui\" | \"aptos\" | \"ethereum\" | \"polygon\" | \"bsc\" | \"optimism\" | \"arbitrum\" | \"base\" | \"zora\" | ...`,id:`param-chain-2`}),_jsx(ResponseField,{name:`txId`,type:`string`,id:`param-tx-id-1`})]})}),_jsx(ResponseField,{name:`refunded`,type:`object | object`,id:`param-refunded`,children:_jsxs(Expandable,{title:`parameters`,children:[_jsx(ResponseField,{name:`amount`,type:`string`,id:`param-amount-1`}),_jsx(ResponseField,{name:`currency`,type:`\"usd\" | \"eur\" | \"gbp\" | \"aud\" | \"sgd\" | \"hkd\" | \"krw\" | \"inr\" | \"vnd\" | \"jpy\" | \"mxn\" | \"xcd\" | \"eth\" | ...`,id:`param-currency-2`}),_jsx(ResponseField,{name:`chain`,type:`\"solana\" | \"sui\" | \"aptos\" | \"ethereum\" | \"polygon\" | \"bsc\" | \"optimism\" | \"arbitrum\" | \"base\" | \"zora\" | ...`,id:`param-chain-3`}),_jsx(ResponseField,{name:`txId`,type:`string`,id:`param-tx-id-2`})]})}),_jsx(ResponseField,{name:`status`,type:`\"completed\" | \"awaiting-payment\" | \"in-progress\" | \"requires-quote\" | \"requires-crypto-payer-address\" | ...`,id:`param-status-2`})]})}),_jsx(ResponseField,{name:`phase`,type:`\"completed\" | \"quote\" | \"delivery\" | \"payment\"`,id:`param-phase`}),_jsx(ResponseField,{name:`quote`,type:`object`,id:`param-quote-1`,children:_jsxs(Expandable,{title:`parameters`,children:[_jsx(ResponseField,{name:`expiresAt`,type:`string`,id:`param-expires-at`}),_jsx(ResponseField,{name:`quotedAt`,type:`string`,id:`param-quoted-at`}),_jsx(ResponseField,{name:`status`,type:`\"valid\" | \"expired\" | \"requires-recipient\" | \"requires-physical-address\" | \"all-line-items-unavailable\"`,id:`param-status-3`}),_jsx(ResponseField,{name:`totalPrice`,type:`object`,id:`param-total-price-1`,children:_jsxs(Expandable,{title:`parameters`,children:[_jsx(ResponseField,{name:`amount`,type:`string`,id:`param-amount-2`}),_jsx(ResponseField,{name:`currency`,type:`\"usd\" | \"eur\" | \"gbp\" | \"aud\" | \"sgd\" | \"hkd\" | \"krw\" | \"inr\" | \"vnd\" | \"jpy\" | \"mxn\" | \"xcd\" | \"eth\" | ...`,id:`param-currency-3`})]})})]})})]})}),`\n`,_jsx(ResponseField,{name:`orderClientSecret`,type:`string`,id:`param-order-client-secret`}),`\n`,_jsx(Heading,{level:`3`,id:`usage`,children:`Usage`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`useCrossmintCheckout`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@crossmint/client-sdk-react-ui\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OrderStatus`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`() {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`order`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` useCrossmintCheckout`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`order`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`p`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`No active order`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`p`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`div`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`p`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Order ID: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`order`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`orderId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`p`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`p`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Phase: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`order`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`phase`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`p`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`div`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` );`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`useidentityverificationcredentials`,children:`useIdentityVerificationCredentials()`}),`\n`,_jsxs(_components.p,{children:[`Reads the current order’s verification credentials, for a merchant taking the step over with `,_jsx(_components.code,{children:`identityVerificationHandling=\"external\"`}),`. Undefined until the order needs verification, and again once the order moves on, which happens before the flow shows its result. Keep the last value mounted until `,_jsx(_components.code,{children:`onComplete`}),` or `,_jsx(_components.code,{children:`onCancel`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`usage-2`,children:`Usage`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`32`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`32`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`useRef`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`useState`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"react\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` CrossmintIdentityVerification`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` IdentityVerificationAppearance`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` useIdentityVerificationCredentials`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@crossmint/client-sdk-react-ui\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Mount one step per order, for example with key={order.orderId}, so the next order starts open.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` VerificationStep`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`appearance`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`appearance`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` IdentityVerificationAppearance`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` credentials`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` useIdentityVerificationCredentials`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // The order moves on before the flow shows its result, so keep the last credentials`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // and close the step on onComplete or onCancel.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` lastCredentials`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` useRef`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`credentials`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` lastCredentials`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`current`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` credentials`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ??`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` lastCredentials`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`current`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`closed`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`setClosed`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` useState`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`closed`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ||`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` lastCredentials`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`current`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ==`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`CrossmintIdentityVerification`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` credentials`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`lastCredentials`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`current`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` appearance`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`appearance`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` onComplete`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`status`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`status`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` setClosed`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` onCancel`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`() `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` setClosed`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` );`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Hooks","description":"React hooks for React SDK reference for Crossmint checkout","href":"/sdk-reference/checkout/react/hooks"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"useCrossmintCheckout()","slug":"usecrossmintcheckout","depth":2,"children":[{"title":"Returns","slug":"returns","depth":3,"children":[]},{"title":"Usage","slug":"usage","depth":3,"children":[]}]},{"title":"useIdentityVerificationCredentials()","slug":"useidentityverificationcredentials","depth":2,"children":[{"title":"Usage","slug":"usage-2","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/crossmint/d1c432d03c0c4224/scripts/dd.js","/_mintlify/custom/crossmint/7fc8d54052d3edb0/scripts/hubspot.js"],"subdomain":"crossmint","siteName":"Crossmint Docs","title":"Hooks - Crossmint Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-15T21:54:14.313Z","originalFileLocation":"sdk-reference/checkout/react/hooks.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=\"React hooks for React SDK reference for Crossmint checkout\">\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=\"Hooks - Crossmint Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"React hooks for React SDK reference for Crossmint checkout\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Crossmint Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.crossmint.com/sdk-reference/checkout/react/hooks\">\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=React+SDK\u0026amp;title=Hooks\u0026amp;description=React+hooks+for+React+SDK+reference+for+Crossmint+checkout\u0026amp;theme=754218d9ca07cbe75c9ed33a\u0026amp;signature=6b4c53fced28cc169da7c1126bce26080c80fbce61ae2d5223544748f42878cd\">\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=\"Hooks - Crossmint Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"React hooks for React SDK reference for Crossmint checkout\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://crossmint.mintlify.site/_mintlify/api/og/v2?division=React+SDK\u0026amp;title=Hooks\u0026amp;description=React+hooks+for+React+SDK+reference+for+Crossmint+checkout\u0026amp;theme=754218d9ca07cbe75c9ed33a\u0026amp;signature=6b4c53fced28cc169da7c1126bce26080c80fbce61ae2d5223544748f42878cd\">\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/sdk-reference/checkout/react/hooks\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/sdk-reference/checkout/react/hooks.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/sdk-reference/checkout/react/hooks#webpage\",\"url\":\"https://docs.crossmint.com/sdk-reference/checkout/react/hooks\",\"name\":\"Hooks\",\"description\":\"React hooks for React SDK reference for Crossmint checkout\",\"dateModified\":\"2026-10-15T21:54:14.313Z\",\"isPartOf\":{\"@id\":\"https://docs.crossmint.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.crossmint.com/sdk-reference/checkout/react/hooks#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.crossmint.com/sdk-reference/checkout/react/hooks#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.crossmint.com/api-reference/headless/create-order\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"React SDK\",\"item\":\"https://docs.crossmint.com/sdk-reference/checkout/react/get-started\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Hooks\",\"item\":\"https://docs.crossmint.com/sdk-reference/checkout/react/hooks\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.crossmint.com/sdk-reference/checkout/react/hooks#article\",\"headline\":\"Hooks\",\"name\":\"Hooks\",\"description\":\"React hooks for React SDK reference for Crossmint checkout\",\"url\":\"https://docs.crossmint.com/sdk-reference/checkout/react/hooks\",\"mainEntityOfPage\":{\"@id\":\"https://docs.crossmint.com/sdk-reference/checkout/react/hooks#webpage\"},\"dateModified\":\"2026-10-15T21:54:14.313Z\",\"publisher\":{\"@id\":\"https://docs.crossmint.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.crossmint.com#website\"}}]}\u003c/script>","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","groups":[{"group":"Introduction","pages":[{"title":"Overview","href":"/payments/introduction"},{"title":"Choose Your Integration","href":"/payments/concepts/choose-your-integration"}]},{"group":"Quickstarts ⚡","pages":[{"group":"Embedded","pages":[{"title":"Overview","href":"/payments/embedded/overview"},{"title":"React - Apple \u0026 Google Pay","href":"/payments/embedded/quickstarts/apple-pay-only"},{"title":"React - Webview","href":"/payments/embedded/quickstarts/credit-card"},{"title":"React Native - Webview","href":"/payments/embedded/quickstarts/credit-card-memecoin-react-native"},{"title":"Flutter - Webview","href":"/payments/embedded/quickstarts/credit-card-memecoin-flutter"}]},{"group":"Hosted","pages":[{"title":"Overview","href":"/payments/pay-button/overview"},{"title":"Hosted Checkout","href":"/payments/pay-button/quickstart"}]},{"group":"Headless","pages":[{"title":"Overview","href":"/payments/headless/overview"},{"title":"Pay with Card","href":"/payments/headless/quickstarts/credit-card"},{"title":"Pay with USDC","href":"/payments/headless/quickstarts/paying-usdc"},{"title":"Pay with Other Crypto","href":"/payments/headless/quickstarts/crypto"}]}]},{"group":"Concepts","pages":[{"title":"How Checkout Works","href":"/payments/concepts/how-checkout-works"},{"title":"Supported Assets","href":"/payments/concepts/supported-assets"},{"title":"Payment Methods","href":"/payments/concepts/payment-methods"},{"title":"Environments \u0026 API Keys","href":"/payments/concepts/environments-and-api-keys"}]},{"group":"Guides","pages":[{"title":"Select Items","href":"/payments/guides/select-items"},{"title":"Specify Recipient","href":"/payments/guides/specify-recipient"},{"title":"Enable Payment Methods","href":"/payments/guides/enable-payment-methods"},{"title":"Track Orders","href":"/payments/guides/track-orders"},{"title":"Handle Errors","href":"/payments/guides/handle-errors"},{"group":"Customize","pages":[{"title":"Appearance","href":"/payments/guides/appearance"},{"title":"Localization","href":"/payments/guides/localization"},{"title":"Hooks \u0026 Events","href":"/payments/guides/hooks-and-events"},{"title":"Receipt Customization","href":"/payments/advanced/receipt-customization"}]},{"group":"Go Live","pages":[{"title":"Testing Tips","href":"/payments/advanced/testing-tips"},{"title":"Production Checklist","href":"/payments/guides/production-checklist"},{"title":"Improving Conversion","href":"/payments/advanced/improving-conversion"},{"title":"Supporting Your Customers","href":"/payments/headless/guides/supporting-your-customers"}]},{"group":"Advanced","pages":[{"title":"Check Token Support","href":"/payments/guides/check-token-support"},{"title":"Use Connected Wallet as Payer","href":"/payments/embedded/guides/custom-payer"},{"title":"Apple Pay Integration Guide","href":"/payments/embedded/guides/apple-pay"},{"title":"Google Pay Mobile","href":"/payments/embedded/guides/google-pay"},{"title":"Mobile WebView Integration","href":"/payments/embedded/guides/webview-integration"},{"title":"Webhooks","href":"/payments/advanced/webhooks"},{"group":"NFTs","pages":[{"title":"Create/Deploy an NFT Collection","sidebarTitle":"Create New Collection","href":"/payments/guides/create-collection"},{"title":"Register External Collection","href":"/payments/guides/register-collection"},{"title":"NFT Marketplaces \u0026 Launchpads","href":"/payments/advanced/marketplaces-and-launchpads"},{"title":"NFT Drops Priced in USDC","href":"/payments/advanced/usdc-support"},{"title":"NFT Drops Gated by Accesslists","href":"/payments/advanced/accesslists"},{"title":"Mint to Specific Template","href":"/payments/advanced/mint-to-specific-template"}]}]}]},{"group":"API Reference","pages":[{"group":"REST","icon":"brackets-curly","pages":[{"group":"Orders","pages":[{"title":"Create Order","openapi":"api-reference/_open-api/Orders.json POST /2022-06-09/orders","href":"/api-reference/headless/create-order"},{"openapi":"api-reference/_open-api/Orders.json GET /2022-06-09/orders/{orderId}","title":"Get Order","href":"/api-reference/headless/get-order"},{"openapi":"api-reference/_open-api/Orders.json GET /2022-06-09/orders","title":"List Orders","href":"/api-reference/headless/list-orders"},{"openapi":"api-reference/_open-api/Orders.json PATCH /2022-06-09/orders/{orderId}","title":"Update Order","href":"/api-reference/headless/edit-order"},{"title":"Process Payment","openapi":"api-reference/_open-api/Orders.json POST /2022-06-09/orders/{orderId}/payment","href":"/api-reference/headless/process-payment"}]},{"group":"Supported Assets","pages":[{"title":"Get All Tokens","openapi":"api-reference/_open-api/Orders.json GET /2024-09-26/tokens","href":"/api-reference/headless/get-all-tokens"},{"title":"Check Token Support","openapi":"api-reference/_open-api/Orders.json GET /v1-alpha2/tokens/{tokenLocator}","href":"/api-reference/headless/check-token-support"}]},{"group":"Payment Methods","pages":[{"title":"The Payment Method Object","href":"/api-reference/headless/payment-methods/payment-method-object"},{"title":"Create Payment Method","openapi":"api-reference/_open-api/PaymentMethods.json POST /2026-09-16/payment-methods","href":"/api-reference/headless/payment-methods/create-payment-method"},{"title":"List Payment Methods by User","openapi":"api-reference/_open-api/PaymentMethods.json GET /2026-09-16/payment-methods","href":"/api-reference/headless/payment-methods/list-payment-methods"},{"title":"Retrieve a Payment Method","openapi":"api-reference/_open-api/PaymentMethods.json GET /2026-09-16/payment-methods/{paymentMethodId}","href":"/api-reference/headless/payment-methods/get-payment-method"},{"title":"Update a Payment Method","openapi":"api-reference/_open-api/PaymentMethods.json PATCH /2026-09-16/payment-methods/{paymentMethodId}","href":"/api-reference/headless/payment-methods/update-payment-method"},{"title":"Delete a Payment Method","openapi":"api-reference/_open-api/PaymentMethods.json DELETE /2026-09-16/payment-methods/{paymentMethodId}","href":"/api-reference/headless/payment-methods/delete-payment-method"}]}]},{"title":"Error \u0026 Status Codes","mode":"wide","href":"/payments/reference/error-and-status-codes"},{"group":"React SDK","icon":"/images/icons/react.svg","pages":[{"title":"Get Started","href":"/sdk-reference/checkout/react/get-started"},{"title":"Providers","description":"React context providers for React SDK reference for Crossmint checkout","href":"/sdk-reference/checkout/react/providers"},{"title":"Hooks","href":"/sdk-reference/checkout/react/hooks"},{"title":"Components","description":"React components for React SDK reference for Crossmint checkout","href":"/sdk-reference/checkout/react/components"}]},{"group":"React Native SDK","icon":"/images/icons/react-native.svg","pages":[{"title":"Get Started","href":"/sdk-reference/checkout/react-native/get-started"},{"title":"Providers","href":"/sdk-reference/checkout/react-native/providers"},{"title":"Hooks","href":"/sdk-reference/checkout/react-native/hooks"},{"title":"Components","href":"/sdk-reference/checkout/react-native/components"}]},{"group":"Flutter SDK","icon":"/images/icons/flutter.svg","pages":[{"title":"Get Started","href":"/sdk-reference/checkout/flutter/get-started"},{"title":"Widgets","href":"/sdk-reference/checkout/flutter/widgets"},{"title":"Models","href":"/sdk-reference/checkout/flutter/models"},{"group":"Classes","pages":[{"title":"CrossmintCheckoutAppearance","href":"/sdk-reference/checkout/flutter/classes/crossmint-checkout-appearance"},{"title":"CrossmintCheckoutCollectionLineItem","href":"/sdk-reference/checkout/flutter/classes/crossmint-checkout-collection-line-item"},{"title":"CrossmintCheckoutConfig","href":"/sdk-reference/checkout/flutter/classes/crossmint-checkout-config"},{"title":"CrossmintCheckoutController","href":"/sdk-reference/checkout/flutter/classes/crossmint-checkout-controller"},{"title":"CrossmintCheckoutCryptoPayment","href":"/sdk-reference/checkout/flutter/classes/crossmint-checkout-crypto-payment"},{"title":"CrossmintCheckoutDiagnostic","href":"/sdk-reference/checkout/flutter/classes/crossmint-checkout-diagnostic"},{"title":"CrossmintCheckoutEmailRecipient","href":"/sdk-reference/checkout/flutter/classes/crossmint-checkout-email-recipient"},{"title":"CrossmintCheckoutExistingOrder","href":"/sdk-reference/checkout/flutter/classes/crossmint-checkout-existing-order"},{"title":"CrossmintCheckoutFiatPayment","href":"/sdk-reference/checkout/flutter/classes/crossmint-checkout-fiat-payment"},{"title":"CrossmintCheckoutLineItem","href":"/sdk-reference/checkout/flutter/classes/crossmint-checkout-line-item"},{"title":"CrossmintCheckoutNewOrder","href":"/sdk-reference/checkout/flutter/classes/crossmint-checkout-new-order"},{"title":"CrossmintCheckoutOrder","href":"/sdk-reference/checkout/flutter/classes/crossmint-checkout-order"},{"title":"CrossmintCheckoutPayer","href":"/sdk-reference/checkout/flutter/classes/crossmint-checkout-payer"},{"title":"CrossmintCheckoutPayment","href":"/sdk-reference/checkout/flutter/classes/crossmint-checkout-payment"},{"title":"CrossmintCheckoutPhysicalAddress","href":"/sdk-reference/checkout/flutter/classes/crossmint-checkout-physical-address"},{"title":"CrossmintCheckoutPhysicalRecipient","href":"/sdk-reference/checkout/flutter/classes/crossmint-checkout-physical-recipient"},{"title":"CrossmintCheckoutProductLineItem","href":"/sdk-reference/checkout/flutter/classes/crossmint-checkout-product-line-item"},{"title":"CrossmintCheckoutRawLineItem","href":"/sdk-reference/checkout/flutter/classes/crossmint-checkout-raw-line-item"},{"title":"CrossmintCheckoutRecipient","href":"/sdk-reference/checkout/flutter/classes/crossmint-checkout-recipient"},{"title":"CrossmintCheckoutTokenExecutionLineItem","href":"/sdk-reference/checkout/flutter/classes/crossmint-checkout-token-execution-line-item"},{"title":"CrossmintCheckoutTokenLineItem","href":"/sdk-reference/checkout/flutter/classes/crossmint-checkout-token-line-item"},{"title":"CrossmintCheckoutTransactionFailure","href":"/sdk-reference/checkout/flutter/classes/crossmint-checkout-transaction-failure"},{"title":"CrossmintCheckoutTransactionResult","href":"/sdk-reference/checkout/flutter/classes/crossmint-checkout-transaction-result"},{"title":"CrossmintCheckoutTransactionSuccess","href":"/sdk-reference/checkout/flutter/classes/crossmint-checkout-transaction-success"},{"title":"CrossmintCheckoutWalletRecipient","href":"/sdk-reference/checkout/flutter/classes/crossmint-checkout-wallet-recipient"},{"title":"CrossmintEmbeddedCheckout","href":"/sdk-reference/checkout/flutter/classes/crossmint-embedded-checkout"},{"title":"CrossmintEvmWalletCheckoutPayer","href":"/sdk-reference/checkout/flutter/classes/crossmint-evm-wallet-checkout-payer"},{"title":"CrossmintIdentityVerification","href":"/sdk-reference/checkout/flutter/classes/crossmint-identity-verification"},{"title":"CrossmintIdentityVerificationCredentials","href":"/sdk-reference/checkout/flutter/classes/crossmint-identity-verification-credentials"},{"title":"CrossmintIdentityVerificationError","href":"/sdk-reference/checkout/flutter/classes/crossmint-identity-verification-error"}]},{"group":"Enums","pages":[{"title":"CrossmintCheckoutDefaultMethod","href":"/sdk-reference/checkout/flutter/enums/crossmint-checkout-default-method"},{"title":"CrossmintCheckoutDiagnosticSeverity","href":"/sdk-reference/checkout/flutter/enums/crossmint-checkout-diagnostic-severity"},{"title":"CrossmintIdentityVerificationErrorReason","href":"/sdk-reference/checkout/flutter/enums/crossmint-identity-verification-error-reason"},{"title":"CrossmintIdentityVerificationHandling","href":"/sdk-reference/checkout/flutter/enums/crossmint-identity-verification-handling"},{"title":"CrossmintIdentityVerificationStatus","href":"/sdk-reference/checkout/flutter/enums/crossmint-identity-verification-status"}]},{"group":"Type Aliases","pages":[{"title":"CrossmintCheckoutLoadingBuilder","href":"/sdk-reference/checkout/flutter/type-aliases/crossmint-checkout-loading-builder"},{"title":"CrossmintIdentityVerificationLoadingBuilder","href":"/sdk-reference/checkout/flutter/type-aliases/crossmint-identity-verification-loading-builder"}]}]},{"group":"Swift SDK","icon":"/images/icons/swift.svg","pages":[{"group":"Classes","pages":[{"title":"CrossmintCheckoutController","href":"/sdk-reference/checkout/swift/classes/crossmintcheckoutcontroller"}]},{"group":"Enums","pages":[{"title":"CheckoutEnvironment","href":"/sdk-reference/checkout/swift/enums/checkoutenvironment"},{"title":"CheckoutError","href":"/sdk-reference/checkout/swift/enums/checkouterror"},{"title":"CheckoutLength","href":"/sdk-reference/checkout/swift/enums/checkoutlength"},{"title":"CheckoutLocale","href":"/sdk-reference/checkout/swift/enums/checkoutlocale"},{"title":"CheckoutLogLevel","href":"/sdk-reference/checkout/swift/enums/checkoutloglevel"},{"title":"IdentityVerificationHandling","href":"/sdk-reference/checkout/swift/enums/identityverificationhandling"},{"title":"IdentityVerificationStatus","href":"/sdk-reference/checkout/swift/enums/identityverificationstatus"}]},{"group":"Structs","pages":[{"title":"AnyCodable","href":"/sdk-reference/checkout/swift/structs/anycodable"},{"title":"CheckoutAllowedMethods","href":"/sdk-reference/checkout/swift/structs/checkoutallowedmethods"},{"title":"CheckoutAppearance","href":"/sdk-reference/checkout/swift/structs/checkoutappearance"},{"title":"CheckoutAppearanceRules","href":"/sdk-reference/checkout/swift/structs/checkoutappearancerules"},{"title":"CheckoutAppearanceVariables","href":"/sdk-reference/checkout/swift/structs/checkoutappearancevariables"},{"title":"CheckoutColor","href":"/sdk-reference/checkout/swift/structs/checkoutcolor"},{"title":"CheckoutColorStyle","href":"/sdk-reference/checkout/swift/structs/checkoutcolorstyle"},{"title":"CheckoutCryptoPayment","href":"/sdk-reference/checkout/swift/structs/checkoutcryptopayment"},{"title":"CheckoutDestinationInputRule","href":"/sdk-reference/checkout/swift/structs/checkoutdestinationinputrule"},{"title":"CheckoutFiatPayment","href":"/sdk-reference/checkout/swift/structs/checkoutfiatpayment"},{"title":"CheckoutFontSource","href":"/sdk-reference/checkout/swift/structs/checkoutfontsource"},{"title":"CheckoutFontStyle","href":"/sdk-reference/checkout/swift/structs/checkoutfontstyle"},{"title":"CheckoutFontWeight","href":"/sdk-reference/checkout/swift/structs/checkoutfontweight"},{"title":"CheckoutGlobalMessageRule","href":"/sdk-reference/checkout/swift/structs/checkoutglobalmessagerule"},{"title":"CheckoutInputRule","href":"/sdk-reference/checkout/swift/structs/checkoutinputrule"},{"title":"CheckoutLabelRule","href":"/sdk-reference/checkout/swift/structs/checkoutlabelrule"},{"title":"CheckoutLineItems","href":"/sdk-reference/checkout/swift/structs/checkoutlineitems"},{"title":"CheckoutOrder","href":"/sdk-reference/checkout/swift/structs/checkoutorder"},{"title":"CheckoutOrderUpdate","href":"/sdk-reference/checkout/swift/structs/checkoutorderupdate"},{"title":"CheckoutPayment","href":"/sdk-reference/checkout/swift/structs/checkoutpayment"},{"title":"CheckoutPrimaryButtonRule","href":"/sdk-reference/checkout/swift/structs/checkoutprimarybuttonrule"},{"title":"CheckoutReceiptEmailInputRule","href":"/sdk-reference/checkout/swift/structs/checkoutreceiptemailinputrule"},{"title":"CheckoutRecipient","href":"/sdk-reference/checkout/swift/structs/checkoutrecipient"},{"title":"CheckoutStateStyle","href":"/sdk-reference/checkout/swift/structs/checkoutstatestyle"},{"title":"CheckoutTabRule","href":"/sdk-reference/checkout/swift/structs/checkouttabrule"},{"title":"CheckoutVariablesColorStyle","href":"/sdk-reference/checkout/swift/structs/checkoutvariablescolorstyle"},{"title":"CrossmintEmbeddedCheckout","href":"/sdk-reference/checkout/swift/structs/crossmintembeddedcheckout"},{"title":"CrossmintIdentityVerification","href":"/sdk-reference/checkout/swift/structs/crossmintidentityverification"},{"title":"IdentityVerificationCredentials","href":"/sdk-reference/checkout/swift/structs/identityverificationcredentials"},{"title":"IdentityVerificationError","href":"/sdk-reference/checkout/swift/structs/identityverificationerror"}]}]},{"group":"Kotlin SDK","icon":"/images/icons/kotlin.png","pages":[{"title":"Kotlin SDK Reference","href":"/sdk-reference/checkout/kotlin/index"},{"group":"Composables","pages":[{"title":"CrossmintEmbeddedCheckout","href":"/sdk-reference/checkout/kotlin/composables/crossmint-embedded-checkout"}]},{"group":"Classes","pages":[{"title":"CheckoutColor","href":"/sdk-reference/checkout/kotlin/classes/checkout-color"},{"title":"CheckoutError.EncodingError","href":"/sdk-reference/checkout/kotlin/classes/checkout-error-encoding-error"},{"title":"CheckoutError.InvalidConfiguration","href":"/sdk-reference/checkout/kotlin/classes/checkout-error-invalid-configuration"},{"title":"CheckoutError.NotImplemented","href":"/sdk-reference/checkout/kotlin/classes/checkout-error-not-implemented"},{"title":"CheckoutFontWeight","href":"/sdk-reference/checkout/kotlin/classes/checkout-font-weight"},{"title":"CheckoutLength","href":"/sdk-reference/checkout/kotlin/classes/checkout-length"}]},{"group":"Data Classes","pages":[{"title":"CheckoutAllowedMethods","href":"/sdk-reference/checkout/kotlin/data-classes/checkout-allowed-methods"},{"title":"CheckoutAppearance","href":"/sdk-reference/checkout/kotlin/data-classes/checkout-appearance"},{"title":"CheckoutAppearanceRules","href":"/sdk-reference/checkout/kotlin/data-classes/checkout-appearance-rules"},{"title":"CheckoutAppearanceVariables","href":"/sdk-reference/checkout/kotlin/data-classes/checkout-appearance-variables"},{"title":"CheckoutColorStyle","href":"/sdk-reference/checkout/kotlin/data-classes/checkout-color-style"},{"title":"CheckoutCryptoPayment","href":"/sdk-reference/checkout/kotlin/data-classes/checkout-crypto-payment"},{"title":"CheckoutDestinationInputRule","href":"/sdk-reference/checkout/kotlin/data-classes/checkout-destination-input-rule"},{"title":"CheckoutFiatPayment","href":"/sdk-reference/checkout/kotlin/data-classes/checkout-fiat-payment"},{"title":"CheckoutFontSource","href":"/sdk-reference/checkout/kotlin/data-classes/checkout-font-source"},{"title":"CheckoutFontStyle","href":"/sdk-reference/checkout/kotlin/data-classes/checkout-font-style"},{"title":"CheckoutGlobalMessageRule","href":"/sdk-reference/checkout/kotlin/data-classes/checkout-global-message-rule"},{"title":"CheckoutInputRule","href":"/sdk-reference/checkout/kotlin/data-classes/checkout-input-rule"},{"title":"CheckoutLabelRule","href":"/sdk-reference/checkout/kotlin/data-classes/checkout-label-rule"},{"title":"CheckoutLineItems","href":"/sdk-reference/checkout/kotlin/data-classes/checkout-line-items"},{"title":"CheckoutPayment","href":"/sdk-reference/checkout/kotlin/data-classes/checkout-payment"},{"title":"CheckoutPrimaryButtonRule","href":"/sdk-reference/checkout/kotlin/data-classes/checkout-primary-button-rule"},{"title":"CheckoutReceiptEmailInputRule","href":"/sdk-reference/checkout/kotlin/data-classes/checkout-receipt-email-input-rule"},{"title":"CheckoutRecipient","href":"/sdk-reference/checkout/kotlin/data-classes/checkout-recipient"},{"title":"CheckoutStateStyle","href":"/sdk-reference/checkout/kotlin/data-classes/checkout-state-style"},{"title":"CheckoutTabRule","href":"/sdk-reference/checkout/kotlin/data-classes/checkout-tab-rule"},{"title":"CheckoutVariablesColorStyle","href":"/sdk-reference/checkout/kotlin/data-classes/checkout-variables-color-style"}]},{"group":"Enums","pages":[{"title":"CheckoutEnvironment","href":"/sdk-reference/checkout/kotlin/enums/checkout-environment"},{"title":"CheckoutPaymentMethod","href":"/sdk-reference/checkout/kotlin/enums/checkout-payment-method"},{"title":"IdentityVerificationHandling","href":"/sdk-reference/checkout/kotlin/enums/identity-verification-handling"}]},{"group":"Sealed Classes","pages":[{"title":"CheckoutError","href":"/sdk-reference/checkout/kotlin/sealed-classes/checkout-error"}]},{"group":"Objects","pages":[{"title":"CheckoutAppearanceVariables.Companion","href":"/sdk-reference/checkout/kotlin/objects/checkout-appearance-variables-companion"},{"title":"CheckoutColor.Companion","href":"/sdk-reference/checkout/kotlin/objects/checkout-color-companion"},{"title":"CheckoutColorStyle.Companion","href":"/sdk-reference/checkout/kotlin/objects/checkout-color-style-companion"},{"title":"CheckoutFontSource.Companion","href":"/sdk-reference/checkout/kotlin/objects/checkout-font-source-companion"},{"title":"CheckoutFontStyle.Companion","href":"/sdk-reference/checkout/kotlin/objects/checkout-font-style-companion"},{"title":"CheckoutFontWeight.Companion","href":"/sdk-reference/checkout/kotlin/objects/checkout-font-weight-companion"},{"title":"CheckoutInputRule.Companion","href":"/sdk-reference/checkout/kotlin/objects/checkout-input-rule-companion"},{"title":"CheckoutLength.Companion","href":"/sdk-reference/checkout/kotlin/objects/checkout-length-companion"},{"title":"CheckoutPrimaryButtonRule.Companion","href":"/sdk-reference/checkout/kotlin/objects/checkout-primary-button-rule-companion"},{"title":"CheckoutTabRule.Companion","href":"/sdk-reference/checkout/kotlin/objects/checkout-tab-rule-companion"},{"title":"CheckoutVariablesColorStyle.Companion","href":"/sdk-reference/checkout/kotlin/objects/checkout-variables-color-style-companion"}]}]}]}]},{"tab":"Onramp","pages":[{"title":"Onramp","href":"/onramp/overview"}]},{"tab":"Offramp","pages":[{"title":"Offramp","href":"/offramp/overview"}]},{"tab":"Agents","pages":[{"title":"Agents","href":"/agents/overview"}]},{"tab":"Others","menu":[{"item":"Tokenization","pages":[{"title":"Tokenization","href":"/tokenization/introduction"}]}],"pages":[{"title":"Others","href":"/tokenization/introduction"}]}]},"basePath":"","title":"Hooks - Crossmint Docs","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":[],"chunks":[]}