mono-logo

Int'l Passport Lookup Integration Guide

Last updated Dec 17th, 2023

Overview

Our Int'l Passport Lookup service enables you to verify detailed information about an international passport. This guide will walk you through the process of integrating this service into your application, allowing you to retrieve important passport details seamlessly.

Prerequisites

Prerequisites

To get started, please ensure to:

Integration Steps

Step 1: Make a Passport Lookup Request

To retrieve information about an international passport, send a POST request to the following endpoint:

Request

1
POST https://api.withmono.com/v3/lookup/passport

Request Body Parameters

  • passport_number (required): Provide the passport number associated with the document.
  • last_name (required): Provide the last name as it appears on the passport document.

Include these two parameters in the request body to specify the passport number and last name for the lookup.

Request Headers

Include the following header in your request for authentication:

  • mono-sec-key (required): Your Mono secret key.

cURL Sample Request

Request

12345678
curl -X POST \
  -H "Content-Type: application/json" \
  -H "mono-sec-key: YOUR_MONO_SECRET_KEY" \
  -d '{
    "passport_number": "PASSPORT_NUMBER",
    "last_name": "LAST_NAME_ON_PASSPORT"
  }' \
  https://api.withmono.com/v3/lookup/passport

Step 2: Process the Response

If the passport lookup request is successful, you will receive the following response:

Request

1234567891011121314151617181920
{
    "status": "successful",
    "message": "Lookup Successful",
    "timestamp": "2024-05-06T15:13:08.441Z",
    "data": {
        "issued_date": "02/12/2020",
        "expiry_date": "01/12/2030",
        "document_type": "Standard Passport",
        "issued_at": "IKOYI, LAGOS",
        "first_name": "SAMUEL",
        "last_name": "OLAMIDE",
        "middle_name": "NOMO",
        "dob": "07/08/1970",
        "gender": "Male",
        "photo": "/9j/4AAQSkZJRgABAQEAYABgAAD/".
        "mobile": "08012345678",
        "passport_number": "B00000009"
    }
}

The response contains detailed information about the international passport, including the passport number, reference ID, issued date, expiry date, document type, issued location, name details, date of birth, gender, photo, signature, and mobile number.

Did this page help you?