{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-products/leandisposable/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"How to enroll a disposable with an external OTP","description":"Integration and usage documentation.","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"how-to-enroll-a-disposable-with-an-external-otp","__idx":0},"children":["How to enroll a disposable with an external OTP"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To enroll a disposable with an external otp have to:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["specify ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["otpType=EXTERNAL_OTP"]}]}," in the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/data-objects#disposablecertificate"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DisposableCertificate"]}]},"object. If not specified the default otpType is SMS."]}]},{"$$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":"a","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":"a","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":"a","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":"a","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":"a","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":"code","attributes":{},"children":["signPKCS1WithSHA256"]}," in the FRA service or use SWS: sign the document"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","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 (for example PDS2 banking flow) (optional)"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["To use EXTERNAL_OTP 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 external OTP","id":"how-to-enroll-a-disposable-with-an-external-otp","depth":1}],"frontmatter":{"seo":{"title":"How to enroll a disposable with an external OTP"}},"lastModified":"2026-02-23T13:11:06.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-how-to-enroll-disposable-external-otp","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}