GovChecks: Mexico INE

Validate a user's national ID against Mexico's National Electoral Institute

post/mx/ine

Request

  • Base URL
    https://api.prod.metamap.com/oauth
  • Auth
    OAuth 2
    Client credentials
    Token URLhttps://example.com/oauth2/token

Request body

documentNumberstring required

The national ID card number

ocrNumberstring required

The national ID's OCR number

subTypestring

The national ID card's issue version (A, B, C, or D)

webhookUrlstring

Webhook URL to receive asynchronous data.

Response

200

OR

Example response

{
  "error": {
    "type": "govCheckError",
    "code": "mexicanIne.notValidParams",
    "message": "The data passed appears to be invalid"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.