# CWB Webhook

<mark style="color:red;">\*</mark> *Check out the* [*Webhooks page*](https://doc.youverify.co/webhooks) *to get instructions on how to set your webhook.*

## The CWB Webhook Object

This is the object (JSON) you will receive when you set up your webhook and someone fills out your form. It consists of [`the webhook event`](#the-webhook-attributes), [`apiVersion`](#the-webhook-attributes)`,` and [`the data object`](#the-data-object) . The [`data object` ](#the-data-object)contains the entry's (the form filler's)  response, as well as reports generated by vForm on the response if required.

<details>

<summary>Full CWB Webhook Object Sample</summary>

```json
{
  "event": "vform.completed",
  "apiVersion":"v1",
  "data": {
    "accessId": null,
    "ipAddress": null,
    "completedVerifications": 9,
    "status": "not_cleared",
    "billingItemComponents": [
      "vform",
      "aml",
      "facial_compare",
      "drivers_license",
      "id_capture",
      "facial_compare",
      "passport",
      "id_capture",
      "facial_compare",
      "drivers_license",
      "facial_compare",
      "inec",
      "company_search",
      "company_search"
    ],
    "transactionDetails": {
      "transactionReference": "63c9c46bb48f6ae9d46bc2f6",
      "transactionId": "63c9c46bb48f6a667b6bc2f7",
      "amountCharged": 1480,
      "currency": "NGN",
      "availableBalance": 463050,
      "availableCredit": 0
    },
    "upsertFrequency": 0,
    "_id": "63c9c46b25efdd314e1bf823",
    "businessId": "6222a5ed3e7a41c29c031ecc",
    "userId": "62346b6b283d48fb58b57e8e",
    "templateId": "63c967d725efdd42541bf668",
    "sharedId": null,
    "fields": [
      {
        "value": true,
        "validated": true,
        "__type": "consent-verification",
        "_id": "63c9c46b25efddb7491bf825",
        "label": "Request Verification Consent",
        "fieldTemplateId": "63c967d725efdd359a1bf663",
        "id": "63c9c46b25efddb7491bf825"
      },
      {
        "middleName": "TEST",
        "email": "OMA@TEST.COM",
        "dateOfBirth": "2023-01-01T00:00:00.000Z",
        "gender": "MALE",
        "mobile": "+38781237458549",
        "photo": "https://cdn.youverify.co/1674167402807-VlZyzrQ6CB85EMb01s58Z.jpg",
        "relationship": "wife",
        "validated": true,
        "__type": "personal-information",
        "_id": "63c9c46b25efddb6391bf826",
        "label": "User Information Field Label",
        "fieldTemplateId": "63c967d725efdd78b21bf662",
        "firstName": "OMAH",
        "lastName": "LAY",
        "amlCheck": {
          "report": {
            "status": "cleared",
            "parentId": null,
            "isSubjectConsent": true,
            "middleName": "TEST",
            "pepList": [],
            "sanctionList": [],
            "firstName": "OMAH",
            "lastName": "LAY",
            "businessId": "6222fac719fab43e133f0d44",
            "requestedAt": "2023-01-19T22:30:07.324Z",
            "requestedById": "6222fac719fab4c11a3f0d40",
            "createdAt": "2023-01-19T22:30:07.336Z",
            "lastModifiedAt": "2023-01-19T22:30:07.336Z",
            "_createdAt": "2023-01-19T22:30:077+00:00",
            "_lastModifiedAt": "2023-01-19T22:30:077+00:00",
            "id": "63c9c46dd80a7bfb6e9f1560",
            "requestedBy": {
              "firstName": "API",
              "lastName": "User",
              "middleName": "",
              "id": "6222fac719fab4c11a3f0d40"
            }
          },
          "status": "cleared",
          "_id": "63d80a5b74738c257c3e4bfd"
        },
        "id": "63c9c46b25efddb6391bf826"
      },
      {
        "typeCountryCode": "NG",
        "firstName": "OMAH",
        "lastName": "LAY",
        "dateOfBirth": "2023-01-01T00:00:00.000Z",
        "photo": "https://cdn.youverify.co/1674167402807-VlZyzrQ6CB85EMb01s58Z.jpg",
        "identityCardPhotoFront": "",
        "identityCardPhotoBack": "",
        "livenessCheckSnapshot": null,
        "status": "found",
        "report": {
          "id": "63c9c46fdd95fcd7fc3c7f69",
          "validations": {
            "data": {
              "lastName": {
                "validated": false,
                "value": "LAY"
              },
              "dateOfBirth": {
                "validated": false,
                "value": "2023-01-01"
              },
              "firstName": {
                "validated": false,
                "value": "OMAH"
              }
            },
            "selfie": {
              "selfieVerification": {
                "confidenceLevel": 25,
                "threshold": 80,
                "match": false,
                "image": "https://cdn.youverify.co/1674167402807-VlZyzrQ6CB85EMb01s58Z.jpg"
              }
            },
            "validationMessages": "First name does not match, Last name does not match, Date of birth does not match, Provided image does not match ID image"
          },
          "parentId": null,
          "status": "found",
          "reason": null,
          "dataValidation": true,
          "selfieValidation": true,
          "firstName": "GBENGA",
          "middleName": null,
          "lastName": "ODEGBAMI",
          "expiredDate": "2024-04-25",
          "issuedDate": "2019-04-29",
          "stateOfIssuance": "LAGOS",
          "notifyWhenIdExpire": false,
          "image": "data:image/jpg;base64,/9j/4AAQSkZJRgABAQEBOgE6AAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjI",
          "mobile": null,
          "email": null,
          "dateOfBirth": "1981-04-25",
          "isConsent": true,
          "idNumber": "KJA08067AA01",
          "businessId": "6222fac719fab43e133f0d44",
          "type": "ndl",
          "allValidationPassed": false,
          "gender": "female",
          "requestedAt": "2023-01-19T22:30:08.539Z",
          "requestedById": "6222fac719fab4c11a3f0d40",
          "country": "NG",
          "createdAt": "2023-01-19T22:30:08.552Z",
          "lastModifiedAt": "2023-01-19T22:30:08.552Z",
          "requestedBy": {
            "firstName": "API",
            "lastName": "User",
            "middleName": "",
            "id": "6222fac719fab4c11a3f0d40"
          }
        },
        "validated": false,
        "__type": "identity",
        "_id": "63c9c46b25efdd64831bf829",
        "label": "Identity Field Label",
        "fieldTemplateId": "63c9c1bfeb600fc087807329",
        "type": "drivers-license",
        "value": "Kja08067aa01",
        "id": "63c9c46b25efdd64831bf829"
      },
      {
        "companyName": null,
        "registeredName": null,
        "companyAddress": null,
        "supportEmail": null,
        "supportPhoneNumber": null,
        "countryCode": "NG",
        "status": "found",
        "report": {
          "parentId": null,
          "searchBusinessName": null,
          "name": "THINK HAT SERVICES LIMITED",
          "formerName": null,
          "registrationNumber": "RC1733970",
          "registryNumber": "1733970",
          "vatNumber": "23739807-0001",
          "registrationDate": "2020-11-12T00:00:00.000+00:00",
          "registrationSubmissionDate": "2020-11-04T14:57:00.210+00:00",
          "dateDisolved": null,
          "tin": "23739807-0001",
          "jtbTin": null,
          "taxOffice": null,
          "email": "nkiru.emina@thinkhatfirm.com",
          "phone": null,
          "websiteEmail": null,
          "typeOfEntity": "PRIVATE COMPANY LIMITED BY SHARES",
          "activity": "GENERAL CONTRACT AND MERCHANDISE",
          "address": "NO. 220, FREEDOM WAY, LEKKI PHASE 1, ",
          "state": "LAGOS",
          "lga": "Lagos Island",
          "city": "LEKKI",
          "branchAddress": "NO. 220, FREEDOM WAY, LEKKI PHASE 1, , LEKKI, LAGOS STATE ",
          "headOfficeAddress": null,
          "objectives": null,
          "status": "found",
          "companyStatus": "INACTIVE",
          "isConsent": true,
          "lastUpdatedAt": "2022-10-07T14:27:18.767+00:00",
          "shareCapitalInWords": "ONE MILLION NAIRA",
          "paidShareCapital": "1000000",
          "subscribedShareCapital": "1000000",
          "sharesValue": "1 NGN",
          "activityDescription": "GENERAL CONTRACT AND MERCHANDISE",
          "sharesIssued": "1000000",
          "parentCountry": null,
          "companyContactPersons": [
            {
              "contacts": {
                "email": ["sokari.boma@yahoo.com"],
                "phone": ["08030810838"]
              },
              "name": "Sokari Blessing Boma "
            }
          ],
          "country": "Nigeria",
          "countryCode": "NG",
          "keyPersonnel": [
            {
              "name": "Sokari Blessing Boma",
              "designation": "PRESENTER",
              "isCorporate": false,
              "appointedOn": null,
              "resignedOn": null,
              "sharesType": null,
              "sharesValue": null,
              "sharesCount": null,
              "occupation": null,
              "nationality": null,
              "birthYear": null,
              "birthMonth": null,
              "birthDate": null,
              "dateOfBirth": "1990-08-29T23:00:00.000+00:00",
              "gender": "MALE",
              "address": null,
              "countryOfResidence": "NIGERIA",
              "number": null,
              "isForeign": "false",
              "documentType": "National Identification Number",
              "documentIssuedOn": null,
              "documentIssuedBy": null,
              "documentNumber": null,
              "email": "sokari.boma@yahoo.com",
              "phone": "08030810838",
              "status": "ACTIVE",
              "companies": []
            },
            {
              "name": "Sokari Blessing Boma",
              "designation": "PRESENTER",
              "isCorporate": false,
              "appointedOn": null,
              "resignedOn": null,
              "sharesType": null,
              "sharesValue": null,
              "sharesCount": null,
              "occupation": null,
              "nationality": "Nigerian",
              "birthYear": null,
              "birthMonth": null,
              "birthDate": null,
              "dateOfBirth": "1990-08-29T23:00:00.000+00:00",
              "gender": null,
              "address": "3,E,CLOSE UNITY ESTATE,MARARABA, KARU, ABUJA",
              "countryOfResidence": "NIGERIA",
              "number": null,
              "isForeign": "false",
              "documentType": null,
              "documentIssuedOn": null,
              "documentIssuedBy": null,
              "documentNumber": null,
              "email": "sokari.boma@yahoo.com",
              "phone": "08030810838",
              "status": "ACTIVE",
              "companies": []
            },
            {
              "name": "AMADI-EMINA NKIRU ANTOINETTE",
              "designation": "DIRECTOR",
              "isCorporate": false,
              "appointedOn": null,
              "resignedOn": null,
              "sharesType": "ORDINARY",
              "sharesValue": "700000",
              "sharesCount": "700000",
              "occupation": null,
              "nationality": "Nigerian",
              "birthYear": null,
              "birthMonth": null,
              "birthDate": null,
              "dateOfBirth": "1989-10-25T23:00:00.000+00:00",
              "gender": "FEMALE",
              "address": "UNIT 2 C4, MERIDIAN PARK ESTATE AWOYAYA, LEKKI/EPE EXPRESSWAY",
              "countryOfResidence": "NIGERIA",
              "number": "A50584625",
              "isForeign": "false",
              "documentType": "International Passport",
              "documentIssuedOn": null,
              "documentIssuedBy": null,
              "documentNumber": "A50584625",
              "email": "nkiru.emina@thinkhatfirm.com",
              "phone": "08030883778",
              "status": "ACTIVE",
              "companies": []
            },
            {
              "name": "AMADI-EMINA NKIRU ANTOINETTE",
              "designation": "SHAREHOLDER",
              "isCorporate": false,
              "appointedOn": null,
              "resignedOn": null,
              "sharesType": "ORDINARY",
              "sharesValue": "700000",
              "sharesCount": "700000",
              "occupation": null,
              "nationality": "Nigerian",
              "birthYear": null,
              "birthMonth": null,
              "birthDate": null,
              "dateOfBirth": "1989-10-25T23:00:00.000+00:00",
              "gender": "FEMALE",
              "address": "UNIT 2 C4, MERIDIAN PARK ESTATE AWOYAYA, LEKKI/EPE EXPRESSWAY",
              "countryOfResidence": "NIGERIA",
              "number": "A50584625",
              "isForeign": "false",
              "documentType": "International Passport",
              "documentIssuedOn": null,
              "documentIssuedBy": null,
              "documentNumber": "A50584625",
              "email": "nkiru.emina@thinkhatfirm.com",
              "phone": "08030883778",
              "status": "ACTIVE",
              "companies": []
            },
            {
              "name": "AMADI-EMINA MARIE ANNE",
              "designation": "DIRECTOR",
              "isCorporate": false,
              "appointedOn": null,
              "resignedOn": null,
              "sharesType": "ORDINARY",
              "sharesValue": "300000",
              "sharesCount": "300000",
              "occupation": null,
              "nationality": "Nigerian",
              "birthYear": null,
              "birthMonth": null,
              "birthDate": null,
              "dateOfBirth": "1994-07-24T23:00:00.000+00:00",
              "gender": "FEMALE",
              "address": "UNIT 2 C4, MERIDIAN PARK ESTATE AWOYAYA, LEKKI/EPE EXPRESSWAY",
              "countryOfResidence": "NIGERIA",
              "number": "A07154518",
              "isForeign": "false",
              "documentType": "International Passport",
              "documentIssuedOn": null,
              "documentIssuedBy": null,
              "documentNumber": "A07154518",
              "email": "marie.emina@thinkhatfirm.com",
              "phone": "08166052917",
              "status": "ACTIVE",
              "companies": []
            },
            {
              "name": "AMADI-EMINA MARIE ANNE",
              "designation": "SHAREHOLDER",
              "isCorporate": false,
              "appointedOn": null,
              "resignedOn": null,
              "sharesType": "ORDINARY",
              "sharesValue": "300000",
              "sharesCount": "300000",
              "occupation": null,
              "nationality": "Nigerian",
              "birthYear": null,
              "birthMonth": null,
              "birthDate": null,
              "dateOfBirth": "1994-07-24T23:00:00.000+00:00",
              "gender": "FEMALE",
              "address": "UNIT 2 C4, MERIDIAN PARK ESTATE AWOYAYA, LEKKI/EPE EXPRESSWAY",
              "countryOfResidence": "NIGERIA",
              "number": "A07154518",
              "isForeign": "false",
              "documentType": "International Passport",
              "documentIssuedOn": null,
              "documentIssuedBy": null,
              "documentNumber": "A07154518",
              "email": "marie.emina@thinkhatfirm.com",
              "phone": "08166052917",
              "status": "ACTIVE",
              "companies": []
            },
            {
              "name": "AMADI-EMINA MARIE ANNE",
              "designation": "SECRETARY",
              "isCorporate": false,
              "appointedOn": null,
              "resignedOn": null,
              "sharesType": null,
              "sharesValue": null,
              "sharesCount": null,
              "occupation": null,
              "nationality": null,
              "birthYear": null,
              "birthMonth": null,
              "birthDate": null,
              "dateOfBirth": null,
              "gender": null,
              "address": "UNIT 2 C4, MERIDIAN PARK ESTATE AWOYAYA, LEKKI/EPE EXPRESSWAY ",
              "countryOfResidence": "NIGERIA",
              "number": "A07154518",
              "isForeign": "false",
              "documentType": "International Passport",
              "documentIssuedOn": null,
              "documentIssuedBy": null,
              "documentNumber": "A07154518",
              "email": "marie.emina@thinkhatfirm.com",
              "phone": "08166052917",
              "status": "ACTIVE",
              "companies": []
            },
            {
              "name": "BOMA SOKARI BLESSING",
              "designation": "DEPONENT",
              "isCorporate": false,
              "appointedOn": null,
              "resignedOn": null,
              "sharesType": null,
              "sharesValue": null,
              "sharesCount": null,
              "occupation": null,
              "nationality": null,
              "birthYear": null,
              "birthMonth": null,
              "birthDate": null,
              "dateOfBirth": null,
              "gender": null,
              "address": "3,E,CLOSE UNITY ESTATE,MARARABA, KARU, ABUJA ",
              "countryOfResidence": "NIGERIA",
              "number": null,
              "isForeign": "false",
              "documentType": null,
              "documentIssuedOn": null,
              "documentIssuedBy": null,
              "documentNumber": null,
              "email": "sokari.boma@yahoo.com",
              "phone": "08030810838",
              "status": "ACTIVE",
              "companies": []
            }
          ],
          "activities": [],
          "legalEntityIdentifierRegister": [],
          "centralIndexKeyRegister": [],
          "filings": [],
          "affiliates": [],
          "businessId": "6222fac719fab43e133f0d44",
          "type": "advance_company_check",
          "requestedAt": "2023-01-19T22:30:12.862Z",
          "requestedById": "6222fac719fab4c11a3f0d40",
          "searchTerm": "RC1733970",
          "createdAt": "2023-01-19T22:30:12.978Z",
          "lastModifiedAt": "2023-01-19T22:30:12.978Z",
          "_createdAt": "2023-01-19T22:30:1212+00:00",
          "_lastModifiedAt": "2023-01-19T22:30:1212+00:00",
          "id": "63c9c46f7eb0a0dff6186872",
          "requestedBy": {
            "firstName": "API",
            "lastName": "User",
            "middleName": "",
            "id": "6222fac719fab4c11a3f0d40"
          }
        },
        "validated": true,
        "__type": "company-search",
        "_id": "63c9c46b25efdd34851bf82b",
        "label": "Business Search",
        "fieldTemplateId": "63c9b83feb600f5ea88072ab",
        "type": "registrationNumber",
        "value": "RC1733970",
        "id": "63c9c46b25efdd34851bf82b"
      },
      {
        "name": "1674127188116",
        "size": 7028,
        "status": "completed",
        "validated": true,
        "__type": "file-upload",
        "_id": "63c9c46b25efdd8ca01bf82d",
        "label": "File Upload Field Label",
        "fieldTemplateId": "63c9bb3aeb600f3a9b8072d4",
        "url": "https://cdn.youverify.co/1674167402808-PgGVBkErMmR9ihSmIFTcR.jpg",
        "fileType": "jpg",
        "id": "63c9c46b25efdd8ca01bf82d"
      },
      {
        "value": ["Omah Lay"],
        "options": [],
        "status": "completed",
        "validated": true,
        "__type": "supplementary-field",
        "_id": "63c9c46b25efdd41b21bf82e",
        "label": "What's your name",
        "fieldTemplateId": "63c9bcb1e05ace51e6f8cbba",
        "type": "text",
        "format": "short",
        "id": "63c9c46b25efdd41b21bf82e"
      },
      {
        "value": ["Option 2"],
        "options": ["Option 1", "Option 2", "Option 3"],
        "status": "completed",
        "validated": true,
        "__type": "supplementary-field",
        "_id": "63c9c46b25efdd92a91bf82f",
        "label": "pick one",
        "fieldTemplateId": "63c9bd3ce05ace819ff8cbd0",
        "type": "radio",
        "format": "short",
        "id": "63c9c46b25efdd92a91bf82f"
      },
      {
        "value": ["Option 1"],
        "options": ["Option 1", "Option 2", "Option 3"],
        "status": "completed",
        "validated": true,
        "__type": "supplementary-field",
        "_id": "63c9c46b25efdde77c1bf830",
        "label": "pick one",
        "fieldTemplateId": "63c9bd460b8e960d56652d85",
        "type": "dropdown",
        "format": "short",
        "id": "63c9c46b25efdde77c1bf830"
      },
      {
        "value": ["Option 3"],
        "options": ["Option 1", "Option 2", "Option 3"],
        "status": "completed",
        "validated": true,
        "__type": "supplementary-field",
        "_id": "63c9c46b25efdd67821bf831",
        "label": "pick one or more",
        "fieldTemplateId": "63c9bd4f25efdd5ce11bf7ca",
        "type": "dropdown",
        "format": "short",
        "id": "63c9c46b25efdd67821bf831"
      },
      {
        "value": ["2023-01-23"],
        "options": ["Option 1", "Option 2", "Option 3"],
        "status": "completed",
        "validated": true,
        "__type": "supplementary-field",
        "_id": "63c9c46b25efdd1f261bf832",
        "label": "Date of Birth",
        "fieldTemplateId": "63c9bd59e05ace78fdf8cbd7",
        "type": "date",
        "format": "short",
        "id": "63c9c46b25efdd1f261bf832"
      },
      {
        "value": [
          "It’s difficult to say without more information about what the code is supposed to do and what’s happening when it’s executed. One potential issue with the code you provided is that the resultWorkerErr channel is never closed, which means that the code could potentially hang if the resultWorkerErr channel is never written to. This could happen if b.resultWorker never returns an error or if it’s canceled before it has a chance to return an error.\n\nTo fix this issue, you could close the resultWorkerErr channel after writing to it. For example, you could add the following line of code after the line that sends the error on the channel:"
        ],
        "options": ["Option 1", "Option 2", "Option 3"],
        "status": "completed",
        "validated": true,
        "__type": "supplementary-field",
        "_id": "63c9c46b25efdd82021bf833",
        "label": "Explain yourself",
        "fieldTemplateId": "63c9bd650b8e9643b2652d8c",
        "type": "text",
        "format": "long",
        "id": "63c9c46b25efdd82021bf833"
      },
      {
        "firstName": null,
        "lastName": null,
        "status": "not_cleared",
        "fields": [
          {
            "value": true,
            "validated": true,
            "__type": "consent-verification",
            "_id": "63c9c4bbe05ace68f6f8cc3a",
            "label": "Request Verification Consent",
            "fieldTemplateId": "63c9bfdb0b8e962615652da0",
            "id": "63c9c4bbe05ace68f6f8cc3a"
          },
          {
            "middleName": null,
            "email": null,
            "dateOfBirth": null,
            "gender": null,
            "mobile": null,
            "photo": null,
            "relationship": null,
            "validated": true,
            "__type": "personal-information",
            "_id": "63c9c4bbe05ace5277f8cc3b",
            "label": "User Information",
            "fieldTemplateId": "63c9bfdb0b8e96f5b8652d9f",
            "firstName": "Famous",
            "lastName": "EHICHIOYA",
            "id": "63c9c4bbe05ace5277f8cc3b"
          },
          {
            "typeCountryCode": "NG",
            "firstName": "Famous",
            "lastName": "EHICHIOYA",
            "dateOfBirth": null,
            "photo": null,
            "identityCardPhotoFront": "",
            "identityCardPhotoBack": "",
            "livenessCheckSnapshot": null,
            "status": "found",
            "report": {
              "id": "63c9c4bcdd95fcc3dc3c7f6c",
              "validations": {
                "data": {
                  "firstName": {
                    "validated": true,
                    "value": "Famous"
                  }
                },
                "validationMessages": "Document has expired"
              },
              "parentId": null,
              "status": "found",
              "reason": null,
              "dataValidation": true,
              "selfieValidation": false,
              "firstName": "FAMOUS",
              "middleName": "PRIOR",
              "lastName": "Ehichioya",
              "expiredDate": "2021-02-22",
              "notifyWhenIdExpire": false,
              "image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAAFACAYAAACC6PFTAAAAAXNSR0IArs4c6QAAIABJREFUeJzsvVmPHElyLvqZe0Rm",
              "signature": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUsAAABICAYAAAB/VNeEAAAAAXNSR0IArs4c6QAAEBVJREFUeJzt3XtsFNX7x/H37uzO",
              "issuedAt": "MINNA",
              "issuedDate": "2016-02-23",
              "mobile": null,
              "dateOfBirth": "1990-04-04",
              "isConsent": true,
              "idNumber": "A07074823",
              "businessId": "6222fac719fab43e133f0d44",
              "type": "passport",
              "allValidationPassed": false,
              "gender": "male",
              "requestedAt": "2023-01-19T22:31:24.471Z",
              "requestedById": "6222fac719fab4c11a3f0d40",
              "country": "NG",
              "createdAt": "2023-01-19T22:31:24.489Z",
              "lastModifiedAt": "2023-01-19T22:31:24.489Z",
              "requestedBy": {
                "firstName": "API",
                "lastName": "User",
                "middleName": "",
                "id": "6222fac719fab4c11a3f0d40"
              }
            },
            "validated": false,
            "__type": "identity",
            "_id": "63c9c4bbe05ace21ebf8cc3c",
            "label": "Identity",
            "fieldTemplateId": "63c9bfe20b8e96ec3b652dad",
            "type": "passport",
            "value": "A07074823",
            "id": "63c9c4bbe05ace21ebf8cc3c"
          }
        ],
        "validated": true,
        "__type": "reference",
        "_id": "63c9c46b25efdd90cc1bf834",
        "label": "Reference Field Label",
        "fieldTemplateId": "63c9c20feb600f487c80734f",
        "referenceTemplateId": "63c9bfdb0b8e96183b652da5",
        "email": "yideci9913@fom8.com",
        "id": "63c9c46b25efdd90cc1bf834"
      },
      {
        "firstName": "Jerry",
        "lastName": "Osobase",
        "status": "cleared",
        "fields": [
          {
            "value": true,
            "validated": true,
            "__type": "consent-verification",
            "_id": "63c9c4d38a056ce15cb7afd8",
            "label": "Request Verification Consent",
            "fieldTemplateId": "63c9bfdb0b8e962615652da0",
            "id": "63c9c4d38a056ce15cb7afd8"
          },
          {
            "middleName": null,
            "email": null,
            "dateOfBirth": null,
            "gender": null,
            "mobile": null,
            "photo": null,
            "relationship": null,
            "validated": true,
            "__type": "personal-information",
            "_id": "63c9c4d38a056c097bb7afd9",
            "label": "User Information",
            "fieldTemplateId": "63c9bfdb0b8e96f5b8652d9f",
            "firstName": "Jerry",
            "lastName": "Osobase",
            "id": "63c9c4d38a056c097bb7afd9"
          },
          {
            "typeCountryCode": "NG",
            "firstName": "Jerry",
            "lastName": "Osobase",
            "dateOfBirth": null,
            "photo": null,
            "identityCardPhotoFront": "",
            "identityCardPhotoBack": "",
            "livenessCheckSnapshot": null,
            "status": "found",
            "report": {
              "id": "63c9c4d48db8b79f16914f79",
              "validations": {
                "data": {
                  "lastName": {
                    "validated": true,
                    "value": "Osobase"
                  },
                  "firstName": {
                    "validated": true,
                    "value": "Jerry"
                  }
                },
                "validationMessages": ""
              },
              "parentId": null,
              "status": "found",
              "reason": null,
              "dataValidation": true,
              "selfieValidation": false,
              "firstName": "JERRY",
              "middleName": "OSAMUDIAMEH",
              "lastName": "OSOBASE",
              "image": "data:image/jpg;base64,/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwc",
              "enrollmentBranch": "",
              "enrollmentInstitution": "WEMA BANK",
              "mobile": "08138493645",
              "dateOfBirth": "1998-06-22",
              "isConsent": true,
              "idNumber": "22553780729",
              "nin": null,
              "shouldRetrivedNin": true,
              "businessId": "6222fac719fab43e133f0d44",
              "type": "bvn",
              "allValidationPassed": true,
              "gender": "",
              "requestedAt": "2023-01-19T22:31:48.360Z",
              "requestedById": "6222fac719fab4c11a3f0d40",
              "country": "NG",
              "createdAt": "2023-01-19T22:31:48.373Z",
              "lastModifiedAt": "2023-01-19T22:31:48.373Z",
              "requestedBy": {
                "firstName": "API",
                "lastName": "User",
                "middleName": "",
                "id": "6222fac719fab4c11a3f0d40"
              }
            },
            "validated": true,
            "__type": "identity",
            "_id": "63c9c4d38a056c9508b7afda",
            "label": "Identity",
            "fieldTemplateId": "63c9bfe20b8e96ec3b652dad",
            "type": "bvn",
            "value": "22553780729",
            "id": "63c9c4d38a056c9508b7afda"
          }
        ],
        "validated": true,
        "__type": "reference",
        "_id": "63c9c46b25efdd1b621bf835",
        "label": "Reference Field Label",
        "fieldTemplateId": "63c9c2d30b8e962a52652de1",
        "referenceTemplateId": "63c9bfdb0b8e96183b652da5",
        "email": "jerry@youverify.co",
        "id": "63c9c46b25efdd1b621bf835"
      }
    ],
    "totalVerifications": 9,
    "fillDurationInMilliSeconds": 287278,
    "createdAt": "2023-01-19T22:30:03.521Z",
    "updatedAt": "2023-01-19T22:31:48.907Z",
    "__v": 0,
    "_createdAt": "2023-01-19T22:30:033+00:00",
    "_lastModifiedAt": "2023-01-30T18:20:1111+00:00",
    "id": "63c9c46b25efdd314e1bf823"
  },
  "links": []
}
```

</details>

## The Webhook Attributes

This section contains object samples for all possible webhook events, as well as explanations for each in the <mark style="color:purple;">**Explanation**</mark> tab.

{% tabs %}
{% tab title="CWB Added" %}

```json
 {
  "event": "vForm.added",
  "apiVersion": "v1",
  "data": {...}
}
```

{% endtab %}

{% tab title="CWB Updated" %}

```json
{
  "event": "vForm.updated",
  "apiVersion": "v1",
  "data": {...}
}
```

{% endtab %}

{% tab title="CWB Completed" %}

```json
{
  "event": "vForm.completed",
  "apiVersion": "v1",
  "data": {...}
}
```

{% endtab %}

{% tab title="Explanation" %}

| Attributes    | Type   | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ------------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| event         | String | <p>This represents the status of a webhook entry. Which can be one of the following:<br><mark style="color:orange;"><code>"vForm.added"</code></mark>: when there is a new response entry.<br>This comes with a <a href="#the-data-object">data object </a>that contains the response.<br><mark style="color:orange;"><code>"vForm.updated"</code></mark>: when there is an update on an old entry.<br><em>The</em> <a href="#the-data-object"><em>data object</em></a> <em>will be updated.</em> <br><mark style="color:orange;"><code>"vForm.completed"</code></mark>: when all updates are completed on an old entry. <br><em>Usually when all verifications have been processed.</em> <br><em>The</em> <a href="#the-data-object"><em>data object</em></a> <em>will be updated for the last time , containing the full response</em><br><em>and full verification details</em></p> |
| apiVersion    | String | The webhook version                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| {% endtab %}  |        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| {% endtabs %} |        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |

## The Data Object

This object is made up of attributes that provide general information about the form entry. It also contains [`the field array`](#the-fields-array), which consists of response objects for each section of the form.&#x20;

The <mark style="color:purple;">**`Sample`**</mark> and <mark style="color:purple;">**Explanation**</mark> tabs below show a sample object as well as explanations for the attributes.

{% tabs %}
{% tab title="Sample" %}

```json
{
  ...
  "data": {
    "accessId": null,
    "ipAddress": null,
    "completedVerifications": 9,
    "status": "not_cleared",
    "billingItemComponents": [
      "vform",
      "aml",
      "facial_compare",
      "drivers_license",
      "id_capture",
      "facial_compare",
      "passport",
      "id_capture",
      "facial_compare",
      "drivers_license",
      "facial_compare",
      "inec",
      "company_search",
      "company_search"
    ],
    "transactionDetails": {
      "transactionReference": "63c9c46bb48f6ae9d46bc2f6",
      "transactionId": "63c9c46bb48f6a667b6bc2f7",
      "amountCharged": 1480,
      "currency": "NGN",
      "availableBalance": 463050,
      "availableCredit": 0
    },
    "upsertFrequency": 0,
    "_id": "63c9c46b25efdd314e1bf823",
    "businessId": "6222a5ed3e7a41c29c031ecc",
    "userId": "62346b6b283d48fb58b57e8e",
    "templateId": "63c967d725efdd42541bf668",
    "sharedId": null,
    "field":[{..},{...},....],
    "totalVerifications": 9,
    "fillDurationInMilliSeconds": 287278,
    "createdAt": "2023-01-19T22:30:03.521Z",
    "updatedAt": "2023-01-19T22:31:48.907Z",
    "__v": 0,
    "_createdAt": "2023-01-19T22:30:033+00:00",
    "_lastModifiedAt": "2023-01-30T18:20:1111+00:00",
    "id": "63c9c46b25efdd314e1bf823"
    }
```

{% endtab %}

{% tab title="Explanation" %}

| Attribute                  | Type                 | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| -------------------------- | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| id                         | String               | vForm's object unique identifier.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| businessId                 | String               | This is the unique identifier of the business that created the vForm.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| userId                     | String               | <p>This is the unique identifier of the user that created the vForm ,a <em>vForm</em><br><em>business can have multiple users</em>This is the unique identifier of the business that created the vForm.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| billingItemComponents      | Array                | <p>This is a list of all the features (such as liveness check, facial compare, and id capture) and verifications that the vform's owner included while configuring the form and are intended to be paid for.<br>This can include one or more of the following based on the configuration . <mark style="color:orange;"><code>"phonenumber","drivers\_license","bvn","nin"</code></mark><br><mark style="color:orange;"><code>"passport","inec","bav","aml","address\_verification","vform"</code></mark><br><mark style="color:orange;"><code>"livenesss","facial\_compare","id\_capture" and "company\_search"</code></mark></p>                                                                                                                                                                                                                                                                                                                                                 |
| transactionDetails         | Object               | This object contains details about the amount charged and deducted after the submission of this response as configured by the owner.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| transactionId              | String               | TransactionDetail's object unique identifier.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| amountCharged              | Integer              | Amount charged for this response.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| currency                   | String (CountryCode) | Currency in which the charge was made.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| availableBalance           | Integer              | Available balance in the vForm business account.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| totalVerifications         | Integer              | The total number of verifications that vForm is expected to perform on this response.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| completedVerifications     | Integer              | The total number of verifications vForm has completed on this response.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| fields                     | Array of Objects     | <p>List of objects for each section of the form that contains responses<br>from the person filling out the form and can contain a report on the responses<br>after vform performs verifications and validations on them as specified<br>by the form owner.<br>Each section can be one of the following specified by \_\_type in each objects.<br><a href="#personal-information-field-object">personal-information</a>, <a href="#identity-field-object">identity</a>, <a href="#business-search-field-object">company-search</a>, <a href="#address-field-object">address</a>, <a href="#the-data-object">file-upload </a>,<br><a href="#reference-field-object">reference</a> ,<a href="#supplementary-field-object">supplementary-field</a> , <a href="#consent-verification-field-object">consent-verification</a>.</p>                                                                                                                                                       |
| fillDurationInMilliSeconds | Integer              | The amount of time the person spent filling out the form in milliseconds.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| createdAt                  | String (Date)        | The date this response was submitted.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| updatedAt                  | String (Date)        | The date this response was last updated.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| status                     | String               | <p>This is the overall status of this response which can be anyone of the following </p><p><mark style="color:orange;"><code>"pending"</code></mark>: This is the overall status of a response when there is/are<br>still a/some verification(s) to be done on the response or when some responses are still expected from a reference form.<br><mark style="color:orange;"><code>"cleared"</code></mark>: This is the overall status of the response when a form with no<br>verification has been submitted or when all the verifications and validations have been performed by vform on a response and are all passed<br><mark style="color:orange;"><code>"not\_cleared"</code></mark>: This is the overall status of the response when one or<br>more of the verifications and validations performed by vform on a response failed.<br><mark style="color:orange;"><code>"pending\_payment"</code></mark>: When  payment is still pending, no verification will be done.</p> |
| {% endtab %}               |                      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| {% endtabs %}              |                      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |

### The Fields Array

List of objects for each section of the form that contains responses from the person filling out the form and can contain a report on the responses after CWB performs verifications and validations on them as specified by the form owner.&#x20;

Each section can be one of the following specified by the  **\_\_type** attribute in each objects. [`personal-information`](#personal-information-field-object)`,` [`identity`](#identity-field-object)`,` [`company-search`](#business-search-field-object)`,` [`address`](#address-field-object)`,` [`file-upload` ](#the-data-object)`,` [`reference`](#reference-field-object) `,`[`supplementary-field`](#supplementary-field-object) `,` [`consent-verification`](#consent-verification-field-object)`.`

```json
{
  ...
  "data":{
   ...
   "field":[
   {
     ...
     "__type":"consent-verification",
   },
   {
     ...
     "__type":"personal-information",
   },
   {
     ...
     "__type":"identity",
   },
   {
     ...
     "__type":"company-search",
   },
   {
     ...
     "__type":"file-upload",
   },
   {
     ...
     "__type":"address",
   },
   {
     ...
     "__type":"reference",
   },
   {
     ...
     "__type":"supplementary-field",
   },
          ],
   
}
```

### Consent verification field object

The <mark style="color:purple;">**`Sample`**</mark> and <mark style="color:purple;">**Explanation**</mark> tabs below show a sample object as well as explanations for the attributes in the <mark style="color:orange;">`consent-verification`</mark> field object.

{% tabs %}
{% tab title="Sample" %}

```json
{
 ...
 "field":[
    {
      "value": true,
      "validated": true,
      "__type": "consent-verification",
      "_id": "63c9c46b25efddb7491bf825",
      "label": "Request Verification Consent",
      "fieldTemplateId": "63c967d725efdd359a1bf663",
      "id": "63c9c46b25efddb7491bf825"
    },
    ...
    ]
  ...
}
```

{% endtab %}

{% tab title="Explanation" %}

<table><thead><tr><th width="146.33333333333331">Attribute</th><th width="117">Type</th><th>Description</th></tr></thead><tbody><tr><td>__type</td><td>String</td><td>A vform-defined tag for this section of the form.<br>It has a constant value of <mark style="color:orange;"><code>consent-verification</code></mark>.</td></tr><tr><td>id</td><td>String</td><td>Consent verification's object unique identifier.</td></tr><tr><td>label</td><td>String</td><td>A short descriptive title for the consent verification<br>section of the form usually set by the form owner</td></tr><tr><td>value</td><td>Boolean</td><td>A <mark style="color:orange;"><code>true</code></mark> or <mark style="color:orange;"><code>false</code></mark> value indicating whether or not<br>the formfiller accepts the conditions of the consent.</td></tr></tbody></table>
{% endtab %}
{% endtabs %}

### Personal Information field object

This object stores the user's personal information; there may be one or more personal information fields, any of which can also be linked to [`identity`](#identity-field-object) or [`address`](#address-field-object) fields by the form owner to serve as the default personal information for performing validations.&#x20;

The <mark style="color:purple;">**`Sample`**</mark> and <mark style="color:purple;">**Explanation**</mark> tabs below show a sample object as well as explanations for the attributes in the <mark style="color:orange;">`personal-information`</mark> field object.

{% tabs %}
{% tab title="Sample" %}

```json
{
 ...
 "field":[
    ...
    {
      "middleName": "Yin",
      "email": "John@Doe.com",
      "dateOfBirth": "2023-01-01T00:00:00.000Z",
      "gender": "MALE",
      "mobile": "+38781237458549",
      "photo": "https://cdn.youverify.co/1674167402807-VlZyzrQ6CB85EMb01s58Z.jpg",
      "relationship": "wife",
      "validated": true,
      "__type": "personal-information",
      "_id": "63c9c46b25efddb6391bf826",
      "label": "User Information Field Label",
      "fieldTemplateId": "63c967d725efdd78b21bf662",
      "firstName": "John",
      "lastName": "Doe",
      "amlCheck": {
        "report": {
          "status": "cleared",
          "parentId": null,
          "isSubjectConsent": true,
          "middleName": "TEST",
          "pepList": [],
          "sanctionList": [],
          "firstName": "John",
          "lastName": "Doe",
          "businessId": "6222fac719fab43e133f0d44",
          "requestedAt": "2023-01-19T22:30:07.324Z",
          "requestedById": "6222fac719fab4c11a3f0d40",
          "createdAt": "2023-01-19T22:30:07.336Z",
          "lastModifiedAt": "2023-01-19T22:30:07.336Z",
          "_createdAt": "2023-01-19T22:30:077+00:00",
          "_lastModifiedAt": "2023-01-19T22:30:077+00:00",
          "id": "63c9c46dd80a7bfb6e9f1560",
          "requestedBy": {
            "firstName": "API",
            "lastName": "User",
            "middleName": "",
            "id": "6222fac719fab4c11a3f0d40"
          }
        },
        "status": "cleared",
        "_id": "63d80a5b74738c257c3e4bfd"
      },
      "id": "63c9c46b25efddb6391bf826"
    },
    ...
    ]
  ...
}
```

{% endtab %}

{% tab title="Explanation" %}

<table><thead><tr><th width="143.33333333333331">Attribute</th><th width="137">Type</th><th>Description</th></tr></thead><tbody><tr><td>__type</td><td>String</td><td>A vform-defined tag for this section of the form.<br>It has a constant value of <mark style="color:orange;"><code>personal-information</code>.</mark><br><em>This tag appears on all sections that accepts</em><br><em><strong>personal information</strong> from the formfiller.</em></td></tr><tr><td>id</td><td>String</td><td>Personal information's object unique identifier.</td></tr><tr><td>label</td><td>String</td><td>A short descriptive title for the personal information<br>section of the form usually set by the form owner</td></tr><tr><td>firstName</td><td>String</td><td>A mandatory first name, usually the formfiller's<br>or as specified by the form owner in the section's<br>label or description.<br><em><mark style="color:orange;"><strong><code>Example:</code></strong></mark></em> <em><strong>If the formfiller is filling out a section that requires his/her guarantor or guardian's first name</strong></em></td></tr><tr><td>lastName</td><td>String</td><td>A mandatory last name, usually the formfiller's<br>or as specified by the form owner in the section's<br>label or description.<br><mark style="color:orange;"><strong><code>Example:</code></strong></mark><strong> If the formfiller is filling out a section that requires his/her guarantor or guardian's last name/surname</strong></td></tr><tr><td>email</td><td>String(email)</td><td>An email address , usually the formfiller's<br>or as specified by the form owner in the section's <br>label or description.<br><mark style="color:orange;"><strong><code>Example:</code></strong></mark><strong> If the formfiller is filling out a section that requires his/her guarantor or guardian's email</strong><br><em>This can be optional or required as set by the form</em><br><em>owner</em></td></tr><tr><td>gender</td><td>String</td><td>Gender, usually the formfiller's<br>or as specified by the form owner in the section's<br>label or description.<br><mark style="color:orange;"><strong><code>Example:</code></strong></mark> <strong>If the formfiller is filling out a section that requires his/her</strong><br><strong>guarantor or guardian's gender</strong><br><em>This can be optional or required as set by the form</em><br><em>owner.</em></td></tr><tr><td>photo</td><td>String(url)</td><td>image, usually the formfiller's<br>or as specified by the form owner in the section's<br>label or description.<br><mark style="color:orange;"><strong>Example:</strong></mark><strong> If the formfiller is filling out a section that requires his/her guarantor or guardian's photo</strong><br><em>This can be optional or required asset by the form</em><br><em>owner.</em></td></tr><tr><td>relationship</td><td>String</td><td>Personal relationship, which can be one of the following<br><mark style="color:orange;"><code>"brother"</code>,<code>"sister"</code>,<code>"father"</code>,<code>"mother"</code>,<code>"wife"</code>,<code>"husband"</code>,<code>"other"</code></mark><code>.</code><br>This is usually based on the context that is specified by the form owner in the section label or description.<br><mark style="color:orange;"><strong><code>Example:</code></strong></mark><strong> If the formfiller is filling out a section that requires his/her relationship with his/her guarantor or guardian's</strong><br><em>This can be optional or required as set by the form</em><br><em>owner.</em></td></tr><tr><td>mobile</td><td>String(phone)</td><td>Phone number, usually the formfiller's<br>or as specified by the form owner in the section's<br>label or description.<br><mark style="color:orange;"><strong><code>Example:</code></strong></mark><strong>If the formfiller is filling out a section that requires his/her guarantor or guardian's phone number</strong><br><em>This can be optional or required as set by the form</em><br><em>owner.</em></td></tr><tr><td>middleName</td><td>String</td><td>Middle name, usually the formfiller's<br>or as specified by the form owner in the section's<br>label or description.<br><mark style="color:orange;"><strong><code>Example:</code></strong></mark><strong> If the formfiller is filling out a section that requires his/her guarantor or guardian's middle name</strong><br><em>This can be optional or required as set by the form</em><br><em>owner.</em></td></tr><tr><td>dateOfBirth</td><td>String(date)</td><td>Date of birth, usually the formfiller's<br>or as specified by the form owner in the section's<br>label or description.<br><mark style="color:orange;"><strong><code>Example:</code></strong></mark> <strong>If the formfiller is filling out a section that requires his/her guarantor or guardian's date of birth</strong><br><em>This can be optional or required as set by the form</em><br><em>owner.</em></td></tr><tr><td>amlCheck</td><td>Object</td><td>This contains reports and status from vform when the form owner wants vform to perform an <a href="../aml-services-anti-money-laundering/pep-and-sanction-screening">anti-money laundering(aml)</a> check on the personal information field (firstname and lastname).<br><em>This objects is not available if an aml check is not performed</em></td></tr><tr><td>-- report</td><td>Object</td><td>This is the report from the <a href="../aml-services-anti-money-laundering/pep-and-sanction-screening">aml</a> check.</td></tr><tr><td>-- status</td><td>String</td><td>This is the status from the aml check which can be anyone of the following<br><mark style="color:orange;"><code>"cleared"</code>:</mark> When the form filler's name is <strong>not</strong> in aml list<br><mark style="color:orange;"><code>"review_required"</code>:</mark><br><mark style="color:orange;"><code>"not_cleared"</code>:</mark> When the form filler's name is in aml list</td></tr></tbody></table>
{% endtab %}
{% endtabs %}

### Identity field object

The <mark style="color:purple;">**`Sample`**</mark> and <mark style="color:purple;">**Explanation**</mark> tabs below show a sample object as well as explanations for the attributes in the <mark style="color:orange;">`identity`</mark> field object.

{% tabs %}
{% tab title="Sample" %}

```json
{
 ...
 "field":[
    ...   
     {
      "typeCountryCode": "NG",
      "firstName": "John",
      "lastName": "Doe",
      "dateOfBirth": "2023-01-01T00:00:00.000Z",
      "photo": "https://cdn.youverify.co/1674167402807-VlZyzrQ6CB85EMb01s58Z.jpg",
      "identityCardPhotoFront": "",
      "identityCardPhotoBack": "",
      "livenessCheckSnapshot": null,
      "status": "found",
      "report": {
        "id": "63c9c46fdd95fcd7fc3c7f69",
        "validations": {
          "data": {
            "lastName": {
              "validated": false,
              "value": "Doe"
            },
            "dateOfBirth": {
              "validated": false,
              "value": "2023-01-01"
            },
            "firstName": {
              "validated": false,
              "value": "John"
            }
          },
          "selfie": {
            "selfieVerification": {
              "confidenceLevel": 25,
              "threshold": 80,
              "match": false,
              "image": "https://cdn.youverify.co/1674167402807-VlZyzrQ6CB85EMb01s58Z.jpg"
            }
          },
          "validationMessages": "First name does not match, Last name does not match, Date of birth does not match, Provided image does not match ID image"
        },
        "parentId": null,
        "status": "found",
        "reason": null,
        "dataValidation": true,
        "selfieValidation": true,
        "firstName": "John",
        "middleName": null,
        "lastName": "Doe",
        "expiredDate": "2024-04-25",
        "issuedDate": "2019-04-29",
        "stateOfIssuance": "LAGOS",
        "notifyWhenIdExpire": false,
        "image": "data:image/jpg;base64,/9j/4AAQSkZJRgABAQEBOgE6AAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjI",
        "mobile": null,
        "email": null,
        "dateOfBirth": "1981-04-25",
        "isConsent": true,
        "idNumber": "KJA08031BA51",
        "businessId": "6222fac719fab43e133f0d44",
        "type": "ndl",
        "allValidationPassed": false,
        "gender": "male",
        "requestedAt": "2023-01-19T22:30:08.539Z",
        "requestedById": "6222fac719fab4c11a3f0d40",
        "country": "NG",
        "createdAt": "2023-01-19T22:30:08.552Z",
        "lastModifiedAt": "2023-01-19T22:30:08.552Z",
        "requestedBy": {
          "firstName": "API",
          "lastName": "User",
          "middleName": "",
          "id": "6222fac719fab4c11a3f0d40"
        }
      },
      "validated": false,
      "__type": "identity",
      "_id": "63c9c46b25efdd64831bf829",
      "label": "Identity Field Label",
      "fieldTemplateId": "63c9c1bfeb600fc087807329",
      "type": "drivers-license",
      "value": "Kja08067aa01",
      "id": "63c9c46b25efdd64831bf829"
    },
    ...
    ]
  ...
}
```

{% endtab %}

{% tab title="Explanation" %}

<table><thead><tr><th width="229">Attribute</th><th width="143.66666666666666">Type</th><th>Description</th></tr></thead><tbody><tr><td>__type</td><td>String</td><td>A vform-defined tag for this section of the form.<br>It has a constant value of <mark style="color:orange;"><code>identity</code></mark>.<em>This tag appears</em><br><em>on all sections that accepts <strong>identity information</strong> from the formfiller.</em></td></tr><tr><td>id</td><td>String</td><td>Identity object unique identifier.</td></tr><tr><td>typeCountryCode</td><td>String(countryCode)</td><td>The country code under which the identity card was issued.<br><em>This might also be the province/region code the identity card was issued.</em></td></tr><tr><td>firstName</td><td>String</td><td>This is the first name from the personal information field<br>linked/set to this identity field by the form owner for vform to perform<br>validations against.<br><em>The <mark style="color:orange;"><code>first personal information</code></mark> field is the <mark style="color:orange;"><code>default</code></mark> if none was linked by the form owner</em>.<br><em>The first name is <mark style="color:orange;"><code>null</code></mark> if validations was not to be performed on it.</em></td></tr><tr><td>lastName</td><td>String</td><td>This is the last name from the personal information field<br>linked/set to this identity field by the form owner for vform to perform<br>validations against.<br>The <mark style="color:orange;"><code>first personal information</code></mark> field is the <em><mark style="color:orange;"><code>default</code></mark> if none was linked by the form owner</em>.<br>The last name is <mark style="color:orange;"><code>null</code></mark> if validations was not to be performed on it.</td></tr><tr><td>label</td><td>String</td><td>A short descriptive title for the identity section of the form usually set by the form owner</td></tr><tr><td>dateOfBirth</td><td>String(date)</td><td>This is the date of birth from the personal information field<br>linked/set to this identity field by the form owner for vform to perform<br>validations against.<br>The <mark style="color:orange;"><code>first personal information</code></mark> field is the <em><mark style="color:orange;"><code>default</code></mark> if none was linked by the form owner</em>.<br>The date of birth is <mark style="color:orange;"><code>null</code></mark> if validations was not to be performed on it.</td></tr><tr><td>identityCardPhotoFront</td><td>String(url)</td><td>The captured identity card's front image.<br><em>If the identity number was <strong>manually</strong> entered, this will be an empty string.</em></td></tr><tr><td>identityCardPhotoBack</td><td>String(url)</td><td>The captured identity card's back image.<br><em>If the identity number was <strong>manually</strong> entered, this will be an empty string.</em></td></tr><tr><td>photo</td><td>String(url)</td><td>This is the photo from the personal information field<br>linked/set to this identity field by the form owner for vform to perform<br>validations against.<br>The <mark style="color:orange;"><code>first personal information</code></mark> field is the <em><mark style="color:orange;"><code>default</code></mark> if none was linked by the form owner</em>.<br>The photo is <mark style="color:orange;"><code>null</code></mark> if validations was not to be performed on it.</td></tr><tr><td>value</td><td>String</td><td>The identity number that was entered manually or extracted from the captured identity card.<br><em>This can be optional or required as set set by the form owner.</em></td></tr><tr><td>type</td><td>String</td><td>The identity card type .<br><mark style="color:orange;"><code>Example: Passport</code>, <code>ID Card</code>, <code>Residence Permit</code>, <code>Driving License</code></mark>. e.t.c</td></tr><tr><td>report</td><td>Object</td><td>This contains reports generated by vform when the form owner requests<br>that vform <a href="../know-your-customer-services-kyc">perform verification and validations on the identity number</a>.<br><em>This will be null if no verification is to be conducted or if the verification</em><br><em>is already in progress.</em></td></tr><tr><td>status</td><td>String</td><td>This is the status of the verification and validation conducted on the identity number by vForm.<br>which can be anyone of the following.<br><mark style="color:orange;"><code>"not_applicable"</code>:</mark> When no verification is performed.<br><mark style="color:orange;"><code>"pending"</code>:</mark> When the verification is in process.<br><mark style="color:orange;"><code>"found"</code>:</mark> When the identity number is found in the official database.<br><mark style="color:orange;"><code>"not_found"</code></mark>: When the identity number is not found in the official database.</td></tr></tbody></table>
{% endtab %}
{% endtabs %}

### Business Search field object

The <mark style="color:purple;">**`Sample`**</mark> and <mark style="color:purple;">**Explanation**</mark> tabs below show a sample object as well as explanations for the attributes in the <mark style="color:orange;">`company-search`</mark> field object.

{% tabs %}
{% tab title="Sample" %}

```json
 {
 ...
 "field":[
    ...   
       {
      "companyName": null,
      "registeredName": null,
      "companyAddress": null,
      "supportEmail": null,
      "supportPhoneNumber": null,
      "countryCode": "NG",
      "status": "found",
      "report": {
        "parentId": null,
        "searchBusinessName": null,
        "name": "THINK HAT SERVICES LIMITED",
        "formerName": null,
        "registrationNumber": "RC1733970",
        "registryNumber": "1733970",
        "vatNumber": "23739807-0001",
        "registrationDate": "2020-11-12T00:00:00.000+00:00",
        "registrationSubmissionDate": "2020-11-04T14:57:00.210+00:00",
        "dateDisolved": null,
        "tin": "23739807-0001",
        "jtbTin": null,
        "taxOffice": null,
        "email": "nkiru.emina@thinkhatfirm.com",
        "phone": null,
        "websiteEmail": null,
        "typeOfEntity": "PRIVATE COMPANY LIMITED BY SHARES",
        "activity": "GENERAL CONTRACT AND MERCHANDISE",
        "address": "NO. 220, FREEDOM WAY, LEKKI PHASE 1, ",
        "state": "LAGOS",
        "lga": "Lagos Island",
        "city": "LEKKI",
        "branchAddress": "NO. 220, FREEDOM WAY, LEKKI PHASE 1, , LEKKI, LAGOS STATE ",
        "headOfficeAddress": null,
        "objectives": null,
        "status": "found",
        "companyStatus": "INACTIVE",
        "isConsent": true,
        "lastUpdatedAt": "2022-10-07T14:27:18.767+00:00",
        "shareCapitalInWords": "ONE MILLION NAIRA",
        "paidShareCapital": "1000000",
        "subscribedShareCapital": "1000000",
        "sharesValue": "1 NGN",
        "activityDescription": "GENERAL CONTRACT AND MERCHANDISE",
        "sharesIssued": "1000000",
        "parentCountry": null,
        "companyContactPersons": [
          {
            "contacts": {
              "email": ["sokari.boma@yahoo.com"],
              "phone": ["08030810838"]
            },
            "name": "Sokari Blessing Boma "
          }
        ],
        "country": "Nigeria",
        "countryCode": "NG",
        "keyPersonnel": [
          {
            "name": "Sokari Blessing Boma",
            "designation": "PRESENTER",
            "isCorporate": false,
            "appointedOn": null,
            "resignedOn": null,
            "sharesType": null,
            "sharesValue": null,
            "sharesCount": null,
            "occupation": null,
            "nationality": null,
            "birthYear": null,
            "birthMonth": null,
            "birthDate": null,
            "dateOfBirth": "1990-08-29T23:00:00.000+00:00",
            "gender": "MALE",
            "address": null,
            "countryOfResidence": "NIGERIA",
            "number": null,
            "isForeign": "false",
            "documentType": "National Identification Number",
            "documentIssuedOn": null,
            "documentIssuedBy": null,
            "documentNumber": null,
            "email": "sokari.boma@yahoo.com",
            "phone": "08030810838",
            "status": "ACTIVE",
            "companies": []
          },
        ],
        "activities": [],
        "legalEntityIdentifierRegister": [],
        "centralIndexKeyRegister": [],
        "filings": [],
        "affiliates": [],
        "businessId": "6222fac719fab43e133f0d44",
        "type": "advance_company_check",
        "requestedAt": "2023-01-19T22:30:12.862Z",
        "requestedById": "6222fac719fab4c11a3f0d40",
        "searchTerm": "RC1733970",
        "createdAt": "2023-01-19T22:30:12.978Z",
        "lastModifiedAt": "2023-01-19T22:30:12.978Z",
        "_createdAt": "2023-01-19T22:30:1212+00:00",
        "_lastModifiedAt": "2023-01-19T22:30:1212+00:00",
        "id": "63c9c46f7eb0a0dff6186872",
        "requestedBy": {
          "firstName": "API",
          "lastName": "User",
          "middleName": "",
          "id": "6222fac719fab4c11a3f0d40"
        }
      },
      "validated": true,
      "__type": "company-search",
      "_id": "63c9c46b25efdd34851bf82b",
      "label": "Business Search",
      "fieldTemplateId": "63c9b83feb600f5ea88072ab",
      "type": "registrationNumber",
      "value": "RC1733970",
      "id": "63c9c46b25efdd34851bf82b"
    },
     ...
    ]
  ...
}
    
```

{% endtab %}

{% tab title="Explanation" %}

<table><thead><tr><th width="200.66666666666666">Attribute</th><th width="153">Type</th><th>Description</th></tr></thead><tbody><tr><td>__type</td><td>String</td><td>A vform-defined tag for this section of the form.<br>It has a constant value of <mark style="color:orange;"><code>company-search</code>.</mark><br><em>This tag appears on all sections that accepts</em><br><em><strong>business/company information</strong> from the formfiller.</em></td></tr><tr><td>id</td><td>String</td><td>Business-search's object unique identifier.</td></tr><tr><td>countryCode</td><td>String(countryCode)</td><td>The company country code,<em>which specifies where the</em><br><em>business search is to be performed by vForm.</em></td></tr><tr><td>companyName</td><td>String</td><td>The company's name<br><em>This can be optional or required as set by the form owner.</em></td></tr><tr><td>companyAddress</td><td>String</td><td>The company's address<br><em>This can be optional or required as set by the form owner.</em></td></tr><tr><td>registeredName</td><td>String</td><td>The business's registered name.<br><em>This is required in order to perform a company search with vform.</em></td></tr><tr><td>label</td><td>String</td><td>A short descriptive title for the business search section of the form usually set by the form owner</td></tr><tr><td>supportEmail</td><td>String(email)</td><td>The business support email.<br><em>This can be optional or required as set by the form owner.</em></td></tr><tr><td>supportPhoneNumber</td><td>String(email)</td><td>The business support phone number<br><em>This can be optional or required as set by the form owner.</em></td></tr><tr><td>value</td><td>String</td><td>The company registration number.<br><em>This is required in order to perform a company search with vform.</em></td></tr><tr><td>type</td><td>String</td><td>This is always registrationNumber</td></tr><tr><td>report</td><td>Object</td><td>This contains reports generated by vform when the form owner requests<br>that vform <a href="../know-your-business-services-kyb">perform a business verification on the business registered name</a>.<br><em>This will be null if no business search is to be conducted or if the verification</em><br><em>is already in progress.</em></td></tr><tr><td>status</td><td>String</td><td>This is the status of the business search conducted on the business by vForm.<br>which can be anyone of the following.<br><mark style="color:orange;"><code>"not_applicable"</code>:</mark> When no verification is performed.<br><mark style="color:orange;"><code>"pending"</code>:</mark> When the verification is in process.<br><mark style="color:orange;"><code>"found"</code>:</mark> When the business registration number is found in the official database.<br><mark style="color:orange;"><code>"not_found"</code></mark>: When the  business registration number is not found in the official database.</td></tr></tbody></table>
{% endtab %}
{% endtabs %}

### File Upload field object

The <mark style="color:purple;">**`Sample`**</mark> and <mark style="color:purple;">**Explanation**</mark> tabs below show a sample object as well as explanations for the attributes in the <mark style="color:orange;">`file-upload`</mark> field object.

{% tabs %}
{% tab title="Sample" %}

```json
{
 ...
 "field":[
    ...   
      {
        "name": "1674127188116",
        "size": 7028,
        "status": "completed",
        "validated": true,
        "__type": "file-upload",
        "_id": "63c9c46b25efdd8ca01bf82d",
        "label": "File Upload Field Label",
        "fieldTemplateId": "63c9bb3aeb600f3a9b8072d4",
        "url": "https://cdn.youverify.co/1674167402808-PgGVBkErMmR9ihSmIFTcR.jpg",
        "fileType": "jpg",
        "id": "63c9c46b25efdd8ca01bf82d"
      },
       ...
    ]
  ...
}  
```

{% endtab %}

{% tab title="Explanation" %}

<table><thead><tr><th width="134">Attribute</th><th width="109.66666666666666">Type</th><th>Description</th></tr></thead><tbody><tr><td>__type</td><td>String</td><td>A vform-defined tag for this section of the form.<br>It has a constant value of <mark style="color:orange;"><code>file-upload</code></mark>.<em>This tag</em><br><em>appears on all sections that accepts <strong>file uploads</strong></em><br><em>from the formfiller.</em></td></tr><tr><td>id</td><td>Strnig</td><td>File upload's object unique identifier.</td></tr><tr><td>name</td><td>String</td><td>Uploaded file name</td></tr><tr><td>size</td><td>Integer</td><td>Uploaded file size</td></tr><tr><td>label</td><td>String</td><td>A short descriptive title for the file upload section<br>of the form usually set by the form owner</td></tr><tr><td>fileType</td><td>String</td><td>Uploaded file type. This can be one of the following<br><mark style="color:orange;"><code>png, jpg, jpeg, pdf, ppt, pptx, doc, docx, xls, xlsx</code></mark></td></tr><tr><td>url</td><td>String(url)</td><td>Uploaded file url</td></tr><tr><td>status</td><td>String</td><td>This shows the status of the file upload. which is always <mark style="color:orange;"><code>"completed"</code></mark></td></tr></tbody></table>
{% endtab %}
{% endtabs %}

### Supplementary field object

The <mark style="color:purple;">**`Sample`**</mark> and <mark style="color:purple;">**Explanation**</mark> tabs below show a sample object as well as explanations for the attributes in the <mark style="color:orange;">`supplementary-field`</mark> field object.

{% tabs %}
{% tab title="Sample" %}

```json
 {
 ...
 "field":[
    ...
    {
      "value": ["Omah Lay"],
      "options": [],
      "status": "completed",
      "validated": true,
      "__type": "supplementary-field",
      "_id": "63c9c46b25efdd41b21bf82e",
      "label": "What's your name",
      "fieldTemplateId": "63c9bcb1e05ace51e6f8cbba",
      "type": "text",
      "format": "short",
      "id": "63c9c46b25efdd41b21bf82e"
    }, 
    {
      "value": ["Option 2"],
      "options": ["Option 1", "Option 2", "Option 3"],
      "status": "completed",
      "validated": true,
      "__type": "supplementary-field",
      "_id": "63c9c46b25efdd92a91bf82f",
      "label": "pick one",
      "fieldTemplateId": "63c9bd3ce05ace819ff8cbd0",
      "type": "radio",
      "format": "short",
      "id": "63c9c46b25efdd92a91bf82f"
    },
    {
      "value": ["Option 1"],
      "options": ["Option 1", "Option 2", "Option 3"],
      "status": "completed",
      "validated": true,
      "__type": "supplementary-field",
      "_id": "63c9c46b25efdde77c1bf830",
      "label": "pick one",
      "fieldTemplateId": "63c9bd460b8e960d56652d85",
      "type": "dropdown",
      "format": "short",
      "id": "63c9c46b25efdde77c1bf830"
    },
    {
      "value": ["Option 3"],
      "options": ["Option 1", "Option 2", "Option 3"],
      "status": "completed",
      "validated": true,
      "__type": "supplementary-field",
      "_id": "63c9c46b25efdd67821bf831",
      "label": "pick one or more",
      "fieldTemplateId": "63c9bd4f25efdd5ce11bf7ca",
      "type": "dropdown",
      "format": "short",
      "id": "63c9c46b25efdd67821bf831"
    },
    {
      "value": ["2023-01-23"],
      "options": ["Option 1", "Option 2", "Option 3"],
      "status": "completed",
      "validated": true,
      "__type": "supplementary-field",
      "_id": "63c9c46b25efdd1f261bf832",
      "label": "Date of Birth",
      "fieldTemplateId": "63c9bd59e05ace78fdf8cbd7",
      "type": "date",
      "format": "short",
      "id": "63c9c46b25efdd1f261bf832"
    },
    {
      "value": [
        "It’s difficult to say without more information about what the code is supposed to do and what’s happening when it’s executed. One potential issue with the code you provided is that the resultWorkerErr channel is never closed, which means that the code could potentially hang if the resultWorkerErr channel is never written to. This could happen if b.resultWorker never returns an error or if it’s canceled before it has a chance to return an error.\n\nTo fix this issue, you could close the resultWorkerErr channel after writing to it. For example, you could add the following line of code after the line that sends the error on the channel:"
      ],
      "options": ["Option 1", "Option 2", "Option 3"],
      "status": "completed",
      "validated": true,
      "__type": "supplementary-field",
      "_id": "63c9c46b25efdd82021bf833",
      "label": "Explain yourself",
      "fieldTemplateId": "63c9bd650b8e9643b2652d8c",
      "type": "text",
      "format": "long",
      "id": "63c9c46b25efdd82021bf833"
    },
    ...
    ]
  ...
}  
```

{% endtab %}

{% tab title="Explanation" %}

<table><thead><tr><th width="165.66666666666666">Attribute</th><th width="135">Type</th><th>Description</th></tr></thead><tbody><tr><td>__type</td><td>String</td><td>A vform-defined tag for this section of the form.<br>It has a constant value of <mark style="color:orange;"><code>supplementary-field</code>.</mark><br><em>This tag appears on all sections that accepts</em><br><em><strong>other neccessary information</strong> from the formfiller.</em></td></tr><tr><td>id</td><td>String</td><td>Supplement field's object unique identifier.</td></tr><tr><td>options</td><td>Arrays</td><td>This contains the available options if the question needs the formfiller to select one.</td></tr><tr><td>label</td><td>String</td><td>A question that the form owner wants the formfiller to respond to</td></tr><tr><td>value</td><td>Array</td><td>The formfiller's response(s) to the form owner's question.</td></tr><tr><td>type</td><td>String</td><td>The expected type of the supplied response(s).<br>which can be anyone of the following .<br><mark style="color:orange;"><code>"text", "date", "checkbox", "dropdown","radio"</code></mark></td></tr><tr><td>format</td><td>String</td><td>The format of the supplied response.<br>This can be <mark style="color:orange;"><code>"long" or "short"</code></mark> for <mark style="color:orange;"><code>text</code></mark> response , <mark style="color:orange;"><code>"daymonth" or "monthday</code></mark><code>"</code><br>for <mark style="color:orange;"><code>date</code></mark> response and <mark style="color:orange;"><code>null for other response</code></mark></td></tr><tr><td>status</td><td>String</td><td>This shows the status of the supplementary field which is always <mark style="color:orange;"><code>"completed"</code></mark></td></tr></tbody></table>
{% endtab %}
{% endtabs %}

### Reference field object

The <mark style="color:purple;">**`Sample`**</mark> and <mark style="color:purple;">**Explanation**</mark> tabs below show a sample object as well as explanations for the attributes in the <mark style="color:orange;">`reference`</mark> field object.

{% tabs %}
{% tab title="Sample" %}

```json
{
 ...
 "field":[
    ...    
    {
      "firstName": "John",
      "lastName": "Doe",
      "status": "cleared",
      "fields": [{...},{...},...],
      "validated": true,
      "__type": "reference",
      "_id": "63c9c46b25efdd1b621bf835",
      "label": "Reference Field Label",
      "fieldTemplateId": "63c9c2d30b8e962a52652de1",
      "referenceTemplateId": "63c9bfdb0b8e96183b652da5",
      "email": "john@youverify.co",
      "id": "63c9c46b25efdd1b621bf835"
    }
    ...
    ]
  ...
}  
```

{% endtab %}

{% tab title="Explanation" %}

<table><thead><tr><th width="206.66666666666666">Attribute</th><th width="130">Type</th><th>Description</th></tr></thead><tbody><tr><td>__type</td><td>String</td><td>A vform-defined tag for this section of the form.<br>It has a constant value of <mark style="color:orange;"><code>reference</code></mark>.<br><em>This tag appears on all sections that accept and contains</em><br><em><strong>responses from a referenced form</strong> .</em></td></tr><tr><td>id</td><td>String</td><td>Reference field's  object unique identifier.</td></tr><tr><td>firstName</td><td>String</td><td>Referenced form filler's firstname</td></tr><tr><td>lastName</td><td>String</td><td>Referenced form filler's lastname</td></tr><tr><td>label</td><td>String</td><td>A short descriptive title for the reference section<br>of the form usually set by the form owner</td></tr><tr><td>fields</td><td>Array of Objects</td><td>List of objects for each section of the form that contains responses<br>from the <mark style="color:orange;"><code>person filling out the referenced</code></mark><code> form</code> and can contain a report on the responses<br>after vform performs verifications and validations on them as specified<br>by the form owner.<br>Each section can be one of the following specified by __type in each objects.<br><a href="broken-reference">personal-information</a>, <a href="broken-reference">identity</a>, <a href="broken-reference">company-search</a>, <a href="broken-reference">address</a>, <a href="broken-reference">file-upload </a>,<a href="broken-reference">supplementary-field</a>,<br><a href="broken-reference">consent-verification</a> .</td></tr><tr><td>email</td><td>String(email)</td><td>Referenced form filler's email</td></tr><tr><td>status</td><td>String</td><td>This is the overall status of this <mark style="color:orange;"><code>referenced form response</code></mark><br>which can be anyone of the following.<br><mark style="color:orange;"><code>"pending"</code></mark>: This is the overall status of a response when there is/are <br>still a/some verification(s) to be done on the response.<br><mark style="color:orange;"><code>"cleared"</code></mark>: This is the overall status of the response when a form with no<br>verification has been submitted or when all the verifications and validations<br>have been performed by vform on a response and are all passed.<br><mark style="color:orange;"><code>"not_cleared"</code></mark>: This is the overall status of the response when one or<br>more of the verifications and validations performed by vform on a response failed.<br><mark style="color:orange;"><code>"pending_payment"</code></mark>:</td></tr></tbody></table>
{% endtab %}
{% endtabs %}

### Address field object

The <mark style="color:purple;">**`Sample`**</mark> and <mark style="color:purple;">**Explanation**</mark> tabs below show a sample object as well as explanations for the attributes in the <mark style="color:orange;">`address`</mark> field object.

{% tabs %}
{% tab title="Sample" %}

```json
{
 ...
 "field":[
    ... 
     {
        "candidate": {
          "middleName": null,
          "dateOfBirth": null,
          "email": null,
          "firstName": "John",
          "lastName": "Doe",
          "mobile": "34556666654",
          "image": "https://cdn.youverify.co/1659017656259-I87Q6mTD0qJ1pTJyCoz5j.png"
        },
        "guarantor": {
          "firstName": null,
          "lastName": null,
          "email": null,
          "mobile": null,
          "image": null
        },
        "business": {
          "name": null,
          "registrationNumber": null,
          "email": null,
          "mobile": null
        },
        "address": {
          "flatNumber": "",
          "buildingName": "Sum House",
          "subStreet": "",
          "lga": "Yaba-Alagomeji",
          "country": "NG",
          "buildingNumber": "350",
          "landmark": "  Bukka House",
          "street": "Bornu Way",
          "city": "Lagos-Mainland",
          "state": "Lagos"
        },
        "status": "not_applicable",
        "taskStatus": "NOT_APPLICABLE",
        "description": "To enter the estate, a security pin is required.",
        "report": null,
        "validated": true,
        "__type": "address",
        "_id": "62e299b98fbe590c099b43c2",
        "label": "Address",
        "fieldTemplateId": "62e282388fbe5975b39b423a",
        "type": "individual",
        "id": "62e299b98fbe590c099b43c2"
      }
      ...
    ]
  ...
}  
```

{% endtab %}

{% tab title="Explanation" %}

<table><thead><tr><th width="195">Attribute</th><th width="149.66666666666666">Type</th><th>Description</th></tr></thead><tbody><tr><td>__type</td><td>String</td><td>A vform-defined tag for this section of the form.<br>It has a constant value of <mark style="color:orange;"><code>address</code></mark>.<em>This tag appears</em><br> <em>on all sections that accept  <strong>address information</strong> from the formfiller.</em></td></tr><tr><td>id</td><td>String</td><td>Address field's object unique identifier.</td></tr><tr><td>label</td><td>String</td><td>A short descriptive title for the address section<br>of the form usually set by the form owner</td></tr><tr><td>candidate</td><td>Object</td><td>This object contains personal information about the person who resides/works<br>at the house/business address.</td></tr><tr><td>-- middleName</td><td>String</td><td>This is the middle name from the personal information field<br>linked/set to this address field by the form owner to serve as the address subject.<br><em>The <mark style="color:orange;"><code>first personal information</code></mark> field is the <code>default</code> if none was linked by the form owner .</em></td></tr><tr><td>-- dateOfBirth</td><td>String</td><td>This is the date of the birth from the personal information field<br>linked/set to this address field by the form owner to serve as the address subject.<br><em>The <mark style="color:orange;"><code>first personal information</code></mark> field is the <mark style="color:orange;"><code>default</code></mark> if none was linked by the form owner .</em></td></tr><tr><td>-- email</td><td>String(email)</td><td>This is the email address from the personal information field<br>linked/set to this address field by the form owner to serve as the address subject.<br><em>The <mark style="color:orange;"><code>first personal information</code></mark> field is the <mark style="color:orange;"><code>default</code></mark> if none was linked by the form owner .</em></td></tr><tr><td>-- firstName</td><td>String</td><td>This is the first name from the personal information field<br>linked/set to this address field by the form owner to serve as the address subject.<br><em>The <mark style="color:orange;"><code>first personal information</code></mark> field is the <mark style="color:orange;"><code>default</code></mark> if none was linked by the form owner .</em></td></tr><tr><td>-- lastName</td><td>String</td><td>This is the last name from the personal information field<br>linked/set to this address field by the form owner to serve as the address subject.<br><em>The <mark style="color:orange;"><code>first personal information</code></mark></em> <em>field is the <mark style="color:orange;"><code>default</code></mark> if none was linked by the form owner .</em></td></tr><tr><td>-- mobile</td><td>String(phone)</td><td>This is the phone number from the personal information field<br>linked/set to this address field by the form owner to serve as the address subject.<br><em>The <mark style="color:orange;"><code>first personal information</code></mark></em> <em>field is the <mark style="color:orange;"><code>default</code></mark> if none was linked by the form owner .</em></td></tr><tr><td>-- image</td><td>String(url)</td><td>This is the  name from the personal information field<br>linked/set to this address field by the form owner to serve as the address subject.<br><em>The <mark style="color:orange;"><code>first personal information</code></mark> field is the <mark style="color:orange;"><code>default</code></mark> if none was linked by the form owner .</em></td></tr><tr><td>guarantor</td><td>Object</td><td>This object contains information about the guarantor.<br><em>If the address type is not <mark style="color:orange;"><code>"guarantor"</code></mark> the attributes will be null.</em></td></tr><tr><td>-- firstName</td><td>String</td><td>Guarantor's first name</td></tr><tr><td>-- lastName</td><td>String</td><td>Guarantors last name</td></tr><tr><td>-- email</td><td>String(email)</td><td>Guarantor's email</td></tr><tr><td>-- mobile</td><td>String(phone)</td><td>Guarantor's phone number</td></tr><tr><td>-- image</td><td>String(url)</td><td>Guarantor's image</td></tr><tr><td>business</td><td>Object</td><td>This object contains the information about the business<br><em>If the address type is not <mark style="color:orange;"><code>"business"</code></mark> the attributes will be null.</em></td></tr><tr><td>-- name</td><td>String</td><td>Business name</td></tr><tr><td>-- registrationNumber</td><td>String</td><td>Business registration number</td></tr><tr><td>-- email</td><td>String(email)</td><td>Business email address</td></tr><tr><td>-- mobile</td><td>String(phone)</td><td>Business phone number</td></tr><tr><td>address</td><td>Object</td><td>This object contains the address details</td></tr><tr><td>-- flatNumber</td><td>String</td><td>Flat number</td></tr><tr><td>-- buildingName</td><td>String</td><td>Building name</td></tr><tr><td>-- subStreet</td><td>String</td><td>Address sub street</td></tr><tr><td>-- lga</td><td>String</td><td>Address local government area</td></tr><tr><td>-- country</td><td>String(countryCode)</td><td>Address country</td></tr><tr><td>-- buildingNumber</td><td>String</td><td>Building number</td></tr><tr><td>-- landmark</td><td>String</td><td>Address closest landmark</td></tr><tr><td>-- street</td><td>String</td><td>Address street</td></tr><tr><td>-- city</td><td>String</td><td>Address city</td></tr><tr><td>-- state</td><td>String</td><td>Address state</td></tr><tr><td>type</td><td>String</td><td>The type of address set by the form owner<br>which can be one of the following : <mark style="color:orange;"><code>"individual","business","guarantor"</code></mark></td></tr><tr><td>description</td><td>String</td><td>Any other information about the address the formfiller wants vForm to know</td></tr><tr><td>taskStatus</td><td>String</td><td></td></tr><tr><td>status</td><td>String</td><td>This is the status of the address verification conducted on the address details  by vForm<br>which can be anyone of the following.<br><mark style="color:orange;"><code>"not_applicable"</code>:</mark> when no verification is performed.<br><mark style="color:orange;"><code>"pending"</code>:</mark> When the verification is in process.<br><mark style="color:orange;"><code>"completed"</code>:</mark> When the verification is completed.<br><mark style="color:orange;"><code>"payment_pending"</code>:</mark> When address verification payment is still pending, no verification will be done .<br><mark style="color:orange;"><code>"awaiting_reschedule"</code>:</mark> When the address verification process has been reschedule.<br><mark style="color:orange;"><code>"canceled"</code>:</mark> When the address verifcation process has been canceled.</td></tr><tr><td>report</td><td>Object</td><td>This contains reports from vform when the form owner requests<br>that vform <a href="../our-legacy-api-and-sdk/address-verification">perform an address verification on the addres</a><br>This will be null if no address verification is to be conducted or if the verification<br>is already in progress.</td></tr></tbody></table>
{% endtab %}
{% endtabs %}
