This release includes a risk field in the Client model, which is accepted from the Create Client and Update Client API's and exposed from all Client APIs and Client webhooks. The risk is an optional field that can be one of the following values: low, medium, high, or severe. It indicates the client's risk level.
Here are the client risk details Client API's
POST /clients
{
"workflow": {
"code": "direct"
},
"data": {
"client": {
"identity": {
"type": "individual",
"givenName": "Canay",
"familyName": "Özel",
"birthDate": "1987-01-01",
"country": "TR",
"identifications": [
{
"type": "identity-card",
"identificationNumber": "12345678",
"issuingCountry": "TR",
"issueDate": "2022-01-01",
"expirationDate": "2023-01-01"
}
]
},
"risk": "low",
"profile": {
"identityType": "individual",
"residentialAddress": {
"country": "GB",
"region": "England",
"city": "London",
"street": "Baker Street",
"houseNumber": "221B",
"postalCode": "XYZ ABC",
"refinement": ""
},
"phone": "+441234567890",
"email": "[email protected]"
}
}
},
"connect": {},
"metadata": {}
PATCH /clients/<client-id>
{
"workflow": {
"code": "direct"
},
"data": {
"client": {
"identity": {
"type": "individual",
"givenName": "Michael",
"familyName": "Johnson",
"birthDate": "1953-01-06",
"country": "GB",
},
"risk": "severe",
"profile": {
"identityType": "individual",
"phone": "+4412345678",
"email": "[email protected]",
"residentialAddress": {
"country": "GB",
"region": "England",
"city": "London",
"street": "Baker Street",
"houseNumber": "221B",
"postalCode": "EC1Y 1AA"
}
}
}
},
"connect": {},
"metadata": {}
}
GET /clients/<client-id>
"workflow": {},
"data": {
"client": {
"identity": {
"type": "corporate",
"legalName": "I.F Technology Ltd",
"incorporationDate": "1987-01-01",
"country": "GB"
},
"risk": "low",
"profile": {
"identityType": "corporate",
"registrationAddress": {
"country": "GB",
"region": "England",
"city": "London",
"street": "Baker Street",
"houseNumber": "221B",
"postalCode": "XYZ ABC",
"refinement": ""
},
"phone": "+441234567890",
"email": "[email protected]"
}
}
},
"connect": {},
"metadata": {
"includeProfile": true,
"includePrimaryAddress": true
}
}
{
"workflow": {},
"data": {
"clients": [
{
"id": "00000000-0000-0000-0000-000000000000",
"clientNumber": "20663251",
"status": "active",
"identity": {
"type": "corporate",
"legalName": "I.F Technology Ltd",
"incorporationDate": "2020-01-01",
"country": "GB"
},
"risk": "severe",
"profile": {
"identityType": "corporate",
"phone": "+441234567890",
"email": "[email protected]"
},
"fullName": "I.F Technology Ltd"
},
{
"id": "00000000-0000-0000-0000-000000000001",
"clientNumber": "20663241",
"status": "active",
"identity": {
"type": "individual",
"givenName": "Canay",
"familyName": "Özel",
"birthDate": "1987-01-01",
"country": "TR"
},
"profile": {
"identityType": "individual",
"phone": "+441234567890",
"email": "[email protected]"
},
"fullName": "Canay Özel"
}
]
},
"connect": {},
"metadata": {
"page": {
"size": 20,
"totalElements": 2,
"totalPages": 1,
"number": 0
}
}
}