tencent cloud

eKYC

Release Notes and Announcements
Release Notes
Product Announcements
Product Introduction
Overview
Strengths
Use Cases
Purchase Guide
Billing Overview
Purchase Method
Payment Overdue
Refund
Integration Guide
Getting Started
Selfie Verification (Pure API)
Selfie Verification (Mobile HTML5)
Selfie Verification (App SDK)
Identity Verification (Mobile HTML5)
Identity Verification (App SDK)
Other Guide
API Documentation
History
Introduction
API Category
Making API Requests
Selfie Verification (Pure API) APIs
Selfie Verification (App SDK) APIs
Identity Verification (App SDK) APIs
Identity Verification(Mobile HTML5) APIs
AI Face Shield (Pure API) APIs
Other APIs
Data Types
Error Codes
FAQs
Contact Us
Glossary
eKYC Policy
Privacy Policy
Data Processing And Security Agreement
Service Level Agreement

Quick API Run

PDF
Focus Mode
Font Size
Last updated: 2025-01-14 19:41:38

Overview

This document describes how to call Tencent Cloud eKYC APIs through API 3.0 Explorer and integrate SDKs in the corresponding programming language into your project after you purchase the eKYC service. You can access eKYC APIs quickly in the following steps.

Prerequisites

You have entered the API 3.0 Explorer page.

Directions

The following steps use the calling of the ApplySdkVerificationToken API as an example.

Step 1.

On the API 3.0 Explorer page, select ApplySdkVerificationToken from the left sidebar, enter required parameters, initiate the call, and get the response.
ApplySdkVerificationToken


Region: This is a required parameter that specifies the region information in the domain name and determines the access point. For example, ap-hongkong means accessing the Hong Kong access point. APIs may support different regions. For details, see the "Region List" section in the API document of the API you are calling. For example, for ApplySdkVerificationToken, see the "Region List" section in Common Params.
parameters


NeedVerifyIdCard: This is a required parameter that specifies whether to perform identity card authentication. If this parameter is not selected, only document OCR will be performed. You can select this parameter only when the value of IdCardType is HK.

Step 2.

Select the corresponding backend language, generate the code, and integrate it into your project. Take Java as an example.
1. To integrate the code into your project, you need to import the SDK dependencies (see Java in the top right corner of the figure below), get key information, and enter the SecretId and SecretKey in the code for successful calling.
2. Part of the field information in the generated code is subject to the entered content. To adjust an input parameter, modify its value on the left and generate the code again.

api



Notes

To generate a SecretId and a SecretKey, visit https://console.tencentcloud.com/cam/capi.
To upload Base64-encoded images or videos for input parameters, remove the data:image/jpg;base64, prefix and the \\n line break.
If the following information is returned, manually configure the signature type:
[TencentCloudSDKException]message:AuthFailure.SignatureFailure-The provided credentials
could not be validated because of exceeding request size limit, please use new signature
method `TC3-HMAC-SHA256`. requestId:719970d4-5814-4dd9-9757-a3f11ecc9b20
​Configuring signature type:
`clientProfile.setSignMethod("TC3-HMAC-SHA256"); // Specify the signature algorithm, which is HmacSHA256 by default`


Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback