DocuSign ID检查createRecipient不会生成ActivateSecurityChecks.aspx网址

时间:2018-12-03 20:46:14

标签: docusignapi

我设法在Docusign沙箱中创建了一个带有“ ID Check $”的信封,并且它生成了带有如下所示链接的电子邮件通知

https://demo.docusign.net/Signing/ActivateSecurityChecks.aspx?....

当我调用createRecipient时,生成的url看起来像这样,它直接进入签名,跳过ID检查

https://demo.docusign.net/Signing/StartInSession.aspx?...

“ createRecipient”的文档指出<<“您的应用程序负责验证身份...” >>

是否有可以生成第一个链接的API?

这是createEnvelope的有效负载

<ds:envelopeDefinition xmlns:ds="http://www.docusign.com/restapi">
 <ds:status>sent</ds:status>
 <ds:emailSubject>EMAIL SUBJECT</ds:emailSubject>
 <ds:compositeTemplates>
  <ds:compositeTemplate>
   <ds:serverTemplates>
    <ds:serverTemplate>
       <ds:sequence>1</ds:sequence>
       <ds:templateId>TEMPLATE ID</ds:templateId>
     </ds:serverTemplate>
    </ds:serverTemplates>
    <ds:inlineTemplates>
     <ds:inlineTemplate>
      <ds:sequence>1</ds:sequence>
      <ds:recipients>
       <ds:signers>
        <ds:signer>
         <ds:email>RECIPIENT EMAIL</ds:email>
         <ds:name>RECIPIENT NAME</ds:name>
         <ds:recipientId>1</ds:recipientId>
         <ds:roleName>Signer 1</ds:roleName>
         <ds:requireIdLookup>true</ds:requireIdLookup>
         <ds:authenticationMethod>KnowledgeBasedAuth</ds:authenticationMethod>
         <ds:RequireIDLookupSpecified>true</ds:RequireIDLookupSpecified>
         <ds:idCheckConfigurationName>ID Check $</ds:idCheckConfigurationName>
        </ds:signer>
       </ds:signers>
      </ds:recipients>
     </ds:inlineTemplate>
    </ds:inlineTemplates>
  </ds:compositeTemplate>
 </ds:compositeTemplates>
</ds:envelopeDefinition>

这是createRecipient的有效负载

 <ds:recipientViewRequest xmlns:ds="http://www.docusign.com/restapi">
  <ds:envelopeId>ENVELOPE ID</ds:envelopeId>
  <ds:userName>RECIPIENT NAME</ds:userName>
  <ds:email>RECIPIENT EMAIL</ds:email>
  <ds:authenticationMethod>KnowledgeBasedAuth</ds:authenticationMethod>
  <ds:recipientId>1</ds:recipientId>
  <ds:returnUrl>OUR URL</ds:returnUrl>
 </ds:recipientViewRequest>

1 个答案:

答案 0 :(得分:0)

谜团解决了。

您需要设置EmbeddedRecipientStartURL = SIGN_AT_DOCUSIGN并将clientUserId设置为与签名者相同的值。生成的URL触发ID检查,KnowledgeBasedAuth,雷克萨斯Nexis身份验证。

 <ds:recipientViewRequest xmlns:ds="http://www.docusign.com/restapi">
  <ds:envelopeId>ENVELOPE ID</ds:envelopeId>
  <ds:userName>RECIPIENT NAME</ds:userName>
  <ds:email>RECIPIENT EMAIL</ds:email>
  <ds:authenticationMethod>KnowledgeBasedAuth</ds:authenticationMethod>
  <ds:recipientId>1</ds:recipientId>

  <ds:clientUserId>1</ds:clientUserId>
  <ds:embeddedRecipientStartURL>SIGN_AT_DOCUSIGN</ds:embeddedRecipientStartURL>

  <ds:returnUrl>OUR URL</ds:returnUrl>
 </ds:recipientViewRequest>