{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["code-group"]},"type":"markdown"},"seo":{"title":"Requisitos de KYC","description":"Documentação oficial da API da plataforma de crédito embarcado Dinie. Integre produtos de crédito diretamente na sua aplicação.","siteUrl":"https://docs.dinie.com","lang":"pt-BR","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"requisitos-de-kyc","__idx":0},"children":["Requisitos de KYC"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Entenda os tipos de documentos e verificações que cada cliente precisa completar para ser aprovado."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"fluxo-de-verificação","__idx":1},"children":["Fluxo de Verificação"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Quando um cliente atinge o status ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pending_kyc"]},", o array ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["customer.kyc"]}," lista todos os documentos e verificações necessários. O fluxo de verificação funciona em duas etapas:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Envio antecipado via API (opcional):"]}," o parceiro envia pela API os documentos que já possui do cliente (identidade, comprovante de endereço, documentos da empresa, etc.). Isso acelera o processo porque esses documentos já estarão prontos quando o cliente iniciar a sessão de biometria."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Sessão de biometria (obrigatória):"]}," o parceiro gera uma URL de sessão e a apresenta ao cliente. Na sessão, o cliente envia os documentos restantes, tira a selfie e confirma a submissão. A confirmação é o que dispara a avaliação de todos os documentos."]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A selfie só pode ser capturada pelo próprio cliente na sessão de biometria."]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Info:"]}," O array ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["kyc"]}," só está disponível a partir do status ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pending_kyc"]},". Durante o status ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["creating"]},", o enriquecimento de sócios ainda está em andamento e os requisitos não foram resolvidos."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"estrutura-de-um-requisito","__idx":2},"children":["Estrutura de um Requisito"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Todos os requisitos compartilham a mesma estrutura base:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"requirement_id\": \"identity_12345678900\",\n  \"requirement_type\": \"identity\",\n  \"label\": \"Documento de identidade\",\n  \"mandatory\": true,\n  \"subject\": {\n    \"name\": \"Joao Silva\",\n    \"cpf\": \"12345678900\",\n    \"subject_type\": \"applicant\"\n  },\n  \"submitted\": null\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Campo"},"children":["Campo"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Descrição"},"children":["Descrição"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["requirement_id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Identificador do requisito. Use este valor ao enviar documentos."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["requirement_type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Tipo do requisito. Determina quais evidências e anexos são aceitos."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["label"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Nome legível do requisito para exibir ao usuário."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mandatory"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Se ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},", o requisito precisa ser completado para o cliente avançar."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["subject"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Pessoa ou empresa à qual o requisito se refere. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]}," para requisitos da empresa."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["submitted"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Estado da submissão. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]}," quando nenhum documento foi enviado."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"requisitos-por-pessoa-vs-empresa","__idx":3},"children":["Requisitos por Pessoa vs. Empresa"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Requisitos podem ser vinculados a uma pessoa (sócio ou titular) ou à empresa como um todo."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Requisitos de pessoa incluem o campo ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["subject"]}," com os dados de quem deve enviar o documento:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"\"subject\": {\n  \"name\": \"Joao Silva\",\n  \"cpf\": \"12345678900\",\n  \"subject_type\": \"applicant\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["O ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["subject_type"]}," pode ser:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["applicant"]}," para o titular do cadastro"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["co_owner"]}," para sócios identificados durante o enriquecimento"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Requisitos de empresa (como ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["company_document"]}," ou ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["articles_of_association"]},") não possuem ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["subject"]},". Eles se aplicam à empresa cadastrada."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"envio-antecipado-via-api","__idx":4},"children":["Envio Antecipado via API"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Se o parceiro já possui documentos do cliente, pode enviá-los pela API antes da sessão de biometria. Documentos enviados antecipadamente não precisam ser enviados novamente na sessão."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["O endpoint ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /v3/customers/{customer_id}/kyc-attachments"]}," aceita uploads individuais por requisito. Cada upload precisa dos campos ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["requirement_id"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["evidence_type"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attachment_type"]}," e o arquivo."]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tip:"]}," O envio antecipado é opcional, mas reduz o que o cliente precisa fazer na sessão de biometria. Quanto mais documentos o parceiro enviar, mais rápido o cliente conclui a verificação."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"tipos-de-requisitos","__idx":5},"children":["Tipos de Requisitos"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"identity---documento-de-identidade","__idx":6},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identity"]}," - Documento de Identidade"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Documento de identidade com foto de uma pessoa (titular ou sócio). Aceita CNH ou RG como evidência."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["CNH"]}," (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["evidence_type: \"cnh\""]},"): aceita duas formas de envio."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["CNH física (frente e verso):"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Anexo"},"children":["Anexo"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"attachment_type"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attachment_type"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Formatos"},"children":["Formatos"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Frente"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["front"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["JPEG, PNG"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Verso"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["back"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["JPEG, PNG"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["CNH digital (arquivo único):"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Anexo"},"children":["Anexo"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"attachment_type"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attachment_type"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Formatos"},"children":["Formatos"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Arquivo"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["file"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PDF"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["RG"]}," (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["evidence_type: \"rg\""]},"):"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Anexo"},"children":["Anexo"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"attachment_type"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attachment_type"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Formatos"},"children":["Formatos"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Frente"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["front"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["JPEG, PNG"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Verso"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["back"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["JPEG, PNG"]}]}]}]}]},{"$$mdtype":"Tag","name":"CodeGroup","attributes":{"mode":"tabs"},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"typescript","data-title":"Node.js","header":{"title":"Node.js","controls":{"copy":{}}},"source":"import fs from \"fs\";\n\n// CNH física - enviar frente e verso\nawait client.customers.uploadKycAttachment(customer.id, {\n  requirementId: \"identity_12345678900\",\n  evidenceType: \"cnh\",\n  attachmentType: \"front\",\n  file: fs.createReadStream(\"/path/to/cnh-frente.jpg\"),\n});\n\nawait client.customers.uploadKycAttachment(customer.id, {\n  requirementId: \"identity_12345678900\",\n  evidenceType: \"cnh\",\n  attachmentType: \"back\",\n  file: fs.createReadStream(\"/path/to/cnh-verso.jpg\"),\n});\n","lang":"typescript"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"ruby","data-title":"Ruby","header":{"title":"Ruby","controls":{"copy":{}}},"source":"# CNH física - enviar frente e verso\nclient.customers.upload_kyc_attachment(\n  customer.id,\n  requirement_id: \"identity_12345678900\",\n  evidence_type: \"cnh\",\n  attachment_type: \"front\",\n  file: File.open(\"/path/to/cnh-frente.jpg\")\n)\n\nclient.customers.upload_kyc_attachment(\n  customer.id,\n  requirement_id: \"identity_12345678900\",\n  evidence_type: \"cnh\",\n  attachment_type: \"back\",\n  file: File.open(\"/path/to/cnh-verso.jpg\")\n)\n","lang":"ruby"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"python","data-title":"Python","header":{"title":"Python","controls":{"copy":{}}},"source":"# CNH física - enviar frente e verso\nclient.customers.upload_kyc_attachment(\n    customer.id,\n    requirement_id=\"identity_12345678900\",\n    evidence_type=\"cnh\",\n    attachment_type=\"front\",\n    file=open(\"/path/to/cnh-frente.jpg\", \"rb\"),\n)\n\nclient.customers.upload_kyc_attachment(\n    customer.id,\n    requirement_id=\"identity_12345678900\",\n    evidence_type=\"cnh\",\n    attachment_type=\"back\",\n    file=open(\"/path/to/cnh-verso.jpg\", \"rb\"),\n)\n","lang":"python"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","data-title":"cURL","header":{"title":"cURL","controls":{"copy":{}}},"source":"# CNH física - frente\ncurl -X POST \"https://sandbox.api.dinie.com.br/v3/customers/${CUSTOMER_ID}/kyc-attachments\" \\\n  -H \"Authorization: Bearer dinie_at_...\" \\\n  -F \"requirement_id=identity_12345678900\" \\\n  -F \"evidence_type=cnh\" \\\n  -F \"attachment_type=front\" \\\n  -F \"file=@/path/to/cnh-frente.jpg\"\n\n# CNH física - verso\ncurl -X POST \"https://sandbox.api.dinie.com.br/v3/customers/${CUSTOMER_ID}/kyc-attachments\" \\\n  -H \"Authorization: Bearer dinie_at_...\" \\\n  -F \"requirement_id=identity_12345678900\" \\\n  -F \"evidence_type=cnh\" \\\n  -F \"attachment_type=back\" \\\n  -F \"file=@/path/to/cnh-verso.jpg\"\n","lang":"bash"},"children":[]}]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tip:"]}," A CNH digital é enviada como um único PDF, sem necessidade de separar frente e verso."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"selfie---selfie","__idx":7},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["selfie"]}," - Selfie"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Foto do rosto da pessoa para validação biométrica. Sempre vinculada a um ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["subject"]},"."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Anexo"},"children":["Anexo"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"attachment_type"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attachment_type"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Formatos"},"children":["Formatos"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Foto"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["photo"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["JPEG, PNG"]}]}]}]}]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Warning:"]}," A selfie só pode ser capturada pelo cliente na sessão de biometria. Não é possível enviar a selfie pela API."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"proof_of_address---comprovante-de-endereço","__idx":8},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["proof_of_address"]}," - Comprovante de Endereço"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Comprovante de endereço da pessoa. Sempre vinculado a um ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["subject"]},"."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Anexo"},"children":["Anexo"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"attachment_type"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attachment_type"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Formatos"},"children":["Formatos"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Arquivo"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["file"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PDF, JPEG, PNG"]}]}]}]}]},{"$$mdtype":"Tag","name":"CodeGroup","attributes":{"mode":"tabs"},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"typescript","data-title":"Node.js","header":{"title":"Node.js","controls":{"copy":{}}},"source":"await client.customers.uploadKycAttachment(customer.id, {\n  requirementId: \"proof_of_address_12345678900\",\n  evidenceType: \"proof_of_address\",\n  attachmentType: \"file\",\n  file: fs.createReadStream(\"/path/to/comprovante.pdf\"),\n});\n","lang":"typescript"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"ruby","data-title":"Ruby","header":{"title":"Ruby","controls":{"copy":{}}},"source":"client.customers.upload_kyc_attachment(\n  customer.id,\n  requirement_id: \"proof_of_address_12345678900\",\n  evidence_type: \"proof_of_address\",\n  attachment_type: \"file\",\n  file: File.open(\"/path/to/comprovante.pdf\")\n)\n","lang":"ruby"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"python","data-title":"Python","header":{"title":"Python","controls":{"copy":{}}},"source":"client.customers.upload_kyc_attachment(\n    customer.id,\n    requirement_id=\"proof_of_address_12345678900\",\n    evidence_type=\"proof_of_address\",\n    attachment_type=\"file\",\n    file=open(\"/path/to/comprovante.pdf\", \"rb\"),\n)\n","lang":"python"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","data-title":"cURL","header":{"title":"cURL","controls":{"copy":{}}},"source":"curl -X POST \"https://sandbox.api.dinie.com.br/v3/customers/${CUSTOMER_ID}/kyc-attachments\" \\\n  -H \"Authorization: Bearer dinie_at_...\" \\\n  -F \"requirement_id=proof_of_address_12345678900\" \\\n  -F \"evidence_type=proof_of_address\" \\\n  -F \"attachment_type=file\" \\\n  -F \"file=@/path/to/comprovante.pdf\"\n","lang":"bash"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"company_document---documento-da-empresa","__idx":9},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["company_document"]}," - Documento da Empresa"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Documento constitutivo da empresa. Requisito sem ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["subject"]},", aplicado à empresa cadastrada."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Anexo"},"children":["Anexo"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"attachment_type"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attachment_type"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Formatos"},"children":["Formatos"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Arquivo"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["file"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PDF, JPEG, PNG"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["O ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["evidence_type"]}," é ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ccmei"]}," (Certificado da Condição de Microempreendedor Individual)."]},{"$$mdtype":"Tag","name":"CodeGroup","attributes":{"mode":"tabs"},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"typescript","data-title":"Node.js","header":{"title":"Node.js","controls":{"copy":{}}},"source":"await client.customers.uploadKycAttachment(customer.id, {\n  requirementId: \"company_document\",\n  evidenceType: \"ccmei\",\n  attachmentType: \"file\",\n  file: fs.createReadStream(\"/path/to/ccmei.pdf\"),\n});\n","lang":"typescript"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"ruby","data-title":"Ruby","header":{"title":"Ruby","controls":{"copy":{}}},"source":"client.customers.upload_kyc_attachment(\n  customer.id,\n  requirement_id: \"company_document\",\n  evidence_type: \"ccmei\",\n  attachment_type: \"file\",\n  file: File.open(\"/path/to/ccmei.pdf\")\n)\n","lang":"ruby"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"python","data-title":"Python","header":{"title":"Python","controls":{"copy":{}}},"source":"client.customers.upload_kyc_attachment(\n    customer.id,\n    requirement_id=\"company_document\",\n    evidence_type=\"ccmei\",\n    attachment_type=\"file\",\n    file=open(\"/path/to/ccmei.pdf\", \"rb\"),\n)\n","lang":"python"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","data-title":"cURL","header":{"title":"cURL","controls":{"copy":{}}},"source":"curl -X POST \"https://sandbox.api.dinie.com.br/v3/customers/${CUSTOMER_ID}/kyc-attachments\" \\\n  -H \"Authorization: Bearer dinie_at_...\" \\\n  -F \"requirement_id=company_document\" \\\n  -F \"evidence_type=ccmei\" \\\n  -F \"attachment_type=file\" \\\n  -F \"file=@/path/to/ccmei.pdf\"\n","lang":"bash"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"ei_mei_documents---documentos-de-eimei","__idx":10},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ei_mei_documents"]}," - Documentos de EI/MEI"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Requisito composto que exige dois documentos: o registro de EI e o CCMEI. Ambos precisam ser enviados. Sem ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["subject"]},"."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Anexo"},"children":["Anexo"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"attachment_type"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attachment_type"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Formatos"},"children":["Formatos"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Registro de EI"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ei_registration_requirement"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PDF, JPEG, PNG"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["CCMEI"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ccmei"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PDF, JPEG, PNG"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["O ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["evidence_type"]}," para ambos é ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ei_mei"]},"."]},{"$$mdtype":"Tag","name":"CodeGroup","attributes":{"mode":"tabs"},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"typescript","data-title":"Node.js","header":{"title":"Node.js","controls":{"copy":{}}},"source":"// Registro de EI\nawait client.customers.uploadKycAttachment(customer.id, {\n  requirementId: \"ei_mei_documents\",\n  evidenceType: \"ei_mei\",\n  attachmentType: \"ei_registration_requirement\",\n  file: fs.createReadStream(\"/path/to/registro-ei.pdf\"),\n});\n\n// CCMEI\nawait client.customers.uploadKycAttachment(customer.id, {\n  requirementId: \"ei_mei_documents\",\n  evidenceType: \"ei_mei\",\n  attachmentType: \"ccmei\",\n  file: fs.createReadStream(\"/path/to/ccmei.pdf\"),\n});\n","lang":"typescript"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"ruby","data-title":"Ruby","header":{"title":"Ruby","controls":{"copy":{}}},"source":"# Registro de EI\nclient.customers.upload_kyc_attachment(\n  customer.id,\n  requirement_id: \"ei_mei_documents\",\n  evidence_type: \"ei_mei\",\n  attachment_type: \"ei_registration_requirement\",\n  file: File.open(\"/path/to/registro-ei.pdf\")\n)\n\n# CCMEI\nclient.customers.upload_kyc_attachment(\n  customer.id,\n  requirement_id: \"ei_mei_documents\",\n  evidence_type: \"ei_mei\",\n  attachment_type: \"ccmei\",\n  file: File.open(\"/path/to/ccmei.pdf\")\n)\n","lang":"ruby"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"python","data-title":"Python","header":{"title":"Python","controls":{"copy":{}}},"source":"# Registro de EI\nclient.customers.upload_kyc_attachment(\n    customer.id,\n    requirement_id=\"ei_mei_documents\",\n    evidence_type=\"ei_mei\",\n    attachment_type=\"ei_registration_requirement\",\n    file=open(\"/path/to/registro-ei.pdf\", \"rb\"),\n)\n\n# CCMEI\nclient.customers.upload_kyc_attachment(\n    customer.id,\n    requirement_id=\"ei_mei_documents\",\n    evidence_type=\"ei_mei\",\n    attachment_type=\"ccmei\",\n    file=open(\"/path/to/ccmei.pdf\", \"rb\"),\n)\n","lang":"python"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","data-title":"cURL","header":{"title":"cURL","controls":{"copy":{}}},"source":"# Registro de EI\ncurl -X POST \"https://sandbox.api.dinie.com.br/v3/customers/${CUSTOMER_ID}/kyc-attachments\" \\\n  -H \"Authorization: Bearer dinie_at_...\" \\\n  -F \"requirement_id=ei_mei_documents\" \\\n  -F \"evidence_type=ei_mei\" \\\n  -F \"attachment_type=ei_registration_requirement\" \\\n  -F \"file=@/path/to/registro-ei.pdf\"\n\n# CCMEI\ncurl -X POST \"https://sandbox.api.dinie.com.br/v3/customers/${CUSTOMER_ID}/kyc-attachments\" \\\n  -H \"Authorization: Bearer dinie_at_...\" \\\n  -F \"requirement_id=ei_mei_documents\" \\\n  -F \"evidence_type=ei_mei\" \\\n  -F \"attachment_type=ccmei\" \\\n  -F \"file=@/path/to/ccmei.pdf\"\n","lang":"bash"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"income_statement---declaração-de-faturamento","__idx":11},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["income_statement"]}," - Declaração de Faturamento"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Declaração de faturamento da empresa. Sem ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["subject"]},"."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Anexo"},"children":["Anexo"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"attachment_type"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attachment_type"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Formatos"},"children":["Formatos"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Arquivo"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["file"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PDF, JPEG, PNG"]}]}]}]}]},{"$$mdtype":"Tag","name":"CodeGroup","attributes":{"mode":"tabs"},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"typescript","data-title":"Node.js","header":{"title":"Node.js","controls":{"copy":{}}},"source":"await client.customers.uploadKycAttachment(customer.id, {\n  requirementId: \"income_statement\",\n  evidenceType: \"income_statement\",\n  attachmentType: \"file\",\n  file: fs.createReadStream(\"/path/to/faturamento.pdf\"),\n});\n","lang":"typescript"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"ruby","data-title":"Ruby","header":{"title":"Ruby","controls":{"copy":{}}},"source":"client.customers.upload_kyc_attachment(\n  customer.id,\n  requirement_id: \"income_statement\",\n  evidence_type: \"income_statement\",\n  attachment_type: \"file\",\n  file: File.open(\"/path/to/faturamento.pdf\")\n)\n","lang":"ruby"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"python","data-title":"Python","header":{"title":"Python","controls":{"copy":{}}},"source":"client.customers.upload_kyc_attachment(\n    customer.id,\n    requirement_id=\"income_statement\",\n    evidence_type=\"income_statement\",\n    attachment_type=\"file\",\n    file=open(\"/path/to/faturamento.pdf\", \"rb\"),\n)\n","lang":"python"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","data-title":"cURL","header":{"title":"cURL","controls":{"copy":{}}},"source":"curl -X POST \"https://sandbox.api.dinie.com.br/v3/customers/${CUSTOMER_ID}/kyc-attachments\" \\\n  -H \"Authorization: Bearer dinie_at_...\" \\\n  -F \"requirement_id=income_statement\" \\\n  -F \"evidence_type=income_statement\" \\\n  -F \"attachment_type=file\" \\\n  -F \"file=@/path/to/faturamento.pdf\"\n","lang":"bash"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"articles_of_association---contrato-social","__idx":12},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["articles_of_association"]}," - Contrato Social"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Contrato social ou documento equivalente da empresa. Sem ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["subject"]},"."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Anexo"},"children":["Anexo"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"attachment_type"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attachment_type"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Formatos"},"children":["Formatos"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Arquivo"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["file"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PDF, JPEG, PNG"]}]}]}]}]},{"$$mdtype":"Tag","name":"CodeGroup","attributes":{"mode":"tabs"},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"typescript","data-title":"Node.js","header":{"title":"Node.js","controls":{"copy":{}}},"source":"await client.customers.uploadKycAttachment(customer.id, {\n  requirementId: \"articles_of_association\",\n  evidenceType: \"articles_of_association\",\n  attachmentType: \"file\",\n  file: fs.createReadStream(\"/path/to/contrato-social.pdf\"),\n});\n","lang":"typescript"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"ruby","data-title":"Ruby","header":{"title":"Ruby","controls":{"copy":{}}},"source":"client.customers.upload_kyc_attachment(\n  customer.id,\n  requirement_id: \"articles_of_association\",\n  evidence_type: \"articles_of_association\",\n  attachment_type: \"file\",\n  file: File.open(\"/path/to/contrato-social.pdf\")\n)\n","lang":"ruby"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"python","data-title":"Python","header":{"title":"Python","controls":{"copy":{}}},"source":"client.customers.upload_kyc_attachment(\n    customer.id,\n    requirement_id=\"articles_of_association\",\n    evidence_type=\"articles_of_association\",\n    attachment_type=\"file\",\n    file=open(\"/path/to/contrato-social.pdf\", \"rb\"),\n)\n","lang":"python"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","data-title":"cURL","header":{"title":"cURL","controls":{"copy":{}}},"source":"curl -X POST \"https://sandbox.api.dinie.com.br/v3/customers/${CUSTOMER_ID}/kyc-attachments\" \\\n  -H \"Authorization: Bearer dinie_at_...\" \\\n  -F \"requirement_id=articles_of_association\" \\\n  -F \"evidence_type=articles_of_association\" \\\n  -F \"attachment_type=file\" \\\n  -F \"file=@/path/to/contrato-social.pdf\"\n","lang":"bash"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"eireli_incorporation_statement---ato-constitutivo-de-eireli","__idx":13},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["eireli_incorporation_statement"]}," - Ato Constitutivo de EIRELI"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ato constitutivo de Empresa Individual de Responsabilidade Limitada. Sem ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["subject"]},"."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Anexo"},"children":["Anexo"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"attachment_type"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attachment_type"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Formatos"},"children":["Formatos"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Arquivo"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["file"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PDF, JPEG, PNG"]}]}]}]}]},{"$$mdtype":"Tag","name":"CodeGroup","attributes":{"mode":"tabs"},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"typescript","data-title":"Node.js","header":{"title":"Node.js","controls":{"copy":{}}},"source":"await client.customers.uploadKycAttachment(customer.id, {\n  requirementId: \"eireli_incorporation_statement\",\n  evidenceType: \"eireli_incorporation_statement\",\n  attachmentType: \"file\",\n  file: fs.createReadStream(\"/path/to/ato-constitutivo.pdf\"),\n});\n","lang":"typescript"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"ruby","data-title":"Ruby","header":{"title":"Ruby","controls":{"copy":{}}},"source":"client.customers.upload_kyc_attachment(\n  customer.id,\n  requirement_id: \"eireli_incorporation_statement\",\n  evidence_type: \"eireli_incorporation_statement\",\n  attachment_type: \"file\",\n  file: File.open(\"/path/to/ato-constitutivo.pdf\")\n)\n","lang":"ruby"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"python","data-title":"Python","header":{"title":"Python","controls":{"copy":{}}},"source":"client.customers.upload_kyc_attachment(\n    customer.id,\n    requirement_id=\"eireli_incorporation_statement\",\n    evidence_type=\"eireli_incorporation_statement\",\n    attachment_type=\"file\",\n    file=open(\"/path/to/ato-constitutivo.pdf\", \"rb\"),\n)\n","lang":"python"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","data-title":"cURL","header":{"title":"cURL","controls":{"copy":{}}},"source":"curl -X POST \"https://sandbox.api.dinie.com.br/v3/customers/${CUSTOMER_ID}/kyc-attachments\" \\\n  -H \"Authorization: Bearer dinie_at_...\" \\\n  -F \"requirement_id=eireli_incorporation_statement\" \\\n  -F \"evidence_type=eireli_incorporation_statement\" \\\n  -F \"attachment_type=file\" \\\n  -F \"file=@/path/to/ato-constitutivo.pdf\"\n","lang":"bash"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"email---email-do-co-titular","__idx":14},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["email"]}," - Email do Co-titular"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Requisito de nível pessoal para coletar o email de co-titulares que precisam assinar digitalmente a CCB. Cada co-titular gera um requisito ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["email_{cpf}"]}," com o campo ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["subject"]}," identificando a pessoa."]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Nota:"]}," O email do titular principal já é informado na criação do cliente. Este requisito aparece apenas para co-titulares que precisam assinar a CCB."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["O envio é feito pelo endpoint de upload de anexos KYC, usando o campo ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["value"]}," em vez de ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["file"]},":"]},{"$$mdtype":"Tag","name":"CodeGroup","attributes":{"mode":"tabs"},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"typescript","data-title":"Node.js","header":{"title":"Node.js","controls":{"copy":{}}},"source":"await client.customers.uploadKycAttachment(customer.id, {\n  requirementId: \"email_12345678900\",\n  evidenceType: \"email\",\n  attachmentType: \"email\",\n  value: \"co-titular@example.com\",\n});\n","lang":"typescript"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"ruby","data-title":"Ruby","header":{"title":"Ruby","controls":{"copy":{}}},"source":"client.customers.upload_kyc_attachment(\n  customer.id,\n  requirement_id: \"email_12345678900\",\n  evidence_type: \"email\",\n  attachment_type: \"email\",\n  value: \"co-titular@example.com\"\n)\n","lang":"ruby"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"python","data-title":"Python","header":{"title":"Python","controls":{"copy":{}}},"source":"client.customers.upload_kyc_attachment(\n    customer.id,\n    requirement_id=\"email_12345678900\",\n    evidence_type=\"email\",\n    attachment_type=\"email\",\n    value=\"co-titular@example.com\",\n)\n","lang":"python"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","data-title":"cURL","header":{"title":"cURL","controls":{"copy":{}}},"source":"curl -X POST \"https://sandbox.api.dinie.com.br/v3/customers/${CUSTOMER_ID}/kyc-attachments\" \\\n  -H \"Authorization: Bearer dinie_at_...\" \\\n  -F \"requirement_id=email_12345678900\" \\\n  -F \"evidence_type=email\" \\\n  -F \"attachment_type=email\" \\\n  -F \"value=co-titular@example.com\"\n","lang":"bash"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"sessão-de-biometria","__idx":15},"children":["Sessão de Biometria"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Após enviar os documentos que já possui (ou mesmo sem enviar nenhum), o parceiro deve gerar uma sessão de biometria e apresentar a URL ao cliente. Na sessão, o cliente envia os documentos pendentes, captura a selfie e confirma a submissão."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A confirmação na sessão de biometria dispara a avaliação de todos os documentos, incluindo os enviados antecipadamente via API."]},{"$$mdtype":"Tag","name":"CodeGroup","attributes":{"mode":"tabs"},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"typescript","data-title":"Node.js","header":{"title":"Node.js","controls":{"copy":{}}},"source":"const session = await client.customers.createBiometricsSession(customer.id);\n\n// Apresente esta URL ao cliente\nconsole.log(session.session_url);\nconsole.log(session.expires_at);  // Expira em 30 minutos\n","lang":"typescript"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"ruby","data-title":"Ruby","header":{"title":"Ruby","controls":{"copy":{}}},"source":"session = client.customers.create_biometrics_session(customer.id)\n\n# Apresente esta URL ao cliente\nputs session.session_url\nputs session.expires_at  # Expira em 30 minutos\n","lang":"ruby"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"python","data-title":"Python","header":{"title":"Python","controls":{"copy":{}}},"source":"session = client.customers.create_biometrics_session(customer.id)\n\n# Apresente esta URL ao cliente\nprint(session.session_url)\nprint(session.expires_at)  # Expira em 30 minutos\n","lang":"python"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","data-title":"cURL","header":{"title":"cURL","controls":{"copy":{}}},"source":"curl -X POST \"https://sandbox.api.dinie.com.br/v3/customers/${CUSTOMER_ID}/biometrics\" \\\n  -H \"Authorization: Bearer dinie_at_...\"\n","lang":"bash"},"children":[]}]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Info:"]}," A sessão de biometria expira em 30 minutos. Gere uma nova sessão caso o tempo expire."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"status-de-revisão","__idx":16},"children":["Status de Revisão"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Após a confirmação na sessão de biometria, cada requisito passa por revisão. O campo ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["submitted.review_status"]}," indica o resultado:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Status"},"children":["Status"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Descrição"},"children":["Descrição"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pending"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Documento enviado, aguardando revisão"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["accepted"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Documento aprovado"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rejected"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Documento rejeitado. Consulte ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["review_reason"]}," para o motivo"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Quando um documento é rejeitado, o campo ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["submitted.review_reason"]}," contém o motivo. Envie um novo documento para o mesmo ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["requirement_id"]}," para substituir o anterior."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"acompanhando-o-progresso","__idx":17},"children":["Acompanhando o Progresso"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["O webhook ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["customer.kyc_updated"]}," é disparado sempre que um documento é enviado com sucesso. O payload inclui o array ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["kyc"]}," atualizado com o estado de todos os requisitos."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Quando todos os requisitos obrigatórios são aceitos, o status do cliente avança para ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["under_review"]}," e depois para ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["active"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"referência-rápida","__idx":18},"children":["Referência Rápida"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Requisito"},"children":["Requisito"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"evidence_type"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["evidence_type"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Anexos"},"children":["Anexos"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Formatos"},"children":["Formatos"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Sujeito"},"children":["Sujeito"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Envio via API"},"children":["Envio via API"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identity"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cnh"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["front"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["back"]}," (física) ou ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["file"]}," (digital)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["JPEG, PNG ou PDF"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Pessoa"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sim"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identity"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rg"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["front"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["back"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["JPEG, PNG"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Pessoa"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sim"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["selfie"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["selfie"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["photo"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["JPEG, PNG"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Pessoa"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Somente biometria"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["proof_of_address"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["proof_of_address"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["file"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PDF, JPEG, PNG"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Pessoa"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sim"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["company_document"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ccmei"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["file"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PDF, JPEG, PNG"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Empresa"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sim"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ei_mei_documents"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ei_mei"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ei_registration_requirement"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ccmei"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PDF, JPEG, PNG"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Empresa"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sim"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["income_statement"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["income_statement"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["file"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PDF, JPEG, PNG"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Empresa"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sim"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["articles_of_association"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["articles_of_association"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["file"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PDF, JPEG, PNG"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Empresa"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sim"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["eireli_incorporation_statement"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["eireli_incorporation_statement"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["file"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PDF, JPEG, PNG"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Empresa"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sim"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["email"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["email"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["email"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["texto (value)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Pessoa"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sim"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"guias-relacionados","__idx":19},"children":["Guias Relacionados"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/customer-registration"},"children":["Cadastro e Ofertas"]}," para o fluxo completo de onboarding"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/apis/concepts/webhooks"},"children":["Webhooks"]}," para configurar os endpoints de notificação"]}]}]},"headings":[{"value":"Requisitos de KYC","id":"requisitos-de-kyc","depth":1},{"value":"Fluxo de Verificação","id":"fluxo-de-verificação","depth":2},{"value":"Estrutura de um Requisito","id":"estrutura-de-um-requisito","depth":2},{"value":"Requisitos por Pessoa vs. Empresa","id":"requisitos-por-pessoa-vs-empresa","depth":2},{"value":"Envio Antecipado via API","id":"envio-antecipado-via-api","depth":2},{"value":"Tipos de Requisitos","id":"tipos-de-requisitos","depth":2},{"value":"identity - Documento de Identidade","id":"identity---documento-de-identidade","depth":3},{"value":"selfie - Selfie","id":"selfie---selfie","depth":3},{"value":"proof_of_address - Comprovante de Endereço","id":"proof_of_address---comprovante-de-endereço","depth":3},{"value":"company_document - Documento da Empresa","id":"company_document---documento-da-empresa","depth":3},{"value":"ei_mei_documents - Documentos de EI/MEI","id":"ei_mei_documents---documentos-de-eimei","depth":3},{"value":"income_statement - Declaração de Faturamento","id":"income_statement---declaração-de-faturamento","depth":3},{"value":"articles_of_association - Contrato Social","id":"articles_of_association---contrato-social","depth":3},{"value":"eireli_incorporation_statement - Ato Constitutivo de EIRELI","id":"eireli_incorporation_statement---ato-constitutivo-de-eireli","depth":3},{"value":"email - Email do Co-titular","id":"email---email-do-co-titular","depth":3},{"value":"Sessão de Biometria","id":"sessão-de-biometria","depth":2},{"value":"Status de Revisão","id":"status-de-revisão","depth":2},{"value":"Acompanhando o Progresso","id":"acompanhando-o-progresso","depth":2},{"value":"Referência Rápida","id":"referência-rápida","depth":2},{"value":"Guias Relacionados","id":"guias-relacionados","depth":2}],"frontmatter":{"seo":{"title":"Requisitos de KYC"}},"lastModified":"2026-03-19T21:33:16.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/guides/kyc-requirements","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}