GovChecks: Peru Migration Institute

Verify that a user has a valid immigration status in Peru

post/pe/migration-institute

Request

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

Request body

documentNumberstring required
dateOfBirthstring date required
callbackUrlstring required

Webhook URL

Response

200

statusinteger
idstring
dataunknown
timestampstring

Example response

{
  "status": 200,
  "id": "peruvian-national-migration-institute",
  "error": {
    "type": "stepError",
    "code": "peruvianNationalMigrationInstitute.noResults",
    "message": "The user was not found in the foreign immigration database"
  },
  "timestamp": "2020-11-17T18:36:57.198Z"
}

Changes

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