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"
}
}
]
}
🇬🇹 Guatemala
Validació DPI Guatemala, coincidència facial (RENAP) API
Consulta de base de dades oficial de Guatemala via Didit: DPI i coincidència facial amb RENAP. Des de $0.40 per crida, sense contractes ni mínims.
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"
}
}
]
}
Verifica un CUI de Guatemala davant del registre nacional (RENAP) i compara el selfie de la persona amb la fotografia oficial del RENAP, comparant el nom i els cognoms del titular i la data de naixement amb el registre. Didit ofereix aquest servei a través de
POST /v3/database-validation/ perquè puguis verificar les dades enviades amb la font autoritativa i rebre resultats de coincidència normalitzats.
Cobertura
- Cobertura: ~ 100%
- País: Guatemala
- ID del servei:
gtm_dpi_facial - Àmbit de dades: Biomètrica
- Categoria: NationalIDRegistry
Entrades
| Camp | Obligatori | Exemple |
|---|---|---|
document_number | Sí | 1234567890101 |
selfie | Sí | @./selfie.jpg |
first_name | No | John |
last_name | No | Doe |
date_of_birth | No | 1990-01-01 |
vendor_data | No | user-1234 |
- Entrades obligatòries:
document_number,selfie - Entrades opcionals:
first_name,last_name,date_of_birth,vendor_data - Consentiment: Obligatori
- Disponibilitat al flux de treball: Disponible en el flux de treball
- Cobertura: ~ 100%
- Preu: $0.40 per consulta satisfactòria
Paràmetres del cos
string
predeterminat:"GTM"
requerit
Codi de país ISO 3166-1 alpha-3 per a aquest servei de base de dades.Exemple:
GTMstring
predeterminat:"gtm_dpi_facial"
requerit
Matriu que conté aquest ID de servei. Fixar el servei manté la sol·licitud limitada a aquesta base de dades concreta.Exemple:
gtm_dpi_facialboolean
predeterminat:"true"
requerit
Consentiment explícit de l’usuari final per a aquest servei.Exemple:
truestring
predeterminat:"1234567890101"
requerit
Número de document extret del document o proporcionat per l’usuari.Exemple:
1234567890101file
requerit
Fitxer d’imatge del selfie que cal pujar per a la validació biomètrica a la base de dades. Formats acceptats: JPEG, PNG o WebP.Exemple:
@./selfie.jpgstring
predeterminat:"John"
Nom de pila a validar.Exemple:
Johnstring
predeterminat:"Doe"
Cognom a validar.Exemple:
Doestring
predeterminat:"1990-01-01"
Data de naixement en format
YYYY-MM-DD.Exemple: 1990-01-01string
predeterminat:"user-1234"
La teva referència estable d’usuari per a aquesta persona, com ara el teu ID d’usuari intern. Didit l’utilitza per vincular les comprovacions independents al mateix usuari final i reduir el soroll de detecció de duplicats.Exemple:
user-1234Regles d’entrada i notes de validació
- DPI de Guatemala (exactament 13 dígits)
document_numberha de contenir només dígits; elimina espais, guions i signes de puntuació abans d’enviar la sol·licitud.document_numberha de tenir exactament 13 caràcters.document_numberha de coincidir amb\d{13}.
Com fer la crida
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));
Cada crida satisfactòria retorna HTTP 200. El camp outcome_code t’indica què ha passat realment, i distingeix, per exemple, una discrepància biomètrica real (BIOMETRIC_NO_MATCH) d’un selfie que no s’ha pogut llegir (BIOMETRIC_IMAGE_UNUSABLE). L’status que es mostra és l’estat per defecte de la funcionalitat; les teves accions de Coincidència parcial / Sense coincidència configurades poden substituir-lo.MATCH: El registre ha confirmat la identitat i tots els camps verificats coincideixen.{
"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: S’ha trobat el número d’identificació, però un o més camps personals (normalment el nom o la data de naixement) no coincideixen del tot.{
"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: El registre no ha retornat cap coincidència per a les dades enviades.{
"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: La puntuació de coincidència facial és inferior al llindar d’acceptació: la persona del selfie no és la mateixa que la de la fotografia del registre.{
"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: El número de document enviat no correspon a cap registre de la base de dades.{
"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: La identitat coincideix, però el registre marca la persona com a difunta.{
"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"
}
}
]
}
Dades retornades
Els camps exactes que apareixen asource_data depenen del que retorni el registre. L’exemple generat per a gtm_dpi_facial documenta actualment aquesta estructura normalitzada:
date_of_birthdocument_expiration_dateface_matchface_match_scorefirst_namefull_namegenderidentification_numberlast_name
Preus i SLA
Les consultes de Guatemala - DPI + coincidència facial (RENAP) només es facturen quan Didit rep un resultat concloent de la font de validació.- Preu per crida: $0.40 USD.
- Facturació: per consulta satisfactòria. No se’t cobra quan el registre no és accessible, quan falten camps obligatoris o quan la sol·licitud es rebutja abans d’arribar a la font.
- Latència: p95 habitual < 2 s.
- Disponibilitat: 99.9% per trimestre per part de Didit; la disponibilitat de la font externa varia segons el país i el conjunt de dades.
Continua llegint
Darrera modificació el 7 de novembre del 2026