Analysis Result - Onboarding
The onboarding result is described as follows:
{
"applicant_id": "ap-...",
"reasons": [],
"customer_data": {},
"document": {}
}
Parameter
Type / default
Note
2
reasons
list[string]
If the onboarding is accepted, list empty.
If rejected, this will indicate the reasons of the rejection
3
customer_data
object / {}
When using the callback, ShareID can return the customer_data you provided. This information is for your internal use and will only be included in the callback
4
document
object
The document field contains the information extracted from the user ID document and the analysis result see below for details
As you'll receive the images in a json document they will be encoded in base64. So you will need to decode them on your side.
Note that those images are not sent by default because it makes the json document largely heavier.
Result examples
{
"type": {
"doc_type": "passport",
"doc_model": "2006",
"country_code": "fr",
},
"ocr": {
"doc_num": "", //if it appears on the document
"surname": "",//if it appears on the document
"alternate_name": "",//if it appears on the document
"widow_of": "",//if it appears on the document
"mariage_name": "",//if it appears on the document
"name": "",//if it appears on the document
"height": "",//if it appears on the document
"birth_place": "",//if it appears on the document
"birth_date": "",//if it appears on the document
"address": "",//if it appears on the document
"expiration_date": "",//if it appears on the document
"issuance_date": "",//if it appears on the document
"issuance_place": "",//if it appears on the document
},
"doc_front": "",
"doc_back": "",
"face_face": "",
"face_doc": ""
}
Last updated