HubtelDevelopers

Consumer Profile Detail

Fetch consumer profile details.

Business accountsUpdated 26 Nov 2026
Overview

The Consumer Profile Detail API returns comprehensive consumer profile details including demographic data, employment history, address history, and various identification numbers. These fields support risk assessment, KYC workflows, and identity verification.


Getting Started

Note

You must already be registered as a lender on myCreditScore. If you are not yet registered, please visit https://mycreditscore.com.gh/register-lender for more information.


Authentication

To integrate with the Consumer Profile Detail API, you will need to authenticate using API credentials generated from your Lenders Portal. The easiest way to authenticate is by using HTTP Basic Authentication.

Basic Authentication

Basic Auth requires a Base64 encoded string of your API ID and API Key. See below for sample header request information.

Authorization: Basic {base64_encode(API ID:API Key)}

A Base64 encoding of your API keys should have your Authorization header appear like this: Basic a2hlcW2sb3U6bWdhtHd9YW8=. Try sample basic auth here.

Sample Authorization Header

Authorization: Basic a2hzcW9sb3U6bWdhaHdpYW8=


API Reference

To initiate a request, send an HTTP POST request to the below URL with the required parameters.

POSThttps://basic-credit-report-api.mycreditscore.com.gh/api/v1/consumer-profile-detail
Content type
application/json

REQUEST PARAMETERS
ParameterTypeRequirementDescription
ghanaCardStringMandatoryGhana Card ID.
identifierNameStringOptionalFull name of the individual.
identifierNationalityStringOptionalNationality of the individual.
identifierDobStringMandatoryDate of birth in ISO 8601 format.
identifierMobileNumberStringOptionalMobile phone number.
currencyOfCreditStringOptionalCurrency of the credit (e.g., GHS).
creditAmountNumberMandatoryAmount of credit requested.
purposeOfCheckStringOptionalPurpose for performing the score check.
typeOfCreditFacilityStringOptionalType of credit facility (e.g., Personal Loan).
lenderReferenceIdStringOptionalUnique reference ID provided by the lender.
voterIdStringOptionalVoter ID number of the borrower.
passportNumberStringOptionalPassport number of the borrower.
driverLicenseNumberStringOptionalDriver’s license number of the borrower.
ssnitNumberStringOptionalSocial Security and National Insurance Trust number.
nhisNumberStringOptionalNational Health Insurance Scheme number.
tinStringOptionalTax Identification Number.

SAMPLE REQUEST
POST /api/v1/consumer-profile-detail HTTP/1.1
Host: basic-credit-report-api.mycreditscore.com.gh
Authorization: Basic ABCDcjQ1OjZhNTI3MzM5MzJkNTRjZjJiNTA==
Content-Type: application/json

{
    "ghanaCard": "GHA-000000000-0",
    "identifierName": "",
    "identifierNationality": "",
    "identifierDob": "1999-06-15T00:00:00Z",
    "identifierMobileNumber": "",
    "currencyOfCredit": "",
    "creditAmount": 1,
    "purposeOfCheck": "",
    "typeOfCreditFacility": "",
    "lenderReferenceId": "",
    "voterId": "",
    "passportNumber": "",
    "driverLicenseNumber": "",
    "ssnitNumber": "",
    "nhisNumber": "",
    "tin": ""
}

RESPONSE PARAMETERS
ParameterTypeDescription
messageStringResponse message.
codeNumberHTTP status code.
dataObjectContains score check result.
subCodeStringSub-code indicating further status.
errorsObjectError details, if any.
responseCodeObjectAdditional response code info, if available.
Data Object
FieldTypeDescription
recordsArrayList of consumer profile detail records.
Record Object
FieldTypeDescription
demographicDataObjectCore consumer demographic details.
employmentHistoryArrayEmployment history records.
borrowerAddressHistoryArrayHistorical address details.
nationalIdStringPrimary Ghana Card number.
tinArrayTax Identification Numbers.
nhisArrayNHIS numbers.
ssnitArraySSNIT numbers.
driverLicenseArrayDriver license numbers.
passportArrayPassport numbers.
voterIdArrayVoter ID numbers.
Demographic Data Fields
FieldTypeDescription
ghanaCardStringGhana Card number.
fullNameStringFull legal name.
dateOfBirthStringDate of birth.
genderStringGender.
addressStringResidential address.
phoneNumbersArrayList of mobile numbers.
emailStringEmail address.
Employment History Fields
FieldTypeDescription
employmentTypeStringNature of employment.
employerNameStringEmployer name.
employerAddress1-4StringAddress components.
employerAddressPostalCodeStringPostal code.
dateOfEmploymentStringEmployment start date.
occupationStringJob role.
employeePayrollNumberStringPayroll reference.
Payroll referenceStringIncome currency.
incomeStringIncome value (may be numeric formatted as string).
workTelephoneStringEmployer contact.

SAMPLE RESPONSE
{
    "message": "Your request for profile detail was successful",
    "code": 200,
    "data": {
        "records": [
            {
                "demographicData": {
                    "ghanaCard": "GHA-000000000-0",
                    "fullName": "John Doe",
                    "dateOfBirth": "1999-11-17",
                    "gender": "Male",
                    "address": "North, Eastern",
                    "phoneNumbers": [
                        "233000000000"
                    ],
                    "email": "[email protected]"
                },
                "employmentHistory": [
                    {
                        "employmentType": "Self Employed",
                        "employerName": null,
                        "employerAddress1": null,
                        "employerAddress2": null,
                        "employerAddress3": null,
                        "employerAddress4": null,
                        "employerAddressPostalCode": null,
                        "dateOfEmployment": null,
                        "occupation": "Senior Software Engineer",
                        "employeePayrollNumber": null,
                        "incomeCurrency": "GHS",
                        "income": "1000",
                        "workTelephone": null
                    }
                ],
                "borrowerAddressHistory": [],
                "nationalId": "GHA-0000000000-0",
                "tin": [],
                "nhis": [],
                "ssnit": [
                    "E242489898902"
                ],
                "driverLicense": [],
                "passport": [],
                "voterId": [
                    "0000000000"
                ]
            }
        ]
    },
    "subCode": "0",
    "errors": null,
    "responseCode": null
}

Response Codes

The Score and Basic Debt Check API uses standard HTTP error reporting. Successful requests return HTTP status codes in the 2xx. Failed requests return status codes in 4xx and 5xx.

Response Codes are included in the JSON response body, which contains information about the error or status.

ResponseCodeDescription
200Success. The request was successful and the response contains the score check results.
401Unauthorized. The request lacks valid authentication credentials.
404Not Found. The requested resource was not found in the system.
424Failed Dependency. The request failed due to dependency failure, such as an external service being unavailable.
500Internal Server Error. An unexpected error occurred while processing the request.

On this page