全部产品
Search
文档中心

ID Verification:接入流程

更新时间:Aug 28, 2025

客户端 SDK 和服务端 API 接入,适用于已有客户端 App,且希望在 App 内对用户进行线上认证的场景。

前提条件

您必须了解通过 HTTP、HTTPS 原生调用实人认证服务接口时,构造请求签名的方法。更多签名机制的信息,请参见接入ID Verification服务

操作步骤

  1. 开通ID Verification服务。具体操作,请参见开通ID Verification服务

  2. 接入方案。

    在您完成上述步骤后,您可以进行无线SDK+服务端接入。接入步骤如下。

    1. 调用服务端初始化接口。

    2. 调用接入客户端SDK。

    3. 调用服务端查询接口。

    您可以查看下方调用时序图了解详细接入步骤。时序图

    序号

    说明

    1

    A user initiates a business process (for example, an identity proofing process) through the merchant application.

    2

    The merchant app calls the getMetaInfo interface to obtain the meta information about the Alibaba Cloud SDK and the user's device for preparation.

    3

    The Alibaba Cloud SDK returns the meta information to the merchant application.

    4

    The merchant application initializes a transaction and passes the meta information to the merchant server.

    5

    With the meta information as an input, the merchant server calls Initialize API to obtain the client configuration information, which includes parameters about SDK connection and behavior.

    6

    The Alibaba Cloud server performs usability check based on the meta information. If the check is passed, the Alibaba Cloud server returns the client configuration information to the merchant server.

    7

    The merchant server returns the client configuration information to the merchant application.

    8

    The merchant application starts the Alibaba Cloud SDK with the client configuration information that is obtained in Step 7.

    9

    The Alibaba Cloud SDK interacts with the user, captures required data (for example, face images) and uploads it to the Alibaba Cloud server for verification. There might be multiple rounds of interaction between the Alibaba Cloud SDK and Alibaba Cloud server.

    10

    The Alibaba Cloud server performs related checks on the uploaded user data, and returns the transaction status to the Alibaba Cloud SDK. If all the corresponding checks are passed, a result code that indicates success is returned to the Alibaba Cloud SDK; otherwise, the process might be interrupted and further interactions are needed between the user and the Alibaba Cloud SDK.

    11

    The Alibaba Cloud SDK notifies the merchant application that the transaction is completed.

    12

    The merchant application syncs with the merchant server that the transaction is completed and starts a double check on the transaction details.

    13

    The merchant server calls CheckResult API to check the transaction details with the Alibaba Cloud server again.

    14

    The Alibaba Cloud server returns the transaction details to the merchant server.

    说明

    To ensure the information security, the sensitive information such as captured face image is only returned to the merchant server.

    15

    The merchant server filters the transaction details that is returned from the Alibaba Cloud server, and returns the information that is not sensitive to the merchant application.

    16

    The merchant application informs the user that the process is completed.

  3. 了解接入步骤后,您可以通过以下方式接入。

    • 进行服务端接入,请参见Initialize

    • 在应用客户端集成SDK。具体集成步骤,请根据平台系统,参见以下文档。