tencent cloud

Data Types

ダウンロード
フォーカスモード
フォントサイズ
最終更新日: 2026-11-26 11:44:58

Address

Overseas document address

Used by actions: GetSdkVerificationResult, GetWebVerificationResultIntl.

Name Type Description
Country String Country
PostalCode String Postal code
Subdivision String Sub-region
City String city
FormattedAddress String Complete address
LineOne String First line of the address bar
LineTwo String Second line of the address bar
LineThree String Third line of the address bar
LineFour String Fourth line of the address bar
LineFive String Fifth line of the address bar

AttackRiskDetail

Suspected attack risk details

Used by actions: DetectAIFakeFaces.

Name Type Description
Type String

Types of suspected attack traces. The specific types are as follows:
SuspectedSpoofingAttack: Recapture attack
SuspectedSynthesisImage: Suspected synthetic image
SuspectedSynthesisVideo: Suspected synthetic video
SuspectedAnomalyAttack: Suspected non-live facial features
SuspectedAdversarialAttack: Suspected adversarial example attack
SuspectedBlackIndustry: Suspected batch template attack from black market operations
SuspectedWatermark: Suspected watermark presence

BlackListItem

BlackListItem

Used by actions: DetectAIFakeFaces.

Name Type Required Description
ModelId String No

Blocklist entry ID, customized by the customer when creating the entry, used to trace which entry is matched.

ModelType String No

Entry type. Currently only face is supported.

FaceScore String No

Face similarity, expressed as a string with 4 decimal places, ranging from 0.0000 to 1.0000.

BackgroundScore String No

Background similarity

CardVerifyResult

The OCR result of a user's identity document during the eKYC verification process.

Used by actions: GetSdkVerificationResult.

Name Type Description
IsPass Boolean Whether the authentication or OCR process is successful.
IsEdit Boolean Whether the user modified the card recognition result
CardVideo FileInfo The download URL of the video used for identity document verification, which is valid for 10 minutes. This parameter is returned only if video-based identity document verification is enabled.
Note: This field may return null, indicating that no valid value can be obtained.
CardImage FileInfo The download URL of the identity document image, which is valid for 10 minutes.
Note: This field may return null, indicating that no valid value can be obtained.
CardInfoOcrJson FileInfo The OCR result (in JSON) of the identity document image. If verification or OCR fails, this parameter is left empty. The URL is valid for 10 minutes.
(1) Hong Kong (China) identity card
When the value of IdCardType is HK:
- CnName (string): Name in Chinese.
- EnName (string): Name in English.
- TelexCode (string): The code corresponding to the name in Chinese.
- Sex (string): Gender. Valid values: M (male) and F (female).
- Birthday (string): Date of birth.
- Permanent (int): Whether it is a permanent residence identity card. Valid values: 0 (non-permanent), 1 (permanent), and -1 (unknown).
- IdNum (string): Identity card number.
- Symbol (string): The ID symbol below the date of birth, such as "***AZ".
- FirstIssueDate (string): Month and year of first registration.
- CurrentIssueDate (string): The date of latest issuance.

(2) Malaysian identity card
When the value of IdCardType is ML:
- Sex (string): Gender. Valid values: LELAKI (male) and PEREMPUAN (female).
- Birthday (string): Date of birth.
- ID (string): Identity card number.
- Name (string): Name.
- Address (string): Address.
- Type (string): Identity document type.

(3) Philippine identity document
When the value of IdCardType is PhilippinesVoteID:
- Birthday (string): Date of birth.
- Address (string): Address.
- LastName (string): Last name.
- FirstName (string): First name.
- VIN (string): Voter's identification number (VIN).
- CivilStatus (string): Civil status.
- Citizenship (string): Citizenship.
- PrecinctNo (string): Precinct.

When the value of IdCardType is PhilippinesDrivingLicense:
- Sex (string): Gender.
- Birthday (string): Date of birth.
- Name (string): Name.
- Address (string): Address.
- LastName (string): Last name.
- FirstName (string): First name.
- MiddleName (string): Middle name.
- Nationality (string): Nationality.
- LicenseNo (string): License number.
- ExpiresDate (string): Expiration date.
- AgencyCode (string): Agency code.

When the value of IdCardType is PhilippinesTinID:
- LicenseNumber (string): Tax identification number (TIN).
- FullName (string): Full name.
- Address (string): Address.
- Birthday (string): Date of birth.
- IssueDate (string): Issue date.

When the value of IdCardType is PhilippinesSSSID:
- LicenseNumber (string): Common reference number (CRN).
- FullName (string): Full name.
- Birthday (string): Date of birth.

When the value of IdCardType is PhilippinesUMID:
- Surname (string): Surname.
- MiddleName (string):Middle name.
- GivenName (string): Given name.
- Sex (string): Gender.
- Birthday (string): Date of birth.
- Address (string): Address.
- CRN (string): Common reference number (CRN).

(4) Indonesian identity card
When the value of IdCardType is IndonesiaIDCard:
- NIK (string): Single Identity Number.
- Nama (string): Full name.
- TempatTglLahir (string): Place and date of birth.
- JenisKelamin (string): Gender.
- GolDarah (string): Blood type.
- Alamat (string): Address.
- RTRW (string): Street.
- KelDesa (string): Village.
- Kecamatan (string): Region.
- Agama (string): Religion.
- StatusPerkawinan (string): Marital status.
- Perkerjaan (string): Occupation.
- KewargaNegaraan (string): Nationality.
- BerlakuHingga (string): Expiry date.
- IssuedDate (string): Issue date.

(5) A passport issued in Hong Kong (China) /Macao (China) /Taiwan (China) or other countries/regions
When the value of IdCardType is MLIDPassport:
- FullName (string): Full name.
- Surname (string): Surname.
- GivenName (string): Given name.
- Birthday (string): Date of birth.
- Sex (string): Gender. Valid values: F (female) and M (male).
- DateOfExpiration (string): Expiration date.
- IssuingCountry (string): Issuing country.
- NationalityCode (string): Country/region code.
Note: This field may return null, indicating that no valid values can be obtained.
RequestId String The request ID of a single process.
NormalCardInfo NormalCardInfo License OCR result
WarnCardInfos Array of Integer Card warning information
-9101 Alarm for covered certificate,
-9102 Alarm for photocopied certificate,
-9103 Alarm for photographed certificate,
-9104 Alarm for tamper certificate,
-9107 Alarm for reflective certificate,
-9108 Alarm for blurry image,
-8101 Alarm for document information format verification,
-8102 Alarm for document information consistency verification,
-9109 This capability is not enabled.
EditDetails Array of EditDetail Details of the OCR modifications for this EKYC card, when the user manually modifies the card recognition results (IsEdit=true), EditDetails will return the modified fields. When IsEdit=false, EditDetails is empty.
DetectedCardType String Detected card type. Returns the corresponding document type combining country or region name and document type. Enums: Passport, IndonesiaIDCard, MalaysiaIDCard, SingaporeIDCard, ThailandIDCard, ThailandPinkCard, VietnamIDCard, MyanmarDriverLicense, HongKongIDCard, MacaoIDCard, TaiwanIDCard, HmtTravelPermit, HmtMainlandTravelPermit, HmtResidencePermit, HmtResidencePermitBack, MainlandIDCard, MainlandIDCardBack, MainlandTempIDCard, MainlandTempIDCardBack, BrazilIDCard, BrazilIDCardBack, BrazilRNM, BrazilRNMBack, BrazilRNE, BrazilDriverLicense, BrazilDriverLicenseBack, MexicoVoterCard, PhilippinesUMID, PhilippinesDriverLicense, PhilippinesVoteID, PhilippinesSSSID, PhilippinesTINID, PhilippinesNationalID, PhilippinesPRCID, PhilippinesPostalID, PhilippinesHealthCard, Other.

Company

AML Company object

Used by actions: RunAMLNameScreening, UpdateAMLCustomerProfile.

Name Type Required Description
CompanyName String No

Enterprise name (required)

CompanyCertNumber String No

Enterprise registration number / unified social credit code (Option)

CompanyCountry String No

Enterprise registration country, ISO 3166-1 alpha-2 country code (Option)

CompanyAddress String No

Company address (optional)

CompareResult

The description of a single comparison result.

Used by actions: GetSdkVerificationResult.

Name Type Description
ErrorCode String The final verification result code.
0: Succeeded.
1001: Failed to call the liveness engine.
1002: Suspected spoofed recording.
1004: Face detection failed.
1005: Liveness detection failed.
1201: Lighting is too dark or overexposed.
2004: The image passed in is too large or too small.
2012: Multiple faces detected.
2013: No face was detected, or the face detected was incomplete.
2014: The image resolution is too low or the quality does not meet the requirements.
2015: Face comparison failed.
2016: The similarity did not reach the standard passing threshold.
2017: Facial occlusion detected.
ErrorMsg String The description of the final verification result.
LiveData FileInfo The liveness algorithm package generated during this SDK-based liveness detection.
LiveVideo FileInfo The download URL of the video used for verification, which contains specific color reflection effects, is valid for 10 minutes.
ActionVideo FileInfo Records the specific action performed by the user, used for AI Face Shield analysis.
LiveErrorCode String The liveness detection result code.
0: Success.
1001: Failed to call the liveness detection engine.
1002: Suspected spoofed recording.
1004: Face detection failed.
1005: Liveness detection failed.
1201: Lighting is too dark or overexposed.
LiveErrorMsg String The description of the liveness detection result.
BestFrame FileInfo The download URL of the face screenshot during verification, which is valid for 10 minutes.
Note: This field may return null, indicating that no valid value can be obtained.
ProfileImage FileInfo The download URL of the profile photo screenshot from the identity document, which is valid for 10 minutes.
CompareErrorCode String The face comparison result code.
0: Success.
2004: The image passed in is too large or too small.
2012: Multiple faces detected.
2013: No face was detected, or the face detected was incomplete.
2014: The image resolution is too low or the quality does not meet the requirements.
2015: Face comparison failed.
2016: The similarity did not reach the standard passing threshold.
2017: Facial occlusion detected.
Note: This field may return null, indicating that no valid value can be obtained.
CompareErrorMsg String The description of the face comparison result.
Note: This field may return null, indicating that no valid values can be obtained.
Sim Float The similarity score of face comparison.
Note: This field may return null, indicating that no valid values can be obtained.
IsNeedCharge Boolean This parameter is disused.
CardInfoInputJson FileInfo The identity document photo info edited by the user. Currently, this parameter is not applied.
Note: This field may return null, indicating that no valid values can be obtained.
RequestId String The request ID of this verification process.
LivenessInfoTag Array of String Describes the detailed reason for the current liveness detection failure. Output only when SdkVersion is PLUS. Details are as follows:
01 - User kept eyes closed throughout the process.
02 - User failed to complete the specified action.
03 - Suspected photo replay attack.
04 - Suspected synthetic image.
05 - Suspected synthetic video.
06 - Suspected synthetic action.
07 - Suspected fraud template.
08 - Suspected watermark existence.
09 - Light verification failed.
10 - Face verification failed.
11 - Poor face quality.
12 - Unqualified collection quality.
13 - Suspected adversarial sample attack.

EditDetail

EKYC Document OCR Result Modification Details

Used by actions: GetSdkVerificationResult.

Name Type Description
FieldName String Modified Field Name
OriginalFieldValue String Value of the field before modification, the original OCR result
RevisedFieldValue String Value of the field after modification,the user's manually entered result

Encryption

Sensitive data encryption

Used by actions: BankCard2EVerification, BankCard4EVerification, BankCardVerification, CheckBankCardInformation, CheckIdCardInformation, CheckIdNameDate, DetectAIFakeFaces, IdCardOCRVerification, IdCardVerification, ImageRecognitionV2, MobileNetworkTimeVerification, MobileStatus.

Name Type Required Description
EncryptList Array of String Yes

When using the encryption service, enter the fields to be encrypted. In this API, you can enter one or more encrypted fields.

CiphertextBlob String Yes

Encrypted symmetric key. For key generation and usage, see the Data Encryption documentation.

Iv String Yes

For users with encryption requirements, pass in the CBC encryption initialization vector (a customer-defined string with a length of 16 characters).

Algorithm String No

Algorithm used for encryption (supports 'AES-256-CBC' and 'SM4-GCM'). If not passed, the default is 'AES-256-CBC'.

TagList Array of String No

Message digest generated by the SM4-GCM algorithm (used when verifying message integrity)

ExtraInfo

Additional detailed information

Used by actions: DetectAIFakeFaces.

Name Type Description
RetrievalLivenessExtraInfo Array of RetrievalLivenessExtraInfo Detailed information of the matched template. Only the template with the highest similarity is returned.

ExtraRiskInfo

ExtraRiskInfo

Used by actions: DetectAIFakeFaces.

Name Type Required Description
PersonId String No

A stable and unique person identifier within the customer's business domain, used to correlate multiple location reports from the same person to determine whether abnormal displacement exists.

Input restrictions: Length ≤ 128 characters; Must not contain control characters (ASCII < 0x20 or 0x7F); It is recommended to pass a desensitized identifier instead of a plaintext ID number or mobile number.

Latitude String No

Latitude at the time of device collection, in WGS84 decimal degrees

Input restrictions: Must be paired with Longitude; Valid range: [-90, 90]; Must be a valid number, NaN/Inf not accepted; Pass as a string in JSON (e.g., "22.5431")

Longitude String No

Longitude at the time of device collection, in WGS84 decimal degrees

Input restrictions: Must be paired with Latitude; Valid range: [-180, 180]; Other restrictions are the same as above

Ip String No

Public egress IP of the device at the time of collection

Input restrictions: Length ≤ 64; Must be a resolvable IPv4/IPv6 address; Private, loopback, link-local, and multicast addresses are considered non-locatable

ExtraRiskResult

ExtraRiskResult

Used by actions: DetectAIFakeFaces.

Name Type Required Description
Status String No

Completion of the additional checks in this request, indicating whether the result can be trusted.

Valid values:

  • Completed: Conclusions (matched or passed) have been given for all checks required by this request.
  • Partial: At least one check cannot reach a conclusion due to unavailable dependencies, insufficient data, or incomplete or invalid input parameters. The result is for reference only and does not indicate security.
RiskLevel String No

Additional risk level, which may be an empty string.

Valid values:

  • High: An effective risk match exists (RiskDetailList is not empty in this case).
  • Low: The check is completed and no match is confirmed.
  • "" (empty string): Unrecognized. No check in this request can reach a conclusion, or not all checks are completed. It indicates neither risk nor security.
BlackListResult Array of BlackListItem No

List of matched risk items. An empty array [] is returned if no risk item is matched.

RiskDetailList Array of RiskDetailItem No

Face blocklist match details. An empty array [] is returned if no match is found.

FileInfo

The description of a file, including a download URL and the MD5 checksum and size of the file.

Used by actions: GetLivenessResult, GetSdkVerificationResult, VideoLivenessCompare.

Name Type Required Description
Url String Yes The URL for downloading the file
MD5 String Yes The 32-bit MD5 checksum of the file
Size Integer Yes The file size

GeneralCard

General card certificate information

Used by actions: GetSdkVerificationResult, GetWebVerificationResultIntl.

Name Type Description
LicenseNumber String ID number
PersonalNumber String Personal number. It is returned when the identity document type is a passport.
PassportCodeFirst String MRZ line 1 of the passport
PassportCodeSecond String MRZ line 2 of the passport
ExpirationDate String Expiration date in YYYY-MM-DD format
DueDate String Expiration date in YYYY-MM-DD format
IssuedDate String Issue date in YYYY-MM-DD format
IssuedAuthority String Issuing authority
IssuedCountry String Issuing country. Return following the ISO 3166 country coding specification.
FullName String Name
FirstName String Name
LastName String Last name
Sex String Gender on the document
-M: male
-F: female
- X: Other gender identity
Age String Age. 0 indicates no valid info is obtained.
Birthday String Date of birth
BirthPlace String Birth place
Nationality String Document nationality. Return following the ISO 3166 country coding specification.
RegistrationNumber String Registration number
Address Address Document address information
FullNameLocal String Localized name
FirstNameLocal String Localized name
LastNameLocal String Localized last name

HMTPermit

Hong Kong, Macau and Taiwan Travel Permit

Used by actions: GetSdkVerificationResult, GetWebVerificationResultIntl.

Name Type Description
Name String Name
EnglishName String English name
Number String ID number
Sex String Sex
ValidDate String Validity period.
IssueAuthority String Issuing authority
IssueAddress String Issuing place
Birthday String Date of birth

IndonesiaDrivingLicense

Indonesian driving license

Used by actions: GetSdkVerificationResult, GetWebVerificationResultIntl.

Name Type Description
LastName String Last name
FirstName String First name
LicenseNumber String No.
Birthday String Date of birth
Address String Address.
ExpirationDate String Expiration date
IssuedDate String Issue date
IssuedCountry String Issuing country

InternationalIDPassport

Hong Kong, Macao, and Taiwan region as well as overseas passport

Used by actions: GetSdkVerificationResult, GetWebVerificationResultIntl.

Name Type Description
LicenseNumber String Passport ID
FullName String Name
Surname String Last name
GivenName String Name
Birthday String Date of birth
Sex String Gender (F: female, M: male).
DateOfExpiration String Validity period.
IssuingCountry String Issuing country
NationalityCode String Country region code
PassportCodeFirst String MRZ Code sequence in the first row at the bottom
PassportCodeSecond String MRZ Code sequence in the second line from the bottom

JapanIDCard

Japan identity card

Used by actions: GetSdkVerificationResult, GetWebVerificationResultIntl.

Name Type Description
FullName String Name.
LicenseNumber String Identity card
Age String Age
Birthday String Birthday
ExpirationDate String Expiration time.
FormattedAddress String Address.

MacaoIDCard

Macao identity card

Used by actions: GetSdkVerificationResult, GetWebVerificationResultIntl.

Name Type Description
FirstName String First name
LastName String Last name
Birthday String Birthday
ExpirationDate String Expiration date
LicenseNumber String Identity number
Sex String Sex
Age String Age
IssuedCountry String Issuing country
Field1 String mrz field 1
Field2 String mrz field 2

MainlandIDCard

Mainland ID card recognition result

Used by actions: GetSdkVerificationResult, GetWebVerificationResultIntl.

Name Type Required Description
FullName String No

Name

Sex String No

Gender

Nation String No

Ethnicity

Birthday String No

Birthday

LicenseNumber String No

Identity card number

FormattedAddress String No

Address

Authority String No

Issuing authority

ValidDate String No

Validity period

NormalCardInfo

Document recognition result (mapped field result)

Used by actions: GetSdkVerificationResult, GetWebVerificationResultIntl.

Name Type Description
HKIDCard NormalHKIDCard Hong Kong identity card
MLIDCard NormalMLIDCard Malaysian identity card
PhilippinesVoteID PhilippinesVoteID Philippines voter card
IndonesiaIDCard NormalIndonesiaIDCard Indonesian Identity Card
PhilippinesDrivingLicense PhilippinesDrivingLicense Philippines driving license
PhilippinesTinID PhilippinesTinID Philippines TinID
PhilippinesSSSID PhilippinesSSSID Philippines SSSID
PhilippinesUMID PhilippinesUMID Philippines UMID
InternationalIDPassport InternationalIDPassport Hong Kong, Macao, and Taiwan region as well as overseas passport
GeneralCard GeneralCard General card certificate information
IndonesiaDrivingLicense IndonesiaDrivingLicense Indonesian driving license
ThailandIDCard NormalThailandIDCard Thai Identity Card
SingaporeIDCard SingaporeIDCard Singapore ID card
MacaoIDCard MacaoIDCard Macao identity card
MainlandIDCard MainlandIDCard Mainland ID card
JapanIDCard JapanIDCard Japan identity card
TaiWanIDCard TaiWanIDCard Taiwan (China) identity card
HMTPermitCard HMTPermit Hong Kong, Macau and Taiwan Travel Permit

NormalHKIDCard

Hong Kong identity card (mapped field result)

Used by actions: GetSdkVerificationResult, GetWebVerificationResultIntl.

Name Type Description
ChineseName String Chinese name
FullName String English name
RegistrationNumber String Chinese telegraph code corresponding to the Chinese name
Sex String Gender: "M" (male) or "F" (female).
Birthday String Date of birth
Permanent String Permanent resident ID card: 0: non-permanent; 1: permanent; -1: unknown
LicenseNumber String Identity number
Symbol String Document symbol, the symbol under the date of birth, for example, "***AZ"
IssuedDate String Date of first issue
CurrentIssueDate String Most recent date of issue
HKIDVersion String Hong Kong identity card version. HKID-2003: 2003 edition identity card. HKID-2018: 2018 edition identity card.

NormalIndonesiaIDCard

Indonesian Identity Card (mapped field result)

Used by actions: GetSdkVerificationResult, GetWebVerificationResultIntl.

Name Type Description
LicenseNumber String ID number
FullName String Name
Birthday String Birthplace/Date of birth
Sex String Sex
BloodType String Blood type
FormattedAddress String Address.
Street String Street
Village String Village
Area String Region.
Religion String Religious belief
MaritalStatus String Marital status
Occupation String Occupation
Nationality String Nationality
DueDate String Validity period of the ID card
IssuedDate String Issue date
Province String Province
City String city

NormalMLIDCard

Malaysian identity card (mapped field result)

Used by actions: GetSdkVerificationResult, GetWebVerificationResultIntl.

Name Type Description
FullName String Name
LicenseNumber String Identity card number
Sex String Sex
FormattedAddress String Address.
Type String Document type
MyKad identity card
MyPR permanent residence permit
MyTentera Military ID card
MyKAS Temporary ID card
POLIS Police ID card
IKAD labor ID card
MyKid Juvenile ID card
Birthday String Date of birth (currently this field only supports IKAD labor ID card and MyKad ID card)

NormalThailandIDCard

Thai Identity Card (mapped field result)

Used by actions: GetSdkVerificationResult, GetWebVerificationResultIntl.

Name Type Description
LicenseNumber String Identity number
FullName String Thai name
LastName String English name
FirstName String English name
Birthday String English birth date
FormattedAddress String Address.
ExpirationDate String Expiration date
IssuedDate String English birth date
RegistrationNumber String Serial number
Religion String Religious belief
ThaiBirthday String Date of birth in Thai
ThaiExpirationDate String Expiration date in Thai
ThaiIssueDate String Date of issue in Thai

OCRResult

Content of a single document in the document information

Used by actions: GetWebVerificationResultIntl.

Name Type Description
IsPass Boolean

Whether the identity authentication or OCR process is successful.

CardImageBase64 String

Base64 of the front image of the identity document

NormalCardInfo NormalCardInfo

ID document recognition result (when CheckMode value is 4, the OriginalCardInfo field is returned; in other scenarios, the current field is returned)

RequestId String

Request id

CardCutImageBase64 String

Base64 of the front cropped image of the identity document

CardBackCutImageBase64 String

Base64 of the edge-cropped image of the back of an identity document

WarnCardInfos Array of Integer

Alarm code

Enumeration value:

  • -9101: alarm for incomplete document border
  • -9102: alarm for document photocopy
  • -9103: alarm for document rephotographing
  • -9104: document PS alarm
  • -9107: document reflective alarm
  • -9108: alarm for blurry document
  • -9109: alarm capability not enabled
OriginalCardInfo String

Original document recognition information (when CheckMode value is 4, the current field will be returned)

HeadImageBase64 String

Portrait matting in the document

CardBackImageBase64 String

Base64 of the back image of the identity document

CardResultStatus String Card verification status:
PROCESSING: Verification is in progress.
COMPLETED: Verification completed with no alerts.
ABNORMAL: Verification completed with alerts raised.

Person

AML Person object

Used by actions: RunAMLNameScreening, UpdateAMLCustomerProfile.

Name Type Required Description
FullName String No

Full name (either this or LastName is required). If FullName is filled, FirstName/MiddleName/LastName cannot be filled

LastName String No

name (either this or FullName is required)

FirstName String No

First name (optional)

MiddleName String No

Middle name (optional)

IdentityNumber String No

ID number (Option)

DateOfBirth String No

Date of birth, format: YYYY-MM-DD, YYYY-MM, YYYY (Year-Month-Day separated by -)

Parameter format: YYYY-MM-DD

Gender String No

Gender: MALE / FEMALE / OTHER / NOT_KNOWN

Enumeration values:

  • MALE: male
  • FEMALE: female
  • OTHER: OTHER
  • NOT_KNOWN: NOT_KNOWN
Address String No

Address

Nationality String No

Nationality, ISO 3166-1 alpha-2 country code (Option)

Country String No

Country of residence, ISO 3166-1 alpha-2 country code (optional)

PhilippinesDrivingLicense

Philippines driving license

Used by actions: GetSdkVerificationResult, GetWebVerificationResultIntl.

Name Type Description
Name String Name
LastName String Last name
FirstName String First name
MiddleName String Middle name
Nationality String Nationality
Sex String Sex
Address String Address.
LicenseNo String ID number
ExpiresDate String Validity period.
AgencyCode String Organization code
Birthday String Date of birth

PhilippinesSSSID

Philippines SSSID

Used by actions: GetSdkVerificationResult, GetWebVerificationResultIntl.

Name Type Description
LicenseNumber String No.
FullName String Name
Birthday String Birthday

PhilippinesTinID

Philippines TinID

Used by actions: GetSdkVerificationResult, GetWebVerificationResultIntl.

Name Type Description
LicenseNumber String Code
FullName String Name
Address String Address.
Birthday String Birthday
IssueDate String Issue date

PhilippinesUMID

Philippines UMID

Used by actions: GetSdkVerificationResult, GetWebVerificationResultIntl.

Name Type Description
Surname String Last name
MiddleName String Middle name
GivenName String Name
Sex String Address.
Birthday String Birthday
Address String Address.
CRN String crn code

PhilippinesVoteID

Philippines voter card

Used by actions: GetSdkVerificationResult, GetWebVerificationResultIntl.

Name Type Description
VIN String VIN of Philippines VoteID
FirstName String Name
LastName String Last name
Birthday String Date of birth
CivilStatus String Marital status
Citizenship String Nationality
Address String Address.
PrecinctNo String Region.

RetrievalLivenessExtraInfo

Template retrieval details

Used by actions: DetectAIFakeFaces.

Name Type Description
HitGroup String

Type of the matched template. Common: public library; Auto: automatic clustering library; Owner: custom template library.

SimilarityScore Float

Similarity between the request image and the matched attack template. The value range is [0,2]. A smaller value indicates a higher probability of matching an attack template. The default threshold is 0.6. A SimilarityScore ≥ 0.6 indicates normal, and a SimilarityScore < 0.6 indicates an attack.

HitTemplate String

id of the matched template

RiskDetailItem

RiskDetailItem

Used by actions: DetectAIFakeFaces.

Name Type Required Description
Type String No

Risk item type.

Valid values:

  • IpLocationMismatch: The country/region of the reported coordinates is inconsistent with the country/region of the IP address.
  • AbnormalLocationChange: The same person has physically impossible displacement within a short period of time.
  • BlacklistHit: A customer-created face blocklist is matched.

SingaporeIDCard

Singapore ID card

Used by actions: GetSdkVerificationResult, GetWebVerificationResultIntl.

Name Type Description
ChineseName String Chinese Name
FullName String English name
LicenseNumber String Identity number
Sex String Sex
Nationality String Country of birth
Birthday String Birthday
Address String Address (back field)
Race String Nationality (back field)
NRICCode String Nric number (back field)
PostCode String Post number (back field)
DateOfExpiration String Expires on (back field)
DateOfIssue String Issue date (field on the back)

TaiWanIDCard

Taiwan (China) ID card

Used by actions: GetSdkVerificationResult, GetWebVerificationResultIntl.

Name Type Description
FullName String Name.
LicenseNumber String Identity card
Sex String Sex
IssuedCountry String City of issuance
RegistrationNumber String Registration number

VerificationDetail

Detailed process information for verification

Used by actions: GetWebVerificationResultIntl.

Name Type Description
ErrorCode Integer Final result of this verification. 0 indicates that the verification is passed and the person is determined to be the same person.
ErrorMsg String Final result description of this verification
LivenessErrorCode Integer Liveness detection result of this verification. 0 indicates success.
LivenessErrorMsg String Description of the liveness detection result for this verification
CompareErrorCode Integer Result of this verification comparison. 0 indicates that the best face photo collected from the video stream and the uploaded image for comparison are determined to be the same person.
CompareErrorMsg String Result description of this verification comparison
ReqTimestamp Integer Verification timestamp (ms) this time
Similarity Float Similarity between the best face photo collected from the video stream in this verification and the uploaded image for comparison. Value range: [0.00, 100.00]. By default, the two are determined to be the same person when the similarity is at least 70.
Seq String Unique identifier for this verification
LivenessInfoTag Array of String Description of the detailed reason why the current request was rejected in the liveness phase. This parameter is returned only for the PLUS version of the eKYC service.
-Details as follows:
01-User eyes closed throughout
02 - User has not completed the specified action
03-Suspected rephotography attack
04-Suspected synthesis attack
05-Suspected fraud template
06-Suspected watermark
07-Reflection validation failed
08-Suspected midway change person
09: Poor face quality
10-distance check failed
11-Suspected adversarial sample attack
12-Mouth area suspected of attack traces
13-Eye area suspected to have attack traces
14-Eye or mouth covered
Note: This field may return null, indicating that no valid values can be obtained.
Example value: ["01"].

WebVerificationConfigIntl

eKYC Web page related configurations

Used by actions: ApplyWebVerificationBizTokenIntl.

Name Type Required Description
AutoSkipStartPage Boolean No

Indicates whether to skip the start verification page when starting verification. If set to true, the verification process starts directly. The default value is false. If a fallback policy is triggered, this configuration does not take effect.

AutoSkip Boolean No

Indicates whether to skip the result display page and automatically redirect to RedirectURL when verification succeeds. The default value is false.

CheckMode Integer No

Detection mode. Valid values:
1: OCR + liveness detection + face comparison;
2: Liveness detection + face comparison;
3: Liveness detection;
4: OCR.
The default value is 2.

IDCardType String No

The type of card used for authentication. Currently supported types:
1. HKIDCard: Hong Kong (China) ID card
2. MLIDCard: Malaysian ID card
3. IndonesiaIDCard: Indonesian ID card
4. PhilippinesVoteID: Philippine voter's card
5. PhilippinesDrivingLicense: Philippine driving license
6. PhilippinesTinID: Philippine TIN ID
7. PhilippinesSSSID: Philippine SSS ID
8. PhilippinesUMID: Philippine UMID
9. InternationalIDPassport: Passports from Hong Kong/Macao/Taiwan (China) and overseas
10. ThailandIDCard: Thai ID card
11. SingaporeIDCard: Singaporean ID card
12. MainlandIDCard: Mainland ID card

DisableCheckOcrWarnings Boolean No

Indicates whether to disable document alerts. The default value is false, which means the alert detection feature is enabled. When enabled, the identity authentication process will be blocked based on document alerts. If you need to use the document authentication feature, please contact us.

SecurityLevel Integer No

Security level of authentication:
1: Silent liveness;
2: Motion liveness;
3: Light liveness;
4: Motion + light liveness;
The default value is 3.

SkipPrivacyPolicy Boolean No

Indicates whether to skip the agreement page. The default value is false. When SkipPrivacyPolicy is false, the agreement page is displayed and the privacy agreement must be selected. When SkipPrivacyPolicy is true, the agreement page is skipped and the liveness process starts directly without selecting the privacy agreement.

IdCardCutReturn Boolean No

The default value is false. When set to false, the original document image is displayed. When set to true, the cropped document image is displayed.

ThemeColor String No

Frontend theme color, in the format of an RGB hexadecimal color code. The default value is "#2d72f1". If the format is incorrect, the default color is used.

Language String No

Internationalization language. The default value is en (English). Currently supported languages:
th: Thai;
en: English;
zh-cn: Simplified Chinese;
zh-tc: Traditional Chinese;
id: Indonesian.

AutoDowngrade Integer No

Automatic fallback mode. Valid values:
1: Fall back to silent liveness mode;
2: Disable fallback mode.
The default value is 1.

ActionList String No

Controls the action sequence. The action types are as follows:
"blink"
"mouth"
"nod"
"shake"
You can select 1 to 2 actions from the four.
Single action example: "blink"
Multiple actions example: "blink,mouth".
The default value is blink.
This parameter takes effect only when SecurityLevel is 2, 4, or 5. Otherwise, an error is reported.

LivenessRetryLimit Integer No

Maximum number of liveness verification attempts. The valid range is 1–99. The default value is 99.

LivenessTimeout Integer No

Controls the liveness detection timeout in seconds. The valid range is (0, 600]. The default value is 45 seconds.

SelectedWarningCodes String No

Selects the OCR alerts to pay attention to. When a selected OCR alert occurs, the identity authentication process is interrupted. The default value is empty, indicating that all alerts are selected. This feature requires the parameter DisableCheckOcrWarnings=false. If alerts are disabled, this parameter does not take effect.

List of alert codes and their meanings:
-9101 Incomplete border alert
-9102 Photocopy alert
-9103 Recapture alert
-9104 Photoshop alert
-9107 Reflection alert
-9108 Blur alert
-9109 Alert not enabled

AllowExpiredDocument Boolean No

Indicates whether expired identity documents are allowed to enter the liveness detection process. This parameter takes effect only when the document type is Hong Kong (China) identity card (HKID).
true (default): Expired Hong Kong (China) identity cards are allowed to enter the liveness detection process.
false: Expired Hong Kong (China) identity cards are rejected and cannot enter the liveness detection process.

Version String No

Service edition, including the basic edition (BASIC) and the PLUS edition (PLUS).

Valid values:

  • BASIC: Basic edition
  • PLUS: PLUS edition

Default value: BASIC

OcrWaitPolicy String No

When CheckMode = 1, this parameter defines the waiting policy for the OCR recognition result.

Valid values:

  • required: Wait until the OCR verification result is confirmed before proceeding to liveness detection.
  • skip: Proceed to liveness detection directly after the document photo is submitted.

Default value: required

WebhookUrl String No

Verification status callback URL. After this URL is configured, the service actively pushes notifications to this URL when the process ends. Leave it empty to disable the callback capability. As callbacks cannot be guaranteed to be 100% reliable, it is recommended to use them together with a polling mechanism to ensure that the final status is obtained.

WebhookList

Webhook configuration list

Used by actions: ListEKYCWebhooks.

Name Type Required Description
WebhookId Integer No

Callback unique ID

WebhookName String No

Callback address name

Scene String No

Callback enumeration scenario.

WebhookURL String No

Callback URL, must use HTTPS

AddTime String No

Addition Time

Parameter format: Format example: 2026-09-09 14:33:41

ModTime String No

Update time

Parameter format: Format example: 2026-09-09 14:33:41

SignatureKey String No

Callback signature key, up to 128 characters.

HasSignatureKey Boolean No

Existence of callback signature key

ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック