This query loads information about the KYC details of applicant
Sample Query
mutation createApplicantKyc($orgID: UUID1!, $input: ApplicantRequest!) {
createApplicant(orgID: $orgID, input: $input) {
id
firstName
lastName
dob
__typename
}
}
Sample Variable 1
{
"orgID": "d086ea16-d40d-454c-84a4-64b5e940670a",
"input": {
"firstName": "Hariharan",
"lastName": "P",
"dob": "1989-11-05",
"email": "[email protected]",
"address": {
"buildingNumber": "A",
"street": "16 , saravana flats, ganapathy nagar",
"town": "Chennai",
"postcode": "600122",
"country": "IND",
"state": "Tamilnadu"
}
}
}
Sample Variable 2
{
"orgID": "77843c1f-231a-4452-b041-5b6389fd014f",
"input": {
"firstName":"Satoru",
"lastName":"Gojo",
"email":"[email protected]",
"dob":"December 7 1989",
"address":{
"flatNumber":"089",
"buildingName":"Shibuya",
"buildingNumber":"031",
"street":"MemoryLane",
"subStreet":"Lane",
"town":"Tokyo",
"postcode":"100 0000",
"country":"JPN",
"line1":"Shibuya Building Flat nr 089",
"line2":"Memory Lane Street 31",
"line3":"Tokyo, JPN",
"state":"Tokyo"
}
}
}
Sample Response
{
"data": {
"createApplicant": {
"id": "cb2ba8a4-c34c-4df3-a5c6-7b3325d1a8d3",
"firstName": "Hariharan",
"lastName": "P",
"dob": "1989-11-05"
}
}
}
Authorization Required
Name | Type | Description | Required |
---|---|---|---|
orgId | UUID1 | The Organization Id. | Yes |
Fields
Name | Type | Description |
---|---|---|
[ApplicantResponse] | Object | An Applicant Response |