Skip to main content
POST
Verifies a Guatemalan CUI against the national register (RENAP) and matches the applicant’s selfie against the official RENAP photo, comparing the holder’s names and date of birth with the register’s record. Didit exposes this service through POST /v3/database-validation/ so you can verify the submitted data against the authoritative source and receive normalized match results.

Coverage

  • Coverage: ~ 100%
  • Country: Guatemala
  • Service ID: gtm_dpi_facial
  • Data domain: Biometric
  • Category: NationalIDRegistry

Inputs

  • Required inputs: document_number, selfie
  • Optional inputs: first_name, last_name, date_of_birth, vendor_data
  • Consent: Required
  • Workflow availability: Available in workflow
  • Coverage: ~ 100%
  • Price: $0.35 per successful query

Body parameters

string
default:"GTM"
required
ISO 3166-1 alpha-3 country code for this database service.Example: GTM
string
default:"gtm_dpi_facial"
required
Array containing this service ID. Pinning the service keeps the request scoped to this exact database.Example: gtm_dpi_facial
Explicit end-user consent for this service.Example: true
string
default:"1234567890101"
required
Document number extracted from or provided by the user.Example: 1234567890101
file
required
Selfie image file to upload for biometric database validation. Accepted formats: JPEG, PNG, or WebP.Example: @./selfie.jpg
string
default:"John"
Given name to validate.Example: John
string
default:"Doe"
Family name to validate.Example: Doe
string
default:"1990-01-01"
Date of birth in YYYY-MM-DD format.Example: 1990-01-01
string
default:"user-1234"
Your stable user reference for this person, such as your internal user ID. Didit uses it to link standalone checks to the same end user and reduce duplicate-detection noise.Example: user-1234

Input rules & validation notes

  • Guatemalan DPI (exactly 13 digits)
  • document_number must contain digits only; remove spaces, hyphens, and punctuation before sending the request.
  • document_number must be exactly 13 characters long.
  • document_number must match \d{13}.

How to call it

Returned data

The exact fields surfaced in source_data depend on what the registry returns. The generated example for gtm_dpi_facial currently documents this normalized shape:
  • date_of_birth
  • document_expiration_date
  • face_match
  • face_match_score
  • first_name
  • full_name
  • gender
  • identification_number
  • last_name

Pricing & SLAs

Guatemala - DPI + face match (RENAP) queries are billed only when Didit receives a conclusive result from the validation source.
  • Per-call price: $0.35 USD.
  • Billing: per successful query. You are not charged when the registry is unreachable, when required fields are missing, or when the request is rejected before reaching the source.
  • Latency: typical p95 < 2 s.
  • Availability: 99.9% per quarter on Didit’s side; downstream source availability varies by country and dataset.

Continue reading