by Unico Client Api (1.6.0)
Download OpenAPI specification:Download
by Unico Api used by clients to manage processes.
listProcesses
List Orca Processes
query Parameters
processId | string Specify a process ID to fetch a single process. Optional. |
createdAtStartDate | string <date-time> Start date for the process query range, required in "YYYY-MM-DDThh:mm:ss.SSS" format. |
createdAtEndDate | string <date-time> End date for the process query range, required in "YYYY-MM-DDThh:mm:ss.SSS" format. |
maxNumberProcesses | integer <int32> Maximum number of process records to return, required to control fetch size. |
duiValue | string Specify a CPF number to filter processes by the taxpayer's CPF. Optional. |
processStates | Array of strings Items Enum: "PROCESS_STATE_UNSPECIFIED" "PROCESS_STATE_CREATED" "PROCESS_STATE_FINISHED" "PROCESS_STATE_FAILED" "PROCESS_STATE_CANCELED" Specify one or more statuses to filter the processes. Optional.
|
processCapacities | Array of strings Items Enum: "PROCESS_CAPACITY_UNSPECIFIED" "PROCESS_CAPACITY_IDLIVE" "PROCESS_CAPACITY_IDUNICO" "PROCESS_CAPACITY_IDCHECK" "PROCESS_CAPACITY_IDDOCS" "PROCESS_CAPACITY_IDSIGN" "PROCESS_CAPACITY_IDTOKEN" "PROCESS_CAPACITY_IDTRUST" "PROCESS_CAPACITY_IDSERPRO" Specify the capacity of the process. Optional. |
processResults | Array of strings Items Enum: "PROCESS_RESULT_UNSPECIFIED" "PROCESS_RESULT_OK" "PROCESS_RESULT_WARNING" "PROCESS_RESULT_ERROR" "PROCESS_RESULT_INVALID_IDENTITY" "PROCESS_RESULT_EXPIRED" "PROCESS_RESULT_REFUSED" Specify one or more results to filter processes. Optional.
|
Responses
Response samples
- 200
- 403
- 404
- 500
- default
{- "processes": [
- {
- "id": "3116552c-cde0-4769-838a-1b6a5280c286",
- "flow": "string",
- "company": {
- "code": "string",
- "friendlyName": "string",
- "logoUrl": "string"
}, - "callbackUri": "string",
- "userRedirectUrl": "string",
- "state": "PROCESS_STATE_UNSPECIFIED",
- "result": "PROCESS_RESULT_UNSPECIFIED",
- "createdAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "person": {
- "duiType": "DUI_TYPE_BR_CPF",
- "duiValue": "12345678901",
- "friendlyName": "José"
}, - "purpose": "string",
- "services": [
- { }
], - "authenticationInfo": {
- "authenticationResult": "AUTHENTICATION_RESULT_UNSPECIFIED",
- "scoreEngineResult": {
- "scoreEnabled": "SCORE_ENABLED_UNSPECIFIED",
- "score": 0
}, - "authenticationId": "string",
- "livenessResult": "LIVENESS_RESULT_UNSPECIFIED",
- "bioTokenEngineResult": "BIO_TOKEN_ENGINE_RESULT_UNSPECIFIED",
- "trustResult": "TRUST_RESULT_UNSPECIFIED",
- "serproResult": {
- "score": 0
}, - "identityFraudstersResult": "TRUST_RESULT_UNSPECIFIED",
- "faceWithOtherIdResult": "TRUST_RESULT_UNSPECIFIED"
}, - "capacities": [
- "PROCESS_CAPACITY_UNSPECIFIED"
], - "expiresAt": "2019-08-24T14:15:22Z",
- "token": "string"
}
]
}
createProcess
Create Orca Process
query Parameters
flow | string Process Flow code. Ex: idcheck, iddocs |
callbackUri | string Callback Uri for event trigger |
person.duiType | string Default: "DUI_TYPE_UNSPECIFIED" Enum: "DUI_TYPE_UNSPECIFIED" "DUI_TYPE_BR_CPF" "DUI_TYPE_MX_CURP" Unique Identifier type |
person.duiValue | string Unique Identifier value |
person.friendlyName | string Optional friendly name |
person.email | string |
person.phone | string |
purpose | string Purpose code for proper GDPR treatment |
bioTokenId | string ProcessId (uuid) to be used in the process creation. Required for idtoken flow. |
expiresIn | string Time in minutes for the process to expire |
companyBranchId | string Branch id of the company |
contextualization.locale.ptBr.reason | string |
contextualization.locale.enUs.reason | string |
contextualization.locale.esMx.reason | string |
contextualization.currency | string |
contextualization.price | number <float> |
Responses
Response samples
- 200
- 403
- 404
- 500
- default
{- "process": {
- "id": "3116552c-cde0-4769-838a-1b6a5280c286",
- "flow": "string",
- "company": {
- "code": "string",
- "friendlyName": "string",
- "logoUrl": "string"
}, - "callbackUri": "string",
- "userRedirectUrl": "string",
- "state": "PROCESS_STATE_UNSPECIFIED",
- "result": "PROCESS_RESULT_UNSPECIFIED",
- "createdAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "person": {
- "duiType": "DUI_TYPE_BR_CPF",
- "duiValue": "12345678901",
- "friendlyName": "José"
}, - "purpose": "string",
- "services": [
- { }
], - "authenticationInfo": {
- "authenticationResult": "AUTHENTICATION_RESULT_UNSPECIFIED",
- "scoreEngineResult": {
- "scoreEnabled": "SCORE_ENABLED_UNSPECIFIED",
- "score": 0
}, - "authenticationId": "string",
- "livenessResult": "LIVENESS_RESULT_UNSPECIFIED",
- "bioTokenEngineResult": "BIO_TOKEN_ENGINE_RESULT_UNSPECIFIED",
- "trustResult": "TRUST_RESULT_UNSPECIFIED",
- "serproResult": {
- "score": 0
}, - "identityFraudstersResult": "TRUST_RESULT_UNSPECIFIED",
- "faceWithOtherIdResult": "TRUST_RESULT_UNSPECIFIED"
}, - "capacities": [
- "PROCESS_CAPACITY_UNSPECIFIED"
], - "expiresAt": "2019-08-24T14:15:22Z",
- "token": "string"
}
}
getProcess
Retrieve Orca Process
path Parameters
processId required | string ProcessId (uuid) returned by a previous 'Create Process' request |
Responses
Response samples
- 200
- 403
- 404
- 500
- default
{- "process": {
- "id": "3116552c-cde0-4769-838a-1b6a5280c286",
- "flow": "string",
- "company": {
- "code": "string",
- "friendlyName": "string",
- "logoUrl": "string"
}, - "callbackUri": "string",
- "userRedirectUrl": "string",
- "state": "PROCESS_STATE_UNSPECIFIED",
- "result": "PROCESS_RESULT_UNSPECIFIED",
- "createdAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "person": {
- "duiType": "DUI_TYPE_BR_CPF",
- "duiValue": "12345678901",
- "friendlyName": "José"
}, - "purpose": "string",
- "services": [
- { }
], - "authenticationInfo": {
- "authenticationResult": "AUTHENTICATION_RESULT_UNSPECIFIED",
- "scoreEngineResult": {
- "scoreEnabled": "SCORE_ENABLED_UNSPECIFIED",
- "score": 0
}, - "authenticationId": "string",
- "livenessResult": "LIVENESS_RESULT_UNSPECIFIED",
- "bioTokenEngineResult": "BIO_TOKEN_ENGINE_RESULT_UNSPECIFIED",
- "trustResult": "TRUST_RESULT_UNSPECIFIED",
- "serproResult": {
- "score": 0
}, - "identityFraudstersResult": "TRUST_RESULT_UNSPECIFIED",
- "faceWithOtherIdResult": "TRUST_RESULT_UNSPECIFIED"
}, - "capacities": [
- "PROCESS_CAPACITY_UNSPECIFIED"
], - "expiresAt": "2019-08-24T14:15:22Z",
- "token": "string"
}
}
getProcessAuthenticationSelfie
Retrieve process authentication selfie.
path Parameters
processId required | string ProcessId (uuid) |
query Parameters
raw | boolean if image is raw or watermarked (default) |
Responses
Response samples
- 200
- 403
- 404
- 500
- default
{- "fileContents": "string",
- "contentType": "string"
}