Request examples - CreateProcess
This article exemplifies the possible request scenarios for the CreateProcess method.
- ID
- IDCheck
- IDDocs
- ID + Sign
- IDDocs + Sign
For a journey with identity validation only.
{
//URL redirect.
"callbackUri": "/path/to/url",
//Type of journey.
"flow": "id",
//User data.
"person": {
//Type of identifier used, DUI_TYPE_BR_CPF for CPF in Brazil.
"duiType": "DUI_TYPE_BR_CPF",
//Value of the identifier.
"duiValue": "73689290074"
},
// Use case where you are applying the Unico solution.
"purpose": "biometryonboarding"
}
For a journey with identity validation and Check score in case of ID inconclusive.
{
//URL redirection.
"callbackUri": "/path/to/url",
//Type of journey.
"flow": "idcheck",
//User data.
"person": {
//Type of identifier used, DUI_TYPE_BR_CPF for CPF in Brazil.
"duiType": "DUI_TYPE_BR_CPF",
//Value of the identifier.
"duiValue": "73689290074"
},
// Use case where you are applying the Unico solution.
"purpose": "biometryonboarding"
}
For a journey with identity validation, score of the Check in case of inconclusive ID and capture/reuse of identification document (ID/CNH).
{
//URL for redirection.
"callbackUri": "/path/to/url",
//Type of journey.
"flow": "iddocs",
/User data.
"person": {
//Type of identifier used, DUI_TYPE_BR_CPF for CPF in Brazil.
"duitype": "DUI_TYPE_BR_CPF",
//Value of the identifier.
"duiValue": "73689290074"
},
// Use case where you are applying the Unico solution.
"purpose": "creditprocess"
}
For a journey with identity validation, score of Check in case of inconclusive ID and electronic signature.
{
//URL redirection.
"callbackUri": "/path/to/url",
//Type of journey.
"flow": "idsign",
//user data.
"person": {
//Type of identifier used, DUI_TYPE_BR_CPF for CPF in Brazil.
"duiType": "DUI_TYPE_BR_CPF",
//Value of the identifier.
"duiValue": "73689290074"
},
// Use case where you are applying the Unico solution.
"purpose": "biometryonboarding",
//Complete journey data.
"payload": [
{
//Data from the envelope to be signed.
"envelopePayload": {
//List of documents in your envelope.
"documents": [
{
//Name of your PDF file.
"documentName": "test",
//Base 64 of your PDF.
"fileContents": "JVBERi0xLjMNCiXi48/[...]DQoNCnN0YXJ0eHJlZg0KMjcxNA0KJSVFT0YNCg=="
}
]
}
}
]
}
For a journey with identity validation, score of the Check in case of ID inconclusive, capture/reuse of identification document (ID/CNH) and electronic signature.
{
//URL for redirection.
"callbackUri": "/path/to/url",
//Type of journey.
"flow": "iddocssign",
/User data.
"person": {
//Type of identifier used, DUI_TYPE_BR_CPF for CPF in Brazil.
"duiType": "DUI_TYPE_BR_CPF",
//Value of the identifier.
"duiValue": "73689290074"
},
// Use case where you are applying the Unico solution.
"purpose": "biometryonboarding",
//Complete journey data.
"payload": [
{
//Data from the envelope to be signed.
"envelopePayload": {
//List of documents in your envelope.
"documents": [
{
//Name of your PDF file.
"documentName": "test",
//Base 64 of your PDF.
"fileContents": "JVBERi0xLjMNCiXi48/[...]DQoNCnN0YXJ0eHJlZg0KMjcxNA0KJSVFT0YNCg=="
}
]
}
}
]
}
Any concerns?
Missing something or still need help? If you are already a customer or partner, you can contact us through the Help Center.