ποΈCompany Document Verification
From a document you send us, we return the information contained in the document and a matching score performed with information from official databases.
We consider a file to be a KYB when it contains at least one company identification document.
With document files
Endpoint : POST /v2/clients-files/upload-files
Headers:
Api-Key (required): provided by Danaya
Api-Secret (required): provided by Danaya
Content-Type (required): multipart/form-data
Request Body
{
"rccm": "file", // company rccm file
"dfe": "file" // company dfe front file (not yet supported)
}β οΈ supported image files are: png, jpeg and jpg
In the v2 the body will look like this:
{
"selfie": "file",
"idDocumentFront": "file",
"idDocumentBack": "file",
"idDocumentType": "",
"companyRccm": "file",
"companyDfe": "file",
"idDocument2Front": "file",
"idDocument2Back": "file",
"idDocument2Type": "",
"idDocument3Front": "file",
"idDocument3Back": "file",
"carteGriseFront": "file",
"carteGriseBack": "file",
"idDocument3Type": ""
}idDocumentType, idDocument2Type, idDocument3Type can be one off this value: CNI, PASSEPORT, CARTE_RESIDENT, CARTE_CONSULAIRE, PERMIS_CONDUIRE, SELFIE, AUTRE, DFE, RCCM, ENTREPRENEUR_CARD, AUTRE_ENTREPRISE, CARTE_GRISE
Responses:
The response will correspond to a document analysis request. The response ID can be used to retrieve the analysis result later see this page. The analysis result will also be sent via a webhook.
OK
code: 200
body
{
"id": "6d879092-5d06-4bae-b5b3-3b3321d651ef",
"createdAt": "2024-05-27 09:58:10",
"addedBy": {
"apiCredentials": {
"id": 3,
"company": null
}
},
"clientFilesToAnalyzeDocuments": [
{
"id": "94d4aa94-3058-4905-ac11-c000bc3b1941",
"type": "RCCM",
"jsonContent": null,
"analyzed": false,
"analyzedAt": null,
"filesToAnalyse": [
{
"id": "e3762c8d-74f3-4f70-8d92-76dfd0419d21",
"documentName": "document_front_file_name",
"extractedContent": null
}
]
}
]
}Last updated