Consumer Identity Report
Retrieve a consumer identity report.
Overview
The Consumer Identity Report API provides validated identity details including primary and associated identities from various data sources. This API is designed for KYC workflows, identity verification, and skip tracing activities.
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 Identity Report 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.
https://profile-api.mycreditscore.com.gh/api/v1/consumer-identity-reportREQUEST PARAMETERS
| Parameter | Type | Requirement | Description |
|---|---|---|---|
| nationalIds | Array | Mandatory | ID(s) of the individual. |
| names | Array | Mandatory | Names of the individual. |
| numberAndEmail | Array | Mandatory | Mobile phone number and email of the individual. |
| dateOfBirth | String | Mandatory | Date of birth (YYYY-MM-DD). |
| gender | String | Mandatory | Gender of the individual. |
| reasonForRequest | String | Mandatory | Purpose for consumer identity report request (e.g., KYC). |
| requestVerification | Boolean | Mandatory | True or False. |
| ghanaCardNumber | String | Mandatory | Ghana Card ID number of the borrower (e.g., GHA-000000000-2). |
| identitySource | String | Mandatory | Source of consumer identity report (e.g., General Report). |
| reportType | String | Mandatory | Type of report (e.g., CreditReport). |
| requestedBy | String | Mandatory | Name of person submitting the identity report request. |
| requestedTime | String | Optional | Datetime in ISO 8601 format. |
SAMPLE REQUEST
POST /api/v1/consumer-identity-report HTTP/1.1
Host: profile-api.mycreditscore.com.gh
accept: text/plain; x-api-version=1.0
authorization: Basic e3t1c2VybmFtZV9wcm9kfX=
content-type: application/json; x-api-version=1.0
Content-Length: 939
{
"nationalIds": [
{
"identityType": "passport",
"identityNumber": "0000000"
},
{
"identityType": "driverlicense",
"identityNumber": "0000000"
},
{
"identityType": "ghanacard",
"identityNumber": "GHA-000000000-2"
}
],
"names": [
{
"firstName": "John",
"lastName": "Doe",
"middleName": ""
}
],
"numberAndEmail": [
{
"mobileNumber": "233000000000",
"email": "[email protected]"
}
],
"dateOfBirth": "2007-11-21",
"gender": "male",
"reasonForRequest": "KYC",
"requestVerification": true,
"ghanaCardNumber": "GHA-000000000-2",
"identitySource": "General Report",
"reportType": "CreditReport",
"requestedBy": "John Doe",
"requestedTime": "2025-11-28T14:01:22.2373367Z"
}RESPONSE PARAMETERS
| Parameter | Type | Description |
|---|---|---|
| message | String | Response message. |
| code | Number | HTTP status code. |
| data | Object | Contains score check result. |
| subCode | String | Sub-code indicating further status. |
| errors | Object | Error details, if any. |
| responseCode | Object | Additional response code info, if available. |
Data Object
| Field | Type | Description |
|---|---|---|
| primaryIdentities | Array | Primary identity records. |
| associatedIdentities | Array | Linked or supporting identities . |
Identity Item Field Description
| Field | Type | Description |
|---|---|---|
| identifier | String | Type of identity attribute. |
| dataValue | String | Value of the identity attribute. |
| dataProvider | String | Source institution providing the data. |
| dataSource | String | Originating system source. |
| discoveryDate | String | Date when the data was first reported. |
| status | String | Identity status. |
SAMPLE RESPONSE
{
"message": "Your request for consumer identity report was successful",
"code": 200,
"data": {
"primaryIdentities": [
{
"identifier": "First Name",
"dataValue": "John Doe",
"dataProvider": "Prudential Bank Limited",
"dataSource": "Prudential Bank Limited",
"discoveryDate": "2025-11-01",
"status": "Active"
}
],
"associatedIdentities": [
{
"identifier": "Forename",
"dataValue": "John Doe",
"dataProvider": "NIA",
"dataSource": "NIA",
"discoveryDate": "2019 December 14",
"status": "Active"
}
]
},
"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.
| ResponseCode | Description |
|---|---|
| 200 | Success. The request was successful and the response contains the score check results. |
| 401 | Unauthorized. The request lacks valid authentication credentials. |
| 404 | Not Found. The requested resource was not found in the system. |
| 424 | Failed Dependency. The request failed due to dependency failure, such as an external service being unavailable. |
| 500 | Internal Server Error. An unexpected error occurred while processing the request. |