HubtelDevelopers

Repayment History

Look up consumer repayment history.

Business accountsUpdated 26 Nov 2026
Overview

The Repayment History API returns the consumer's repayment history across all reported credit facilities. It includes past due records, on-time payments, and patterns that help assess borrower's reliability. No other credit sections are included. This is strictly repayment behavior.


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 Repayment History 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://score-debt-api.mycreditscore.com.gh/api/v1/repayment-history
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/repayment-history HTTP/1.1
Host: score-debt-api.mycreditscore.com.gh
Authorization: Basic ABCDcjQ1OjZhNTI3MzM5MzJkNTRjZjJiNTA==
Content-Type: application/json

{
    "ghanaCard": "GHA-000000000-2",
    "identifierName": "",
    "identifierNationality": "",
    "identifierDob": "1997-06-04T00: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 repayment history records.
Record Object
FieldTypeDescription
repaymentHistoryArrayList of repayment account entries.
nationalIdStringGhana Card number.
tinArrayTax Identification Numbers.
nhisArrayNHIS numbers.
ssnitArraySSNIT numbers.
driverLicenseArrayDriver license numbers.
passportArrayPassport numbers.
voterIdArrayVoter ID list.
Repayment History Entry Fields
FieldTypeDescription
lenderNameStringName of the lending institution
accountNumberStringAccount identifier.
purposeOfFacilityStringPurpose of credit facility.
facilityTypeStringCredit facility type code.
reportedDateStringReporting date (YYYY-MM-DD).
lenderLogoUrlStringURL to lender logo.
numberOfTimesOverdueObjectAggregated overdue counts.
repaymentHistoryArrayMonthly repayment performance timeline.
Number Of Times Overdue
ParameterType
days1To30Number
days31To60Number
days61To90Number
days91To120Number
days121To150Number
days151To180Number
days180PlusNumber

SAMPLE RESPONSE
{
    "message": "Your request for repayment history was successful",
    "code": 200,
    "data": {
        "records": [
            {
                "repaymentHistory": [
                    {
                        "lenderName": "Micro Money Lending Limited",
                        "accountNumber": "0000000",
                        "purposeOfFacility": "P",
                        "facilityType": "119",
                        "reportedDate": "20250930",
                        "lenderLogoUrl": "http://logo.png",
                        "numberOfTimesOverdue": {
                            "days1To30": 0,
                            "days31To60": 0,
                            "days61To90": 0,
                            "days91To120": 0,
                            "days121To150": 0,
                            "days151To180": 0,
                            "days180Plus": 0
                        },
                        "repaymentHistory": [
                            {
                                "date": "2025-09-01T00:00:00Z",
                                "status": "OK",
                                "amountOverdue": 0
                            }
                        ]
                    },
                    {
                        "lenderName": "Micro Money Lending Limited",
                        "accountNumber": "0000000",
                        "purposeOfFacility": "P",
                        "facilityType": "119",
                        "reportedDate": "20251110",
                        "lenderLogoUrl": "http://logo.png",
                        "numberOfTimesOverdue": {
                            "days1To30": 0,
                            "days31To60": 0,
                            "days61To90": 0,
                            "days91To120": 0,
                            "days121To150": 0,
                            "days151To180": 0,
                            "days180Plus": 0
                        },
                        "repaymentHistory": [
                            {
                                "date": "2025-10-01T00:00:00Z",
                                "status": "ND",
                                "amountOverdue": null
                            },
                            {
                                "date": "2025-11-01T00:00:00Z",
                                "status": "OK",
                                "amountOverdue": 0
                            }
                        ]
                    }
                ],
                "nationalId": "GHA-000000000-6",
                "tin": [],
                "nhis": [],
                "ssnit": [],
                "driverLicense": [],
                "passport": [],
                "voterId": []
            }
        ]
    },
    "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