Open a verification with the rules you want enforced, and mint the SDK token.
POST /api/account/integration/kyc/transaction
Opens a verification for a customer and returns the sdk_token your app needs to run the
flow. This is where you declare what should be verified and what counts as acceptable: the whole configuration is documented on this page.
The customer this verification belongs to, from
Create customer.
string
required
Which checks to run.
DOCUMENT_AND_BIOMETRIC — document capture and liveness
DOCUMENT_ONLY — document capture only
BIOMETRIC_ONLY — liveness only
object
The rules to enforce. Every field is optional and falls back to the default listed below, so {} is valid. Build it on your server from your own records — never from values sent by the app.
Show config
integer
default:"1440"
How long the user has to complete the flow, in minutes, counted from creation. Range 1–1440. When it elapses the transaction becomes EXPIRED and the sdk_token stops working.
object
Where chmod notifies you as the transaction changes status. Omit it and nothing is sent — you would then have to poll.
Show webhook
string
required
Must start with https://. See Webhooks for the request, the signature and how to verify it.
object
How each device-integrity signal affects the decision. Every field takes REJECT, WARN or IGNORE. Applies to all three transaction types.
Show device_policy
string
default:"REJECT"
The device is rooted, jailbroken, or running under a debugger. Emits COMPROMISED_DEVICE.
string
default:"WARN"
Developer mode is enabled. Emits DEVELOPER_MODE_ENABLED.
string
default:"REJECT"
The capture was made on an emulator or simulator. Emits EMULATOR_DETECTED.
string
default:"WARN"
The connection is routed through a VPN, a proxy or Tor. Emits VPN_OR_PROXY_DETECTED.
string
default:"REJECT"
The reported GPS location is simulated. Emits MOCK_LOCATION_DETECTED. Requires the SDK to request location permission.
string
default:"WARN"
The GPS country differs from the IP country. Emits GEO_IP_MISMATCH. Requires the SDK to request location permission.
object
Which documents are accepted, and what the extracted data must match. Applies to DOCUMENT_AND_BIOMETRIC and DOCUMENT_ONLY; ignored for BIOMETRIC_ONLY.
Show document_policy
object
Omit it to accept every supported document.
Show document_eligibility
string
ALLOW — only the listed documents are accepted. REJECT — every supported document is accepted except the listed ones.
array
The list filter_mode operates on. Each entry:
country (string, required) — ISO 3166-1 alpha-2, for example AR.
type (string, required) — NATIONAL_ID, PASSPORT, DRIVER_LICENSE, RESIDENT_PERMIT or TEMP_PERMIT_ID.
allow_expired (boolean, required) — whether an expired document of this exact country and type is accepted. When false, an expired document emits EXPIRED_DOCUMENT.
A document not in the supported list emits DOCUMENT_TYPE_NOT_SUPPORTED; one that is supported but excluded here emits DOCUMENT_NOT_ELIGIBLE.
object
Values the document must agree with. Every field is optional; every mismatch is a REJECT.
Show data_matching
object
{ "value": string, "similarity_min_score": number }. Compared by text similarity; similarity_min_score ranges 0.1–1.0, where 1.0 is an exact match. Emits NAME_MISMATCH with { score, threshold }.
object
Same shape and semantics as given_names. Emits SURNAME_MISMATCH.
string
M, F or X. Exact match. Emits GENDER_MISMATCH.
string
NATIONAL_ID, PASSPORT, DRIVER_LICENSE, RESIDENT_PERMIT or TEMP_PERMIT_ID. Exact match. Emits EXPECTED_DOCUMENT_TYPE_MISMATCH.
string
ISO 3166-1 alpha-2. Exact match. Emits DOCUMENT_ISSUING_COUNTRY_MISMATCH.
string
Alphanumeric only — no dots, hyphens or spaces; chmod normalises the extracted number the same way. Emits DOCUMENT_NUMBER_MISMATCH.
Liveness and face-comparison thresholds, expected age and gender. Applies to DOCUMENT_AND_BIOMETRIC and BIOMETRIC_ONLY; ignored for DOCUMENT_ONLY.
Show biometric_policy
number
default:"0.85"
Minimum confidence that a real, present person was captured. Range 0.1–1.0. Below it, LIVENESS_LOW_CONFIDENCE is emitted.
number
default:"0.85"
Minimum confidence for two faces to count as the same person. Range 0.1–1.0. Applies to every comparison. A failed comparison emits DOCUMENT_VS_LIVENESS_FACE_MISMATCH, LIVENESS_VS_IDENTITY_REF_FACE_MISMATCH or DOCUMENT_VS_IDENTITY_REF_FACE_MISMATCH.
boolean
default:"true"
Whether face comparison runs at all. false skips every comparison and emits the informational FACE_COMPARISON_DISABLED.
string | null
default:"null"
MALE, FEMALE, or null to accept any. Estimated from the selfie. Emits LIVENESS_GENDER_MISMATCH_EXPECTED.
integer | null
default:"null"
Minimum accepted age, 0–200. Estimated from the selfie. Emits LIVENESS_AGE_OUT_OF_RANGE.
integer | null
default:"null"
Maximum accepted age, 0–200. Must not be lower than expected_min_age.
string
default:"REJECT"
REJECT, WARN or IGNORE when the face already belongs to a different customer in your account. Accepted and validated, not enforced yet.
object
How to react to a face on a blocklist. Both fields take REJECT, WARN or IGNORE. Accepted and validated, not enforced yet.
Show blacklist_policy
string
default:"REJECT"
The face matches your organization’s own blocklist. Emits INTERNAL_FACE_BLACKLIST_MATCH.
string
default:"REJECT"
The face matches the platform-wide blocklist. Emits GLOBAL_FACE_BLACKLIST_MATCH.
Response
string (UUID)
The transaction identifier. Use it to
fetch the result; it also arrives on the
webhook and is returned to your app by the SDK.
string (JWT)
Pass this to your mobile app and hand it to the SDK. Scoped to this transaction only.
string
Always Bearer.
integer
SDK token lifetime in seconds, derived from transaction_ttl_minutes.
Example
A full onboarding configuration, with every policy set:
Each policy has a reference page with the supporting detail — the supported document matrix, how the three face comparisons work, what happens when a device signal is missing, and how to pick thresholds:
Device policy
Document policy
Biometric policy
Blacklist policy
Next
Get transaction
Read the status and the decision.
Webhooks
Be notified as soon as the decision exists.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"chmod","description":"Identity verification and KYC for mobile apps — backend API and native SDKs.","colors":{"primary":"#1F49B6","light":"#5B7BD5","dark":"#16307A"},"logo":{"light":"https://mintcdn.com/chmod/t8W0jnVKFVTNrHw3/logo/light.png?fit=max\u0026auto=format\u0026n=t8W0jnVKFVTNrHw3\u0026q=85\u0026s=c83042579b61651094b7024d97a4f8ee","dark":"https://mintcdn.com/chmod/t8W0jnVKFVTNrHw3/logo/dark.png?fit=max\u0026auto=format\u0026n=t8W0jnVKFVTNrHw3\u0026q=85\u0026s=c9a3319a6b92e10f1fffc80bc973b492"},"favicon":{"light":"https://mintcdn.com/chmod/t8W0jnVKFVTNrHw3/favicon.png?fit=max\u0026auto=format\u0026n=t8W0jnVKFVTNrHw3\u0026q=85\u0026s=f402a710ffd5b754c257b4a0b5d675ea","dark":"https://mintcdn.com/chmod/t8W0jnVKFVTNrHw3/favicon-dark.png?fit=max\u0026auto=format\u0026n=t8W0jnVKFVTNrHw3\u0026q=85\u0026s=2a1ccb375741a508337b96a89991e693"},"navbar":{"links":[{"href":"mailto:support@chmod.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.chmod.com"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"chmod","hasAudioNarration":false,"actualSubdomain":"chmod","customDomains":["docs.chmodlab.com"],"gitSource":{"type":"github","owner":"mintlify-community","repo":"docs-chmod-7ee3746e","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"}},"buildId":"6ab4b36b9532dac2b99c5fd0","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API Reference","count":15},{"language":"default","tag":"Client SDK","count":13},{"language":"default","tag":"Docs","count":11},{"language":"default","tag":"Concepts","count":5},{"language":"default","tag":"Transaction configuration","count":5},{"language":"default","tag":"Getting Started","count":4},{"language":"default","tag":"Configuration","count":4},{"language":"default","tag":"Get Started","count":3},{"language":"default","tag":"Going to production","count":3},{"language":"default","tag":"Results","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":[],"page":{"pagePath":"api-reference/transactions/create-transaction","slug":"/api-reference/transactions/create-transaction","pageMetadata":{"title":"Create transaction","description":"Open a verification with the rules you want enforced, and mint the SDK token.","icon":"circle-plus","href":"/api-reference/transactions/create-transaction"},"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: \"Open a verification with the rules you want enforced, and mint the SDK token.\"\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={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Card,CardGroup,CodeBlock,CodeGroup,Expandable,Heading,ParamField,ResponseField,Table}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,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:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`POST`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /api/account/integration/kyc/transaction`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Opens a verification for a customer and returns the `,_jsx(_components.code,{children:`sdk_token`}),` your app needs to run the\nflow. This is where you declare what should be verified and what counts as acceptable: the whole configuration is documented on this page.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`Bearer {access_token}`}),` — see `,_jsx(_components.a,{href:`/api-reference/authentication`,children:`Authentication`}),`.`]})}),`\n`,_jsx(ParamField,{body:`customer_id`,type:`string (UUID)`,required:true,id:`param-customer-id`,children:_jsxs(_components.p,{children:[`The customer this verification belongs to, from\n`,_jsx(_components.a,{href:`/api-reference/customers/create-customer`,children:`Create customer`}),`.`]})}),`\n`,_jsxs(ParamField,{body:`transaction_type`,type:`string`,required:true,id:`param-transaction-type`,children:[_jsx(_components.p,{children:`Which checks to run.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DOCUMENT_AND_BIOMETRIC`}),` — document capture and liveness`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DOCUMENT_ONLY`}),` — document capture only`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`BIOMETRIC_ONLY`}),` — liveness only`]}),`\n`]})]}),`\n`,_jsxs(ParamField,{body:`config`,type:`object`,id:`param-config`,children:[_jsxs(_components.p,{children:[`The rules to enforce. Every field is optional and falls back to the default listed below, so `,_jsx(_components.code,{children:`{}`}),` is valid. Build it on your server from your own records — never from values sent by the app.`]}),_jsxs(Expandable,{title:`config`,children:[_jsx(ParamField,{body:`transaction_ttl_minutes`,type:`integer`,default:`1440`,id:`param-transaction-ttl-minutes`,children:_jsxs(_components.p,{children:[`How long the user has to complete the flow, in minutes, counted from creation. Range `,_jsx(_components.code,{children:`1`}),`–`,_jsx(_components.code,{children:`1440`}),`. When it elapses the transaction becomes `,_jsx(_components.code,{children:`EXPIRED`}),` and the `,_jsx(_components.code,{children:`sdk_token`}),` stops working.`]})}),_jsxs(ParamField,{body:`webhook`,type:`object`,id:`param-webhook`,children:[_jsx(_components.p,{children:`Where chmod notifies you as the transaction changes status. Omit it and nothing is sent — you would then have to poll.`}),_jsx(Expandable,{title:`webhook`,children:_jsx(ParamField,{body:`url`,type:`string`,required:true,id:`param-url`,children:_jsxs(_components.p,{children:[`Must start with `,_jsx(_components.code,{children:`https://`}),`. See `,_jsx(_components.a,{href:`/results/webhooks`,children:`Webhooks`}),` for the request, the signature and how to verify it.`]})})})]}),_jsxs(ParamField,{body:`device_policy`,type:`object`,id:`param-device-policy`,children:[_jsxs(_components.p,{children:[`How each device-integrity signal affects the decision. Every field takes `,_jsx(_components.code,{children:`REJECT`}),`, `,_jsx(_components.code,{children:`WARN`}),` or `,_jsx(_components.code,{children:`IGNORE`}),`. Applies to all three transaction types.`]}),_jsxs(Expandable,{title:`device_policy`,children:[_jsx(ParamField,{body:`on_compromised_device`,default:`REJECT`,type:`string`,id:`param-on-compromised-device`,children:_jsxs(_components.p,{children:[`The device is rooted, jailbroken, or running under a debugger. Emits `,_jsx(_components.code,{children:`COMPROMISED_DEVICE`}),`.`]})}),_jsx(ParamField,{body:`on_developer_mode`,default:`WARN`,type:`string`,id:`param-on-developer-mode`,children:_jsxs(_components.p,{children:[`Developer mode is enabled. Emits `,_jsx(_components.code,{children:`DEVELOPER_MODE_ENABLED`}),`.`]})}),_jsx(ParamField,{body:`on_emulator`,default:`REJECT`,type:`string`,id:`param-on-emulator`,children:_jsxs(_components.p,{children:[`The capture was made on an emulator or simulator. Emits `,_jsx(_components.code,{children:`EMULATOR_DETECTED`}),`.`]})}),_jsx(ParamField,{body:`on_vpn_or_proxy`,default:`WARN`,type:`string`,id:`param-on-vpn-or-proxy`,children:_jsxs(_components.p,{children:[`The connection is routed through a VPN, a proxy or Tor. Emits `,_jsx(_components.code,{children:`VPN_OR_PROXY_DETECTED`}),`.`]})}),_jsx(ParamField,{body:`on_gps_mock_location`,default:`REJECT`,type:`string`,id:`param-on-gps-mock-location`,children:_jsxs(_components.p,{children:[`The reported GPS location is simulated. Emits `,_jsx(_components.code,{children:`MOCK_LOCATION_DETECTED`}),`. Requires the SDK to request location permission.`]})}),_jsx(ParamField,{body:`on_gps_ip_location_mismatch`,default:`WARN`,type:`string`,id:`param-on-gps-ip-location-mismatch`,children:_jsxs(_components.p,{children:[`The GPS country differs from the IP country. Emits `,_jsx(_components.code,{children:`GEO_IP_MISMATCH`}),`. Requires the SDK to request location permission.`]})})]})]}),_jsxs(ParamField,{body:`document_policy`,type:`object`,id:`param-document-policy`,children:[_jsxs(_components.p,{children:[`Which documents are accepted, and what the extracted data must match. Applies to `,_jsx(_components.code,{children:`DOCUMENT_AND_BIOMETRIC`}),` and `,_jsx(_components.code,{children:`DOCUMENT_ONLY`}),`; ignored for `,_jsx(_components.code,{children:`BIOMETRIC_ONLY`}),`.`]}),_jsxs(Expandable,{title:`document_policy`,children:[_jsxs(ParamField,{body:`document_eligibility`,type:`object`,id:`param-document-eligibility`,children:[_jsx(_components.p,{children:`Omit it to accept every supported document.`}),_jsxs(Expandable,{title:`document_eligibility`,children:[_jsx(ParamField,{body:`filter_mode`,type:`string`,id:`param-filter-mode`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`ALLOW`}),` — only the listed documents are accepted. `,_jsx(_components.code,{children:`REJECT`}),` — every supported document is accepted except the listed ones.`]})}),_jsxs(ParamField,{body:`target_documents`,type:`array`,id:`param-target-documents`,children:[_jsxs(_components.p,{children:[`The list `,_jsx(_components.code,{children:`filter_mode`}),` operates on. Each entry:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`country`}),` (string, required) — ISO 3166-1 alpha-2, for example `,_jsx(_components.code,{children:`AR`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`type`}),` (string, required) — `,_jsx(_components.code,{children:`NATIONAL_ID`}),`, `,_jsx(_components.code,{children:`PASSPORT`}),`, `,_jsx(_components.code,{children:`DRIVER_LICENSE`}),`, `,_jsx(_components.code,{children:`RESIDENT_PERMIT`}),` or `,_jsx(_components.code,{children:`TEMP_PERMIT_ID`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`allow_expired`}),` (boolean, required) — whether an expired document of this exact country and type is accepted. When `,_jsx(_components.code,{children:`false`}),`, an expired document emits `,_jsx(_components.code,{children:`EXPIRED_DOCUMENT`}),`.`]}),`\n`]}),_jsxs(_components.p,{children:[`A document not in the supported list emits `,_jsx(_components.code,{children:`DOCUMENT_TYPE_NOT_SUPPORTED`}),`; one that is supported but excluded here emits `,_jsx(_components.code,{children:`DOCUMENT_NOT_ELIGIBLE`}),`.`]})]})]})]}),_jsxs(ParamField,{body:`data_matching`,type:`object`,id:`param-data-matching`,children:[_jsxs(_components.p,{children:[`Values the document must agree with. Every field is optional; every mismatch is a `,_jsx(_components.code,{children:`REJECT`}),`.`]}),_jsxs(Expandable,{title:`data_matching`,children:[_jsx(ParamField,{body:`given_names`,type:`object`,id:`param-given-names`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`{ \"value\": string, \"similarity_min_score\": number }`}),`. Compared by text similarity; `,_jsx(_components.code,{children:`similarity_min_score`}),` ranges `,_jsx(_components.code,{children:`0.1`}),`–`,_jsx(_components.code,{children:`1.0`}),`, where `,_jsx(_components.code,{children:`1.0`}),` is an exact match. Emits `,_jsx(_components.code,{children:`NAME_MISMATCH`}),` with `,_jsx(_components.code,{children:`{ score, threshold }`}),`.`]})}),_jsx(ParamField,{body:`surnames`,type:`object`,id:`param-surnames`,children:_jsxs(_components.p,{children:[`Same shape and semantics as `,_jsx(_components.code,{children:`given_names`}),`. Emits `,_jsx(_components.code,{children:`SURNAME_MISMATCH`}),`.`]})}),_jsx(ParamField,{body:`gender`,type:`string`,id:`param-gender`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`M`}),`, `,_jsx(_components.code,{children:`F`}),` or `,_jsx(_components.code,{children:`X`}),`. Exact match. Emits `,_jsx(_components.code,{children:`GENDER_MISMATCH`}),`.`]})}),_jsx(ParamField,{body:`document_type`,type:`string`,id:`param-document-type`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`NATIONAL_ID`}),`, `,_jsx(_components.code,{children:`PASSPORT`}),`, `,_jsx(_components.code,{children:`DRIVER_LICENSE`}),`, `,_jsx(_components.code,{children:`RESIDENT_PERMIT`}),` or `,_jsx(_components.code,{children:`TEMP_PERMIT_ID`}),`. Exact match. Emits `,_jsx(_components.code,{children:`EXPECTED_DOCUMENT_TYPE_MISMATCH`}),`.`]})}),_jsx(ParamField,{body:`document_issuing_country`,type:`string`,id:`param-document-issuing-country`,children:_jsxs(_components.p,{children:[`ISO 3166-1 alpha-2. Exact match. Emits `,_jsx(_components.code,{children:`DOCUMENT_ISSUING_COUNTRY_MISMATCH`}),`.`]})}),_jsx(ParamField,{body:`document_number`,type:`string`,id:`param-document-number`,children:_jsxs(_components.p,{children:[`Alphanumeric only — no dots, hyphens or spaces; chmod normalises the extracted number the same way. Emits `,_jsx(_components.code,{children:`DOCUMENT_NUMBER_MISMATCH`}),`.`]})}),_jsx(ParamField,{body:`date_of_birth`,type:`string`,id:`param-date-of-birth`,children:_jsxs(_components.p,{children:[`ISO-8601 date, `,_jsx(_components.code,{children:`YYYY-MM-DD`}),`. Exact match. Emits `,_jsx(_components.code,{children:`DATE_OF_BIRTH_MISMATCH`}),`.`]})})]})]})]})]}),_jsxs(ParamField,{body:`biometric_policy`,type:`object`,id:`param-biometric-policy`,children:[_jsxs(_components.p,{children:[`Liveness and face-comparison thresholds, expected age and gender. Applies to `,_jsx(_components.code,{children:`DOCUMENT_AND_BIOMETRIC`}),` and `,_jsx(_components.code,{children:`BIOMETRIC_ONLY`}),`; ignored for `,_jsx(_components.code,{children:`DOCUMENT_ONLY`}),`.`]}),_jsxs(Expandable,{title:`biometric_policy`,children:[_jsx(ParamField,{body:`liveness_min_score`,default:`0.85`,type:`number`,id:`param-liveness-min-score`,children:_jsxs(_components.p,{children:[`Minimum confidence that a real, present person was captured. Range `,_jsx(_components.code,{children:`0.1`}),`–`,_jsx(_components.code,{children:`1.0`}),`. Below it, `,_jsx(_components.code,{children:`LIVENESS_LOW_CONFIDENCE`}),` is emitted.`]})}),_jsx(ParamField,{body:`face_comparison_min_score`,default:`0.85`,type:`number`,id:`param-face-comparison-min-score`,children:_jsxs(_components.p,{children:[`Minimum confidence for two faces to count as the same person. Range `,_jsx(_components.code,{children:`0.1`}),`–`,_jsx(_components.code,{children:`1.0`}),`. Applies to every comparison. A failed comparison emits `,_jsx(_components.code,{children:`DOCUMENT_VS_LIVENESS_FACE_MISMATCH`}),`, `,_jsx(_components.code,{children:`LIVENESS_VS_IDENTITY_REF_FACE_MISMATCH`}),` or `,_jsx(_components.code,{children:`DOCUMENT_VS_IDENTITY_REF_FACE_MISMATCH`}),`.`]})}),_jsx(ParamField,{body:`require_face_comparison`,default:`true`,type:`boolean`,id:`param-require-face-comparison`,children:_jsxs(_components.p,{children:[`Whether face comparison runs at all. `,_jsx(_components.code,{children:`false`}),` skips every comparison and emits the informational `,_jsx(_components.code,{children:`FACE_COMPARISON_DISABLED`}),`.`]})}),_jsx(ParamField,{body:`expected_gender`,default:`null`,type:`string | null`,id:`param-expected-gender`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`MALE`}),`, `,_jsx(_components.code,{children:`FEMALE`}),`, or `,_jsx(_components.code,{children:`null`}),` to accept any. Estimated from the selfie. Emits `,_jsx(_components.code,{children:`LIVENESS_GENDER_MISMATCH_EXPECTED`}),`.`]})}),_jsx(ParamField,{body:`expected_min_age`,default:`null`,type:`integer | null`,id:`param-expected-min-age`,children:_jsxs(_components.p,{children:[`Minimum accepted age, `,_jsx(_components.code,{children:`0`}),`–`,_jsx(_components.code,{children:`200`}),`. Estimated from the selfie. Emits `,_jsx(_components.code,{children:`LIVENESS_AGE_OUT_OF_RANGE`}),`.`]})}),_jsx(ParamField,{body:`expected_max_age`,default:`null`,type:`integer | null`,id:`param-expected-max-age`,children:_jsxs(_components.p,{children:[`Maximum accepted age, `,_jsx(_components.code,{children:`0`}),`–`,_jsx(_components.code,{children:`200`}),`. Must not be lower than `,_jsx(_components.code,{children:`expected_min_age`}),`.`]})}),_jsx(ParamField,{body:`on_another_customer_repeated_face`,default:`REJECT`,type:`string`,id:`param-on-another-customer-repeated-face`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`REJECT`}),`, `,_jsx(_components.code,{children:`WARN`}),` or `,_jsx(_components.code,{children:`IGNORE`}),` when the face already belongs to a different customer in your account. Accepted and validated, `,_jsx(_components.strong,{children:`not enforced yet`}),`.`]})})]})]}),_jsxs(ParamField,{body:`blacklist_policy`,type:`object`,id:`param-blacklist-policy`,children:[_jsxs(_components.p,{children:[`How to react to a face on a blocklist. Both fields take `,_jsx(_components.code,{children:`REJECT`}),`, `,_jsx(_components.code,{children:`WARN`}),` or `,_jsx(_components.code,{children:`IGNORE`}),`. Accepted and validated, `,_jsx(_components.strong,{children:`not enforced yet`}),`.`]}),_jsxs(Expandable,{title:`blacklist_policy`,children:[_jsx(ParamField,{body:`on_internal_face_blacklist_match`,default:`REJECT`,type:`string`,id:`param-on-internal-face-blacklist-match`,children:_jsxs(_components.p,{children:[`The face matches your organization’s own blocklist. Emits `,_jsx(_components.code,{children:`INTERNAL_FACE_BLACKLIST_MATCH`}),`.`]})}),_jsx(ParamField,{body:`on_global_face_blacklist_match`,default:`REJECT`,type:`string`,id:`param-on-global-face-blacklist-match`,children:_jsxs(_components.p,{children:[`The face matches the platform-wide blocklist. Emits `,_jsx(_components.code,{children:`GLOBAL_FACE_BLACKLIST_MATCH`}),`.`]})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`transaction_id`,type:`string (UUID)`,id:`param-transaction-id`,children:_jsxs(_components.p,{children:[`The transaction identifier. Use it to\n`,_jsx(_components.a,{href:`/api-reference/transactions/get-transaction`,children:`fetch the result`}),`; it also arrives on the\nwebhook and is returned to your app by the SDK.`]})}),`\n`,_jsx(ResponseField,{name:`sdk_token`,type:`string (JWT)`,id:`param-sdk-token`,children:_jsx(_components.p,{children:`Pass this to your mobile app and hand it to the SDK. Scoped to this transaction only.`})}),`\n`,_jsx(ResponseField,{name:`token_type`,type:`string`,id:`param-token-type`,children:_jsxs(_components.p,{children:[`Always `,_jsx(_components.code,{children:`Bearer`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`expires_in`,type:`integer`,id:`param-expires-in`,children:_jsxs(_components.p,{children:[`SDK token lifetime in seconds, derived from `,_jsx(_components.code,{children:`transaction_ttl_minutes`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`example`,children:`Example`}),`\n`,_jsx(_components.p,{children:`A full onboarding configuration, with every policy set:`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,lines:`true`,numberOfLines:`52`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`52`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://{your-api-host}/api/account/integration/kyc/transaction`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$ACCESS_TOKEN`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"customer_id\": \"4a63b11c-803d-4126-bf91-d5f8290ff0a5\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"transaction_type\": \"DOCUMENT_AND_BIOMETRIC\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"config\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"transaction_ttl_minutes\": 60,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"webhook\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"url\": \"https://api.example.com/hooks/chmod\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"device_policy\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"on_compromised_device\": \"REJECT\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"on_developer_mode\": \"WARN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"on_emulator\": \"REJECT\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"on_vpn_or_proxy\": \"WARN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"on_gps_mock_location\": \"REJECT\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"on_gps_ip_location_mismatch\": \"WARN\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"document_policy\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"document_eligibility\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"filter_mode\": \"ALLOW\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"target_documents\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"country\": \"AR\", \"type\": \"NATIONAL_ID\", \"allow_expired\": false },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"country\": \"AR\", \"type\": \"PASSPORT\", \"allow_expired\": false }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"data_matching\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"given_names\": { \"value\": \"Ana Maria\", \"similarity_min_score\": 0.85 },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"surnames\": { \"value\": \"Perez\", \"similarity_min_score\": 0.85 },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"gender\": \"F\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"document_type\": \"NATIONAL_ID\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"document_issuing_country\": \"AR\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"document_number\": \"20123456\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"date_of_birth\": \"1996-01-09\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"biometric_policy\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"liveness_min_score\": 0.9,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"face_comparison_min_score\": 0.9,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"require_face_comparison\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"expected_gender\": null,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"expected_min_age\": 18,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"expected_max_age\": 120,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"on_another_customer_repeated_face\": \"REJECT\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"blacklist_policy\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"on_internal_face_blacklist_match\": \"REJECT\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"on_global_face_blacklist_match\": \"REJECT\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node.js`,lines:`true`,numberOfLines:`41`,language:`typescript`,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:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`41`,children:[_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:` res`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`CHMOD_API_URL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"/api/account/integration/kyc/transaction`\"}),_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:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_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:` headers:`}),_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:` Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `Bearer \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`accessToken`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/json\"`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_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:` customer_id:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`chmodCustomerId`}),_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:` transaction_type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"DOCUMENT_AND_BIOMETRIC\"`}),_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:` config:`}),_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:` transaction_ttl_minutes:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 60`}),_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:` webhook:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`url:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`process`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`PUBLIC_URL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"/hooks/chmod`\"}),_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:` device_policy:`}),_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:` on_compromised_device:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"REJECT\"`}),_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:` on_emulator:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"REJECT\"`}),_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:` on_vpn_or_proxy:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"WARN\"`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` document_policy:`}),_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:` document_eligibility:`}),_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:` filter_mode:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ALLOW\"`}),_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:` target_documents:`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`country:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"AR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"NATIONAL_ID\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`allow_expired:`}),_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`,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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Match what the document says against what you already hold on file.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` data_matching:`}),_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:` given_names:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`firstName`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`similarity_min_score:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0.85`}),_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:` surnames:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`lastName`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`similarity_min_score:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0.85`}),_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:` date_of_birth:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`dateOfBirth`}),_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`,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:` biometric_policy:`}),_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:` liveness_min_score:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0.9`}),_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:` face_comparison_min_score:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0.9`}),_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:` require_face_comparison:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_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`,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`,_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\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`transaction_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`sdk_token`}),_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:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,lines:`true`,numberOfLines:`25`,language:`python`,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:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`25`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`res `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`CHMOD_API_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/api/account/integration/kyc/transaction\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`access_token`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"customer_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: user.chmod_customer_id,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"transaction_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"DOCUMENT_AND_BIOMETRIC\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"config\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"transaction_ttl_minutes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`60`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"webhook\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`PUBLIC_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/hooks/chmod\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"document_policy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"document_eligibility\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"filter_mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ALLOW\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"target_documents\"`}),_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"country\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"NATIONAL_ID\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"allow_expired\"`}),_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`,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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"biometric_policy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"liveness_min_score\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.9`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"require_face_comparison\"`}),_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`,_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`,_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`data `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` res.json()`})]}),`\n`]})})})]}),`\n`,_jsx(CodeBlock,{filename:`Response`,lines:`true`,numberOfLines:`6`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"transaction_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"34dc4204-2b57-42ae-a3bc-1d114935b98f\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sdk_token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"token_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expires_in\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3600`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`defaults`,children:`Defaults`}),`\n`,_jsx(_components.p,{children:`What you get when you omit a field entirely:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Default`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`transaction_ttl_minutes`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`1440`}),` (24 hours)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`webhook`})}),_jsx(_components.td,{children:`none — no notification is sent`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`device_policy.on_compromised_device`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`REJECT`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`device_policy.on_developer_mode`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`WARN`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`device_policy.on_emulator`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`REJECT`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`device_policy.on_vpn_or_proxy`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`WARN`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`device_policy.on_gps_mock_location`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`REJECT`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`device_policy.on_gps_ip_location_mismatch`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`WARN`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`document_policy.document_eligibility`})}),_jsx(_components.td,{children:`every supported document is accepted`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`document_policy.data_matching`})}),_jsx(_components.td,{children:`nothing is matched`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`biometric_policy.liveness_min_score`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`0.85`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`biometric_policy.face_comparison_min_score`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`0.85`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`biometric_policy.require_face_comparison`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`true`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`biometric_policy.expected_gender`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`null`}),` (any)`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`biometric_policy.expected_min_age`}),` / `,_jsx(_components.code,{children:`expected_max_age`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`null`}),` (any)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`biometric_policy.on_another_customer_repeated_face`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`REJECT`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`blacklist_policy.on_internal_face_blacklist_match`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`REJECT`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`blacklist_policy.on_global_face_blacklist_match`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`REJECT`})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`going-deeper`,children:`Going deeper`}),`\n`,_jsx(_components.p,{children:`Each policy has a reference page with the supporting detail — the supported document matrix, how the three face comparisons work, what happens when a device signal is missing, and how to pick thresholds:`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Device policy`,icon:`mobile-screen-button`,href:`/configuration/device-policy`}),_jsx(Card,{title:`Document policy`,icon:`id-card`,href:`/configuration/document-policy`}),_jsx(Card,{title:`Biometric policy`,icon:`face-viewfinder`,href:`/configuration/biometric-policy`}),_jsx(Card,{title:`Blacklist policy`,icon:`ban`,href:`/configuration/blacklist-policy`})]}),`\n`,_jsx(Heading,{level:`2`,id:`next`,children:`Next`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Get transaction`,icon:`magnifying-glass`,href:`/api-reference/transactions/get-transaction`,children:_jsx(_components.p,{children:`Read the status and the decision.`})}),_jsx(Card,{title:`Webhooks`,icon:`webhook`,href:`/results/webhooks`,children:_jsx(_components.p,{children:`Be notified as soon as the decision exists.`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create transaction","description":"Open a verification with the rules you want enforced, and mint the SDK token.","icon":"circle-plus","href":"/api-reference/transactions/create-transaction"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Request","slug":"request","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Example","slug":"example","depth":2,"children":[]},{"title":"Defaults","slug":"defaults","depth":2,"children":[]},{"title":"Going deeper","slug":"going-deeper","depth":2,"children":[]},{"title":"Next","slug":"next","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"chmod","siteName":"chmod","title":"Create transaction - chmod","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-12T19:12:02.778Z","originalFileLocation":"api-reference/transactions/create-transaction.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=\"Open a verification with the rules you want enforced, and mint the SDK token.\">\u003cmeta data-mint-head name=\"application-name\" content=\"chmod\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/chmod/IJRfF9TS0Aitl-BP/_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/chmod/IJRfF9TS0Aitl-BP/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/chmod/IJRfF9TS0Aitl-BP/_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/chmod/IJRfF9TS0Aitl-BP/_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/chmod/IJRfF9TS0Aitl-BP/_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/chmod/IJRfF9TS0Aitl-BP/_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/chmod/IJRfF9TS0Aitl-BP/_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/chmod/IJRfF9TS0Aitl-BP/_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/chmod/IJRfF9TS0Aitl-BP/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create transaction - chmod\">\u003cmeta data-mint-head property=\"og:description\" content=\"Open a verification with the rules you want enforced, and mint the SDK token.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"chmod\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.chmodlab.com/api-reference/transactions/create-transaction\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://chmod.mintlify.site/_mintlify/api/og/v2?division=Transactions\u0026amp;title=Create+transaction\u0026amp;description=Open+a+verification+with+the+rules+you+want+enforced%2C+and+mint+the+SDK+token.\u0026amp;theme=713b656c20fd4b1b1927d186\u0026amp;signature=abeecbff8db263ab9d5ae51cef534bb6fe8de3dc7f4acf98b9960f5e1f1cc4d4\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create transaction - chmod\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Open a verification with the rules you want enforced, and mint the SDK token.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://chmod.mintlify.site/_mintlify/api/og/v2?division=Transactions\u0026amp;title=Create+transaction\u0026amp;description=Open+a+verification+with+the+rules+you+want+enforced%2C+and+mint+the+SDK+token.\u0026amp;theme=713b656c20fd4b1b1927d186\u0026amp;signature=abeecbff8db263ab9d5ae51cef534bb6fe8de3dc7f4acf98b9960f5e1f1cc4d4\">\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/chmod/IJRfF9TS0Aitl-BP/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"chmod\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1F49B6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.chmodlab.com/api-reference/transactions/create-transaction\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/transactions/create-transaction.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.chmodlab.com/#organization\",\"name\":\"chmod\",\"url\":\"https://docs.chmodlab.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/chmod/t8W0jnVKFVTNrHw3/logo/light.png?fit=max\u0026auto=format\u0026n=t8W0jnVKFVTNrHw3\u0026q=85\u0026s=c83042579b61651094b7024d97a4f8ee\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.chmodlab.com#website\",\"name\":\"chmod\",\"url\":\"https://docs.chmodlab.com\",\"publisher\":{\"@id\":\"https://docs.chmodlab.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.chmodlab.com/api-reference/transactions/create-transaction#webpage\",\"url\":\"https://docs.chmodlab.com/api-reference/transactions/create-transaction\",\"name\":\"Create transaction\",\"description\":\"Open a verification with the rules you want enforced, and mint the SDK token.\",\"dateModified\":\"2026-09-12T19:12:02.778Z\",\"isPartOf\":{\"@id\":\"https://docs.chmodlab.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.chmodlab.com/api-reference/transactions/create-transaction#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.chmodlab.com/api-reference/transactions/create-transaction#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"chmod\",\"item\":\"https://docs.chmodlab.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create transaction\",\"item\":\"https://docs.chmodlab.com/api-reference/transactions/create-transaction\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.chmodlab.com/api-reference/transactions/create-transaction#article\",\"headline\":\"Create transaction\",\"name\":\"Create transaction\",\"description\":\"Open a verification with the rules you want enforced, and mint the SDK token.\",\"url\":\"https://docs.chmodlab.com/api-reference/transactions/create-transaction\",\"mainEntityOfPage\":{\"@id\":\"https://docs.chmodlab.com/api-reference/transactions/create-transaction#webpage\"},\"dateModified\":\"2026-09-12T19:12:02.778Z\",\"publisher\":{\"@id\":\"https://docs.chmodlab.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.chmodlab.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"chmod\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"chmod\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/transactions/create-transaction.md","siteName":"chmod","nav":{"global":null,"tabs":[{"tab":"Docs","icon":"book-open","pages":[{"title":"Docs","href":""}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Getting Started","pages":[{"title":"Overview","icon":"compass","href":"/api-reference/overview"},{"title":"Quickstart","icon":"terminal","href":"/api-reference/quickstart"},{"title":"Authentication","icon":"key","href":"/api-reference/authentication"},{"title":"Errors","icon":"circle-exclamation","href":"/api-reference/errors"}]},{"group":"Customers","pages":[{"title":"Create customer","description":"Register a person once and reuse their customer_id for every later verification.","icon":"user-plus","href":"/api-reference/customers/create-customer"}]},{"group":"Transactions","pages":[{"title":"Create transaction","icon":"circle-plus","href":"/api-reference/transactions/create-transaction"},{"title":"Get transaction","description":"Read the current status of a transaction and, once it has finished, the decision.","icon":"magnifying-glass","href":"/api-reference/transactions/get-transaction"}]},{"group":"Transaction configuration","pages":[{"title":"Overview","icon":"sliders","href":"/configuration/overview"},{"title":"Device policy","icon":"mobile-screen-button","href":"/configuration/device-policy"},{"title":"Document policy","icon":"id-card","href":"/configuration/document-policy"},{"title":"Biometric policy","icon":"face-viewfinder","href":"/configuration/biometric-policy"},{"title":"Blacklist policy","icon":"ban","href":"/configuration/blacklist-policy"}]},{"group":"Results","pages":[{"title":"Reading a result","icon":"file-lines","href":"/results/reading-a-result"},{"title":"Webhooks","icon":"webhook","href":"/results/webhooks"},{"title":"Issue codes","icon":"triangle-exclamation","href":"/results/issue-codes"}]}]},{"tab":"Client SDK","icon":"mobile-screen","pages":[{"title":"Client SDK","href":"/sdk/overview"}]}]},"basePath":"","title":"Create transaction - chmod","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":[],"chunks":[]}