DEVELOPER DOCUMENTATION
/API Overview
//
Check holder data
Validates holder data, document and certificate parameters before enrolling. Optional step — use it to detect validation errors before calling enroll. See checkData.
Sécurité
basicAuth and sslCertificate
Required if otpType=SMS (provide mobile) or otpType=EMAIL (provide email).
Identity document information.
Not required if one of the following conditions is true:
DisposableIdentification.identificationTypeisAMLDisposableHolder.identificationTypeis one of:PASSPORT,PERSONAL_NUMBER,NATIONAL_IDENTITY_CARD,DRIVING_LICENSE,RESIDENCE_PERMIT,RESIDENCE_PERMIT_TEMP,EMBASSY_DOCUMENT
- Production environmenthttps://lean.namirialtsp.com/RAWS_DISPOSABLE/api/certificate/{lraId}/checkData
- Development and testing environmenthttps://lean.test.namirialtsp.com/RAWS_DISPOSABLE/api/certificate/{lraId}/checkData
Enroll with otpType=SMS. Requires disposableContacts.mobile in E.164 format.
curl -i -X POST \
-u '<username>:<password>' \
'https://lean.namirialtsp.com/RAWS_DISPOSABLE/api/certificate/{lraId}/checkData' \
-H 'Content-Type: application/json' \
-d '{
"disposableHolder": {
"firstName": "Mario",
"lastName": "Rossi",
"identificationType": "ITALIAN_TAX_CODE",
"identificationCode": "RSSMRA80A01H501U",
"identificationCountry": "IT",
"birthDate": "1980-01-01",
"birthCity": "Roma"
},
"disposableDoc": {
"documentType": "CI",
"documentNr": "AA0000000",
"documentIssuer": "Comune di Roma",
"documentIssuerDate": "2020-01-01",
"documentIssuerCountry": "IT",
"documentExpirationDate": "2030-01-01"
},
"disposableCertificate": {
"password": "Password01",
"securityCode": "Security01",
"type": "DISPOSABLE",
"otpType": "SMS"
},
"disposableContacts": {
"mobile": "+390000000000"
}
}'