Skip to main content

Verification (stable)

Download OpenAPI specification:Download

API de verificacion de identidad con RENAPO, SAT y Lista Nominal

RENAPO

Validaciones con la institucion de RENAPO

Validación de CURP

Authorizations:
apiKey
Request Body schema: application/json
curp
required
string = 18 characters ^([A-Z]{1})([AEIOU]{1})([A-Z]{2})([0-9]{2})(0...

Responses

Request samples

Content type
application/json
{
  • "curp": "GOVM800705MCLMLR01"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "result": {
    }
}

Obtención de CURP

Authorizations:
apiKey
Request Body schema: application/json
name
required
string

Nombre de la persona

first_last_name
required
string

Primero apellido de la persona

second_last_name
required
string

Segundo apellido de la persona

gender
required
string
Enum: "H" "M"

Sexo de la persona

birth_date
required
string <date>

Fecha de nacimiento de la persona

birth_federal_entity
required
string
Enum: "AS" "BC" "BS" "CC" "CL" "CM" "CS" "CH" "DF" "DG" "GT" "GR" "HG" "JC" "MC" "MN" "MS" "NT" "NL" "OC" "PL" "QT" "QR" "SP" "SL" "SR" "TC" "TS" "TL" "VZ" "YN" "ZS"

Entidad Federal de Nacimiento

Responses

Request samples

Content type
application/json
{
  • "name": "MARGARITA",
  • "first_last_name": "GOMEZ",
  • "second_last_name": "VELAZQUEZ",
  • "gender": "M",
  • "birth_date": "1990-05-30",
  • "birth_federal_entity": "CL"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "result": {
    }
}

SAT

Validaciones con la institucion del SAT

Obtención y validación de RFC

Authorizations:
apiKey
Request Body schema: application/json
name
required
string

Nombre de la persona o de la razon social

first_last_name
string

Primer apellido de la persona. Requerido si es persona Fisica

second_last_name
string

Segundo apellido de la persona. Requerido si es persona Fisica

birth_date
required
string <date>

Fecha de nacimiento o de constitucion de una empresa

person_type
required
string
Enum: "PF" "PM"

Tipo de persona

Responses

Request samples

Content type
application/json
{
  • "name": "MARGARITA",
  • "first_last_name": "GOMEZ",
  • "second_last_name": "VELAZQUEZ",
  • "birth_date": "1990-05-30",
  • "person_type": "PF"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "result": {
    }
}

Lista Nominal

Validacion de INE contra Lista Nominal

Validacion de INE

Authorizations:
apiKey
query Parameters
webhook
required
string <url>
Example: webhook=https://webhook.com

URL de Webhook de validacion de INE (Debe ser HTTPS)

Request Body schema: application/json
type
required
string
Enum: "EFGH" "C" "D"

Tipo de credencial a validar

cic
string

Numero CIC obtenido de la parte posterior de la INE. Requerido en tipos EFGH y D

ocr
required
string

Numero OCR obtenido de la parte posterior de la INE.

electorKey
string

Clave electoral obtenida de la parte frontal de la INE. Requerido en tipo C

emissionNumber
string

Numero de emision del INE. Requerido en tipo C

Responses

Request samples

Content type
application/json
{
  • "type": "EFGH",
  • "cic": "122316419",
  • "ocr": "3172192130301",
  • "electorKey": "GNXXM293023014H201",
  • "emissionNumber": "01"
}

Response samples

Content type
application/json
{
  • "webhook_uuid": "a1759cfc-29c5-447c-b79e-44af09d0cd7d",
  • "timestamp": 1650062020982
}

Webhooks

Respuesta de validacion de INE Webhook

Request Body schema: application/json
cic
string [ 8 .. 9 ] characters

requerido para los tipos D y EFGH

ocr
string >= 6 characters
valid
boolean
expired
boolean
messages
Array of strings
court_order
boolean
elector_key
string <= 18 characters
emission_at
string <= 4 characters
registered_at
string <= 4 characters
incorrect_data
boolean
local_district
string <= 3 characters
federal_district
string <= 3 characters
emission_number
string <= 2 characters

Responses

Request samples

Content type
application/json
{
  • "cic": "189082445",
  • "ocr": "4102023451456",
  • "valid": true,
  • "expired": false,
  • "messages": [
    ],
  • "court_order": false,
  • "elector_key": "FRJMER94122309H903",
  • "emission_at": "2021",
  • "registered_at": "2016",
  • "incorrect_data": false,
  • "local_district": "01",
  • "federal_district": "01",
  • "emission_number": "01"
}
rem

JOIN US ON

facebooktwitterLinkedIn
CONTACThello@rem.tools55-91-03-80-54
© Copyright rem 2022 All rights reserved.