Methods to validate holder data, enroll disposable certificates, and send OTP codes.
Lean Disposable Services (26.1.0.3)
REST API for enrolling and managing lean disposable certificates for secure digital signatures.
Authenticate every request with Basic Auth credentials and a client SSL certificate (mTLS). All requests require the Content-Type: application/json header.
For the full integration guide, see the Lean Disposable documentation.
Request
Returns the human-readable description of an error code in the requested language.
Note: requires Content-Type: application/json header.
See getErrors.
Language for the error text. Use ISO 639-1 alpha-2 codes: EN (English), IT (Italian), DE (German), ES (Spanish), RO (Romanian). ISO 639-2 alpha-3 codes (ENG, ITA, DEU, SPA, RON) are accepted for legacy compatibility but will not be extended to new languages.
- Production environmenthttps://lean.namirialtsp.com/RAWS_DISPOSABLE/api/utility/errors
- Development and testing environmenthttps://lean.test.namirialtsp.com/RAWS_DISPOSABLE/api/utility/errors
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://lean.namirialtsp.com/RAWS_DISPOSABLE/api/utility/errors?code=1027&language=EN'- Error code found
- Error code not found — returns Unspecified error
{ "errorCode": 1027, "errorLanguage": "ENG", "errorLanguage2": "EN", "errorText": "The file is duplicated" }
Request
Returns HTTP 200 if the Lean Disposable service is operational. Use this endpoint to monitor service availability.
If the service is completely unavailable, this endpoint will return 503 Service Unavailable — implement appropriate error handling for this case.
- Production environmenthttps://lean.namirialtsp.com/RAWS_DISPOSABLE/api/utility/verifyLeanStatus
- Development and testing environmenthttps://lean.test.namirialtsp.com/RAWS_DISPOSABLE/api/utility/verifyLeanStatus
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
https://lean.namirialtsp.com/RAWS_DISPOSABLE/api/utility/verifyLeanStatusRequest
Returns HTTP 200 if the Lean Disposable web service (WS) is operational. Use this endpoint to monitor web service availability.
If the service is completely unavailable, this endpoint will return 503 Service Unavailable — implement appropriate error handling for this case.
- Production environmenthttps://lean.namirialtsp.com/RAWS_DISPOSABLE/api/utility/verifyStatusWs
- Development and testing environmenthttps://lean.test.namirialtsp.com/RAWS_DISPOSABLE/api/utility/verifyStatusWs
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
https://lean.namirialtsp.com/RAWS_DISPOSABLE/api/utility/verifyStatusWsRequest
Retrieves the configuration of a LRA: allowed OTP types, identification types, eID methods, certificate types, contract templates, and One Platform info. See getLraCapabilities.
- Production environmenthttps://lean.namirialtsp.com/RAWS_DISPOSABLE/api/utility/{lraId}/capabilities
- Development and testing environmenthttps://lean.test.namirialtsp.com/RAWS_DISPOSABLE/api/utility/{lraId}/capabilities
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://lean.namirialtsp.com/RAWS_DISPOSABLE/api/utility/{lraId}/capabilities'{ "company": "SPA", "config": { "maxMobileReuseInRangeDaysDisposable": 1, "rangeDaysMobileDisposable": 0 }, "otp": { "allowed": [ … ], "constraintsDisposableIdentificationType": [ … ] }, "disposableIdentificationType": { "allowed": [ … ] }, "eid": { "allowed": [ … ] }, "cert": { "allowed": [ … ] }, "op": { "legalEntityId": "00000", "customerId": null, "buReId": { … } }, "legalEntity": { "idLegalEntity": 0, "country": "IT" }, "contract": { "allowed": { … } } }