Get last customer kyb session.
GET/company/:id/last-kyb-session
Get last customer kyb session.
Request
Path Parameters
id uuidrequired
Responses
- 200
- default
Successful response
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD3
- MOD4
- MOD5
- MOD6
- MOD7
- Array [
- ]
id uuidrequired
customerId uuidrequired
address object nullable
anyOf
string
string
string
string
string
string
cmsProjectId stringrequired
result stringnullable
Possible values: [Passed
, ToBeManuallyChecked
, Rejected
, Retry
]
reviewAnswer stringnullable
Possible values: [GREEN
, RED
, YELLOW
]
reviewRejectType stringnullable
Possible values: [FINAL
, RETRY
]
sandboxMode booleannullable
status stringnullable
Possible values: [NotStarted
, Started
, Closed
]
ip stringnullable
sandboxSimulated booleannullable
beneficiaries object[]nullable
name stringrequired
customerId uuidrequired
applicantId stringrequired
externalUserId stringrequired
levelName stringrequired
calculatedResult stringnullable
Possible values: [Passed
, ToBeManuallyChecked
, Rejected
, Retry
]
reviewAnswer stringnullable
Possible values: [GREEN
, RED
, YELLOW
]
reviewRejectType stringnullable
Possible values: [FINAL
, RETRY
]
type stringnullable
Possible values: [ubo
, shareholder
, representative
]
workflowId uuidnullablerequired
createdAt date-timerequired
updatedAt date-timerequired
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"customerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"address": "string",
"cmsProjectId": "string",
"result": "Passed",
"reviewAnswer": "GREEN",
"reviewRejectType": "FINAL",
"sandboxMode": true,
"status": "NotStarted",
"ip": "string",
"sandboxSimulated": true,
"beneficiaries": [
{
"name": "string",
"customerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"applicantId": "string",
"externalUserId": "string",
"levelName": "string",
"calculatedResult": "Passed",
"reviewAnswer": "GREEN",
"reviewRejectType": "FINAL",
"type": "ubo"
}
],
"workflowId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z"
}
Error response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
message stringrequired
code stringrequired
issues object[]
message stringrequired
{
"message": "string",
"code": "string",
"issues": [
{
"message": "string"
}
]
}
Loading...