Skip to content

Enroll methods

Use these methods to enroll a lean disposable:

Response

The enroll methods return a DisposableIssued object with the following fields:

FieldDescription
certThe issued certificate
certIdOtpOTP identifier associated with the certificate
certTypeType of certificate issued: DISPOSABLE, LONG_LIVED, DISPOSABLE_30_DAYS
certSerialNumberSerial number of the issued certificate
certUsageLimitLimitation of use (LoU) in the certificate
deviceCodeDevice code of the issued certificate

Errors

All errors below return HTTP 500.

ErrorDescription
Error 2Some required fields are missing
Error 3Empty field(s), field(s) not allowed or field(s) in wrong format
Error 5Limitation of use (LoU) not valid
Error 2084Limitation of use language not available — the requested language for the LoU text is not configured in the LRA configuration. See limitationOfUse.language.
Error 6Generic exception - Internal exception
Error 8Alphanumeric symbols not allowed in the contacts
Error 9The password in cert.password is not valid
Error 10The security code in cert.securityCode is not valid
Error 26Foreign country not valid in holder.identificationCountry
Error 80Certificate type in cert.type not valid or not authorized
Error 81Wrong tax code or personal identification number
Error 88Document type in doc.documentType not valid
Error 96The DN length exceeds 400 characters
Error 180No more disposable certificates available for the LRA
Error 221Mismatch between holder.identificationType and holder.identificationCountry
Error 224Some fields contain a non UTF-8 character
Error 235Wrong assertion
Error 237The assertion is expired
Error 238The assertion signature is invalid
Error 241LRA not authorized to use this OTP type
Error 2091Name doesn't belong to the tax code entered
Error 10068Non-unique cell phone number
Error 11003No results found for the holder
Error 11004Mismatch in identification holder data
Error 11006Mismatch in document type
Error 11007Mismatch in document number
Error 11008Mismatch in contacts
Error 11010Identification type in holder.identificationType is not valid

For details on how to handle errors, see How to handle errors.