L’endpoint de comparaison faciale utilise l’analyse biométrique pour comparer deux images de visage et renvoie un score de confiance indiquant si elles représentent le même individu. Utilisez-le pour la vérification d’identité lors de l’intégration ou de l’approbation de transaction.Avant de comparer, le fournisseur exécute une vérification anti-spoofing sur selfie_url ; si cette vérification échoue, aucune comparaison n’est tentée et la réponse l’indique explicitement — voir 200 OK — rejeté par la vérification anti-spoofing ci-dessous.
Endpoint
POST /api/onboarding/biometrics/face/comparison
Requête
En-têtes
En-tête
Valeur
Requis
x-access-token
Votre clé secrète API
Oui
Content-Type
application/json
Oui
Paramètres de corps
Paramètre
Type
Requis
Description
image_url
string
Oui
URL de la photo d’identité de référence ou image de visage de base de données
selfie_url
string
Oui
URL du selfie en direct à comparer avec la référence
Un data.status à false indique que les visages ne correspondent pas. Utilisez data.confidence pour appliquer votre propre seuil d’acceptation (ex: exigez >= 80 pour une correspondance positive).
200 OK — rejeté par la vérification anti-spoofing (aucune comparaison effectuée)
Avant de comparer les deux images, le fournisseur exécute sa propre vérification anti-spoofing sur selfie_url — cela détecte une photo de photo, une relecture d’écran ou toute autre soumission falsifiée. Si selfie_url échoue à cette vérification, la comparaison elle-même ne s’exécute jamais, et la réponse explique pourquoi dans data.message plutôt que de simplement dire que les visages ne correspondent pas. data.confidence est à 0 dans ce cas puisqu’aucun score de correspondance n’a été produit.
Cette vérification s’exécute même si selfie_url est une image fixe, et non une vidéo — le texte du message ci-dessous fait toujours référence à “la vidéo soumise” car il est partagé avec le libellé interne de l’endpoint de vérification de vivacité faciale. Traitez cette réponse de la même manière, que vous ayez soumis une photo ou une vidéo en tant que selfie.
{ "status": "failed", "data": { "status": false, "response_code": "01", "message": "Liveness check failed — the submitted video did not pass the liveness/anti-spoofing check, so no face comparison was performed.", "confidence": 0 }, "message": "Liveness check failed — the submitted video did not pass the liveness/anti-spoofing check, so no face comparison was performed."}
Demandez à l’utilisateur un selfie plus clair (meilleur éclairage, pas d’écran/photo dans le cadre) et soumettez à nouveau — ce n’est pas la même erreur qu’une véritable inadéquation faciale, et réessayer avec un selfie de meilleure qualité de la même personne est la bonne étape suivante.
400 Bad Request
Renvoyé lorsque l’une ou les deux URL d’image sont manquantes, inaccessibles ou ne contiennent pas de visage détectable.
{ "status": "failed", "data": [], "message": "Could not process one or both images"}
401 Unauthorized
{ "status": "failed", "message": "Authentication credentials were not provided."}
Autorisations
x-access-token
string
header
requis
Your Adhere API secret key
Corps
application/json
image_url
string
requis
URL of the reference ID photo
selfie_url
string
requis
URL of the selfie image
Réponse
Comparison ran to completion. This includes the anti-spoofing rejection case below — the provider still returns HTTP 200 with status "failed" when selfie_url fails its own liveness check before any comparison is attempted.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/schema.json","name":"Adhere by Smartcomply","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"logo":{"light":"https://mintcdn.com/smartcomply-4a11fc80/6yxey6BG9U5-nLfB/logo/adhere-logo.png?fit=max\u0026auto=format\u0026n=6yxey6BG9U5-nLfB\u0026q=85\u0026s=36f07403114fed5f15ea99a3452ef123","dark":"https://mintcdn.com/smartcomply-4a11fc80/6yxey6BG9U5-nLfB/logo/adhere-logo-dark.png?fit=max\u0026auto=format\u0026n=6yxey6BG9U5-nLfB\u0026q=85\u0026s=0549fbeedf4dda7df111b43eb8a1329c"},"favicon":"https://mintcdn.com/smartcomply-4a11fc80/6yxey6BG9U5-nLfB/logo/adhere-logo.png?fit=max\u0026auto=format\u0026n=6yxey6BG9U5-nLfB\u0026q=85\u0026s=36f07403114fed5f15ea99a3452ef123","navbar":{"links":[{"href":"https://docs.adhere.smartcomply.com/changelog","label":"What's New"},{"href":"https://documenter.getpostman.com/view/55164637/2sBXwjxET7","label":"Postman Collection"},{"href":"https://docs.adhere.smartcomply.com/pages/support","label":"Get Help"}],"primary":{"type":"button","label":"Dashboard","href":"https://adhere-app.smartcomply.com"}},"banner":{"content":"Adhere v3 is live — faster identity verification across Nigeria, Ghana, Kenya, Rwanda \u0026 Uganda. [Explore what's new →](/introduction)","dismissible":true},"metadata":{"timestamp":false},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":"introduction"},{"language":"fr","href":"fr/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"smartcomply-4a11fc80","hasAudioNarration":false,"actualSubdomain":"smartcomply-4a11fc80","customDomains":["docs.adherecompliance.com"],"gitSource":{"type":"github","owner":"386konsult","repo":"adhere-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b09c47a6971403ac988769d"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b09c8596971403ac988c460","clientVersion":"0.0.4342","searchFilterCounts":[{"language":"en","tag":"API Reference","count":189},{"language":"en","tag":"Onboarding Suite","count":133},{"language":"en","tag":"KYC","count":92},{"language":"fr","tag":"Référence API","count":84},{"language":"en","tag":"Nigeria","count":80},{"language":"fr","tag":"Suite d'intégration","count":59},{"language":"en","tag":"Credit Report","count":46},{"language":"fr","tag":"KYC","count":43},{"language":"fr","tag":"Nigeria","count":33},{"language":"en","tag":"Individual","count":32},{"language":"en","tag":"Fraud \u0026 Transaction Monitoring","count":31},{"language":"en","tag":"Data Verification","count":28},{"language":"fr","tag":"Vérification des données","count":28},{"language":"en","tag":"Kenya","count":22},{"language":"fr","tag":"Rapport de crédit","count":15},{"language":"en","tag":"Business","count":12},{"language":"fr","tag":"Vérification de documents","count":12},{"language":"fr","tag":"Kenya","count":11},{"language":"fr","tag":"Individuel","count":11},{"language":"fr","tag":"Fraude et surveillance des transactions","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","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":"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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"fr/v3/biometrics/face_comparism","slug":"/fr/v3/biometrics/face_comparism","pageMetadata":{"title":"Comparaison faciale","sidebarTitle":"Comparaison faciale","description":"Comparez deux images de visage pour déterminer si elles appartiennent à la même personne.","openapi":"POST /api/onboarding/biometrics/face/comparison","href":"/fr/v3/biometrics/face_comparism"},"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: \"Comparez deux images de visage pour déterminer si elles appartiennent à la même personne.\"\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`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Note,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`L’endpoint de comparaison faciale utilise l’analyse biométrique pour comparer deux images de visage et renvoie un score de confiance indiquant si elles représentent le même individu. Utilisez-le pour la vérification d’identité lors de l’intégration ou de l’approbation de transaction.`}),`\n`,_jsxs(_components.p,{children:[`Avant de comparer, le fournisseur exécute une vérification anti-spoofing sur `,_jsx(_components.code,{children:`selfie_url`}),` ; si cette vérification échoue, aucune comparaison n’est tentée et la réponse l’indique explicitement — voir `,_jsx(_components.a,{href:`#200-ok-rejet%C3%A9-par-la-v%C3%A9rification-anti-spoofing-aucune-comparaison-effectu%C3%A9e`,children:`200 OK — rejeté par la vérification anti-spoofing`}),` ci-dessous.`]}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint`,children:`Endpoint`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`POST /api/onboarding/biometrics/face/comparison`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`requête`,children:`Requête`}),`\n`,_jsx(Heading,{level:`3`,id:`en-têtes`,children:`En-têtes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`En-tête`}),_jsx(_components.th,{children:`Valeur`}),_jsx(_components.th,{children:`Requis`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`x-access-token`})}),_jsx(_components.td,{children:`Votre clé secrète API`}),_jsx(_components.td,{children:`Oui`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Content-Type`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`application/json`})}),_jsx(_components.td,{children:`Oui`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`paramètres-de-corps`,children:`Paramètres de corps`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Paramètre`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Requis`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`image_url`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Oui`}),_jsx(_components.td,{children:`URL de la photo d’identité de référence ou image de visage de base de données`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`selfie_url`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Oui`}),_jsx(_components.td,{children:`URL du selfie en direct à comparer avec la référence`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`exemple`,children:`Exemple`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`7`,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:`7`,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://adhere-api.smartcomply.com/api/onboarding/biometrics/face/comparison\"`}),_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:` \"x-access-token: YOUR_SECRET_KEY\"`}),_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:` \"image_url\": \"https://example.com/id_photo.jpg\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"selfie_url\": \"https://example.com/selfie.jpg\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`15`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`15`,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:` response`}),_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:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://adhere-api.smartcomply.com/api/onboarding/biometrics/face/comparison\"`}),_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:` 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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-access-token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_SECRET_KEY\"`}),_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:` image_url:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://example.com/id_photo.jpg\"`}),_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:` selfie_url:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://example.com/selfie.jpg\"`}),_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:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` data`}),_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:` response`}),_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`,numberOfLines:`14`,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:`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:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://adhere-api.smartcomply.com/api/onboarding/biometrics/face/comparison\"`}),_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:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-access-token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_SECRET_KEY\"`}),_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\":`#D4D4D4`},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:`#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:` \"image_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/id_photo.jpg\"`}),_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:` \"selfie_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/selfie.jpg\"`}),_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:` response.json()`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`réponse`,children:`Réponse`}),`\n`,_jsx(Heading,{level:`3`,id:`200-ok`,children:`200 OK`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Champ`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.status`})}),_jsx(_components.td,{children:`boolean`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`true`}),` si les visages correspondent, `,_jsx(_components.code,{children:`false`}),` sinon`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.response_code`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`\"00\"`}),` indique une comparaison réussie`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.message`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Résultat de correspondance lisible par l’homme`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.confidence`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Pourcentage de confiance de correspondance (0–100)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.record_id`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`ID d’enregistrement interne pour cette vérification`})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,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:`11`,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:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_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:` \"data\"`}),_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:` \"status\"`}),_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"response_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"00\"`}),_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:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Face Match\"`}),_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:` \"confidence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_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:` \"record_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`76981`})]}),`\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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Comparaison faciale effectuée avec succès\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Un `,_jsx(_components.code,{children:`data.status`}),` à `,_jsx(_components.code,{children:`false`}),` indique que les visages ne correspondent pas. Utilisez `,_jsx(_components.code,{children:`data.confidence`}),` pour appliquer votre propre seuil d’acceptation (ex: exigez `,_jsx(_components.code,{children:`>= 80`}),` pour une correspondance positive).`]}),`\n`,_jsx(Heading,{level:`3`,id:`200-ok-—-rejeté-par-la-vérification-anti-spoofing-aucune-comparaison-effectuée`,children:`200 OK — rejeté par la vérification anti-spoofing (aucune comparaison effectuée)`}),`\n`,_jsxs(_components.p,{children:[`Avant de comparer les deux images, le fournisseur exécute sa propre vérification anti-spoofing sur `,_jsx(_components.code,{children:`selfie_url`}),` — cela détecte une photo de photo, une relecture d’écran ou toute autre soumission falsifiée. Si `,_jsx(_components.code,{children:`selfie_url`}),` échoue à cette vérification, la comparaison elle-même ne s’exécute jamais, et la réponse explique pourquoi dans `,_jsx(_components.code,{children:`data.message`}),` plutôt que de simplement dire que les visages ne correspondent pas. `,_jsx(_components.code,{children:`data.confidence`}),` est à `,_jsx(_components.code,{children:`0`}),` dans ce cas puisqu’aucun score de correspondance n’a été produit.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Cette vérification s’exécute même si `,_jsx(_components.code,{children:`selfie_url`}),` est une image fixe, et non une vidéo — le texte du message ci-dessous fait toujours référence à “la vidéo soumise” car il est partagé avec le libellé interne de l’endpoint de vérification de vivacité faciale. Traitez cette réponse de la même manière, que vous ayez soumis une photo ou une vidéo en tant que selfie.`]})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,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:`10`,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:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"failed\"`}),_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:` \"data\"`}),_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:` \"status\"`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"response_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"01\"`}),_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:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Liveness check failed — the submitted video did not pass the liveness/anti-spoofing check, so no face comparison was performed.\"`}),_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:` \"confidence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`})]}),`\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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Liveness check failed — the submitted video did not pass the liveness/anti-spoofing check, so no face comparison was performed.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Demandez à l’utilisateur un selfie plus clair (meilleur éclairage, pas d’écran/photo dans le cadre) et soumettez à nouveau — ce n’est pas la même erreur qu’une véritable inadéquation faciale, et réessayer avec un selfie de meilleure qualité de la même personne est la bonne étape suivante.`}),`\n`,_jsx(Heading,{level:`3`,id:`400-bad-request`,children:`400 Bad Request`}),`\n`,_jsx(_components.p,{children:`Renvoyé lorsque l’une ou les deux URL d’image sont manquantes, inaccessibles ou ne contiennent pas de visage détectable.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,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:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"failed\"`}),_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:` \"data\"`}),_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:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Could not process one or both images\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`401-unauthorized`,children:`401 Unauthorized`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"failed\"`}),_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:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authentication credentials were not provided.\"`})]}),`\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":"Comparaison faciale","sidebarTitle":"Comparaison faciale","description":"Comparez deux images de visage pour déterminer si elles appartiennent à la même personne.","openapi":"POST /api/onboarding/biometrics/face/comparison","href":"/fr/v3/biometrics/face_comparism"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Endpoint","slug":"endpoint","depth":2,"children":[]},{"title":"Requête","slug":"requête","depth":2,"children":[{"title":"En-têtes","slug":"en-têtes","depth":3,"children":[]},{"title":"Paramètres de corps","slug":"paramètres-de-corps","depth":3,"children":[]},{"title":"Exemple","slug":"exemple","depth":3,"children":[]}]},{"title":"Réponse","slug":"réponse","depth":2,"children":[{"title":"200 OK","slug":"200-ok","depth":3,"children":[]},{"title":"200 OK — rejeté par la vérification anti-spoofing (aucune comparaison effectuée)","slug":"200-ok-—-rejeté-par-la-vérification-anti-spoofing-aucune-comparaison-effectuée","depth":3,"children":[]},{"title":"400 Bad Request","slug":"400-bad-request","depth":3,"children":[]},{"title":"401 Unauthorized","slug":"401-unauthorized","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Biometrics"],"summary":"Face Comparison","operationId":"faceComparison","requestBody":"1962969d-8cd9-4943-92b8-f6186891c17c","responses":{"200":"02080fc9-00d9-4d87-bf3e-8ce69f2ffdfa","400":"3c23931e-e558-4130-b432-9195df74bd35","401":"7c7db280-278e-4dc5-b576-2866f8f0ad38"},"method":"post","type":"path","servers":["be3d32ea-66a7-4e0c-b45c-03444373b299"],"security":["e514b5f6-171f-406e-b87e-6147273cfcfa"],"path":"/api/onboarding/biometrics/face/comparison","baseUrlOptions":["https://adhere-api.smartcomply.com"],"title":"Face Comparison","description":"Comparez deux images de visage pour déterminer si elles appartiennent à la même personne.","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["image_url","selfie_url"],"properties":{"image_url":{"type":"string","description":"URL of the reference ID photo","isRequired":true,"uniqueKey":"image_url","typeLabel":"string"},"selfie_url":{"type":"string","description":"URL of the selfie image","isRequired":true,"uniqueKey":"selfie_url","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"image_url":"\u003cstring>","selfie_url":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"02080fc9-00d9-4d87-bf3e-8ce69f2ffdfa":{"description":"Comparison ran to completion. This includes the anti-spoofing rejection case below — the provider still returns HTTP 200 with status \"failed\" when selfie_url fails its own liveness check before any comparison is attempted.","content":{"application/json":{"examples":{"facesMatch":{"title":"facesMatch","summary":"Faces match","value":{"status":"success","data":{"status":true,"response_code":"00","message":"Face Match","confidence":100,"record_id":76981},"message":"Face comparison completed successfully"}},"facesDoNotMatch":{"title":"facesDoNotMatch","summary":"Faces do not match","value":{"status":"failed","data":{"status":false,"response_code":"01","message":"Face Mismatch","confidence":42,"record_id":76982},"message":"Face comparison failed — faces do not match"}},"antiSpoofingRejected":{"title":"antiSpoofingRejected","summary":"Rejected by anti-spoofing check (no comparison performed)","value":{"status":"failed","data":{"status":false,"response_code":"01","message":"Liveness check failed — the submitted video did not pass the liveness/anti-spoofing check, so no face comparison was performed.","confidence":0},"message":"Liveness check failed — the submitted video did not pass the liveness/anti-spoofing check, so no face comparison was performed."}}},"exampleType":"examples"}},"exampleType":"examples"},"3c23931e-e558-4130-b432-9195df74bd35":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"failed","uniqueKey":"status","typeLabel":"string"},"data":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"data.items.[INDEX]","typeLabel":"any"},"uniqueKey":"data","typeLabel":"any[]"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"failed","data":["\u003cunknown>"],"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"7c7db280-278e-4dc5-b576-2866f8f0ad38":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"failed","uniqueKey":"status","typeLabel":"string"},"message":{"type":"string","example":"Authentication credentials were not provided.","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"failed","message":"Authentication credentials were not provided."}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"e514b5f6-171f-406e-b87e-6147273cfcfa":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-access-token","description":"Your Adhere API secret key","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"be3d32ea-66a7-4e0c-b45c-03444373b299":{"url":"https://adhere-api.smartcomply.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-access-token","description":"Your Adhere API secret key","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"x-access-token","type":"string","description":"Your Adhere API secret key","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"x-access-token"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"smartcomply-4a11fc80","siteName":"Adhere by Smartcomply","title":"Comparaison faciale - Adhere by Smartcomply","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"v3":{"href":"/fr/v3/biometrics/face_comparism","matchLevel":0},"v2":{"href":"/introduction","matchLevel":4},"v1":{"href":"/introduction","matchLevel":4}},"firstHrefInLanguage":{"en":{"href":"/v3/biometrics/face_comparism","matchLevel":1},"fr":{"href":"/fr/v3/biometrics/face_comparism","matchLevel":0}}},"lastModified":"2026-11-27T18:14:04.642Z","originalFileLocation":"fr/v3/biometrics/face_comparism.mdx","locale":"fr"},"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=\"Comparez deux images de visage pour déterminer si elles appartiennent à la même personne.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Adhere by Smartcomply\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/smartcomply-4a11fc80/tJIiAl0OXigVNY30/_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/smartcomply-4a11fc80/tJIiAl0OXigVNY30/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/smartcomply-4a11fc80/tJIiAl0OXigVNY30/_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/smartcomply-4a11fc80/tJIiAl0OXigVNY30/_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/smartcomply-4a11fc80/tJIiAl0OXigVNY30/_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/smartcomply-4a11fc80/tJIiAl0OXigVNY30/_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/smartcomply-4a11fc80/tJIiAl0OXigVNY30/_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/smartcomply-4a11fc80/tJIiAl0OXigVNY30/_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/smartcomply-4a11fc80/tJIiAl0OXigVNY30/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Comparaison faciale - Adhere by Smartcomply\">\u003cmeta data-mint-head property=\"og:description\" content=\"Comparez deux images de visage pour déterminer si elles appartiennent à la même personne.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Adhere by Smartcomply\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.adherecompliance.com/fr/v3/biometrics/face_comparism\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://smartcomply-4a11fc80.mintlify.site/_mintlify/api/og/v2?division=Biom%C3%A9trie\u0026amp;title=Comparaison+faciale\u0026amp;description=Comparez+deux+images+de+visage+pour+d%C3%A9terminer+si+elles+appartiennent+%C3%A0+la+m%C3%AAme+personne.\u0026amp;theme=4d429b20ce38ed43851409ee\u0026amp;signature=5f869d83701674d173fe83c2527bbc105c9c14cb6332ba7bdbc2d7f1ab157c2c\">\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=\"Comparaison faciale - Adhere by Smartcomply\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Comparez deux images de visage pour déterminer si elles appartiennent à la même personne.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://smartcomply-4a11fc80.mintlify.site/_mintlify/api/og/v2?division=Biom%C3%A9trie\u0026amp;title=Comparaison+faciale\u0026amp;description=Comparez+deux+images+de+visage+pour+d%C3%A9terminer+si+elles+appartiennent+%C3%A0+la+m%C3%AAme+personne.\u0026amp;theme=4d429b20ce38ed43851409ee\u0026amp;signature=5f869d83701674d173fe83c2527bbc105c9c14cb6332ba7bdbc2d7f1ab157c2c\">\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/smartcomply-4a11fc80/tJIiAl0OXigVNY30/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Adhere by Smartcomply\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.adherecompliance.com/fr/v3/biometrics/face_comparism\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/fr/v3/biometrics/face_comparism.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.adherecompliance.com/fr/v3/biometrics/face_comparism\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.adherecompliance.com/v3/biometrics/face_comparism\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.adherecompliance.com/v3/biometrics/face_comparism\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.adherecompliance.com/#organization\",\"name\":\"Adhere by Smartcomply\",\"url\":\"https://docs.adherecompliance.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/smartcomply-4a11fc80/6yxey6BG9U5-nLfB/logo/adhere-logo.png?fit=max\u0026auto=format\u0026n=6yxey6BG9U5-nLfB\u0026q=85\u0026s=36f07403114fed5f15ea99a3452ef123\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.adherecompliance.com#website\",\"name\":\"Adhere by Smartcomply\",\"url\":\"https://docs.adherecompliance.com\",\"publisher\":{\"@id\":\"https://docs.adherecompliance.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.adherecompliance.com/fr/v3/biometrics/face_comparism#webpage\",\"url\":\"https://docs.adherecompliance.com/fr/v3/biometrics/face_comparism\",\"name\":\"Comparaison faciale\",\"description\":\"Comparez deux images de visage pour déterminer si elles appartiennent à la même personne.\",\"dateModified\":\"2026-11-27T18:14:04.642Z\",\"isPartOf\":{\"@id\":\"https://docs.adherecompliance.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.adherecompliance.com/fr/v3/biometrics/face_comparism#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.adherecompliance.com/fr/v3/biometrics/face_comparism#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Référence API\",\"item\":\"https://docs.adherecompliance.com/fr/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Comparaison faciale\",\"item\":\"https://docs.adherecompliance.com/fr/v3/biometrics/face_comparism\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.adherecompliance.com/fr/v3/biometrics/face_comparism#apireference\",\"headline\":\"Comparaison faciale\",\"name\":\"Comparaison faciale\",\"description\":\"Comparez deux images de visage pour déterminer si elles appartiennent à la même personne.\",\"url\":\"https://docs.adherecompliance.com/fr/v3/biometrics/face_comparism\",\"mainEntityOfPage\":{\"@id\":\"https://docs.adherecompliance.com/fr/v3/biometrics/face_comparism#webpage\"},\"dateModified\":\"2026-11-27T18:14:04.642Z\",\"publisher\":{\"@id\":\"https://docs.adherecompliance.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.adherecompliance.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Adhere by Smartcomply\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Adhere by Smartcomply\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/fr/v3/biometrics/face_comparism.md","siteName":"Adhere by Smartcomply","nav":{"global":null,"languages":[{"language":"en","default":true,"pages":[{"title":"en","href":"/v3/biometrics/face_comparism"}]},{"language":"fr","versions":[{"version":"v3","groups":[{"group":"Référence API","pages":[{"group":"Pour commencer","pages":[{"title":"Introduction","href":"/fr/introduction"},{"title":"Quickstart","href":"/fr/quickstart"},{"title":"Authentification","href":"/fr/authentication"},{"title":"Codes d'erreur","href":"/fr/error_codes"},{"title":"Webhooks","href":"/fr/webhooks"},{"title":"Journal des modifications","sidebarTitle":"Quoi de neuf","href":"/fr/changelog"}]},{"group":"Cas d'utilisation courants","pages":[{"title":"Vérification de compte et d'identité","sidebarTitle":"Vérification de compte","href":"/fr/pages/account_verification"},{"title":"Prêts et décision de crédit","sidebarTitle":"Prêts","href":"/fr/pages/lending"}]},{"group":"Bibliothèques et outils","pages":[{"title":"SDK Web","href":"/fr/libraries/smartcomply_sdk"},{"title":"SDK Android","href":"/fr/libraries/android_sdk"},{"title":"SDK iOS","href":"/fr/libraries/ios_sdk"},{"title":"Collection Postman","sidebarTitle":"Collection Postman","description":"Importez la collection Postman de l'API Adhere pour tester les endpoints sans écrire de code.","href":"/fr/libraries/postman"}]},{"group":"Biométrie","pages":[{"title":"Comparaison faciale","sidebarTitle":"Comparaison faciale","openapi":"POST /api/onboarding/biometrics/face/comparison","href":"/fr/v3/biometrics/face_comparism"},{"title":"Vérification de vivacité faciale","sidebarTitle":"Vivacité faciale","description":"Vérifiez qu'une image faciale soumise appartient à une personne vivante, et non à une photographie ou une vidéo préenregistrée.","openapi":"POST /api/onboarding/biometrics/face/liveliness_check/","href":"/fr/v3/biometrics/face_liveliness"}]},{"group":"Suite d'intégration","pages":[{"group":"Intégration client","pages":[{"title":"Intégration client","sidebarTitle":"Vue d'ensemble","href":"/fr/v3/onboarding/introduction"},{"title":"Vérifier le client","sidebarTitle":"Vérifier le client","openapi":"POST /api/onboarding/verify_customer","href":"/fr/v3/onboarding/verify_customer"},{"title":"Récupérer les paramètres d'intégration","sidebarTitle":"Récupérer les paramètres","openapi":"GET /api/onboarding/settings","href":"/fr/v3/onboarding/get_settings"},{"title":"Modifier les paramètres d'intégration","sidebarTitle":"Modifier les paramètres","openapi":"POST /api/onboarding/settings","href":"/fr/v3/onboarding/update_settings"}]},{"group":"KYC","pages":[{"group":"Vérification des données","pages":[{"group":"Nigeria","pages":[{"title":"Numéro de Vérification Bancaire (BVN)","sidebarTitle":"BVN","openapi":"POST /api/onboarding/nigeria_kyc/bvn/","href":"/fr/v3/kyc/nigeria/BVN"},{"title":"Numéro de Vérification Bancaire Avancé (BVN)","sidebarTitle":"BVN Avancé","openapi":"POST /api/onboarding/nigeria_kyc/bvn_advanced/","href":"/fr/v3/kyc/nigeria/BVN_Advanced"},{"title":"Commission des Affaires Sociétaires (CAC)","sidebarTitle":"CAC","openapi":"POST /api/onboarding/nigeria_kyc/cac/","href":"/fr/v3/kyc/nigeria/CAC"},{"title":"CAC Avancé","sidebarTitle":"CAC Avancé","openapi":"POST /api/onboarding/nigeria_kyc/cac_advanced/","href":"/fr/v3/kyc/nigeria/CAC_Advanced"},{"title":"ID fiscal de l'entreprise","sidebarTitle":"ID fiscal de l'entreprise","openapi":"POST /api/onboarding/business/company_tax_id/","href":"/fr/v3/kyc/nigeria/company_tax_id"},{"title":"Permis de conduire","sidebarTitle":"Permis de conduire","openapi":"POST /api/onboarding/nigeria_kyc/driver_license/","href":"/fr/v3/kyc/nigeria/Drivers_License"},{"title":"Numéro National d'Identité (NIN)","sidebarTitle":"NIN","openapi":"POST /api/onboarding/nigeria_kyc/nin/","href":"/fr/v3/kyc/nigeria/nin"},{"title":"NIN avec photo","sidebarTitle":"NIN avec photo","openapi":"POST /api/onboarding/nigeria_kyc/nin_with_face/","href":"/fr/v3/kyc/nigeria/nin_with_face"},{"title":"Vérification NUBAN","sidebarTitle":"NUBAN","openapi":"POST /api/onboarding/nigeria_kyc/nuban/","href":"/fr/v3/kyc/nigeria/nuban"},{"title":"NUBAN Avancé","sidebarTitle":"NUBAN Avancé","openapi":"POST /api/onboarding/nigeria_kyc/nuban_advanced/","href":"/fr/v3/kyc/nigeria/nuban_advanced"},{"title":"Vérification de passeport","sidebarTitle":"Passeport","openapi":"POST /api/onboarding/nigeria_kyc/passport/","href":"/fr/v3/kyc/nigeria/passport_verification"},{"title":"Numéro de téléphone avancé","sidebarTitle":"Numéro de téléphone avancé","openapi":"POST /api/onboarding/nigeria_kyc/phone_no_advanced/","href":"/fr/v3/kyc/nigeria/Phone_Number_Advanced"},{"title":"Numéro de téléphone basique","sidebarTitle":"Numéro de téléphone basique","openapi":"POST /api/onboarding/nigeria_kyc/phone_no_basic/","href":"/fr/v3/kyc/nigeria/phone_number_basic"},{"title":"TIN entreprise","sidebarTitle":"TIN entreprise","openapi":"POST /api/onboarding/nigeria_kyc/tin/","href":"/fr/v3/kyc/nigeria/tin"},{"title":"NIN Virtuel (VNIN)","sidebarTitle":"VNIN","openapi":"POST /api/onboarding/nigeria_kyc/vnin/","href":"/fr/v3/kyc/nigeria/VNIN"},{"title":"Carte d'électeur","sidebarTitle":"Carte d'électeur","openapi":"POST /api/onboarding/nigeria_kyc/voters_id/","href":"/fr/v3/kyc/nigeria/Voters_ID"}]},{"group":"Kenya","pages":[{"title":"National ID basique","sidebarTitle":"National ID basique","openapi":"POST /api/onboarding/kenya_kyc/national_id_basic/","href":"/fr/v3/kyc/kenya/national_id_basic"},{"title":"National ID avancé","sidebarTitle":"National ID avancé","openapi":"POST /api/onboarding/kenya_kyc/national_id_advance/","href":"/fr/v3/kyc/kenya/national_id_advance"},{"title":"Enregistrement d'entreprise","sidebarTitle":"Enregistrement d'entreprise","openapi":"POST /api/onboarding/kenya_kyc/business_registration/","href":"/fr/v3/kyc/kenya/business_registration"},{"title":"Alien ID","sidebarTitle":"Alien ID","openapi":"POST /api/onboarding/kenya_kyc/alien_id/","href":"/fr/v3/kyc/kenya/alien_ID"},{"title":"PIN KRA","sidebarTitle":"PIN KRA","openapi":"POST /api/onboarding/kenya_kyc/kra_pin/","href":"/fr/v3/kyc/kenya/kra_pin"},{"title":"Passeport kényan","sidebarTitle":"Passeport","openapi":"POST /api/onboarding/kenya_kyc/passport/","href":"/fr/v3/kyc/kenya/Passport_Verification"},{"title":"Permis de conduire","sidebarTitle":"Permis de conduire","openapi":"POST /api/onboarding/kenya_kyc/drivers_license/","href":"/fr/v3/kyc/kenya/Drivers_License"}]},{"group":"Ghana","pages":[{"title":"Carte d'identité Ghana","sidebarTitle":"Carte d'identité","openapi":"POST /api/onboarding/ghana_kyc/id_card/","href":"/fr/v3/kyc/ghana/ID_Card"},{"title":"Carte d'identité Ghana avancée","sidebarTitle":"Carte d'identité avancée","openapi":"POST /api/onboarding/ghana_kyc/id_card_with_face/","href":"/fr/v3/kyc/ghana/ID_Card_with_face"},{"title":"Passeport international","sidebarTitle":"Passeport international","openapi":"POST /api/onboarding/ghana_kyc/international_passport/","href":"/fr/v3/kyc/ghana/International_Passport"}]},{"group":"Côte d'Ivoire","pages":[{"title":"National ID","sidebarTitle":"National ID","openapi":"POST /api/onboarding/cote_divoire_kyc/national_id/","href":"/fr/v3/kyc/cote_d_ivoire/National_ID"}]},{"group":"Afrique du Sud","pages":[{"title":"National ID","sidebarTitle":"National ID","openapi":"POST /api/onboarding/south_africa_kyc/national_id/","href":"/fr/v3/kyc/south_africa/National_ID"}]}]},{"group":"Vérification de documents","pages":[{"group":"Global","pages":[{"title":"Passeport","sidebarTitle":"Passeport","openapi":"POST /api/onboarding/document_verification/passport","href":"/fr/v3/kyc/document_verification/global/Passport"}]},{"group":"Nigeria","pages":[{"title":"National ID","sidebarTitle":"National ID","openapi":"POST /api/onboarding/document_verification/nigeria/national_id","href":"/fr/v3/kyc/document_verification/nigeria/National_ID"},{"title":"Passeport","sidebarTitle":"Passeport","openapi":"POST /api/onboarding/document_verification/nigeria/passport","href":"/fr/v3/kyc/document_verification/nigeria/Passport"},{"title":"Permis de conduire","sidebarTitle":"Permis de conduire","openapi":"POST /api/onboarding/document_verification/nigeria/drivers_license","href":"/fr/v3/kyc/document_verification/nigeria/Drivers_License"},{"title":"Carte d'électeur","sidebarTitle":"Carte d'électeur","openapi":"POST /api/onboarding/document_verification/nigeria/voters_card","href":"/fr/v3/kyc/document_verification/nigeria/Voters_Card"}]},{"group":"Kenya","pages":[{"title":"National ID kényan","sidebarTitle":"National ID","openapi":"POST /api/onboarding/document_verification/kenya/kenya_id","href":"/fr/v3/kyc/document_verification/kenya/Kenya_ID"},{"title":"Passeport","sidebarTitle":"Passeport","openapi":"POST /api/onboarding/document_verification/kenya/passport","href":"/fr/v3/kyc/document_verification/kenya/Passport"}]},{"group":"Ghana","pages":[{"title":"Passeport","sidebarTitle":"Passeport","openapi":"POST /api/onboarding/document_verification/ghana/passport","href":"/fr/v3/kyc/document_verification/ghana/Passport"}]},{"group":"Canada","pages":[{"title":"Passeport","sidebarTitle":"Passeport","openapi":"POST /api/onboarding/document_verification/canada/passport","href":"/fr/v3/kyc/document_verification/canada/Passport"}]},{"group":"États-Unis","pages":[{"title":"Passeport","sidebarTitle":"Passeport","openapi":"POST /api/onboarding/document_verification/usa/passport","href":"/fr/v3/kyc/document_verification/usa/Passport"}]},{"group":"Côte d'Ivoire","pages":[{"title":"Passeport","sidebarTitle":"Passeport","openapi":"POST /api/onboarding/document_verification/cote_d_ivoire/passport","href":"/fr/v3/kyc/document_verification/cote_d_ivoire/Passport"}]},{"group":"Royaume-Uni","pages":[{"title":"Passeport","sidebarTitle":"Passeport","openapi":"POST /api/onboarding/document_verification/uk/passport","href":"/fr/v3/kyc/document_verification/uk/Passport"}]}]}]},{"group":"Rapport de crédit","pages":[{"group":"Nigeria","pages":[{"group":"Entreprise","pages":[{"title":"Historique de crédit d'entreprise CRC","sidebarTitle":"Historique de crédit CRC","openapi":"POST /api/onboarding/business/crc/","href":"/fr/v3/credit/business/crc-business_credit_history"},{"title":"Historique de crédit d'entreprise First Central","sidebarTitle":"Historique First Central","openapi":"POST /api/onboarding/business/first_central/","href":"/fr/v3/credit/business/first-central_business_credit_history"},{"title":"Historique de crédit d'entreprise Premium","sidebarTitle":"Historique de crédit Premium","openapi":"POST /api/onboarding/business/premium/","href":"/fr/v3/credit/business/premium_business_credit_history"}]},{"group":"Individuel","pages":[{"title":"Résumé de crédit First Central","sidebarTitle":"Résumé First Central","openapi":"POST /api/onboarding/individual/first_central_summary/","href":"/fr/v3/credit/individual/First_Central_Credit_Summary"},{"title":"Rapport de crédit complet First Central","sidebarTitle":"Rapport complet First Central","openapi":"POST /api/onboarding/individual/first_central_full/","href":"/fr/v3/credit/individual/First_Central_Full_Credit_Report"},{"title":"Résumé de crédit Credit Registry","sidebarTitle":"Résumé de crédit CRC","openapi":"POST /api/onboarding/individual/credit_registry_summary/","href":"/fr/v3/credit/individual/Credit_Registry_Credit_Summary"},{"title":"Rapport de crédit complet Credit Registry","sidebarTitle":"Rapport de crédit complet CRC","openapi":"POST /api/onboarding/individual/credit_registry_full/","href":"/fr/v3/credit/individual/Credit_Registry_Full_Credit_Report"},{"title":"Rapport de crédit individuel Premium","sidebarTitle":"Rapport de crédit Premium","openapi":"POST /api/onboarding/individual/premium/","href":"/fr/v3/credit/individual/Credit_Report_Premium"},{"title":"Score de crédit First Central","sidebarTitle":"Score First Central","openapi":"POST /api/onboarding/individual/credit_scores_first_central/","href":"/fr/v3/credit/individual/First_Central_Credit_Score"},{"title":"Score de crédit CRC","sidebarTitle":"Score de crédit CRC","openapi":"POST /api/onboarding/individual/credit_scores_crc/","href":"/fr/v3/credit/individual/CRC_Credit_Score"},{"title":"Historique de crédit CRC","sidebarTitle":"Historique de crédit CRC","openapi":"POST /api/onboarding/individual/crc_summary/","href":"/fr/v3/credit/individual/CRC_Credit_History"},{"title":"Rapport de crédit complet CRC","sidebarTitle":"Rapport complet CRC","openapi":"POST /api/onboarding/individual/crc_full/","href":"/fr/v3/credit/individual/CRC_full_credit_report"},{"title":"Historique Credit Registry avancé","sidebarTitle":"Historique CRC avancé","openapi":"POST /api/onboarding/individual/credit_registry_history_advanced/","href":"/fr/v3/credit/individual/Credt_Registry_History_Advanced"}]}]},{"group":"Kenya","pages":[{"group":"Individuel","pages":[{"title":"Rapport de crédit individuel au Kenya","sidebarTitle":"Rapport de crédit au Kenya","openapi":"POST /api/onboarding/kenya/individual_credit/","href":"/fr/v3/credit/individual/Kenya_Individual_Credit"}]},{"group":"Entreprise","pages":[{"title":"Rapport de crédit d'entreprise au Kenya","sidebarTitle":"Rapport de crédit au Kenya","openapi":"POST /api/onboarding/kenya/company_credit/","href":"/fr/v3/credit/business/Kenya_Business_Credit"}]}]}]}]},{"group":"Fraude et surveillance des transactions","pages":[{"group":"Surveillance des transactions","pages":[{"title":"Surveillance des transactions","sidebarTitle":"Aperçu","href":"/fr/v3/transaction/transaction_monitoring/transaction_monitoring_overview"},{"title":"Soumettre une transaction pour surveillance","sidebarTitle":"Soumettre une transaction","href":"/fr/v3/transaction/transaction_monitoring/post_transaction_request"},{"title":"Suivi du parcours utilisateur","sidebarTitle":"Parcours utilisateur","openapi":"POST /api/v1/journey/event/","href":"/fr/v3/transaction/transaction_monitoring/user_journey"}]},{"group":"Filtrage des transactions","pages":[{"title":"Filtrage des transactions","sidebarTitle":"Aperçu","href":"/fr/v3/transaction/transaction_screening/overview"},{"title":"Filtrer une transaction","sidebarTitle":"Filtrer une transaction","openapi":"POST /api/v1/monitoring/transaction_screening","href":"/fr/v3/transaction/transaction_screening/post_transaction_screening"}]},{"group":"KYC","pages":[{"title":"Obtenir tous les résultats de recherche KYC","sidebarTitle":"Obtenir tous les résultats KYC","openapi":"GET /api/v1/monitoring/kyc_search/","href":"/fr/v3/transaction/kyc/get_all_search_results"},{"title":"Obtenir un résultat KYC par ID","sidebarTitle":"Obtenir KYC par ID","openapi":"GET /api/v1/monitoring/kyc_search/{id}/","href":"/fr/v3/transaction/kyc/get_entity_kyc_by_id"},{"title":"Exécuter une vérification KYC","sidebarTitle":"Exécuter une vérification KYC","openapi":"POST /api/v1/monitoring/kyc_search/","href":"/fr/v3/transaction/kyc/post_kyc_check"}]}]},{"group":"Vérification de fraude de prêt","pages":[{"title":"Vérification de fraude de prêt — Aperçu","sidebarTitle":"Aperçu","href":"/fr/v3/loan/introduction"},{"title":"Vérification de fraude de prêt individuelle","sidebarTitle":"Vérification de fraude individuelle","openapi":"POST /api/v1/loan/fraud_check/","href":"/fr/v3/loan/individual_fraud_check"},{"title":"Vérification de fraude de prêt professionnelle","sidebarTitle":"Vérification de fraude professionnelle","openapi":"POST /api/v1/loan/fraud_check/","href":"/fr/v3/loan/business_fraud_check"}]}]}]}]}]},"basePath":"","title":"Comparaison faciale - Adhere by Smartcomply","deploymentId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","buildId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","dynamics":["10e4515597","c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["BannerMarkdown-BUsnMns2.js","dist-OmDnwAnM.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-CyAr6xD1.js","snippetPresets-BSqedH3o.js","utils-DXfQSZU_.js","style-to-object-BY3JEAdk.js","utils-DiMyLQC-.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-DvPCxzT8.js","conditional-requirements-CFM0id0Q.js","cloneDeep-dx7iM-7h.js","_Uint8Array-DpQIK2Aw.js","isObject-FP1Yky1u.js","ApiExamples-B2sy5qvP.js","usePlaygroundInputsStore-BDc5FJKB.js","shallow-DxZq5uhD.js","isEqual-Bl_IuwU4.js","CodeSnippets-D1UoeS-I.js","CodeSnippet-C87it1Zg.js","use-playground-group-access-DyECiQ2v.js","Page-wigwbDGe.js","api-description-markdown-DHZIfeWZ.js","DynamicMarkdown-D8KwOkxZ.js","SectionHeading-uish4Ed2.js","MethodPill-DR7O5MCP.js","getPastedJson-D2WQib0m.js","Check2Icon-CUuzblYS.js","axios-CsQoIw0U.js","Markdown-K6_WYP3x.js","AssistantPageLink-BrppVW5v.js"]}