...
Status 200 OK
Panel |
---|
title | Example of response in JSON |
---|
|
{ "Id": "018fa01b-1c42-4588-90da-dcaa52a8a236", "Kinds": ["Email"], "State": "New", "Outcome": null, "Name": "John", "LastName": "Doe", "DocumentNumber": null, "Email": "j.doe@namirial.com", "Phone": null, "Language": "it", "Provider": "bit4id", "Consumer": "duferco", "IdentificationUrl": null, "EnrollUrl": "https://verifid.ecertia.com/enrollment/start/018fa01b-1c42-4588-90da-dcaa52a8a236", "ReturnUrl": "https://duferco.com/a9474480-ffbe-4382-b2f0-9a7d7592fec2/enroll" } |
Status 401 Unauthorized
Panel |
---|
title | Example of response in JSON |
---|
|
{ "Type": "https://verif.id/error/-authn", "Title": "There was a problem authenticating the request", "Details": "Authentication failed: bad token." } |
Status 400 Bad Request
Panel |
---|
title | Example of response in JSON |
---|
|
{ "Type": "https://verif.id/error/-bad-request", "Title": "The request is invalid", "Details": "Bit4Id::SPIDOnly::Duferco can't enroll requests with an empty lastname" } |
Status 503 Service Unavailable
Panel |
---|
title | Example of response in JSON |
---|
|
{ "Type": "https://verif.id/error/-service-unavailable", "Title": "The server is currently unable to handle the request", "Details": "Problems found trying to contact with OnBoarding Today API" } |
Return URL
https://{returnUrl}?{verifIdResult}{verifIdError}
...
- verifidResult (string) : success | error
- verifidError (string) : errorcode
...
verifidError Codes
Code | Description |
---|
NotSupportedDocument | Identity Document provided during validation is not supported |
RequestAlteredInfo | Provided verification info as been altered during OnBoarding process |
RequestIsExpired | Current request is expired |
RequestInvalidInfo | Enrollment request data is not correct |
UnexpectedFailure | Unexpected failure while processing the Enrollment |
OnBoardingProviderError | Problems occured with Onboarding Provider |
PdfValidationError | Pdf Certificate validation has failed |
...