curl -X POST "https://verification.didit.me/v3/database-validation/" \
-H "x-api-key: YOUR_API_KEY" \
-F "issuing_state=GTM" \
-F "services=gtm_dpi_facial" \
-F "vendor_data=user-1234" \
-F "consent=true" \
-F "document_number=1234567890101" \
-F "selfie=@./selfie.jpg" \
-F "first_name=John" \
-F "last_name=Doe" \
-F "date_of_birth=1990-01-01"
from didit import Didit
# Reads DIDIT_API_KEY.
client = Didit()
result = client.database_validation.validate(
issuing_state="GTM",
services=["gtm_dpi_facial"],
consent=True,
first_name="John",
last_name="Doe",
date_of_birth="1990-01-01",
document_number="1234567890101",
vendor_data="user-1234",
selfie=open("selfie.jpg", "rb"),
)
print(result)
import Didit, { fileFromPath } from "@didit-protocol/sdk-node";
// Reads DIDIT_API_KEY.
const didit = new Didit();
const result = await didit.databaseValidation.validate({
issuing_state: "GTM",
services: ["gtm_dpi_facial"],
consent: true,
first_name: "John",
last_name: "Doe",
date_of_birth: "1990-01-01",
document_number: "1234567890101",
vendor_data: "user-1234",
selfie: await fileFromPath("selfie.jpg"),
});
console.log(result);
ctx := context.Background()
// Reads DIDIT_API_KEY.
client := didit.NewClient()
result, err := client.DatabaseValidation.Validate(ctx, didit.DatabaseValidationValidateParams{
IssuingState: "GTM",
Services: didit.Some([]string{"gtm_dpi_facial"}),
Consent: didit.Bool(true),
FirstName: didit.String("John"),
LastName: didit.String("Doe"),
DateOfBirth: didit.String("1990-01-01"),
DocumentNumber: didit.String("1234567890101"),
VendorData: didit.String("user-1234"),
Selfie: didit.Some(didit.FileFromPath("selfie.jpg")),
})
if err != nil {
log.Fatal(err)
}
fmt.Printf("%+v\n", result)
import java.nio.file.Path;
import java.time.LocalDate;
import java.util.List;
import me.didit.Didit;
import me.didit.types.DatabaseValidationValidateParams;
// Reads DIDIT_API_KEY.
Didit client = new Didit();
var result = client.databaseValidation().validate(DatabaseValidationValidateParams.builder()
.issuingState("GTM")
.services(List.of("gtm_dpi_facial"))
.consent(true)
.firstName("John")
.lastName("Doe")
.dateOfBirth(LocalDate.parse("1990-01-01"))
.documentNumber("1234567890101")
.vendorData("user-1234")
.selfie(Path.of("selfie.jpg"))
.build());
System.out.println(result);
<?php
require 'vendor/autoload.php';
use Didit\DiditClient;
use Didit\File;
// Reads DIDIT_API_KEY.
$didit = new DiditClient();
$result = $didit->databaseValidation->validate([
'issuing_state' => 'GTM',
'services' => ['gtm_dpi_facial'],
'consent' => true,
'first_name' => 'John',
'last_name' => 'Doe',
'date_of_birth' => '1990-01-01',
'document_number' => '1234567890101',
'vendor_data' => 'user-1234',
'selfie' => File::fromPath('selfie.jpg'),
]);
print_r($result->toArray());
require "didit"
# Reads DIDIT_API_KEY.
didit = Didit::Client.new
result = didit.database_validation.validate(
issuing_state: "GTM",
services: ["gtm_dpi_facial"],
consent: true,
first_name: "John",
last_name: "Doe",
date_of_birth: "1990-01-01",
document_number: "1234567890101",
vendor_data: "user-1234",
selfie: Pathname("selfie.jpg")
)
puts result.to_h
using System;
using System.Text.Json;
using Didit;
// Reads DIDIT_API_KEY.
using var client = new DiditClient();
var result = await client.DatabaseValidation.ValidateAsync(new DatabaseValidationValidateParams
{
IssuingState = "GTM",
Services = new string[] { "gtm_dpi_facial" },
Consent = true,
FirstName = "John",
LastName = "Doe",
DateOfBirth = "1990-01-01",
DocumentNumber = "1234567890101",
VendorData = "user-1234",
Selfie = FileUpload.FromPath("selfie.jpg"),
});
Console.WriteLine(JsonSerializer.Serialize(result));
{
"request_id": "req_01H…",
"status": "Approved",
"issuing_state": "GTM",
"match_type": "full_match",
"validations": [
{
"outcome_code": "MATCH",
"service_id": "gtm_dpi_facial",
"service_name": "Guatemala - DPI + face match (RENAP)",
"source_data": {
"date_of_birth": "1990-01-01",
"document_expiration_date": "2031-11-24",
"face_match": true,
"face_match_score": 98.5,
"first_name": "JOHN",
"full_name": "JOHN DOE",
"gender": "M",
"identification_number": "1234567890101",
"last_name": "DOE"
},
"validation": {
"date_of_birth": "full_match",
"full_name": "full_match",
"identification_number": "full_match"
}
}
]
}
{
"request_id": "req_01H…",
"status": "In Review",
"issuing_state": "GTM",
"match_type": "partial_match",
"validations": [
{
"outcome_code": "PARTIAL_MATCH",
"service_id": "gtm_dpi_facial",
"service_name": "Guatemala - DPI + face match (RENAP)",
"source_data": {
"date_of_birth": "1990-01-01",
"document_expiration_date": "2031-11-24",
"face_match": true,
"face_match_score": 98.5,
"first_name": "JOHN",
"full_name": "JOHN DOE",
"gender": "M",
"identification_number": "1234567890101",
"last_name": "DOE"
},
"validation": {
"date_of_birth": "full_match",
"full_name": "no_match",
"identification_number": "full_match"
}
}
]
}
{
"request_id": "req_01H…",
"status": "Declined",
"issuing_state": "GTM",
"match_type": "no_match",
"validations": [
{
"outcome_code": "NO_MATCH",
"service_id": "gtm_dpi_facial",
"service_name": "Guatemala - DPI + face match (RENAP)",
"source_data": {
"date_of_birth": "NO_MATCH",
"full_name": "NO_MATCH",
"identification_number": "NO_MATCH"
},
"validation": {
"date_of_birth": "no_match",
"full_name": "no_match",
"identification_number": "no_match"
}
}
]
}
{
"request_id": "req_01H…",
"status": "Declined",
"issuing_state": "GTM",
"match_type": "no_match",
"validations": [
{
"outcome_code": "BIOMETRIC_NO_MATCH",
"service_id": "gtm_dpi_facial",
"service_name": "Guatemala - DPI + face match (RENAP)",
"source_data": {
"date_of_birth": "NO_MATCH",
"face_match": false,
"face_match_score": 0,
"first_name": "NO_MATCH",
"identification_number": "NO_MATCH",
"last_name": "NO_MATCH"
},
"validation": {
"date_of_birth": "no_match",
"full_name": "no_match",
"identification_number": "no_match"
}
}
]
}
{
"request_id": "req_01H…",
"status": "Declined",
"issuing_state": "GTM",
"match_type": "no_match",
"validations": [
{
"outcome_code": "DOCUMENT_NOT_FOUND",
"service_id": "gtm_dpi_facial",
"service_name": "Guatemala - DPI + face match (RENAP)",
"source_data": {
"date_of_birth": "NO_MATCH",
"full_name": "NO_MATCH",
"identification_number": "NO_MATCH"
},
"validation": {
"date_of_birth": "no_match",
"full_name": "no_match",
"identification_number": "no_match"
}
}
]
}
{
"request_id": "req_01H…",
"status": "In Review",
"issuing_state": "GTM",
"match_type": "full_match",
"validations": [
{
"outcome_code": "DECEASED",
"service_id": "gtm_dpi_facial",
"service_name": "Guatemala - DPI + face match (RENAP)",
"source_data": {
"date_of_birth": "1990-01-01",
"document_expiration_date": "2031-11-24",
"face_match": true,
"face_match_score": 98.5,
"first_name": "JOHN",
"full_name": "JOHN DOE",
"gender": "M",
"identification_number": "1234567890101",
"last_name": "DOE"
},
"validation": {
"date_of_birth": "full_match",
"full_name": "full_match",
"identification_number": "full_match"
}
}
]
}
🇬🇹 危地马拉
危地马拉 DPI + 人脸比对(RENAP)API:身份匹配
通过 Didit 查询危地马拉权威数据库:DPI + 人脸比对(RENAP)。按次计费,起价 $0.40,无合同、无最低消费。
POST
/
v3
/
database-validation
/
curl -X POST "https://verification.didit.me/v3/database-validation/" \
-H "x-api-key: YOUR_API_KEY" \
-F "issuing_state=GTM" \
-F "services=gtm_dpi_facial" \
-F "vendor_data=user-1234" \
-F "consent=true" \
-F "document_number=1234567890101" \
-F "selfie=@./selfie.jpg" \
-F "first_name=John" \
-F "last_name=Doe" \
-F "date_of_birth=1990-01-01"
from didit import Didit
# Reads DIDIT_API_KEY.
client = Didit()
result = client.database_validation.validate(
issuing_state="GTM",
services=["gtm_dpi_facial"],
consent=True,
first_name="John",
last_name="Doe",
date_of_birth="1990-01-01",
document_number="1234567890101",
vendor_data="user-1234",
selfie=open("selfie.jpg", "rb"),
)
print(result)
import Didit, { fileFromPath } from "@didit-protocol/sdk-node";
// Reads DIDIT_API_KEY.
const didit = new Didit();
const result = await didit.databaseValidation.validate({
issuing_state: "GTM",
services: ["gtm_dpi_facial"],
consent: true,
first_name: "John",
last_name: "Doe",
date_of_birth: "1990-01-01",
document_number: "1234567890101",
vendor_data: "user-1234",
selfie: await fileFromPath("selfie.jpg"),
});
console.log(result);
ctx := context.Background()
// Reads DIDIT_API_KEY.
client := didit.NewClient()
result, err := client.DatabaseValidation.Validate(ctx, didit.DatabaseValidationValidateParams{
IssuingState: "GTM",
Services: didit.Some([]string{"gtm_dpi_facial"}),
Consent: didit.Bool(true),
FirstName: didit.String("John"),
LastName: didit.String("Doe"),
DateOfBirth: didit.String("1990-01-01"),
DocumentNumber: didit.String("1234567890101"),
VendorData: didit.String("user-1234"),
Selfie: didit.Some(didit.FileFromPath("selfie.jpg")),
})
if err != nil {
log.Fatal(err)
}
fmt.Printf("%+v\n", result)
import java.nio.file.Path;
import java.time.LocalDate;
import java.util.List;
import me.didit.Didit;
import me.didit.types.DatabaseValidationValidateParams;
// Reads DIDIT_API_KEY.
Didit client = new Didit();
var result = client.databaseValidation().validate(DatabaseValidationValidateParams.builder()
.issuingState("GTM")
.services(List.of("gtm_dpi_facial"))
.consent(true)
.firstName("John")
.lastName("Doe")
.dateOfBirth(LocalDate.parse("1990-01-01"))
.documentNumber("1234567890101")
.vendorData("user-1234")
.selfie(Path.of("selfie.jpg"))
.build());
System.out.println(result);
<?php
require 'vendor/autoload.php';
use Didit\DiditClient;
use Didit\File;
// Reads DIDIT_API_KEY.
$didit = new DiditClient();
$result = $didit->databaseValidation->validate([
'issuing_state' => 'GTM',
'services' => ['gtm_dpi_facial'],
'consent' => true,
'first_name' => 'John',
'last_name' => 'Doe',
'date_of_birth' => '1990-01-01',
'document_number' => '1234567890101',
'vendor_data' => 'user-1234',
'selfie' => File::fromPath('selfie.jpg'),
]);
print_r($result->toArray());
require "didit"
# Reads DIDIT_API_KEY.
didit = Didit::Client.new
result = didit.database_validation.validate(
issuing_state: "GTM",
services: ["gtm_dpi_facial"],
consent: true,
first_name: "John",
last_name: "Doe",
date_of_birth: "1990-01-01",
document_number: "1234567890101",
vendor_data: "user-1234",
selfie: Pathname("selfie.jpg")
)
puts result.to_h
using System;
using System.Text.Json;
using Didit;
// Reads DIDIT_API_KEY.
using var client = new DiditClient();
var result = await client.DatabaseValidation.ValidateAsync(new DatabaseValidationValidateParams
{
IssuingState = "GTM",
Services = new string[] { "gtm_dpi_facial" },
Consent = true,
FirstName = "John",
LastName = "Doe",
DateOfBirth = "1990-01-01",
DocumentNumber = "1234567890101",
VendorData = "user-1234",
Selfie = FileUpload.FromPath("selfie.jpg"),
});
Console.WriteLine(JsonSerializer.Serialize(result));
{
"request_id": "req_01H…",
"status": "Approved",
"issuing_state": "GTM",
"match_type": "full_match",
"validations": [
{
"outcome_code": "MATCH",
"service_id": "gtm_dpi_facial",
"service_name": "Guatemala - DPI + face match (RENAP)",
"source_data": {
"date_of_birth": "1990-01-01",
"document_expiration_date": "2031-11-24",
"face_match": true,
"face_match_score": 98.5,
"first_name": "JOHN",
"full_name": "JOHN DOE",
"gender": "M",
"identification_number": "1234567890101",
"last_name": "DOE"
},
"validation": {
"date_of_birth": "full_match",
"full_name": "full_match",
"identification_number": "full_match"
}
}
]
}
{
"request_id": "req_01H…",
"status": "In Review",
"issuing_state": "GTM",
"match_type": "partial_match",
"validations": [
{
"outcome_code": "PARTIAL_MATCH",
"service_id": "gtm_dpi_facial",
"service_name": "Guatemala - DPI + face match (RENAP)",
"source_data": {
"date_of_birth": "1990-01-01",
"document_expiration_date": "2031-11-24",
"face_match": true,
"face_match_score": 98.5,
"first_name": "JOHN",
"full_name": "JOHN DOE",
"gender": "M",
"identification_number": "1234567890101",
"last_name": "DOE"
},
"validation": {
"date_of_birth": "full_match",
"full_name": "no_match",
"identification_number": "full_match"
}
}
]
}
{
"request_id": "req_01H…",
"status": "Declined",
"issuing_state": "GTM",
"match_type": "no_match",
"validations": [
{
"outcome_code": "NO_MATCH",
"service_id": "gtm_dpi_facial",
"service_name": "Guatemala - DPI + face match (RENAP)",
"source_data": {
"date_of_birth": "NO_MATCH",
"full_name": "NO_MATCH",
"identification_number": "NO_MATCH"
},
"validation": {
"date_of_birth": "no_match",
"full_name": "no_match",
"identification_number": "no_match"
}
}
]
}
{
"request_id": "req_01H…",
"status": "Declined",
"issuing_state": "GTM",
"match_type": "no_match",
"validations": [
{
"outcome_code": "BIOMETRIC_NO_MATCH",
"service_id": "gtm_dpi_facial",
"service_name": "Guatemala - DPI + face match (RENAP)",
"source_data": {
"date_of_birth": "NO_MATCH",
"face_match": false,
"face_match_score": 0,
"first_name": "NO_MATCH",
"identification_number": "NO_MATCH",
"last_name": "NO_MATCH"
},
"validation": {
"date_of_birth": "no_match",
"full_name": "no_match",
"identification_number": "no_match"
}
}
]
}
{
"request_id": "req_01H…",
"status": "Declined",
"issuing_state": "GTM",
"match_type": "no_match",
"validations": [
{
"outcome_code": "DOCUMENT_NOT_FOUND",
"service_id": "gtm_dpi_facial",
"service_name": "Guatemala - DPI + face match (RENAP)",
"source_data": {
"date_of_birth": "NO_MATCH",
"full_name": "NO_MATCH",
"identification_number": "NO_MATCH"
},
"validation": {
"date_of_birth": "no_match",
"full_name": "no_match",
"identification_number": "no_match"
}
}
]
}
{
"request_id": "req_01H…",
"status": "In Review",
"issuing_state": "GTM",
"match_type": "full_match",
"validations": [
{
"outcome_code": "DECEASED",
"service_id": "gtm_dpi_facial",
"service_name": "Guatemala - DPI + face match (RENAP)",
"source_data": {
"date_of_birth": "1990-01-01",
"document_expiration_date": "2031-11-24",
"face_match": true,
"face_match_score": 98.5,
"first_name": "JOHN",
"full_name": "JOHN DOE",
"gender": "M",
"identification_number": "1234567890101",
"last_name": "DOE"
},
"validation": {
"date_of_birth": "full_match",
"full_name": "full_match",
"identification_number": "full_match"
}
}
]
}
核验危地马拉 CUI 是否存在于国家登记库(RENAP)中,并将申请人的自拍照与 RENAP 官方照片进行比对,同时将持有人的姓名和出生日期与登记库记录进行比较。Didit 通过
POST /v3/database-validation/ 提供此服务,您可以将提交的数据与权威来源进行核对,并获得标准化的比对结果。
覆盖范围
- 覆盖率: ~ 100%
- 国家/地区: 危地马拉
- 服务 ID:
gtm_dpi_facial - 数据领域: 生物识别
- 类别: NationalIDRegistry
输入
| 字段 | 必填 | 示例 |
|---|---|---|
document_number | 是 | 1234567890101 |
selfie | 是 | @./selfie.jpg |
first_name | 否 | John |
last_name | 否 | Doe |
date_of_birth | 否 | 1990-01-01 |
vendor_data | 否 | user-1234 |
- 必填输入:
document_number、selfie - 可选输入:
first_name、last_name、date_of_birth、vendor_data - 同意: 必填
- 工作流可用性: 可在工作流中使用
- 覆盖率: ~ 100%
- 价格: 每次成功查询收费 $0.40
请求体参数
string
默认值:"GTM"
必填
此数据库服务的 ISO 3166-1 alpha-3 国家代码。示例:
GTMstring
默认值:"gtm_dpi_facial"
必填
包含此服务 ID 的数组。指定该服务可确保请求限定到这一特定数据库。示例:
gtm_dpi_facialboolean
默认值:"true"
必填
终端用户对此服务的明确同意。示例:
truestring
默认值:"1234567890101"
必填
从用户处提取或由用户提供的证件号码。示例:
1234567890101file
必填
要上传的用于生物识别数据库核验的自拍照文件。支持的格式:JPEG、PNG 或 WebP。示例:
@./selfie.jpgstring
默认值:"John"
需要核验的名字。示例:
Johnstring
默认值:"Doe"
需要核验的姓氏。示例:
Doestring
默认值:"1990-01-01"
出生日期,格式为
YYYY-MM-DD。示例:1990-01-01string
默认值:"user-1234"
您为该用户设定的稳定用户标识,例如您的内部用户 ID。Didit 使用它将独立检查关联到同一终端用户,并减少重复检测的干扰。示例:
user-1234输入规则与校验说明
- 危地马拉 DPI(恰好 13 位数字)
document_number只能包含数字;发送请求前请删除空格、连字符和标点符号。document_number长度必须恰好为 13 个字符。document_number必须匹配\d{13}。
调用方法
curl -X POST "https://verification.didit.me/v3/database-validation/" \
-H "x-api-key: YOUR_API_KEY" \
-F "issuing_state=GTM" \
-F "services=gtm_dpi_facial" \
-F "vendor_data=user-1234" \
-F "consent=true" \
-F "document_number=1234567890101" \
-F "selfie=@./selfie.jpg" \
-F "first_name=John" \
-F "last_name=Doe" \
-F "date_of_birth=1990-01-01"
from didit import Didit
# Reads DIDIT_API_KEY.
client = Didit()
result = client.database_validation.validate(
issuing_state="GTM",
services=["gtm_dpi_facial"],
consent=True,
first_name="John",
last_name="Doe",
date_of_birth="1990-01-01",
document_number="1234567890101",
vendor_data="user-1234",
selfie=open("selfie.jpg", "rb"),
)
print(result)
import Didit, { fileFromPath } from "@didit-protocol/sdk-node";
// Reads DIDIT_API_KEY.
const didit = new Didit();
const result = await didit.databaseValidation.validate({
issuing_state: "GTM",
services: ["gtm_dpi_facial"],
consent: true,
first_name: "John",
last_name: "Doe",
date_of_birth: "1990-01-01",
document_number: "1234567890101",
vendor_data: "user-1234",
selfie: await fileFromPath("selfie.jpg"),
});
console.log(result);
ctx := context.Background()
// Reads DIDIT_API_KEY.
client := didit.NewClient()
result, err := client.DatabaseValidation.Validate(ctx, didit.DatabaseValidationValidateParams{
IssuingState: "GTM",
Services: didit.Some([]string{"gtm_dpi_facial"}),
Consent: didit.Bool(true),
FirstName: didit.String("John"),
LastName: didit.String("Doe"),
DateOfBirth: didit.String("1990-01-01"),
DocumentNumber: didit.String("1234567890101"),
VendorData: didit.String("user-1234"),
Selfie: didit.Some(didit.FileFromPath("selfie.jpg")),
})
if err != nil {
log.Fatal(err)
}
fmt.Printf("%+v\n", result)
import java.nio.file.Path;
import java.time.LocalDate;
import java.util.List;
import me.didit.Didit;
import me.didit.types.DatabaseValidationValidateParams;
// Reads DIDIT_API_KEY.
Didit client = new Didit();
var result = client.databaseValidation().validate(DatabaseValidationValidateParams.builder()
.issuingState("GTM")
.services(List.of("gtm_dpi_facial"))
.consent(true)
.firstName("John")
.lastName("Doe")
.dateOfBirth(LocalDate.parse("1990-01-01"))
.documentNumber("1234567890101")
.vendorData("user-1234")
.selfie(Path.of("selfie.jpg"))
.build());
System.out.println(result);
<?php
require 'vendor/autoload.php';
use Didit\DiditClient;
use Didit\File;
// Reads DIDIT_API_KEY.
$didit = new DiditClient();
$result = $didit->databaseValidation->validate([
'issuing_state' => 'GTM',
'services' => ['gtm_dpi_facial'],
'consent' => true,
'first_name' => 'John',
'last_name' => 'Doe',
'date_of_birth' => '1990-01-01',
'document_number' => '1234567890101',
'vendor_data' => 'user-1234',
'selfie' => File::fromPath('selfie.jpg'),
]);
print_r($result->toArray());
require "didit"
# Reads DIDIT_API_KEY.
didit = Didit::Client.new
result = didit.database_validation.validate(
issuing_state: "GTM",
services: ["gtm_dpi_facial"],
consent: true,
first_name: "John",
last_name: "Doe",
date_of_birth: "1990-01-01",
document_number: "1234567890101",
vendor_data: "user-1234",
selfie: Pathname("selfie.jpg")
)
puts result.to_h
using System;
using System.Text.Json;
using Didit;
// Reads DIDIT_API_KEY.
using var client = new DiditClient();
var result = await client.DatabaseValidation.ValidateAsync(new DatabaseValidationValidateParams
{
IssuingState = "GTM",
Services = new string[] { "gtm_dpi_facial" },
Consent = true,
FirstName = "John",
LastName = "Doe",
DateOfBirth = "1990-01-01",
DocumentNumber = "1234567890101",
VendorData = "user-1234",
Selfie = FileUpload.FromPath("selfie.jpg"),
});
Console.WriteLine(JsonSerializer.Serialize(result));
每次成功的调用都返回 HTTP 200。outcome_code 字段说明实际发生的结果,例如区分真实的生物识别不匹配(BIOMETRIC_NO_MATCH)与无法读取的自拍照(BIOMETRIC_IMAGE_UNUSABLE)。所示的 status 为默认功能状态;您配置的部分匹配 / 无匹配操作可以覆盖它。MATCH:登记库确认了身份,且所有检查的字段均已匹配。{
"request_id": "req_01H…",
"status": "Approved",
"issuing_state": "GTM",
"match_type": "full_match",
"validations": [
{
"outcome_code": "MATCH",
"service_id": "gtm_dpi_facial",
"service_name": "Guatemala - DPI + face match (RENAP)",
"source_data": {
"date_of_birth": "1990-01-01",
"document_expiration_date": "2031-11-24",
"face_match": true,
"face_match_score": 98.5,
"first_name": "JOHN",
"full_name": "JOHN DOE",
"gender": "M",
"identification_number": "1234567890101",
"last_name": "DOE"
},
"validation": {
"date_of_birth": "full_match",
"full_name": "full_match",
"identification_number": "full_match"
}
}
]
}
PARTIAL_MATCH:已找到证件号码,但一个或多个个人字段(通常是姓名或出生日期)未完全匹配。{
"request_id": "req_01H…",
"status": "In Review",
"issuing_state": "GTM",
"match_type": "partial_match",
"validations": [
{
"outcome_code": "PARTIAL_MATCH",
"service_id": "gtm_dpi_facial",
"service_name": "Guatemala - DPI + face match (RENAP)",
"source_data": {
"date_of_birth": "1990-01-01",
"document_expiration_date": "2031-11-24",
"face_match": true,
"face_match_score": 98.5,
"first_name": "JOHN",
"full_name": "JOHN DOE",
"gender": "M",
"identification_number": "1234567890101",
"last_name": "DOE"
},
"validation": {
"date_of_birth": "full_match",
"full_name": "no_match",
"identification_number": "full_match"
}
}
]
}
NO_MATCH:登记库未返回与所提交数据匹配的记录。{
"request_id": "req_01H…",
"status": "Declined",
"issuing_state": "GTM",
"match_type": "no_match",
"validations": [
{
"outcome_code": "NO_MATCH",
"service_id": "gtm_dpi_facial",
"service_name": "Guatemala - DPI + face match (RENAP)",
"source_data": {
"date_of_birth": "NO_MATCH",
"full_name": "NO_MATCH",
"identification_number": "NO_MATCH"
},
"validation": {
"date_of_birth": "no_match",
"full_name": "no_match",
"identification_number": "no_match"
}
}
]
}
BIOMETRIC_NO_MATCH:人脸比对分数低于接受阈值,即自拍照与登记库照片不是同一人。{
"request_id": "req_01H…",
"status": "Declined",
"issuing_state": "GTM",
"match_type": "no_match",
"validations": [
{
"outcome_code": "BIOMETRIC_NO_MATCH",
"service_id": "gtm_dpi_facial",
"service_name": "Guatemala - DPI + face match (RENAP)",
"source_data": {
"date_of_birth": "NO_MATCH",
"face_match": false,
"face_match_score": 0,
"first_name": "NO_MATCH",
"identification_number": "NO_MATCH",
"last_name": "NO_MATCH"
},
"validation": {
"date_of_birth": "no_match",
"full_name": "no_match",
"identification_number": "no_match"
}
}
]
}
DOCUMENT_NOT_FOUND:所提交的证件号码在登记库中没有对应记录。{
"request_id": "req_01H…",
"status": "Declined",
"issuing_state": "GTM",
"match_type": "no_match",
"validations": [
{
"outcome_code": "DOCUMENT_NOT_FOUND",
"service_id": "gtm_dpi_facial",
"service_name": "Guatemala - DPI + face match (RENAP)",
"source_data": {
"date_of_birth": "NO_MATCH",
"full_name": "NO_MATCH",
"identification_number": "NO_MATCH"
},
"validation": {
"date_of_birth": "no_match",
"full_name": "no_match",
"identification_number": "no_match"
}
}
]
}
DECEASED:身份已匹配,但登记库将该人员标记为已故。{
"request_id": "req_01H…",
"status": "In Review",
"issuing_state": "GTM",
"match_type": "full_match",
"validations": [
{
"outcome_code": "DECEASED",
"service_id": "gtm_dpi_facial",
"service_name": "Guatemala - DPI + face match (RENAP)",
"source_data": {
"date_of_birth": "1990-01-01",
"document_expiration_date": "2031-11-24",
"face_match": true,
"face_match_score": 98.5,
"first_name": "JOHN",
"full_name": "JOHN DOE",
"gender": "M",
"identification_number": "1234567890101",
"last_name": "DOE"
},
"validation": {
"date_of_birth": "full_match",
"full_name": "full_match",
"identification_number": "full_match"
}
}
]
}
返回数据
source_data 中实际返回的字段取决于登记库返回的内容。gtm_dpi_facial 的自动生成示例目前记录了以下标准化结构:
date_of_birthdocument_expiration_dateface_matchface_match_scorefirst_namefull_namegenderidentification_numberlast_name
定价与 SLA
危地马拉 - DPI + 人脸比对(RENAP)查询仅在 Didit 从核验来源收到确定结果时计费。- 单次调用价格: $0.40 USD。
- 计费方式: 按每次成功的查询计费。登记库无法访问、必填字段缺失或请求在到达数据源前被拒绝时,不收费。
- 延迟: 典型 p95 低于 2 秒。
- 可用性: Didit 侧每季度 99.9%;下游数据源的可用性因国家和数据集而异。
继续阅读
最后修改于 2026年11月7日