Main API Docs
  • Welcome!
  • General
    • Introduction
    • Authentication
    • Personal Access Tokens
    • Test IDs
    • Check Wallet Balance
  • Appruve Identity
    • Introduction
    • Ghana 🇬🇭
      • Verify Ghana TIN
      • Verify Ghana Driver License
      • Verify Ghana SSNIT ID
      • Verify Ghana Passport
      • Verify Ghana Voter ID
      • Verify Ghana Digital Address
    • Nigeria 🇳🇬
      • Verify Nigeria TIN
      • Verify Nigeria Driver License
      • Verify Nigeria NIN
      • Verify Nigeria vNIN
      • Verify Nigeria Voter ID
      • Verify Nigeria BVN
    • Kenya 🇰🇪
      • Verify Kenya KRA PIN
      • Verify Kenya National ID
    • Uganda 🇺🇬
      • Verify Uganda Voter ID
      • Verify Uganda Telco Subscriber
      • BulK Uganda Telco Subscriber Verification
  • Appruve Business
    • Introduction
    • Business Lookups
      • Nigeria 🇳🇬
        • Lookup with CAC number
        • Lookup using Tax ID (TIN)
      • Uganda Business Lookup 🇺🇬
      • Ghana Business Lookup 🇬🇭
    • Business Beneficial Ownership
      • Nigeria 🇳🇬
  • Appruve Agency
    • OCR For Sequential Verification
      • Senegal 🇸🇳
      • Nigeria 🇳🇬
      • Ghana 🇬🇭
      • Kenya 🇰🇪
      • Côte d'Ivoire 🇨🇮
      • Cameroon 🇨🇲
    • Standalone OCR
      • Nigeria 🇳🇬
      • Ghana 🇬🇭
      • Kenya 🇰🇪
      • Côte d'Ivoire 🇨🇮
      • Cameroon 🇨🇲
      • Senegal 🇸🇳
    • Perform Face Matching
    • Upload Selfie Photo
    • Get Liveness Detection Challenge
    • Verify Liveness Detection Challenge
    • Confirm Extracted ID Number
    • Verify Business Document By OCR
    • Verify Nigeria vNIN with selfie
  • Guides
    • Webhooks
    • ID Document to Selfie Matching
  • Mobile Sdks
    • Android SDK
    • iOS SDK
  • Resources
    • Country Codes
    • ID Types
    • Face Liveness Check
Powered by GitBook
On this page
  1. Appruve Agency
  2. OCR For Sequential Verification

Ghana 🇬🇭

Extract PII data from Ghanaian ID documents

PreviousNigeria 🇳🇬NextKenya 🇰🇪

Last updated 3 years ago

How It Works

Appruve's OCR API allows you to extract the Personally identifiable information from a Ghana ID document including the ID face photo. The endpoint is constructed as follows.

https://api.appruve.co/v1/verifications/selfie_image/ocr/gh/{id_type}

id_type should be replaced with the specific ID type. Supported ID types are passport, voter, driver_license, and ssnit.

The request is a multipart POST request as shown in the example below. The id_image parameter is required and the value could be a or a web URL.

curl --location --request POST 'https://api.appruve.co/v1/verifications/selfie_image/ocr/gh/driver_license' \
--header 'Authorization: Bearer TOKEN' \
--form 'id_image=@"/path/gh_driver_license_1.jpg"'

An example response is given below.

{
    "id_details": {
        "full_name": "John Doe",
        "date_of_birth": "1900-02-25",
        "date_of_issue": "2018-11-11",
        "date_of_expiry": "2024-11-10",
        "certificate_date": "",
        "certificate_of_competence": "12345678",
        "class_of_licence": "B",
        "id_photo": "Signed URL of the extracted id face photo"
    },
    "transaction_reference": "91cb3447-9437-409e-a62b-c7f5a2492d6e",
    "face_sharpness": 92,
    "face_brightness": 92,
    "is_reenrollment": true
}

The returned transaction_reference value should be used for the endpoint.

File Object
Upload Selfie