{"info":{"_postman_id":"02e3399f-b960-4428-a3f1-fff0d276f952","name":"Public API v2","description":"<html><head></head><body><p>The public Sinpex API facilitates automating the KYC process for onboarding prospective customers. This is achieved by creating Cases with designated workflow automation configuration via Projects.</p>\n<h2 id=\"purpose\">Purpose</h2>\n<p><a href=\"https://www.sinpex.de\">Sinpex</a> automates the <a href=\"https://en.wikipedia.org/wiki/Know_your_customer\">KYC</a> process for potential business clients.</p>\n<p>This API enhances automation capabilities further by enabling the programmable creation and management of Cases, in addition to sending essential notifications through webhooks for important updates.</p>\n<h2 id=\"api-design\">API Design</h2>\n<p>The Sinpex API is organized around <a href=\"https://www.codecademy.com/article/what-is-rest\">REST</a>. Our API aims to provide predictable resource-oriented URLs, returns <a href=\"https://www.json.org/json-en.html\">JSON-encoded</a> responses, and uses standard HTTP <a href=\"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status\">response codes</a> and <a href=\"https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods\">verbs</a> and <a href=\"https://en.wikipedia.org/wiki/OAuth\">OAuth</a> authentication.</p>\n<p>It is strongly recomended that a client sends <code>Accept: application/json</code> header with all the requests so it assures getting JSON encoded responses.</p>\n<h1 id=\"resource-overview\">Resource Overview</h1>\n<p>This section will give an overview of the used concepts and resources that the Sinpex API uses to provide its functionality.</p>\n<h2 id=\"cases\">Cases</h2>\n<p>When onboarding a potential customer for your organization, a <strong>Case</strong> for this potential customer or company needs to be created in order to download required official documents, track the progress and add essential information that is required by the relevant compliance laws.</p>\n<p>Creating a <strong>Case</strong> always needs to happen in the context of a specific <strong>Project</strong>, which determines what the required process for the potential customer should be.</p>\n<h2 id=\"projects\">Projects</h2>\n<blockquote>\n<p><strong>Note</strong>: This resource is not available via the Sinpex API currently, however understanding the concept is relevant to understand how the Sinpex API works </p>\n</blockquote>\n<p><strong>Projects</strong> determine the process of how to onboard a <strong>Case</strong> by defining which information needs to be resolved (via <strong>Questions</strong>) and the required automation process (via <strong>Workflow States</strong>).</p>\n<p>This configuration is typically done internally by Sinpex after a Target Operating Model (TOM) workshop to see which requirements are applicable for your use cases. Since the requirements for onboarding often depends on a lot of factors, this process is not automated and not available via the Sinpex API.</p>\n<h2 id=\"workflow-states\">Workflow States</h2>\n<blockquote>\n<p><strong>Note</strong>: This resource is not available via the Sinpex API currently, however understanding the concept is relevant to understand how the Sinpex API works </p>\n</blockquote>\n<p>The workflow automation defines the different stages of the onboarding by providing individual <strong>Workflow States</strong>. Sinpex provides a <a href=\"https://kanbanize.com/blog/visual-management-board/\">Visual Management Board</a> with vertical \"columns\" to keep track of the current state of a specific <strong>Case</strong>.</p>\n<p>Every <strong>Workflow State</strong> can be configured with a number of automation rules to either halt or continue to another specific <strong>Workflow State.</strong> These are typically discussed in the Target Operating Model (TOM) workshop.</p>\n<h2 id=\"workflow-automation-rules\">Workflow Automation Rules</h2>\n<blockquote>\n<p><strong>Note</strong>: This resource is not available via the Sinpex API currently, however understanding the concept is relevant to understand how the Sinpex API works </p>\n</blockquote>\n<p>A specific <strong>Workflow State</strong> can be configured with one or more <strong>Automation Rules</strong> which determine wether or not the <strong>Case</strong> can be moved to the next <strong>Workflow State</strong>.</p>\n<p>Below is the complete list of currently supported Automation Rules, and for more information please contact Sinpex support as we won't go into too much detail here.</p>\n<ul>\n<li><p><code>complete_questions</code></p>\n</li>\n<li><p><code>check_thresholds</code></p>\n</li>\n<li><p><code>signatory_confirmation</code></p>\n</li>\n<li><p><code>ownership_confirmation</code></p>\n</li>\n<li><p><code>check_risks</code></p>\n</li>\n<li><p><code>check_documents</code></p>\n</li>\n<li><p><code>idv_profiles_verified</code></p>\n</li>\n<li><p><code>single_answer_matches_values</code></p>\n</li>\n<li><p><code>single_answer_forward_to_workflow_state</code></p>\n</li>\n<li><p><code>single_answer_is_above</code></p>\n</li>\n<li><p><code>single_answer_is_below</code></p>\n</li>\n<li><p><code>self_declarations_verified</code></p>\n</li>\n<li><p><code>idv_profiles_has_document</code></p>\n</li>\n<li><p><code>check_idv_profiles_with_self_declarations</code></p>\n</li>\n<li><p><code>ubo_drilldown</code></p>\n</li>\n<li><p><code>child_ubo_drilldown</code></p>\n</li>\n<li><p><code>check_idv</code></p>\n</li>\n</ul>\n<h2 id=\"questions\">Questions</h2>\n<blockquote>\n<p><strong>Note</strong>: This resource is not available via the Sinpex API currently, however understanding the concept is relevant to understand how the Sinpex API works </p>\n</blockquote>\n<p>The <strong>Questions</strong> define which information might be relevant for onboarding a potential customer. Some <strong>Questions</strong> can be indicated as required before continuing to a next <strong>Workflow State</strong> via automation rules.</p>\n<p>Every <strong>Question</strong> can be configured with a specific \"alias\", so it can also be used via the Sinpex API. These alias values can be configured via the <strong>Project</strong> and <strong>Question</strong> settings and are typically defined during the Target Operating Model (TOM) workshop.</p>\n<p>The Sinpex API uses <a href=\"https://en.wikipedia.org/wiki/OAuth\">OAuth</a> authentication to obtain access to the API functionality.</p>\n<h2 id=\"answers\">Answers</h2>\n<p>In order to onboard the potential customer, the most critical of the <strong>Questions</strong> need to be resolved, and this happens via the <strong>Answer</strong> resource. Typically, these are extracted from official documents, but can also be defined by the agents through the Sinpex UI.</p>\n<p>Here is an overview of the available attribute for the <strong>Answer</strong> resources.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>attribute</strong></th>\n<th><strong>comments</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>(integer) The <code>id</code> of the <strong>Answer</strong></td>\n</tr>\n<tr>\n<td>question_id</td>\n<td>(integer) The <code>id</code> of the <strong>Question</strong> the <strong>Answer</strong> is relevant for</td>\n</tr>\n<tr>\n<td>question</td>\n<td>(string) The content of the <strong>Question</strong></td>\n</tr>\n<tr>\n<td>type</td>\n<td>(string) Supported values: <code>NO_ANSWER</code>, <code>MANUAL</code>, <code>DOCUMENT</code>, <code>TABLE</code>. Where <code>DOCUMENT</code> indicates that the <strong>Answer</strong> is resolved from an official document source.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>(string) Supported values: <code>PENDING</code> , <code>ACCEPTED</code> <code>REJECTED</code></td>\n</tr>\n<tr>\n<td>content</td>\n<td>(mixed) The format of the content depends on the <strong>Answer</strong> type; for <code>MANUAL</code> and <code>DOCUMENT</code> this will be a string, for <code>TABLE</code> a JSON object with the structure depending on the <strong>Question</strong> definition.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"self-declared-values\">Self-Declared Values</h2>\n<p>In specific KYC processes, the potential customer needs to provide some of their information ahead of time which needs to be verified. This is supported via <strong>Self-Declared Value</strong> resources, typically they are compared agains <strong>Answers</strong> (extracted from official documents) although other resources are also possible (e.g. <strong>IDV Profiles</strong>).</p>\n<p>Here is an overview of the Self-Declared Value attributes:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>attribute</strong></th>\n<th><strong>comments</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>(integer) The <code>id</code> of the <strong>Self-Declared Value</strong></td>\n</tr>\n<tr>\n<td>question_id</td>\n<td>(integer) The <code>id</code> of the <strong>Question</strong> the <strong>Self-Declared Value</strong> is relevant for</td>\n</tr>\n<tr>\n<td>question</td>\n<td>(string) The content of the <strong>Question</strong></td>\n</tr>\n<tr>\n<td>content</td>\n<td>(mixed) The format of the content depends on the <strong>Question</strong> type; for <code>MANUAL</code> and <code>DOCUMENT</code> this will be a string, for <code>TABLE</code> a JSON object with the structure depending on the <strong>Question</strong> definition.</td>\n</tr>\n<tr>\n<td>answer_id</td>\n<td>(integer) The id of the <strong>Answer</strong></td>\n</tr>\n<tr>\n<td>answer_match_status</td>\n<td>(string) Supported values: <code>PENDING</code> or <code>CONFIRMED</code></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"risk-profiles\">Risk Profiles</h2>\n<p>In order to onboard a potential customer, relevant parties may need to be screened for any suspicious activity. This is supported via the <strong>Risk Profile</strong> resources.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>attribute</strong></th>\n<th><strong>comments</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>(integer) The id of the <strong>Risk Profile</strong></td>\n</tr>\n<tr>\n<td>type</td>\n<td>(string) <code>person</code> or <code>organization</code></td>\n</tr>\n<tr>\n<td>provider_name</td>\n<td>(string) The 3rd party provider that performed the screening. Supported value: <code>ComplyAdvantage</code></td>\n</tr>\n<tr>\n<td>provider_id</td>\n<td>(string) The 3rd party identifier for the profile or screening instance</td>\n</tr>\n<tr>\n<td>name</td>\n<td>(string) The full name of the organization or person</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>(string) The first name of the person</td>\n</tr>\n<tr>\n<td>middle_name</td>\n<td>(string) The middle name of the person</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>(string) The last name of the person</td>\n</tr>\n<tr>\n<td>risk_levels</td>\n<td>(object) Supported keys: <code>pep</code>, <code>warning</code>, <code>sanction</code> or <code>adverse_media</code>. Supported values: <code>low</code>, <code>medium</code> or <code>high</code></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"idv-profiles\">IDV Profiles</h2>\n<p>In order to onboard a potential customer, relevant persons of interest may need to be prompted for an identification and verification process. This is supported via the <strong>IDV Profile</strong> resources.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>attribute</strong></th>\n<th><strong>comments</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>(integer) The id of the <strong>IDV Profile</strong></td>\n</tr>\n<tr>\n<td>email</td>\n<td>(string) The email of the person</td>\n</tr>\n<tr>\n<td>name</td>\n<td>(string) The full name of the person</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>(string) The first of the person</td>\n</tr>\n<tr>\n<td>middle_name</td>\n<td>(string) The middle of the person</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>(string) The last of the person</td>\n</tr>\n<tr>\n<td>date_of_birth</td>\n<td>(string) The ISO 8601 date format for the date of birth of the person (<code>YYYY-MM-DD</code>)</td>\n</tr>\n<tr>\n<td>place_of_birth</td>\n<td>(string) The email of the person</td>\n</tr>\n<tr>\n<td>nationalities</td>\n<td>(array-of-strings) The ISO 3166 alfa-2 country codes representing the persons nationality</td>\n</tr>\n<tr>\n<td>residence_address</td>\n<td>(object) Details about where the person is currently living (format see below)</td>\n</tr>\n<tr>\n<td>state</td>\n<td>(string) Supported values: <code>suggestion</code>, <code>in_progress</code>, <code>verified</code></td>\n</tr>\n<tr>\n<td>resolution</td>\n<td>(string) Supported values: <code>todo</code>, <code>done</code> or <code>discarded</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"idv-profile-residence-address\">IDV Profile Residence Address</h3>\n<p>As part of the <strong>IDV Profile</strong> mentioned above:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>attribute</strong></th>\n<th><strong>comment</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>city</td>\n<td>(string) The name of the city of the address</td>\n</tr>\n<tr>\n<td>street</td>\n<td>(string) The name of the city of the address</td>\n</tr>\n<tr>\n<td>postal_code</td>\n<td>(string) The postal code of the city of the address</td>\n</tr>\n<tr>\n<td>country_code</td>\n<td>(string) The ISO 3166 alfa-2 country code of the address</td>\n</tr>\n<tr>\n<td>street_number</td>\n<td>(string) The street number of the address</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"obtaining-access\">Obtaining access</h1>\n<p>In order to perform API requests, a Bearer token needs to be passed along with every API request. This is done via the <code>Authorization</code> header, in the format of <code>Authorization: Bearer {{access_token}}</code>. This access token can be obtained as shown by the <a href=\"#4850297b-af57-42f3-bed5-15f0a96ad86e\">Request Access Token request.</a></p>\n<p>Reach out to the Sinpex support to obtain the client credentials for your specific environment.</p>\n<p>They should provide you with the <code>client_id</code> and <code>client_secret</code> which allow you to request access tokens.</p>\n<p>If wanted, a complete Postman environment can also be provided to try out the requests in this documentation more easily.</p>\n<h1 id=\"validation-rules\">Validation Rules</h1>\n<p>In some requests the \"validation rules\" section shows which validation is applied with a number of readable rule names. These are based on the <a href=\"https://laravel.com/docs/10.x/validation#available-validation-rules\">Laravel Validation Rules</a>.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Resource Overview","slug":"resource-overview"},{"content":"Obtaining access","slug":"obtaining-access"},{"content":"Validation Rules","slug":"validation-rules"}],"owner":"25915288","collectionId":"02e3399f-b960-4428-a3f1-fff0d276f952","publishedId":"2s9Y5ZwNRe","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-08-29T19:12:05.000Z"},"item":[{"name":"Authentication","item":[{"name":"Request Access Token","event":[{"listen":"test","script":{"id":"12f44e04-77a1-4e26-b597-ba60f3255494","exec":["pm.test(\"Your test name\", function () {","    pm.response.to.have.status(200);","    var jsonData = pm.response.json();","    pm.environment.set(\"api_token\", jsonData.access_token);","});"],"type":"text/javascript"}}],"id":"4850297b-af57-42f3-bed5-15f0a96ad86e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"client_id\": \"{{api_client_id}}\",\n    \"client_secret\": \"{{api_client_secret}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/v2/oauth/token","urlObject":{"path":["api","v2","oauth","token"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"38d035bf-26d6-4dc1-bb61-b2e69136bf6a","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"grant_type\": \"client_credentials\",\n    \"client_id\": \"\",\n    \"client_secret\": \"\",\n    \"scope\": \"external\"\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/v2/oauth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 29 Aug 2023 18:41:41 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.5"},{"key":"pragma","value":"no-cache"},{"key":"Cache-Control","value":"no-store, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"},{"key":"Content-Security-Policy","value":"default-src 'self' 'unsafe-inline' 'unsafe-eval' data: blob: *.sinpex.io https://www.gravatar.com/ https://cdn.datatables.net/ https://www.google.com/ https://www.gstatic.com/ https://cdn.jsdelivr.net/npm/alpinejs@3.12.0/dist/cdn.min.js https://cdn.jsdelivr.net/npm/echarts@4.9.0/dist/echarts-en.min.js https://cdnjs.cloudflare.com/ajax/libs/jszip/2.5.0/jszip.min.js https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.18/pdfmake.min.js https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.18/vfs_fonts.js https://cdnjs.cloudflare.com/ajax/libs/jsoneditor/9.9.0/jsoneditor.min.js https://cdnjs.cloudflare.com/ajax/libs/jsoneditor/9.9.0/jsoneditor.min.css https://cdnjs.cloudflare.com/ajax/libs/jsoneditor/9.9.0/img/jsoneditor-icons.svg;"}],"cookie":[],"responseTime":null,"body":"{\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 31622400,\n    \"access_token\": \"eyJ0eXAiOiJKV1...\"\n}"},{"id":"20c00497-7b47-46bb-84c3-95e264ec1f3b","name":"invalid-request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"grant_type\": \"client_credentials\",\n    \"client_secret\": \"{{api_client_secret}}\",\n    \"scope\": \"external\"\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/v2/oauth/token"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 29 Aug 2023 18:44:58 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.5"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"},{"key":"Content-Security-Policy","value":"default-src 'self' 'unsafe-inline' 'unsafe-eval' data: blob: *.sinpex.io https://www.gravatar.com/ https://cdn.datatables.net/ https://www.google.com/ https://www.gstatic.com/ https://cdn.jsdelivr.net/npm/alpinejs@3.12.0/dist/cdn.min.js https://cdn.jsdelivr.net/npm/echarts@4.9.0/dist/echarts-en.min.js https://cdnjs.cloudflare.com/ajax/libs/jszip/2.5.0/jszip.min.js https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.18/pdfmake.min.js https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.18/vfs_fonts.js https://cdnjs.cloudflare.com/ajax/libs/jsoneditor/9.9.0/jsoneditor.min.js https://cdnjs.cloudflare.com/ajax/libs/jsoneditor/9.9.0/jsoneditor.min.css https://cdnjs.cloudflare.com/ajax/libs/jsoneditor/9.9.0/img/jsoneditor-icons.svg;"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"invalid_request\",\n    \"error_description\": \"The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed.\",\n    \"hint\": \"Check the `client_id` parameter\",\n    \"message\": \"The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed.\"\n}"},{"id":"86b6987e-d2b0-41f2-af43-40d0cdfca811","name":"invalid-credentials","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"grant_type\": \"client_credentials\",\n    \"client_id\": \"{{api_client_id}}\",\n    \"client_secret\": \"some-invalid-secret\",\n    \"scope\": \"external\"\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/v2/oauth/token"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 29 Aug 2023 18:42:39 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.5"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"},{"key":"Content-Security-Policy","value":"default-src 'self' 'unsafe-inline' 'unsafe-eval' data: blob: *.sinpex.io https://www.gravatar.com/ https://cdn.datatables.net/ https://www.google.com/ https://www.gstatic.com/ https://cdn.jsdelivr.net/npm/alpinejs@3.12.0/dist/cdn.min.js https://cdn.jsdelivr.net/npm/echarts@4.9.0/dist/echarts-en.min.js https://cdnjs.cloudflare.com/ajax/libs/jszip/2.5.0/jszip.min.js https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.18/pdfmake.min.js https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.18/vfs_fonts.js https://cdnjs.cloudflare.com/ajax/libs/jsoneditor/9.9.0/jsoneditor.min.js https://cdnjs.cloudflare.com/ajax/libs/jsoneditor/9.9.0/jsoneditor.min.css https://cdnjs.cloudflare.com/ajax/libs/jsoneditor/9.9.0/img/jsoneditor-icons.svg;"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"invalid_client\",\n    \"error_description\": \"Client authentication failed\",\n    \"message\": \"Client authentication failed\"\n}"}],"_postman_id":"4850297b-af57-42f3-bed5-15f0a96ad86e"}],"id":"d1b6bd0e-7cdb-41c3-931d-9456db5ae46b","_postman_id":"d1b6bd0e-7cdb-41c3-931d-9456db5ae46b","description":""},{"name":"Documents","item":[{"name":"Download all Case Documents (zip)","id":"a9267605-b5b2-4450-a5de-de6bc8613029","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{api_token}}"}],"url":"{{domain}}/api/v2/cases/{{case_id}}/documents","description":"<p>This endpoint provides a compressed file (.zip file) with all of the documents that were attached to the Case.</p>\n<p><strong>No Documents</strong></p>\n<p>When no documents are linked to the Case, a <code>204</code> HTTP response will be sent (see <code>success-no-documents</code> example).</p>\n<p><strong>Naming Conventions</strong></p>\n<p>Currently no naming conventions are applied to the file names.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"306099b9-3b95-479c-bfd7-1abf1eeeb800","id":"306099b9-3b95-479c-bfd7-1abf1eeeb800","name":"Documents","type":"folder"}},"urlObject":{"path":["api","v2","cases","{{case_id}}","documents"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"882a1a72-8d78-439e-aa5d-f3ae232e04ec","name":"success-no-documents","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{api_token}}"}],"url":"{{domain}}/api/v2/cases/{{case_id}}/documents"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 27 Nov 2023 13:47:17 GMT"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"a9267605-b5b2-4450-a5de-de6bc8613029"}],"id":"306099b9-3b95-479c-bfd7-1abf1eeeb800","description":"<p><a href=\"https://docs.sinpex.io/#validation-rules\">Validation Rules</a> :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"file\": \"required|mimes:pdf,jpg,jpeg,png,tiff,tif|max:250MB|file\",\n  \"type\": \"required|in:idv,other\",\n  \"context\": \"nullable|object\"\n}\n\n</code></pre>\n<h1 id=\"supported-document-types-for-uploading\">Supported Document Types for Uploading</h1>\n<h2 id=\"idv\">IDV</h2>\n<p>The <code>idv</code> document type refers to \"identification &amp; verificiation\", which is commonly known as ID&amp;V.</p>\n<p>Uploading identification documents for specific people can be done via \"IDV Profiles\".</p>\n<p><strong>Additional validation rules</strong></p>\n<p>When providing a reference to an IDV profile, please ensure that it is linked to the provided <code>{{case_id}}</code> and that it's state is either <code>in_progress</code> or <code>verified</code>.</p>\n<p>When <code>type</code> has been specified as <code>IDV</code> either <code>context.idv_profile_id</code> or <code>context.idv_profile_external_id</code> is required.</p>\n<p>These documents can be found in the IDV tab in the Sinpex UI.</p>\n<h2 id=\"other\">Other</h2>\n<p>The <code>other</code> document type can be used to upload general documents for a specific Case. These documents will be visible in the Documents tab in the sinpex UI, and will also be part of the documents present in the Case report.</p>\n","auth":{"type":"noauth","isInherited":false},"_postman_id":"306099b9-3b95-479c-bfd7-1abf1eeeb800"},{"name":"Cases","item":[{"name":"Create Case","event":[{"listen":"prerequest","script":{"id":"eec80702-6473-4c40-8dcb-83bbbdb337b5","exec":["function uuidv4() {","    return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {","        var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8);","        return v.toString(16);","    });","}","","pm.environment.set(\"unique_case_name\", uuidv4() + ' GmbH');"],"type":"text/javascript"}}],"id":"d988eb51-8c1a-460c-854b-b1fb8e6b1747","protocolProfileBehavior":{"disabledSystemHeaders":{"accept":true},"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{api_token}}"}],"body":{"mode":"raw","raw":"{\n    \"project_id\": \"{{project_id}}\",\n    \"company\": {\n        \"name\": \"{{unique_case_name}}\",\n        \"country_code\": \"DE\"\n    },\n    \"tags\": [\n        \"some-tag\"\n    ],\n    \"questionnaire_responses\": [\n        {\n            \"alias\": \"ubo\",\n            \"self_declaration\": {\n                \"type\": \"person\",\n                \"name\": \"Olivia Wick\",\n                \"city\": \"Milan\"\n            },\n            \"idv_profile_check\": {\n                \"provider\": \"IDNOW\",\n                \"response\": {{idnow_response_example}}\n            }\n        },\n        {\n            \"alias\": \"ubo\",\n            \"self_declaration\": {\n                \"type\": \"person\",\n                \"name\": \"Olivia Jobnes\",\n                \"city\": \"London\"\n            },\n            \"idv_profile_check\": {\n                \"provider\": \"IDNOW\",\n                \"response\": {{idnow_response_example}}\n            }\n        },\n        {\n            \"alias\": \"company_name\",\n            \"self_declaration\": \"Test Name\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/v2/cases","description":"<h4 id=\"optional-query-parameters\"><strong>Optional Query Parameters</strong></h4>\n<p><strong>Includes</strong></p>\n<p>The <code>includes</code> query param allows for extra related resources to be included in the response.</p>\n<p>Currently supported values are <code>answers</code>, <code>questionnaire_responses</code>, <code>self_declared_values</code>, <code>idv_profiles</code> and <code>risk_profiles</code>.</p>\n<p>For a full example see <code>success-with-includes</code> in the drop down of the request preview.</p>\n<p><strong>Confirmed</strong></p>\n<p>The <code>confirmed=true</code> query parameter allows the creation of duplicate cases. If you still see the duplicate case validation error, contact our support to enable \"Allow duplicate cases\" setting for your desired project. For new projects this setting is enabled by default.</p>\n<p><strong>Validation Rules</strong></p>\n<blockquote>\n<p>For more info, see <a href=\"https://docs.sinpex.io/#validation-rules\">our Validation Rules section.</a> </p>\n</blockquote>\n<p>This is a quick overview of some of the general validation rules:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"project_id\": \"required|exists:projects,id\",\n  \"company.name\": \"required|string|min:2|max:1024\",\n  \"company.country_code\": \"required|alpha|min:2|max:2\",\n  \"company.registration_number\": \"sometimes|nullable|string|min:2|max:64\",\n  \"tags\": \"nullable|array\",\n  \"tags.*\": \"string|min:2|max:16\",\n  \"questionnaire_responses\": \"nullable|array\",\n  \"questionnaire_responses.*.alias\": \"required|string\",\n  \"questionnaire_responses.*.self_declaration\": \"nullable|object\", // More validation rules below\n  \"questionnaire_responses.*.risk_profile\": \"nullable|object\", // More validation rules below\n}\n\n</code></pre>\n<p><strong>Project-specific Validation Rules</strong></p>\n<p>Aside from these basic validation rules, there is also a couple of other implicit rules in place, which will be explained below.</p>\n<p>We also introduced <a href=\"#d2385b03-16f0-4f5b-b431-e1002a6b0498\">a JSON schema endpoint</a> to illustrate the expected format for specific Projects, as the Questionnaire can also impact the structure of the request body.</p>\n<p><strong>Avoiding or allowing Duplicate Cases</strong></p>\n<p>There is a \"duplicate Case\" validation rule in place, to prevent creating the same Case in the same Project scope and triggering unneccessary document purchases.</p>\n<p>This validation rule needs to be enabled in the Admin Panel (contact support if you don't have access) on the Project level by enabling \"Allow duplicate cases\" setting, and the <code>confirmed</code> query parameter needs to be set to <code>true</code> on the API request (see <strong>Optional Query Parameters</strong> above).</p>\n<p>For Cases in the same Project and country context (<code>project_id</code> and <code>company.country_code</code>) the name and registration number ( <code>company.name</code> and <code>company.registration_number</code>) must be unique when provided.</p>\n<p>The example response <code>invalid-duplicate-case</code> in this collection shows what the response will look like.</p>\n<p><strong>Questionnaire Responses</strong></p>\n<p>The format of the <code>questionnaire_responses</code> is closely related to the Questions definition (for more info see <a href=\"#resource-overview\">Resource Overview</a>) and the agreed upon <code>alias</code> during the TOM workshop.</p>\n<p><strong>Self-Declaration</strong></p>\n<p>Please contact Sinpex support if you would like an applicable example of what your <code>self_declaration</code> structure of the <code>questionnaire_responses</code> should look like.</p>\n<p>However, there are already a few examples included (e.g. <code>success-with-self-declaration</code> ) that could get you started.</p>\n<p><strong>Risk Profiles</strong></p>\n<p>The optional <code>risk_profile</code> attribute of the <code>questionnaire_responses</code> should follow this format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"required|string|in:person,organization\",\n  \"provider_id\": \"required|string|min:2|max:64\",\n  \"provider_name\": \"required|string|in:COMPLY_ADVANTAGE\",\n  \"name\": \"required_if:risk_profile.type,organization|string|min:2|max:64\",\n  \"first_name\": \"required_if:risk_profile.type,person|string|min:2|max:64\",\n  \"middle_name\": \"sometimes|nullable|string|min:2|max:64\",\n  \"last_name\": \"required_if:risk_profile.type,person|string|min:2|max:64\",\n  \"risk_levels\": \"required|object|keys_in:pep,sanction,warning,adverse_media\",\n  \"risk_levels.*\": \"required|string|in:low,medium,high\"\n}\n\n</code></pre>\n<p>Providing these resources will result in <code>risk_profiles</code> that are linked to the Case and can be optionally included in the response too with the <code>includes</code> query parameter.</p>\n<p><strong>IDV</strong> <strong>Profile</strong> <strong>Checks</strong></p>\n<p>The optional <code>idv_profile_check</code> attribute of the <code>questionnaire_responses</code> should follow this format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"provider\": \"required|string|in:IDNOW\",\n  \"response\": \"required|valid_id_provider_response\"\n}\n\n</code></pre>\n<p>Where the response format is depending on the provider. Currently, only IDNOW is supported and the format can be found <a href=\"https://docs-videoident.idnow.io/?version=latest\">on their official documention</a>.</p>\n<p>Providing these resources will result in <code>idv_profiles</code> that are linked to the Case and can be optionally included in the response too with the <code>includes</code> query parameter.</p>\n","urlObject":{"path":["api","v2","cases"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"ca7dff44-84cc-4181-8678-e1bf90928e1e","name":"success-full","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{api_token}}"}],"body":{"mode":"raw","raw":"{\n    \"project_id\": {{project_id}},\n    \"company\": {\n        \"name\": \"{{unique_case_name}}\",\n        \"country_code\": \"DE\"\n    },\n    \"tags\": [\"some-tag\"],\n    \"questionnaire_responses\": [\n        {\n            \"alias\": \"ubo\",\n            \"self_declaration\": {\n                \"first_name\": \"John\",\n                \"last_name\": \"Doe\"\n            },\n            \"risk_profile\": {\n                \"type\": \"person\",\n                \"provider_id\": \"the-provider-id-of-the-check-1\",\n                \"provider_name\": \"COMPLY_ADVANTAGE\",\n                \"first_name\": \"John\",\n                \"middle_name\": \"\",\n                \"last_name\": \"Doe\",\n                \"risk_levels\": {\n                    \"pep\": \"medium\",\n                    \"adverse_media\": \"high\",\n                    \"warning\": \"low\",\n                    \"sanction\": \"high\"\n                }\n            },\n            \"idv_profile_check\": {\n                \"provider\": \"IDNOW\",\n                \"response\": {{idnow_response_example}}\n            }\n        },\n        {\n            \"alias\": \"ubo\",\n            \"self_declaration\": {\n                \"first_name\": \"Jane\",\n                \"middle_name\": \"F.\",\n                \"last_name\": \"Smith\"\n            },\n            \"risk_profile\": {\n                \"type\": \"person\",\n                \"provider_id\": \"the-provider-id-of-the-check-2\",\n                \"provider_name\": \"COMPLY_ADVANTAGE\",\n                \"first_name\": \"Jane\",\n                \"middle_name\": \"F.\",\n                \"last_name\": \"Smith\",\n                \"risk_levels\": {\n                    \"pep\": \"medium\",\n                    \"adverse_media\": \"high\",\n                    \"warning\": \"low\",\n                    \"sanction\": \"high\"\n                }\n            },\n            \"idv_profile_check\": {\n                \"provider\": \"IDNOW\",\n                \"response\": {{idnow_response_example}}\n            }\n        },\n        {\n            \"alias\": \"general.full_legal_name\",\n            \"self_declaration\": \"Trading name\",\n            \"risk_profile\": {\n                \"type\": \"organization\",\n                \"provider_id\": \"the-provider-id-of-the-check-3\",\n                \"provider_name\": \"COMPLY_ADVANTAGE\",\n                \"name\": \"Company GmbH\",\n                \"risk_levels\": {\n                    \"pep\": \"medium\",\n                    \"adverse_media\": \"high\"\n                }\n            }\n        },\n        {\n            \"alias\": \"general.full_registered_address\",\n            \"self_declaration\": \"Main Boulevard 12\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/api/v2/cases?includes=risk_profiles,idv_profiles","host":["{{domain}}"],"path":["api","v2","cases"],"query":[{"key":"includes","value":"risk_profiles,idv_profiles"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 09 Oct 2023 08:46:21 GMT"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"760"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 79,\n        \"project_id\": 3,\n        \"workflow_state_name\": \"First\",\n        \"company\": {\n            \"name\": \"c1d3abd5-2e59-482d-afa4-e4c185d3c953 GmbH\",\n            \"registration_number\": null,\n            \"country_code\": \"DE\"\n        },\n        \"meta\": null,\n        \"created_at\": \"2023-10-23T16:19:44.000000Z\",\n        \"tags\": [\n            \"some-tag\"\n        ],\n        \"risk_profiles\": [\n            {\n                \"id\": 41,\n                \"type\": \"person\",\n                \"provider_id\": \"the-provider-id-of-the-check-1\",\n                \"provider_name\": \"COMPLY_ADVANTAGE\",\n                \"name\": \"John Doe\",\n                \"first_name\": \"John\",\n                \"middle_name\": \"\",\n                \"last_name\": \"Doe\",\n                \"risk_levels\": {\n                    \"pep\": \"medium\",\n                    \"warning\": \"low\",\n                    \"sanction\": \"high\",\n                    \"adverse_media\": \"high\"\n                }\n            },\n            {\n                \"id\": 42,\n                \"type\": \"person\",\n                \"provider_id\": \"the-provider-id-of-the-check-2\",\n                \"provider_name\": \"COMPLY_ADVANTAGE\",\n                \"name\": \"Jane F. Smith\",\n                \"first_name\": \"Jane\",\n                \"middle_name\": \"F.\",\n                \"last_name\": \"Smith\",\n                \"risk_levels\": {\n                    \"pep\": \"medium\",\n                    \"warning\": \"low\",\n                    \"sanction\": \"high\",\n                    \"adverse_media\": \"high\"\n                }\n            },\n            {\n                \"id\": 43,\n                \"type\": \"organization\",\n                \"provider_id\": \"the-provider-id-of-the-check-3\",\n                \"provider_name\": \"COMPLY_ADVANTAGE\",\n                \"name\": \"Company GmbH\",\n                \"first_name\": null,\n                \"middle_name\": null,\n                \"last_name\": null,\n                \"risk_levels\": {\n                    \"pep\": \"medium\",\n                    \"adverse_media\": \"high\"\n                }\n            }\n        ],\n        \"idv_profiles\": [\n            {\n                \"id\": 26,\n                \"name\": null,\n                \"email\": \"john.klhkl@test.com\",\n                \"first_name\": \"JOHN\",\n                \"middle_name\": null,\n                \"last_name\": \"CARTER\",\n                \"date_of_birth\": \"1964-08-12\",\n                \"place_of_birth\": \"MUNICH\",\n                \"nationalities\": [\n                    \"DE\"\n                ],\n                \"residence_address\": {\n                    \"city\": \"MUNICH\",\n                    \"street\": \"ISARSTRASSE\",\n                    \"postal_code\": \"82444\",\n                    \"country_code\": \"DE\",\n                    \"street_number\": \"22\"\n                },\n                \"state\": \"in_progress\",\n                \"resolution\": \"todo\"\n            },\n            {\n                \"id\": 27,\n                \"name\": null,\n                \"email\": \"john.klhkl@test.com\",\n                \"first_name\": \"JOHN\",\n                \"middle_name\": null,\n                \"last_name\": \"CARTER\",\n                \"date_of_birth\": \"1964-08-12\",\n                \"place_of_birth\": \"MUNICH\",\n                \"nationalities\": [\n                    \"DE\"\n                ],\n                \"residence_address\": {\n                    \"city\": \"MUNICH\",\n                    \"street\": \"ISARSTRASSE\",\n                    \"postal_code\": \"82444\",\n                    \"country_code\": \"DE\",\n                    \"street_number\": \"22\"\n                },\n                \"state\": \"in_progress\",\n                \"resolution\": \"todo\"\n            }\n        ]\n    }\n}"},{"id":"c575d7fb-5531-48a2-af60-0affbc96851d","name":"success-minimum","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{api_token}} "}],"body":{"mode":"raw","raw":"{\n    \"project_id\": \"1\",\n    \"company\": {\n        \"name\": \"Company GmbH\",\n        \"registration_number\": \"HRB12345\",\n        \"country_code\": \"DE\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/v2/cases"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 10,\n        \"project_id\": 1,\n        \"workflow_state_name\": \"First\",\n        \"company\": {\n            \"name\": \"Company GmbH\",\n            \"registration_number\": null,\n            \"country_code\": \"DE\"\n        },\n        \"created_at\": \"2023-09-08T09:43:17.000000Z\"\n    }\n}"},{"id":"8accaf96-2cc4-48f7-9ed9-21c2297e0e61","name":"success-with-tags","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{api_token}} "}],"body":{"mode":"raw","raw":"{\n    \"project_id\": \"1\",\n    \"company\": {\n        \"name\": \"Company 1\",\n        \"registration_number\": \"HRBXXXX\",\n        \"country_code\": \"DE\"\n    }, \n    \"tags\": [\"Tag 1\", \"Tag 2\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/v2/cases"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 20 Sep 2023 09:54:38 GMT"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"184"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 19,\n        \"project_id\": 1,\n        \"workflow_state_name\": \"First\",\n        \"company\": {\n            \"name\": \"Company 1\",\n            \"registration_number\": \"HRBXXXX\",\n            \"country_code\": \"DE\"\n        },\n        \"tags\": [\n            \"Tag 1\",\n            \"Tag 2\"\n        ],\n        \"created_at\": \"2023-09-20T09:54:37.000000Z\"\n    }\n}"},{"id":"32c96794-2bda-4139-b77a-9d419685da3d","name":"success-with-self-declaration","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{api_token}}"}],"body":{"mode":"raw","raw":"{\n    \"project_id\": \"1\",\n    \"company\": {\n        \"name\": \"{{unique_case_name}}\",\n        \"country_code\": \"DE\"\n    },\n    \"tags\": [],\n    \"questionnaire_responses\": [\n        {\n            \"alias\": \"ubo\",\n            \"self_declaration\": {\n                \"first_name\": \"John\",\n                \"last_name\": \"Doe\"\n            }\n        }, \n        {\n            \"alias\": \"ubo\",\n            \"self_declaration\": {\n                \"first_name\": \"Jane\",\n                \"last_name\": \"Smith\"\n            }\n        }, {\n            \"alias\": \"other.trading_name\",\n            \"self_declaration\": \"Trading name\"\n        }, {\n            \"alias\": \"other.street_name\",\n            \"self_declaration\": \"Main Boulevard 12\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/v2/cases"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 02 Oct 2023 14:09:42 GMT"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"217"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 11,\n        \"project_id\": 1,\n        \"workflow_state_name\": \"First\",\n        \"company\": {\n            \"name\": \"a56e880c-2e84-4979-be6b-2b0ffb08aca5 GmbH\",\n            \"registration_number\": null,\n            \"country_code\": \"DE\"\n        },\n        \"tags\": [\n            \"Active Client\",\n            \"NDD\"\n        ],\n        \"created_at\": \"2023-10-02T14:09:41.000000Z\"\n    }\n}"},{"id":"15f99d7d-7ccb-43d1-873a-c60ee6fed42a","name":"success-with-self-declaration-and-risk-profiles","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{api_token}}"}],"body":{"mode":"raw","raw":"{\n    \"project_id\": \"1\",\n    \"company\": {\n        \"name\": \"{{unique_case_name}}\",\n        \"country_code\": \"DE\"\n    },\n    \"tags\": [],\n    \"questionnaire_responses\": [\n        {\n            \"alias\": \"ubo\",\n            \"self_declaration\": {\n                \"first_name\": \"John\",\n                \"last_name\": \"Doe\"\n            }\n        },\n        {\n            \"alias\": \"ubo\",\n            \"self_declaration\": {\n                \"first_name\": \"Jane\",\n                \"last_name\": \"Smith\"\n            },\n            \"risk_profile\": {\n                \"type\": \"person\",\n                \"provider_id\": \"the-provider-id-of-the-check\",\n                \"provider_name\": \"COMPLY_ADVANTAGE\",\n                \"first_name\": \"Jane\",\n                \"middle_name\": \"Smith\",\n                \"last_name\": \"Doe\",\n                \"risk_levels\": {\n                    \"pep\": \"medium\",\n                    \"adverse_media\": \"high\",\n                    \"warning\": \"low\",\n                    \"sanction\": \"high\"\n                }\n            }\n        },\n        {\n            \"alias\": \"other.trading_name\",\n            \"self_declaration\": \"Trading name\",\n            \"risk_profile\": {\n                \"type\": \"organization\",\n                \"provider_id\": \"the-provider-id-of-the-check\",\n                \"provider_name\": \"COMPLY_ADVANTAGE\",\n                \"name\": \"Company gmbh through API v2\",\n                \"risk_levels\": {\n                    \"pep\": \"medium\",\n                    \"adverse_media\": \"high\"\n                }\n            }\n        },\n        {\n            \"alias\": \"other.street_name\",\n            \"self_declaration\": \"Main Boulevard 12\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/api/v2/cases?includes=risk_profiles","host":["{{domain}}"],"path":["api","v2","cases"],"query":[{"key":"includes","value":"risk_profiles"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 09 Oct 2023 08:46:21 GMT"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"760"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 93,\n        \"project_id\": 1,\n        \"workflow_state_name\": \"First\",\n        \"company\": {\n            \"name\": \"c2d8706a-acf2-4339-8311-44c1ce52af52 GmbH\",\n            \"registration_number\": null,\n            \"country_code\": \"DE\"\n        },\n        \"tags\": [\n            \"Active Client\",\n            \"NDD\"\n        ],\n        \"created_at\": \"2023-10-09T08:46:21.000000Z\",\n        \"risk_profiles\": [\n            {\n                \"id\": 113,\n                \"type\": \"person\",\n                \"provider_id\": \"the-provider-id-of-the-check\",\n                \"provider_name\": \"COMPLY_ADVANTAGE\",\n                \"name\": \"Jane Smith Doe\",\n                \"first_name\": \"Jane\",\n                \"middle_name\": \"Smith\",\n                \"last_name\": \"Doe\",\n                \"risk_levels\": {\n                    \"pep\": \"low\",\n                    \"some\": \"high\",\n                    \"adverse_media\": \"high\"\n                }\n            },\n            {\n                \"id\": 114,\n                \"type\": \"organization\",\n                \"provider_id\": \"the-provider-id-of-the-check\",\n                \"provider_name\": \"COMPLY_ADVANTAGE\",\n                \"name\": \"Company gmbh through API v2\",\n                \"first_name\": null,\n                \"middle_name\": null,\n                \"last_name\": null,\n                \"risk_levels\": {\n                    \"pep\": \"low\",\n                    \"some\": \"high\",\n                    \"adverse_media\": \"high\"\n                }\n            }\n        ]\n    }\n}"},{"id":"0dbe560e-d0f6-455f-a38b-4df4b11934c8","name":"success-with-self-declaration-external-id","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{api_token}}"}],"body":{"mode":"raw","raw":"{\n    \"project_id\": \"1\",\n    \"company\": {\n        \"name\": \"{{unique_case_name}}\",\n        \"country_code\": \"DE\"\n    },\n    \"tags\": [],\n    \"questionnaire_responses\": [\n        {\n            \"alias\": \"ubo\",\n            \"external_id\": \"{{unique_external_id_1}}\",\n            \"self_declaration\": {\n                \"first_name\": \"John\",\n                \"last_name\": \"Doe\"\n            }\n        }, \n        {\n            \"alias\": \"ubo\",\n            \"external_id\": \"{{unique_external_id_2}}\",\n            \"self_declaration\": {\n                \"first_name\": \"Jane\",\n                \"last_name\": \"Smith\"\n            }\n        }, {\n            \"alias\": \"other.trading_name\",\n            \"self_declaration\": \"Trading name\"\n        }, {\n            \"alias\": \"other.street_name\",\n            \"self_declaration\": \"Main Boulevard 12\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/v2/cases"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 16 Oct 2023 13:01:52 GMT"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"217"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 46,\n        \"project_id\": 1,\n        \"workflow_state_name\": \"First\",\n        \"company\": {\n            \"name\": \"fc4fdab7-3c3b-47c4-847f-613dd0d299c5 GmbH\",\n            \"registration_number\": null,\n            \"country_code\": \"DE\"\n        },\n        \"tags\": [\n            \"Active Client\",\n            \"NDD\"\n        ],\n        \"created_at\": \"2023-10-16T13:01:52.000000Z\"\n    }\n}"},{"id":"2b366527-0754-4d26-bd44-bbbdff3d93e9","name":"invalid-tags-field","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{api_token}} "}],"body":{"mode":"raw","raw":"{\n    \"project_id\": \"1\",\n    \"company\": {\n        \"name\": \"Company 2\",\n        \"registration_number\": \"HRBXXXX\",\n        \"country_code\": \"DE\"\n    }, \n    \"tags\": [\"T\", \"Tag 1\", \"Tag 2\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/v2/cases"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 20 Sep 2023 09:54:38 GMT"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"184"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The tags.0 must be at least 2 characters.\",\n    \"errors\": {\n        \"tags.0\": [\n            \"The tags.0 must be at least 2 characters.\"\n        ]\n    }\n}"},{"id":"2df7a84f-634b-48db-b56e-558855d4c4bb","name":"invalid-required-fields","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{api_token}}"}],"body":{"mode":"raw","raw":"{\n    \"project_id\": \"\",\n    \"company\": {\n        \"name\": \"\",\n        \"registration_number\": \"\",\n        \"country_code\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/v2/cases"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The project id field is required. (and 3 more errors)\",\n    \"errors\": {\n        \"project_id\": [\n            \"The project id field is required.\"\n        ],\n        \"company.name\": [\n            \"The company.name field is required.\"\n        ],\n        \"company.country_code\": [\n            \"The company.country code field is required.\"\n        ]\n    }\n}"},{"id":"eaf6050d-be5d-4c72-843c-1f8002128628","name":"invalid-country-code","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{api_token}}"}],"body":{"mode":"raw","raw":"{\n    \"project_id\": 1,\n    \"company\": {\n        \"name\": \"Some Company Name\",\n        \"country_code\": \"NOT_A_COUNTRY\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/v2/cases"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The company.country code must only contain letters. (and 1 more error)\",\n    \"errors\": {\n        \"company.country_code\": [\n            \"The company.country code must only contain letters.\",\n            \"The company.country code must not be greater than 2 characters.\"\n        ]\n    }\n}"},{"id":"3d6c5c96-3d71-4a85-b58d-e295a939004d","name":"invalid-duplicate-case","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{api_token}}"}],"body":{"mode":"raw","raw":"{\n    \"project_id\": \"1\",\n    \"company\": {\n        \"name\": \"Company GmbH\",\n        \"registration_number\": \"HRB12345\",\n        \"country_code\": \"DE\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/v2/cases"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 12 Sep 2023 07:19:26 GMT"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"222"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"A case with the same data already exists. (and 1 more error)\",\n    \"errors\": {\n        \"company.name\": [\n            \"A case with the same data already exists.\"\n        ],\n        \"company.registration_number\": [\n            \"A case with the same data already exists.\"\n        ]\n    }\n}"},{"id":"b8f498fc-ccff-41e4-8f29-a6907a84085c","name":"invalid-self-declaration-alias","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{api_token}}"}],"body":{"mode":"raw","raw":"{\n    \"project_id\": \"1\",\n    \"company\": {\n        \"name\": \"{{unique_case_name}}\",\n        \"country_code\": \"DE\"\n    },\n    \"tags\": [],\n    \"questionnaire_responses\": [\n        {\n            \"alias\": \"unknown-alias\",\n            \"self_declaration\": {\n                \"first_name\": \"John\",\n                \"last_name\": \"Doe\"\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/v2/cases"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 02 Oct 2023 14:12:17 GMT"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"116"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"unknown-alias is not a valid alias, supported aliases: other.trading_name, other.street_name, other.country_of_incorporation, other.industry_code, other.nature_of_business, signatory, ubo\",\n    \"errors\": {\n        \"questionnaire_responses.0.alias\": [\n            \"unknown-alias is not a valid alias, supported aliases: other.trading_name, other.street_name, other.country_of_incorporation, other.industry_code, other.nature_of_business, signatory, ubo\"\n        ]\n    }\n}"},{"id":"722e59fb-a6b7-4b4e-877d-47b15da8f6da","name":"invalid-self-declaration-content-for-alias","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{api_token}}"}],"body":{"mode":"raw","raw":"{\n    \"project_id\": \"1\",\n    \"company\": {\n        \"name\": \"{{unique_case_name}}\",\n        \"country_code\": \"DE\"\n    },\n    \"tags\": [],\n    \"questionnaire_responses\": [\n        {\n            \"alias\": \"ubo\",\n            \"self_declaration\": \"Some content string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/v2/cases"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 02 Oct 2023 14:14:33 GMT"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"90"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"unexpected content for 'TABLE' type\",\n    \"errors\": {\n        \"questionnaire_responses.0.self_declaration\": [\n            \"unexpected content for 'TABLE' type\"\n        ]\n    }\n}"},{"id":"76873d05-4b51-4513-94cf-466f9ea878ee","name":"invalid-self-declaration-risk-profile","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{api_token}}"}],"body":{"mode":"raw","raw":"{\n    \"project_id\": \"1\",\n    \"company\": {\n        \"name\": \"{{unique_case_name}}\",\n        \"country_code\": \"DE\"\n    },\n    \"tags\": [],\n    \"questionnaire_responses\": [\n        {\n            \"alias\": \"ubo\",\n            \"self_declaration\": {\n                \"first_name\": \"John\",\n                \"last_name\": \"Doe\"\n            }\n        },\n        {\n            \"alias\": \"ubo\",\n            \"self_declaration\": {\n                \"first_name\": \"Jane\",\n                \"last_name\": \"Smith\"\n            },\n            \"risk_profile\": {\n                \"type\": \"person\",\n                \"provider_id\": \"the-provider-id-of-the-check\",\n                \"provider_name\": \"COMPLY_ADVANTAGE\",\n                \"first_name\": \"Jane\",\n                \"risk_levels\": {\n                    \"pep\": \"unknown\",\n                    \"adverse_media\": \"high\",\n                    \"some\": \"high\"\n                }\n            }\n        },\n        {\n            \"alias\": \"other.trading_name\",\n            \"self_declaration\": \"Trading name\",\n            \"risk_profile\": {\n                \"type\": \"organization\",\n                \"provider_id\": \"the-provider-id-of-the-check\",\n                \"provider_name\": \"COMPLY_ADVANTAGE\",\n                \"risk_levels\": {\n                    \"pep\": \"low\",\n                    \"adverse_media\": \"high\",\n                    \"some\": \"high\"\n                }\n            }\n        },\n        {\n            \"alias\": \"other.street_name\",\n            \"self_declaration\": \"Main Boulevard 12\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/v2/cases"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 05 Oct 2023 13:11:21 GMT"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"424"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The risk profile.last name field is required when risk profile.type is person. (and 4 more errors)\",\n    \"errors\": {\n        \"questionnaire_responses.1.risk_profile.last_name\": [\n            \"The risk profile.last name field is required when risk profile.type is person.\"\n        ],\n        \"questionnaire_responses.1.risk_profile.risk_levels\": [\n            \"The risk profile.risk levels must be an object with string keys. Allowed keys: pep, sanction, warning, adverse_media\"\n        ],\n        \"questionnaire_responses.1.risk_profile.risk_levels.pep\": [\n            \"The selected risk_profile.risk_levels.pep is invalid, supported values are: low, medium, high\"\n        ],\n        \"questionnaire_responses.2.risk_profile.name\": [\n            \"The risk profile.name field is required when risk profile.type is organization.\"\n        ],\n        \"questionnaire_responses.2.risk_profile.risk_levels\": [\n            \"The risk profile.risk levels must be an object with string keys. Allowed keys: pep, sanction, warning, adverse_media\"\n        ]\n    }\n}"},{"id":"d20c5d55-03e7-47d2-a115-c8166ca76e9e","name":"invalid-self-declaration-external-id","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{api_token}}"}],"body":{"mode":"raw","raw":"{\n    \"project_id\": \"1\",\n    \"company\": {\n        \"name\": \"{{unique_case_name}}\",\n        \"country_code\": \"DE\"\n    },\n    \"tags\": [],\n    \"questionnaire_responses\": [\n        {\n            \"alias\": \"ubo\",\n            \"external_id\": {},\n            \"self_declaration\": {\n                \"first_name\": \"John\",\n                \"last_name\": \"Doe\"\n            }\n        },\n        {\n            \"alias\": \"ubo\",\n            \"external_id\": \"{{more_than_64_char_external_id}}\",\n            \"self_declaration\": {\n                \"first_name\": \"Jane\",\n                \"last_name\": \"Smith\"\n            }\n        }, {\n            \"alias\": \"other.trading_name\",\n            \"self_declaration\": \"Trading name\"\n        }, {\n            \"alias\": \"other.street_name\",\n            \"self_declaration\": \"Main Boulevard 12\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/v2/cases"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 16 Oct 2023 13:06:11 GMT"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"254"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"external_id must be string or numeric. (and 1 more error)\",\n    \"errors\": {\n        \"questionnaire_responses.0.external_id\": [\n            \"external_id must be string or numeric.\"\n        ],\n        \"questionnaire_responses.1.external_id\": [\n            \"external_id must be less than 64 characters.\"\n        ]\n    }\n}"},{"id":"fc849aec-fcaf-4e8f-a144-6af5588283be","name":"internal-server-error","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{api_token}}"}],"body":{"mode":"raw","raw":"{\n    \"project_id\": \"\",\n    \"company\": {\n        \"name\": \"\",\n        \"registration_number\": \"\",\n        \"country_code\": \"\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/v2/cases"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Server Error\"\n}"}],"_postman_id":"d988eb51-8c1a-460c-854b-b1fb8e6b1747"},{"name":"Get Case","id":"99ea16b7-e4b4-43ae-be0f-cb1df187c248","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{api_token}}"}],"url":"{{domain}}/api/v2/cases/{{case_id}}","description":"<p><strong>Optional Query Parameters</strong></p>\n<p><strong>Includes</strong></p>\n<p>The <code>includes</code> query param allows for extra related resources to be included in the response.</p>\n<p>Currently supported values are <code>answers</code>, <code>questionnaire_responses</code> , <code>self_declared_values</code>, <code>idv_profiles</code> and <code>risk_profiles</code>.</p>\n<p>For a full example see <code>success-with-includes</code> in the drop down of the request preview.</p>\n","urlObject":{"path":["api","v2","cases","{{case_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"8cbe4e8d-6a04-46d4-9ff8-ff0bd2d99074","name":"success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{api_token}}"}],"url":"{{domain}}/api/v2/cases/{{case_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 29 Sep 2023 13:46:49 GMT"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"217"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 15,\n        \"project_id\": 1,\n        \"workflow_state_name\": \"First\",\n        \"company\": {\n            \"name\": \"bb245816-ddcf-4d61-a07e-790f4225d26f GmbH\",\n            \"registration_number\": null,\n            \"country_code\": \"de\"\n        },\n        \"tags\": [\n            \"Active Client\",\n            \"NDD\"\n        ],\n        \"created_at\": \"2023-09-29T06:01:56.000000Z\"\n    }\n}"},{"id":"e5281fa2-6d23-4376-a587-b65dc01b422c","name":"success-with-includes","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{api_token}}"}],"url":{"raw":"{{domain}}/api/v2/cases/{{case_id}}?includes=answers,self_declared_values,risk_profiles,idv_profiles","host":["{{domain}}"],"path":["api","v2","cases","{{case_id}}"],"query":[{"key":"includes","value":"answers,self_declared_values,risk_profiles,idv_profiles","description":"Can be sent individually, options: answers self_declared_values risk_profiles idv_profiles"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 23 Oct 2023 16:03:01 GMT"},{"key":"Vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 11,\n        \"project_id\": 1,\n        \"workflow_state_name\": \"First\",\n        \"company\": {\n            \"name\": \"Some Company Gmb\",\n            \"registration_number\": null,\n            \"country_code\": \"DE\"\n        },\n        \"meta\": null,\n        \"created_at\": \"2023-10-23T15:58:39.000000Z\",\n        \"answers\": [\n            {\n                \"id\": 1,\n                \"question_id\": 152,\n                \"question\": \"VAT\",\n                \"content\": null,\n                \"status\": \"ACCEPTED\"\n            },\n            {\n                \"id\": 2,\n                \"question_id\": 153,\n                \"question\": \"Tax ID\",\n                \"content\": \"12354657\",\n                \"status\": \"PENDING\"\n            },\n            {\n                \"id\": 4,\n                \"question_id\": 154,\n                \"question\": \"Full legal name\",\n                \"content\": \"Some Company GMBH\",\n                \"status\": \"ACCEPTED\"\n            },\n            {\n                \"id\": 5,\n                \"question_id\": 165,\n                \"question\": \"UBOs\",\n                \"content\": {\n                    \"name\": \"John Doe\",\n                    \"percentage\": \"50\",\n                    \"date_of_birth\": \"10.10.1982\",\n                    \"country_of_residence\": \"DE\",\n                    \"Type\": \"Person\"\n                },\n                \"status\": \"PENDING\"\n            }\n        ],\n        \"self_declared_values\": [\n            {\n                \"id\": 7,\n                \"question_id\": 156,\n                \"question\": \"Trading name\",\n                \"answer_id\": null,\n                \"content\": \"Trading name\",\n                \"answer_match_status\": \"PENDING\"\n            },\n            {\n                \"id\": 8,\n                \"question_id\": 159,\n                \"question\": \"Full primary business address\",\n                \"answer_id\": null,\n                \"content\": \"Main Boulevard 12\",\n                \"answer_match_status\": \"PENDING\"\n            },\n            {\n                \"id\": 5,\n                \"question_id\": 165,\n                \"question\": \"UBOs\",\n                \"answer_id\": 5,\n                \"content\": {\n                    \"first_name\": \"John\",\n                    \"last_name\": \"Doe\"\n                },\n                \"answer_match_status\": \"PENDING\"\n            },\n            {\n                \"id\": 6,\n                \"question_id\": 165,\n                \"question\": \"UBOs\",\n                \"answer_id\": null,\n                \"content\": {\n                    \"first_name\": \"Jane\",\n                    \"last_name\": \"Smith\"\n                },\n                \"answer_match_status\": \"PENDING\"\n            }\n        ],\n        \"tags\": [\n            \"Active Client\",\n            \"NDD\",\n            \"some-tag\"\n        ],\n        \"risk_profiles\": [\n            {\n                \"id\": 3,\n                \"type\": \"person\",\n                \"provider_id\": \"the-provider-id-of-the-check\",\n                \"provider_name\": \"COMPLY_ADVANTAGE\",\n                \"name\": \"Jane Smith Doe\",\n                \"first_name\": \"Jane\",\n                \"middle_name\": \"Smith\",\n                \"last_name\": \"Doe\",\n                \"risk_levels\": {\n                    \"pep\": \"low\",\n                    \"warning\": \"high\",\n                    \"adverse_media\": \"high\"\n                }\n            },\n            {\n                \"id\": 4,\n                \"type\": \"organization\",\n                \"provider_id\": \"the-provider-id-of-the-check\",\n                \"provider_name\": \"COMPLY_ADVANTAGE\",\n                \"name\": \"Company gmbh through API v2\",\n                \"first_name\": null,\n                \"middle_name\": null,\n                \"last_name\": null,\n                \"risk_levels\": {\n                    \"pep\": \"low\",\n                    \"sanction\": \"high\",\n                    \"adverse_media\": \"high\"\n                }\n            }\n        ],\n        \"idv_profiles\": [\n            {\n                \"id\": 2,\n                \"name\": null,\n                \"email\": \"john.doe@gmail.com\",\n                \"first_name\": \"John\",\n                \"middle_name\": null,\n                \"last_name\": \"Doe\",\n                \"date_of_birth\": null,\n                \"place_of_birth\": null,\n                \"nationalities\": [],\n                \"residence_address\": {\n                    \"city\": null,\n                    \"street\": null,\n                    \"postal_code\": null,\n                    \"country_code\": null,\n                    \"street_number\": null\n                },\n                \"state\": \"verified\",\n                \"resolution\": \"done\"\n            }\n        ]\n    }\n}"},{"id":"101770b2-5030-4ccc-b2ed-830c6e84257b","name":"not-found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{api_token}}"}],"url":"{{domain}}/api/v2/cases/{{case_id}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 29 Sep 2023 13:47:47 GMT"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"99"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The resource does not exist. The resource requested could not be found on the server.\"\n}"}],"_postman_id":"99ea16b7-e4b4-43ae-be0f-cb1df187c248"},{"name":"Update Case","id":"21d62dd2-d69b-4cc7-af16-a09ec499365b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{api_token}}"}],"body":{"mode":"raw","raw":"{\n    \"workflow_state_name\": \"First\",\n    \"questionnaire_responses\": [\n        {\n            \"alias\": \"ubo\",\n            \"self_declaration\": {\n                \"type\": \"person\",\n                \"name\": \"Alice Aloe\",\n                \"city\": \"Munchen\"\n            }\n        },\n        {\n            \"alias\": \"ubo\",\n            \"self_declared_value_id\": \"{{self_declared_value_id}}\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/v2/cases/{{case_id}}","description":"<blockquote>\n<p><strong>Note:</strong> This documentation section is still under development, please reach out to Sinpex support for further questions </p>\n</blockquote>\n<p><strong>Validation Rules</strong></p>\n<blockquote>\n<p>For more info, see <a href=\"https://docs.sinpex.io/#validation-rules\">our Validation Rules section.</a> </p>\n</blockquote>\n<p>This is a quick overview of some of the general validation rules:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"workflow_state_name\": \"nullable|string|in:{{project_workflow_state_names}}\",\n  \"questionnaire_responses\": \"nullable|array\",\n  \"questionnaire_responses.*\": {\n    \"alias\" : \"required|in:{{question_template_aliases}}\",\n    \"answer\" : \"missing_with:self_declaration,self_declared_value_id,answer_id\",\n    \"answer_id\" : \"missing_with:self_declaration,self_declared_value_id,answer|exists:answers,id\",\n    \"self_declaration\" : \"missing_with:answer,answer_id|required_with:reference_self_declared_value_id\",\n    \"self_declared_value_id\" : \"missing_with:answer,answer_id,external_id|exists:self_declared_values,id\",\n    \"external_id\" : \"missing_with:answer,answer_id,self_declared_value_id\",\n    \"reference_self_declared_value_id\" : \"missing_with:answer,answer_id\"\n  }\n}\n\n</code></pre>\n<p><strong>Partial Update Approach</strong></p>\n<p>As following the REST principles, when a top-level attribute is not included in the <code>PATCH</code> request, the omitted attributes will not be touched. Only the ones present in the request will be affected.</p>\n<p><strong>Questionnaire Responses Scenarios</strong></p>\n<p>To make changes to the current Answers and Self-Declared Values of a Case, the <code>questionnaire_responses</code> attribute can be used.</p>\n<blockquote>\n<p><strong>Note</strong>: Updating IDV and Risk profiles via the Public API v2 is currently not supported </p>\n</blockquote>\n<p>The approach is similar to the <code>questionnaire_responses</code> of the Create Case endpoint, but with some important differences.</p>\n<p><strong>Questionnaire Responses Update Approach</strong></p>\n<p>Only the resources of the Questions for which the <code>alias</code> is provided in the <code>questionnaire_responses</code> will be affected. When a Question is not referenced, the related resources (Answers, Self-Declared Values, Risk Profiles, etc.) will not be touched.</p>\n<p>When a Question <code>alias</code> is referenced, the complete representation of the state for that Question must be included in the request body.</p>\n<blockquote>\n<p><strong>Note</strong>: To get the current <code>questionnaire_responses</code> status of the case, see the Get Case documentation, using the <code>includes</code> query parameter. </p>\n</blockquote>\n<p><strong>Modifying Answers</strong></p>\n<p>1. Keeping an Answer as is</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"alias\" : \"some-alias\",\n  \"answer_id\" : \"{{answer_id}}\",\n}\n\n</code></pre>\n<p>2. Creating a new Answer</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"alias\" : \"some-alias\",\n  \"answer\" : \"some new Answer content\",\n}\n\n</code></pre>\n<p><strong>Modifying Self-Declared Values</strong></p>\n<p>1. Keeping a Self-Declared Value as is</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"alias\" : \"some-alias\",\n  \"self_declared_value_id\" : \"{{self_declared_value_id}}\"\n}\n\n</code></pre>\n<p>2. Keeping a Self-Declared Value as is, via an existing external id</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"alias\" : \"some-alias\",\n  \"external_id\" : \"{{external_id}}\"\n}\n\n</code></pre>\n<p>3. Creating a new Self-Declared Value</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"alias\" : \"some-alias\",\n  \"self_declaration\" : \"Some updated Self-Declared Value content\"\n}\n\n</code></pre>\n<p>4. Creating a new Self-Declared Value, keeping the related resources of an old Self-Declared value</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"alias\" : \"some-alias\",\n  \"self_declaration\" : \"Some updated Self-Declared Value content\",\n  \"reference_self_declared_value_id\" : \"{{self_declared_value_id}}\"\n}\n\n</code></pre>\n<p>5. Creating a new Self-Declared Value, keeping the related resources of an old Self-Declared value, via an existing external id</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"alias\" : \"some-alias\",\n  \"self_declaration\" : \"Some updated Self-Declared Value content\",\n  \"external_id\" : \"{{external_id}}\"\n}\n\n</code></pre>\n","urlObject":{"path":["api","v2","cases","{{case_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"21d62dd2-d69b-4cc7-af16-a09ec499365b"}],"id":"745bcd92-862e-458e-8d36-677587cabda0","_postman_id":"745bcd92-862e-458e-8d36-677587cabda0","description":""},{"name":"Webhooks","item":[],"id":"92fe3258-c42e-473a-bfc8-8ca683091dc4","description":"<h2 id=\"introduction\">Introduction</h2>\n<p>This section will help you set up and configure webhooks, enabling real-time event notifications.</p>\n<h2 id=\"setting-up-webhooks\">Setting Up Webhooks</h2>\n<p>To configure webhooks, navigate to your admin dashboard settings. In this section, you can specify the webhook v2 URL and define authorization header information to ensure secure communication.</p>\n<p>In the examples below, the configured URL will be referenced by <code>{{webhookUrl}}</code>.</p>\n<h2 id=\"webhooks\">Webhooks</h2>\n<h3 id=\"workflow_state_changed\">WORKFLOW_STATE_CHANGED</h3>\n<p>This webhook is triggered when there is a change in the workflow state of a case. When this event occurs, the system will send a webhook with a JSON payload in the following format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"event\": \"WORKFLOW_STATE_CHANGED\",\n    \"occurred_at\": \"2023-12-31T12:55:55Z\",\n    \"context\": {\n        \"case_id\" : 123,\n        \"previous\": \"{{previous_workflow_state_name}}\", \n        \"current\": \"{{current_workflow_state_name}}\"\n    }\n}\n\n</code></pre>\n<p>The values for <code>previous</code> and <code>current</code> are the names of the <a href=\"https://docs.sinpex.io/#resource-overview\">Worflow States</a>.</p>\n<h3 id=\"workflow_automation_stopped\">WORKFLOW_AUTOMATION_STOPPED</h3>\n<p>This webhook is triggered when an error occurs in the rule automation of a workflow state within a case. When this event takes place, the system sends a webhook with a JSON payload in the following format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event\": \"WORKFLOW_AUTOMATION_STOPPED\",\n  \"error_code\": \"{{error_code}}\",\n  \"occurred_at\": \"2024-09-19T10:59:31+02:00\",\n  \"context\": {\n    \"case_id\": 123,\n    \"current_workflow_state\": \"{{current_workflow_state_name}}\",\n    \"failed_rules\": [\n      \"{{failed_rule_1}}\",\n      \"{{failed_rule_2}}\"\n    ]\n  }\n}\n\n</code></pre>\n<ul>\n<li><p><strong>{{error_code}}</strong>: describes the specific error encountered, which can be one of the following: <code>AUTOMATION_RULE_FAILED</code></p>\n</li>\n<li><p><strong>{{current_workflow_state_name}}</strong>: is the name of the case's current <a href=\"https://docs.sinpex.io/#resource-overview\">Worflow State</a>.</p>\n</li>\n<li><p><strong>{{failed_rule_1}}</strong> or <strong>{{failed_rule_2}}</strong>: the name of the rules that failed, see <a href=\"https://docs.sinpex.io/#resource-overview\">Workflow Automation Rules</a> for the complete list of possibilites here</p>\n</li>\n</ul>\n<h3 id=\"document_failure\">DOCUMENT_FAILURE</h3>\n<p>This webhook is triggered when there is a failure related to a document, which can occur when a company or document is not found, document OCR fails, or other similar issues. When this event occurs, the system will send a webhook with a JSON payload in the following format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event\": \"DOCUMENT_FAILURE\",\n  \"error_code\": \"{{error_code}}\",\n  \"occurred_at\": \"2023-12-31T12:55:55Z\",\n  \"context\": {\n    \"case_id\": 123,\n    \"document_type\": \"{{document_type}}\",\n    \"document_description\": \"Some description (e.g. Company Registry (backup)) or file name\"\n  }\n}\n\n</code></pre>\n<ul>\n<li><p><strong>{{error_code}}</strong>: describes the specific error encountered, which can be one of the following: <code>COMPANY_NOT_FOUND</code>, <code>DOCUMENT_NOT_AVAILABLE</code>, <code>DOCUMENT_OCR_FAILED</code>.</p>\n</li>\n<li><p><strong>{{document_type}}</strong>: possible values <code>COMMERCIAL_REGISTER</code>, <code>TRANSPARENCY_REGISTER</code>`, <code>SHARE_HOLDER_LIST</code>, <code>CREDIT_CHECK</code>, <code>IDV</code>, <code>OTHER</code></p>\n</li>\n</ul>\n<h3 id=\"analytic_failure\">ANALYTIC_FAILURE</h3>\n<p>This webhook is triggered when there is an analytic failure, specifically when the analytics engine cannot find an answer for specific questions. When this event occurs, the system will send a webhook with a JSON payload in the following format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event\": \"ANALYTIC_FAILURE\",\n  \"error_code\": \"{{error_code}}\",\n  \"occurred_at\": \"2023-12-31T12:55:55Z\",\n  \"context\": {\n    \"case_id\": 123,\n    \"questions\": [\n      {\n        \"question_id\": 12,\n        \"alias\": \"general.full_legal_name\",\n        \"label\": \"Full legal company name\"\n      },\n      {\n        \"question_id\": 14,\n        \"alias\": \"general.tax_id\",\n        \"label\": \"Tax ID\"\n      }\n    ]\n  }\n}\n\n</code></pre>\n<ul>\n<li><strong>{{error_code}}</strong>: describes the specific error encountered, currently only supported value:<code>ANSWERS_NOT_FOUND</code>.</li>\n</ul>\n<h3 id=\"identification_failure\">IDENTIFICATION_FAILURE</h3>\n<p>This webhook is triggered when an identification and verification (ID&amp;V) check is not successful. When this event occurs, the system will send a webhook with a JSON payload in the following format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event\": \"IDENTIFICATION_FAILURE\",\n  \"error_code\": \"{{error_code}}\",\n  \"context\": {\n    \"case_id\": 123,\n    \"idv_profile_id\": 321\n  }\n}\n\n</code></pre>\n<ul>\n<li><strong>{{error_code}}</strong>: Describes the specific error encountered, currently only supported value:<code>PERSONAL_DATA_MISMATCH</code>.</li>\n</ul>\n<h3 id=\"health_check_update\">HEALTH_CHECK_UPDATE</h3>\n<p>This webhook is triggered when the system detects a change in the health status of one or more third-party providers. When this event occurs, the system will send a webhook with a JSON payload in the following format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event\": \"HEALTH_CHECK_UPDATE\",\n  \"context\": {\n    \"services\": [\"COMMERCIAL_REGISTER\", \"TRANSPARENCY_REGISTER\"],\n    \"status\": \"DEGRADED\",\n    \"country_code\": \"DE\"\n  }\n}\n\n</code></pre>\n<ul>\n<li><p><strong>services</strong>: Indicates which <code>services</code> are affected, currently supported values: <code>COMMERCIAL_REGISTER</code>, <code>TRANSPARENCY_REGISTER</code></p>\n</li>\n<li><p><strong>status:</strong> Supported values: <code>OFFLINE</code>, <code>DEGRADED</code>, <code>HEALTHY</code>, or <code>UNKNOWN</code></p>\n</li>\n<li><p><strong>country_code:</strong> The <a href=\"https://www.iso.org/iso-3166-country-codes.html\">ISO 3166-1 alpha-2</a> code of the country or region that is affected</p>\n</li>\n</ul>\n<h3 id=\"self_declaration_failure\">SELF_DECLARATION_FAILURE</h3>\n<p>The webhook is triggered in cases when system detects a mismatch of answers and self declared values. There are two different cases when this webhook occurs.</p>\n<h4 id=\"invalid_count\">INVALID_COUNT</h4>\n<p>This occurs when there is a mismatch of number of answers and self declared answers for a question.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event\": \"SELF_DECLARATION_FAILURE\",\n  \"error_code\": \"INVALID_COUNT\",\n  \"context\": {\n    \"case_id\": 123,\n    \"invalid_entries\": [\n            {\n        \"question_id\": 24,\n        \"question_alias\": \"ubo\",\n        \"question_label\": \"UBO\",\n        \"number_of_answers_expected\": 2, \n        \"number_of_answers_received\": 1 \n      },\n            {\n        \"question_id\": 24,\n        \"question_alias\": \"signatory\",\n        \"question_label\": \"Signatory\",\n        \"number_of_answers_expected\": 1,\n        \"number_of_answers_received\": 2 \n      },\n    ]\n  }\n}\n\n</code></pre>\n<h4 id=\"invalid_values\">INVALID_VALUES</h4>\n<p>This occurs when value of answer and self declared answer are not passing the equality threshold.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event\": \"SELF_DECLARATION_FAILURE\",\n  \"error_code\": \"INVALID_VALUES\",\n  \"context\": {\n    \"case_id\": 123,\n    \"invalid_entries\": [\n      {\n        \"question_id\": 12,\n        \"question_alias\": \"general.full_legal_name\",\n        \"question_label\": \"Full legal name\",\n        \"answer_expected\": \"Heineken\",\n        \"answer_received\": \"Augustiner GmbH\"\n      },\n      {\n        \"question_id\": 23,\n        \"question_alias\": \"general.street\",\n        \"question_label\": \"Street\",\n        \"answer_expected\": \"Mustermannstr.\",\n        \"answer_received\": \"Maximilianstr.\"\n      },\n            {\n        \"question_id\": 23,\n        \"question_alias\": \"ubo.first_name\",\n        \"question_label\": \"First Name\",\n        \"answer_expected\": \"Correct/From document\",\n        \"answer_received\": \"Incorrect/From Self Declaration\"\n      }\n    ]\n  }\n}\n\n</code></pre>\n<h4 id=\"idv_profile_mismatch\">IDV_PROFILE_MISMATCH</h4>\n<p>This occurs when value of self declared answer and IDV profile are not passing the equality threshold.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event\": \"SELF_DECLARATION_FAILURE\",\n  \"error_code\": \"IDV_PROFILE_MISMATCH\",\n  \"context\": {\n    \"case_id\": 123,\n    \"invalid_entries\": [\n      {\n        \"question_id\": 23,\n        \"question_alias\": \"ubo\",\n        \"question_label\": \"UBO\",\n        \"received_self_declaration\": {{self_declared_structure}},\n        \"expected_idv_profile\": null\n      },\n      {\n        \"question_id\": 23,\n        \"question_alias\": \"ubo\",\n        \"question_label\": \"UBO\",\n        \"received_self_declaration\": {{self_declared_structure}},\n        \"expected_idv_profile\": {\n            \"id\": 2,\n            \"first_name\": \"Jane\",\n            \"last_name\": \"Smith\"\n        }\n      },\n      {\n        \"question_id\": 23,\n        \"question_alias\": \"ubo\",\n        \"question_label\": \"UBO\",\n        \"received_self_declaration\": {{self_declared_structure}},\n        \"expected_idv_profile\": {\n            \"id\": 3,\n            \"first_name\": \"John\",\n            \"last_name\": \"Doe\"\n        }\n      }\n    ]\n  }\n}\n\n</code></pre>\n<h3 id=\"notification_created\">NOTIFICATION_CREATED</h3>\n<p>This webhook is triggered when a new Notification got created. These are the same as the ones visible in Sinpex UI at the Case notification bell. When a Notification like that occurs, the system will send a webhook with a JSON payload in the following format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"event\": \"NOTIFICATION_CREATED\",\n    \"occurred_at\": \"2025-05-16T10:55:55Z\",\n    \"context\": {\n        \"notification_id\": 11,\n        \"case_id\" : 123,\n        \"type\": \"INFO\",\n        \"message\": \"{{notification_text}}\"\n    }\n}\n\n</code></pre>\n<ul>\n<li><p><strong>notification_id</strong>: the id of the notification, useful for debugging</p>\n</li>\n<li><p><strong>case_id</strong>: the id of the Case or <code>null</code></p>\n</li>\n<li><p><strong>type</strong>: one of <code>INFO</code>, <code>SUCCESS</code>, <code>ERROR</code></p>\n</li>\n<li><p><strong>message</strong>: The text contents of the Notification</p>\n</li>\n</ul>\n","_postman_id":"92fe3258-c42e-473a-bfc8-8ca683091dc4"},{"name":"Projects","item":[{"name":"Get JSON Schema","id":"d2385b03-16f0-4f5b-b431-e1002a6b0498","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{api_token}}"}],"url":"{{domain}}/api/v2/projects/{{project_id}}/json-schema","description":"<blockquote>\n<p>For more information about JSON Schema, check out <a href=\"https://json-schema.org/\">it's website</a> </p>\n</blockquote>\n<p>This endpoint provides a JSON schema for creating a Case through the API (see <a href=\"#d988eb51-8c1a-460c-854b-b1fb8e6b1747\">Create Case request</a>), offering a structured blueprint to facilitate seamless case creation. Developers can leverage this resource to ensure accurate and efficient data submission in line with the system requirements.</p>\n","urlObject":{"path":["api","v2","projects","{{project_id}}","json-schema"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"53bbfb66-62f7-47b6-a7fe-83f519dc5599","name":"success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{api_token}}"}],"url":"{{domain}}/api/v2/projects/{{project_id}}/json-schema"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 02 Jan 2024 15:23:46 GMT"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"1914"}],"cookie":[],"responseTime":null,"body":"{\n    \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n    \"type\": \"object\",\n    \"properties\": {\n        \"project_id\": {\n            \"type\": \"string\"\n        },\n        \"company\": {\n            \"$ref\": \"#/$defs/_company\"\n        },\n        \"meta\": {\n            \"nullable\": true\n        },\n        \"webhook_url\": {\n            \"nullable\": true,\n            \"type\": \"string\"\n        },\n        \"tags\": {\n            \"nullable\": true,\n            \"type\": \"array\",\n            \"items\": {\n                \"minLength\": 2,\n                \"maxLength\": 16,\n                \"type\": \"string\"\n            }\n        }\n    },\n    \"required\": [\n        \"project_id\",\n        \"company\"\n    ],\n    \"$defs\": {\n        \"_company\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"name\": {\n                    \"minLength\": 2,\n                    \"maxLength\": 1024,\n                    \"type\": \"string\"\n                },\n                \"registration_number\": {\n                    \"nullable\": true,\n                    \"minLength\": 2,\n                    \"maxLength\": 64,\n                    \"type\": \"string\"\n                },\n                \"country_code\": {\n                    \"minLength\": 2,\n                    \"maxLength\": 2,\n                    \"enum\": [\n                        \"AF\",\n                        \"AX\",\n                        \"AL\",\n                        \"DZ\",\n                        \"AS\",\n                        \"AD\",\n                        \"AO\",\n                        \"AI\",\n                        \"AQ\",\n                        \"AG\",\n                        \"AR\",\n                        \"AM\",\n                        \"AW\",\n                        \"AU\",\n                        \"AT\",\n                        \"AZ\",\n                        \"BH\",\n                        \"BS\",\n                        \"BD\",\n                        \"BB\",\n                        \"BY\",\n                        \"BE\",\n                        \"BZ\",\n                        \"BJ\",\n                        \"BM\",\n                        \"BT\",\n                        \"BO\",\n                        \"BQ\",\n                        \"BA\",\n                        \"BW\",\n                        \"BV\",\n                        \"BR\",\n                        \"IO\",\n                        \"BN\",\n                        \"BG\",\n                        \"BF\",\n                        \"BI\",\n                        \"KH\",\n                        \"CM\",\n                        \"CA\",\n                        \"CV\",\n                        \"KY\",\n                        \"CF\",\n                        \"TD\",\n                        \"CL\",\n                        \"CN\",\n                        \"CX\",\n                        \"CC\",\n                        \"CO\",\n                        \"KM\",\n                        \"CG\",\n                        \"CD\",\n                        \"CK\",\n                        \"CR\",\n                        \"CI\",\n                        \"HR\",\n                        \"CU\",\n                        \"CW\",\n                        \"CY\",\n                        \"CZ\",\n                        \"DK\",\n                        \"DJ\",\n                        \"DM\",\n                        \"DO\",\n                        \"EC\",\n                        \"EG\",\n                        \"SV\",\n                        \"GQ\",\n                        \"ER\",\n                        \"EE\",\n                        \"ET\",\n                        \"FK\",\n                        \"FO\",\n                        \"FJ\",\n                        \"FI\",\n                        \"FR\",\n                        \"GF\",\n                        \"PF\",\n                        \"TF\",\n                        \"GA\",\n                        \"GM\",\n                        \"GE\",\n                        \"DE\",\n                        \"GH\",\n                        \"GI\",\n                        \"GR\",\n                        \"GL\",\n                        \"GD\",\n                        \"GP\",\n                        \"GU\",\n                        \"GT\",\n                        \"GG\",\n                        \"GN\",\n                        \"GW\",\n                        \"GY\",\n                        \"HT\",\n                        \"HM\",\n                        \"VA\",\n                        \"HN\",\n                        \"HK\",\n                        \"HU\",\n                        \"IS\",\n                        \"IN\",\n                        \"ID\",\n                        \"IR\",\n                        \"IQ\",\n                        \"IE\",\n                        \"IM\",\n                        \"IL\",\n                        \"IT\",\n                        \"JM\",\n                        \"JP\",\n                        \"JE\",\n                        \"JO\",\n                        \"KZ\",\n                        \"KE\",\n                        \"KI\",\n                        \"KP\",\n                        \"KR\",\n                        \"KW\",\n                        \"KG\",\n                        \"LA\",\n                        \"LV\",\n                        \"LB\",\n                        \"LS\",\n                        \"LR\",\n                        \"LY\",\n                        \"LI\",\n                        \"LT\",\n                        \"LU\",\n                        \"MO\",\n                        \"MK\",\n                        \"MG\",\n                        \"MW\",\n                        \"MY\",\n                        \"MV\",\n                        \"ML\",\n                        \"MT\",\n                        \"MH\",\n                        \"MQ\",\n                        \"MR\",\n                        \"MU\",\n                        \"YT\",\n                        \"MX\",\n                        \"FM\",\n                        \"MD\",\n                        \"MC\",\n                        \"MN\",\n                        \"ME\",\n                        \"MS\",\n                        \"MA\",\n                        \"MZ\",\n                        \"MM\",\n                        \"NA\",\n                        \"NR\",\n                        \"NP\",\n                        \"NL\",\n                        \"NC\",\n                        \"NZ\",\n                        \"NI\",\n                        \"NE\",\n                        \"NG\",\n                        \"NU\",\n                        \"NF\",\n                        \"MP\",\n                        \"NO\",\n                        \"OM\",\n                        \"PK\",\n                        \"PW\",\n                        \"PS\",\n                        \"PA\",\n                        \"PG\",\n                        \"PY\",\n                        \"PE\",\n                        \"PH\",\n                        \"PN\",\n                        \"PL\",\n                        \"PT\",\n                        \"PR\",\n                        \"QA\",\n                        \"RE\",\n                        \"RO\",\n                        \"RU\",\n                        \"RW\",\n                        \"BL\",\n                        \"SH\",\n                        \"KN\",\n                        \"LC\",\n                        \"MF\",\n                        \"PM\",\n                        \"VC\",\n                        \"WS\",\n                        \"SM\",\n                        \"ST\",\n                        \"SA\",\n                        \"SN\",\n                        \"RS\",\n                        \"SC\",\n                        \"SL\",\n                        \"SG\",\n                        \"SX\",\n                        \"SK\",\n                        \"SI\",\n                        \"SB\",\n                        \"SO\",\n                        \"ZA\",\n                        \"GS\",\n                        \"SS\",\n                        \"ES\",\n                        \"LK\",\n                        \"SD\",\n                        \"SR\",\n                        \"SJ\",\n                        \"SZ\",\n                        \"SE\",\n                        \"CH\",\n                        \"SY\",\n                        \"TW\",\n                        \"TJ\",\n                        \"TZ\",\n                        \"TH\",\n                        \"TL\",\n                        \"TG\",\n                        \"TK\",\n                        \"TO\",\n                        \"TT\",\n                        \"TN\",\n                        \"TR\",\n                        \"TM\",\n                        \"TC\",\n                        \"TV\",\n                        \"UG\",\n                        \"UA\",\n                        \"AE\",\n                        \"GB\",\n                        \"US\",\n                        \"UM\",\n                        \"UY\",\n                        \"UZ\",\n                        \"VU\",\n                        \"VE\",\n                        \"VN\",\n                        \"VG\",\n                        \"VI\",\n                        \"WF\",\n                        \"EH\",\n                        \"YE\",\n                        \"ZM\",\n                        \"ZW\"\n                    ],\n                    \"type\": \"string\"\n                }\n            },\n            \"required\": [\n                \"name\",\n                \"country_code\"\n            ]\n        }\n    }\n}"},{"id":"dfb2e309-e291-417d-8122-658afebe5072","name":"success-complex","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{api_token}}"}],"url":"{{domain}}/api/v2/projects/{{project_id}}/json-schema"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 02 Jan 2024 15:27:47 GMT"},{"key":"Vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n    \"type\": \"object\",\n    \"properties\": {\n        \"project_id\": {\n            \"type\": \"string\"\n        },\n        \"company\": {\n            \"$ref\": \"#/$defs/_company\"\n        },\n        \"meta\": {\n            \"nullable\": true\n        },\n        \"webhook_url\": {\n            \"nullable\": true,\n            \"type\": \"string\"\n        },\n        \"tags\": {\n            \"nullable\": true,\n            \"type\": \"array\",\n            \"items\": {\n                \"minLength\": 2,\n                \"maxLength\": 16,\n                \"type\": \"string\"\n            }\n        },\n        \"questionnaire_responses\": {\n            \"nullable\": true,\n            \"type\": \"array\",\n            \"items\": {\n                \"properties\": {\n                    \"alias\": {\n                        \"enum\": [\n                            \"general.full_legal_name\",\n                            \"general.legal_form\",\n                            \"general.registry_number\",\n                            \"general.full_registered_address\",\n                            \"general.vat\",\n                            \"general.industry_sector\",\n                            \"general.business_purpose\",\n                            \"signatory\",\n                            \"ubo\",\n                            \"bo\",\n                            \"risk_screening.risk_class\",\n                            \"risk_screening.aml_results\"\n                        ],\n                        \"type\": \"string\"\n                    },\n                    \"answer\": {\n                        \"oneOf\": [\n                            {\n                                \"$ref\": \"#/$defs/answer.risk_screening.risk_class\"\n                            },\n                            {\n                                \"$ref\": \"#/$defs/answer.risk_screening.aml_results\"\n                            }\n                        ]\n                    },\n                    \"self_declaration\": {\n                        \"oneOf\": [\n                            {\n                                \"$ref\": \"#/$defs/self_declaration.general.full_legal_name\"\n                            },\n                            {\n                                \"$ref\": \"#/$defs/self_declaration.general.registry_number\"\n                            },\n                            {\n                                \"$ref\": \"#/$defs/self_declaration.signatory\"\n                            },\n                            {\n                                \"$ref\": \"#/$defs/self_declaration.ubo\"\n                            },\n                            {\n                                \"$ref\": \"#/$defs/self_declaration.bo\"\n                            }\n                        ]\n                    },\n                    \"risk_profile\": {\n                        \"$ref\": \"#/$defs/_risk_profile\"\n                    },\n                    \"idv_profile_check\": {\n                        \"$ref\": \"#/$defs/_idv_profile_check\"\n                    }\n                }\n            }\n        }\n    },\n    \"required\": [\n        \"project_id\",\n        \"company\"\n    ],\n    \"$defs\": {\n        \"_company\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"name\": {\n                    \"minLength\": 2,\n                    \"maxLength\": 1024,\n                    \"type\": \"string\"\n                },\n                \"registration_number\": {\n                    \"nullable\": true,\n                    \"minLength\": 2,\n                    \"maxLength\": 64,\n                    \"type\": \"string\"\n                },\n                \"country_code\": {\n                    \"minLength\": 2,\n                    \"maxLength\": 2,\n                    \"enum\": [\n                        \"AF\",\n                        \"AX\",\n                        \"AL\",\n                        \"DZ\",\n                        \"AS\",\n                        \"AD\",\n                        \"AO\",\n                        \"AI\",\n                        \"AQ\",\n                        \"AG\",\n                        \"AR\",\n                        \"AM\",\n                        \"AW\",\n                        \"AU\",\n                        \"AT\",\n                        \"AZ\",\n                        \"BH\",\n                        \"BS\",\n                        \"BD\",\n                        \"BB\",\n                        \"BY\",\n                        \"BE\",\n                        \"BZ\",\n                        \"BJ\",\n                        \"BM\",\n                        \"BT\",\n                        \"BO\",\n                        \"BQ\",\n                        \"BA\",\n                        \"BW\",\n                        \"BV\",\n                        \"BR\",\n                        \"IO\",\n                        \"BN\",\n                        \"BG\",\n                        \"BF\",\n                        \"BI\",\n                        \"KH\",\n                        \"CM\",\n                        \"CA\",\n                        \"CV\",\n                        \"KY\",\n                        \"CF\",\n                        \"TD\",\n                        \"CL\",\n                        \"CN\",\n                        \"CX\",\n                        \"CC\",\n                        \"CO\",\n                        \"KM\",\n                        \"CG\",\n                        \"CD\",\n                        \"CK\",\n                        \"CR\",\n                        \"CI\",\n                        \"HR\",\n                        \"CU\",\n                        \"CW\",\n                        \"CY\",\n                        \"CZ\",\n                        \"DK\",\n                        \"DJ\",\n                        \"DM\",\n                        \"DO\",\n                        \"EC\",\n                        \"EG\",\n                        \"SV\",\n                        \"GQ\",\n                        \"ER\",\n                        \"EE\",\n                        \"ET\",\n                        \"FK\",\n                        \"FO\",\n                        \"FJ\",\n                        \"FI\",\n                        \"FR\",\n                        \"GF\",\n                        \"PF\",\n                        \"TF\",\n                        \"GA\",\n                        \"GM\",\n                        \"GE\",\n                        \"DE\",\n                        \"GH\",\n                        \"GI\",\n                        \"GR\",\n                        \"GL\",\n                        \"GD\",\n                        \"GP\",\n                        \"GU\",\n                        \"GT\",\n                        \"GG\",\n                        \"GN\",\n                        \"GW\",\n                        \"GY\",\n                        \"HT\",\n                        \"HM\",\n                        \"VA\",\n                        \"HN\",\n                        \"HK\",\n                        \"HU\",\n                        \"IS\",\n                        \"IN\",\n                        \"ID\",\n                        \"IR\",\n                        \"IQ\",\n                        \"IE\",\n                        \"IM\",\n                        \"IL\",\n                        \"IT\",\n                        \"JM\",\n                        \"JP\",\n                        \"JE\",\n                        \"JO\",\n                        \"KZ\",\n                        \"KE\",\n                        \"KI\",\n                        \"KP\",\n                        \"KR\",\n                        \"KW\",\n                        \"KG\",\n                        \"LA\",\n                        \"LV\",\n                        \"LB\",\n                        \"LS\",\n                        \"LR\",\n                        \"LY\",\n                        \"LI\",\n                        \"LT\",\n                        \"LU\",\n                        \"MO\",\n                        \"MK\",\n                        \"MG\",\n                        \"MW\",\n                        \"MY\",\n                        \"MV\",\n                        \"ML\",\n                        \"MT\",\n                        \"MH\",\n                        \"MQ\",\n                        \"MR\",\n                        \"MU\",\n                        \"YT\",\n                        \"MX\",\n                        \"FM\",\n                        \"MD\",\n                        \"MC\",\n                        \"MN\",\n                        \"ME\",\n                        \"MS\",\n                        \"MA\",\n                        \"MZ\",\n                        \"MM\",\n                        \"NA\",\n                        \"NR\",\n                        \"NP\",\n                        \"NL\",\n                        \"NC\",\n                        \"NZ\",\n                        \"NI\",\n                        \"NE\",\n                        \"NG\",\n                        \"NU\",\n                        \"NF\",\n                        \"MP\",\n                        \"NO\",\n                        \"OM\",\n                        \"PK\",\n                        \"PW\",\n                        \"PS\",\n                        \"PA\",\n                        \"PG\",\n                        \"PY\",\n                        \"PE\",\n                        \"PH\",\n                        \"PN\",\n                        \"PL\",\n                        \"PT\",\n                        \"PR\",\n                        \"QA\",\n                        \"RE\",\n                        \"RO\",\n                        \"RU\",\n                        \"RW\",\n                        \"BL\",\n                        \"SH\",\n                        \"KN\",\n                        \"LC\",\n                        \"MF\",\n                        \"PM\",\n                        \"VC\",\n                        \"WS\",\n                        \"SM\",\n                        \"ST\",\n                        \"SA\",\n                        \"SN\",\n                        \"RS\",\n                        \"SC\",\n                        \"SL\",\n                        \"SG\",\n                        \"SX\",\n                        \"SK\",\n                        \"SI\",\n                        \"SB\",\n                        \"SO\",\n                        \"ZA\",\n                        \"GS\",\n                        \"SS\",\n                        \"ES\",\n                        \"LK\",\n                        \"SD\",\n                        \"SR\",\n                        \"SJ\",\n                        \"SZ\",\n                        \"SE\",\n                        \"CH\",\n                        \"SY\",\n                        \"TW\",\n                        \"TJ\",\n                        \"TZ\",\n                        \"TH\",\n                        \"TL\",\n                        \"TG\",\n                        \"TK\",\n                        \"TO\",\n                        \"TT\",\n                        \"TN\",\n                        \"TR\",\n                        \"TM\",\n                        \"TC\",\n                        \"TV\",\n                        \"UG\",\n                        \"UA\",\n                        \"AE\",\n                        \"GB\",\n                        \"US\",\n                        \"UM\",\n                        \"UY\",\n                        \"UZ\",\n                        \"VU\",\n                        \"VE\",\n                        \"VN\",\n                        \"VG\",\n                        \"VI\",\n                        \"WF\",\n                        \"EH\",\n                        \"YE\",\n                        \"ZM\",\n                        \"ZW\"\n                    ],\n                    \"type\": \"string\"\n                }\n            },\n            \"required\": [\n                \"name\",\n                \"country_code\"\n            ]\n        },\n        \"self_declaration.general.full_legal_name\": {\n            \"type\": \"string\"\n        },\n        \"self_declaration.general.registry_number\": {\n            \"nullable\": true,\n            \"type\": \"string\"\n        },\n        \"self_declaration.signatory\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"type\": {\n                    \"enum\": [\n                        \"company\",\n                        \"person\"\n                    ],\n                    \"type\": \"string\"\n                },\n                \"name\": {\n                    \"type\": \"string\"\n                },\n                \"first_name\": {\n                    \"type\": \"string\"\n                },\n                \"middle_name\": {\n                    \"nullable\": true,\n                    \"type\": \"string\"\n                },\n                \"last_name\": {\n                    \"type\": \"string\"\n                },\n                \"date_of_birth\": {\n                    \"type\": \"string\"\n                },\n                \"place_of_birth\": {\n                    \"nullable\": true,\n                    \"type\": \"string\"\n                },\n                \"residence_address\": {\n                    \"type\": \"string\"\n                },\n                \"nationalities\": {\n                    \"nullable\": true,\n                    \"type\": \"string\"\n                },\n                \"external_id\": {\n                    \"nullable\": true,\n                    \"type\": \"string\"\n                }\n            }\n        },\n        \"self_declaration.ubo\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"type\": {\n                    \"enum\": [\n                        \"company\",\n                        \"person\"\n                    ],\n                    \"type\": \"string\"\n                },\n                \"percentage\": {\n                    \"type\": \"string\"\n                },\n                \"name\": {\n                    \"type\": \"string\"\n                },\n                \"first_name\": {\n                    \"type\": \"string\"\n                },\n                \"middle_name\": {\n                    \"nullable\": true,\n                    \"type\": \"string\"\n                },\n                \"last_name\": {\n                    \"type\": \"string\"\n                },\n                \"date_of_birth\": {\n                    \"type\": \"string\"\n                },\n                \"place_of_birth\": {\n                    \"nullable\": true,\n                    \"type\": \"string\"\n                },\n                \"residence_address\": {\n                    \"type\": \"string\"\n                },\n                \"nationalities\": {\n                    \"nullable\": true,\n                    \"type\": \"string\"\n                },\n                \"external_id\": {\n                    \"nullable\": true,\n                    \"type\": \"string\"\n                },\n                \"fictional_ubo\": {\n                    \"nullable\": true,\n                    \"type\": \"boolean\"\n                }\n            }\n        },\n        \"self_declaration.bo\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"type\": {\n                    \"enum\": [\n                        \"company\",\n                        \"person\"\n                    ],\n                    \"type\": \"string\"\n                },\n                \"percentage\": {\n                    \"type\": \"string\"\n                },\n                \"name\": {\n                    \"type\": \"string\"\n                },\n                \"first_name\": {\n                    \"type\": \"string\"\n                },\n                \"middle_name\": {\n                    \"nullable\": true,\n                    \"type\": \"string\"\n                },\n                \"last_name\": {\n                    \"type\": \"string\"\n                },\n                \"date_of_birth\": {\n                    \"type\": \"string\"\n                },\n                \"place_of_birth\": {\n                    \"nullable\": true,\n                    \"type\": \"string\"\n                },\n                \"residence_address\": {\n                    \"type\": \"string\"\n                },\n                \"nationalities\": {\n                    \"nullable\": true,\n                    \"type\": \"string\"\n                },\n                \"external_id\": {\n                    \"nullable\": true,\n                    \"type\": \"string\"\n                }\n            }\n        },\n        \"answer.risk_screening.risk_class\": {\n            \"enum\": [\n                \"low\",\n                \"medium\",\n                \"high\"\n            ],\n            \"type\": \"string\"\n        },\n        \"answer.risk_screening.aml_results\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"type\": {\n                    \"enum\": [\n                        \"company\",\n                        \"person\"\n                    ],\n                    \"type\": \"string\"\n                },\n                \"name\": {\n                    \"type\": \"string\"\n                },\n                \"pep\": {\n                    \"nullable\": true,\n                    \"type\": \"boolean\"\n                },\n                \"sanction\": {\n                    \"nullable\": true,\n                    \"type\": \"boolean\"\n                },\n                \"adverse_media\": {\n                    \"nullable\": true,\n                    \"type\": \"boolean\"\n                },\n                \"warnings\": {\n                    \"nullable\": true,\n                    \"type\": \"boolean\"\n                },\n                \"fitness\": {\n                    \"nullable\": true,\n                    \"type\": \"boolean\"\n                },\n                \"risk_class\": {\n                    \"nullable\": true,\n                    \"enum\": [\n                        \"low\",\n                        \"medium\",\n                        \"high\"\n                    ]\n                }\n            }\n        },\n        \"_risk_profile\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"risk_profile\": {\n                    \"type\": \"array\"\n                },\n                \"type\": {\n                    \"enum\": [\n                        \"person\",\n                        \"organization\",\n                        \"custom\"\n                    ],\n                    \"type\": \"string\"\n                },\n                \"provider_id\": {\n                    \"minLength\": 2,\n                    \"maxLength\": 64,\n                    \"type\": \"string\"\n                },\n                \"provider_name\": {\n                    \"enum\": [\n                        \"COMPLY_ADVANTAGE\"\n                    ],\n                    \"type\": \"string\"\n                },\n                \"name\": {\n                    \"minLength\": 2,\n                    \"maxLength\": 64,\n                    \"type\": \"string\"\n                },\n                \"first_name\": {\n                    \"minLength\": 2,\n                    \"maxLength\": 64,\n                    \"type\": \"string\"\n                },\n                \"middle_name\": {\n                    \"nullable\": true,\n                    \"minLength\": 2,\n                    \"maxLength\": 64,\n                    \"type\": \"string\"\n                },\n                \"last_name\": {\n                    \"minLength\": 2,\n                    \"maxLength\": 64,\n                    \"type\": \"string\"\n                },\n                \"risk_levels\": {\n                    \"type\": \"object\",\n                    \"properties\": {\n                        \"pep\": {\n                            \"$ref\": \"#/$defs/_risk_level\"\n                        },\n                        \"sanction\": {\n                            \"$ref\": \"#/$defs/_risk_level\"\n                        },\n                        \"warning\": {\n                            \"$ref\": \"#/$defs/_risk_level\"\n                        },\n                        \"adverse_media\": {\n                            \"$ref\": \"#/$defs/_risk_level\"\n                        }\n                    }\n                }\n            }\n        },\n        \"_risk_level\": {\n            \"enum\": [\n                \"low\",\n                \"medium\",\n                \"high\"\n            ],\n            \"type\": \"string\"\n        },\n        \"_idv_profile_check\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"provider\": {\n                    \"enum\": [\n                        \"IDNOW\"\n                    ],\n                    \"type\": \"string\"\n                },\n                \"response\": {\n                    \"type\": \"object\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"d2385b03-16f0-4f5b-b431-e1002a6b0498"}],"id":"13a0e9ee-f043-46d4-b406-39aa216791f1","_postman_id":"13a0e9ee-f043-46d4-b406-39aa216791f1","description":""}]}