updateApplicant

This query update information about the KYC details of applicant

Sample Query

mutation updateApplicantKyc($applicantID: String!, $input: ApplicantRequest!) {
  updateApplicant(applicantID: $applicantID, input: $input) {
    id
    __typename
  }
}

Sample Variable

{
  "applicantID": "fa419299-d3b3-42ac-9323-c18a9f1f9e48",
  "input": {
    "firstName": "Hariharan",
    "lastName": "P",
    "dob": "1989-11-05",
    "address": {
      "buildingNumber": "A",
      "street": "16 , saravana flats, ganapathy nagar",
      "town": "Chennai",
      "postcode": "600122",
      "country": "IND",
      "state": "Tamilnadu"
    }
  }
}

Sample Response

{
  "data": {
    "updateApplicant": {
      "id": "fa419299-d3b3-42ac-9323-c18a9f1f9e48",
    }
  }
}

Authorization Required

NameTypeDescriptionRequired
applicantIDUUID1The unique applciant idYes

Fields

NameTypeDescription
ApplicantResponseObjectAn object that contains the ApplicantResponse object information, such as id, first name, last name, address, etc.