{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-products/leandisposable/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"How to enroll a disposable with an OTP by Email","description":"Integration and usage documentation."},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"how-to-enroll-a-disposable-with-an-otp-by-email","__idx":0},"children":["How to enroll a disposable with an OTP by Email"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To enroll a disposable and sent an otp by email you have to:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["specify the required ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["email"]}," property in the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/data-objects#disposablecontacts"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DisposableContacts"]}]}," object"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["specify ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["otpType=EMAIL"]}]}," in the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/data-objects#disposablecertificate"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DisposableCertificate"]}]},"object"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Then use these methods:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/lean-checkdata/lean-checkdata-method"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["checkData"]}]},"/",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/lean-checkdata/lean-checkdata-eid-assertion-method"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["checkDataWitheIDAssertion"]}]}," (optional) : check the validity of the objects passed to the enroll methods"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/lean-documents/lean-getdisposablecontract-method"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["getDisposableContract"]}]},"/",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/lean-documents/lean-getdisposablecontractwitheidassertion-method"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["getDisposableContractWitheIDAssertion"]}]}," (optional)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["an ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/lean-enroll"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["enroll"]}," method"]}," : enroll the certificate"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/lean-send-otp/lean-sendotp-method"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sendOtp"]}]}," : send the otp by email"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["signPKCS1WithSHA256"]}," in the FRA service or use SWS: sign the document"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/lean-documents/lean-uploaddoc-method"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["uploadDoc"]}]},"  to upload the evidence of the otp or the authentication flow (optional)"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["To use EMAIL as OTP the LRA has"]}]}," ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["to be authorized"]}]},"."]}]},"headings":[{"value":"How to enroll a disposable with an OTP by Email","id":"how-to-enroll-a-disposable-with-an-otp-by-email","depth":1}],"frontmatter":{"seo":{"title":"How to enroll a disposable with an OTP by Email"}},"lastModified":"2026-01-20T14:20:40.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-how-to-enroll-disposable-otp-email","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}