HubtelDevelopers

Check a credit score

POST
/api/v1/score-check

Returns a consumer's credit score and a basic debt summary from the credit bureau. Requires a lending agreement and the customer's consent; operated by mycreditscore.com.gh.

Authorization

basicAuth
AuthorizationBasic <token>

Base64 of API ID:API Key from your mycreditscore.com.gh Lenders Portal account (not your Hubtel payment keys).

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/score-check" \  -H "Content-Type: application/json" \  -d '{    "ghanaCard": "GHA-000000000-0",    "identifierName": "John Doe",    "identifierNationality": "Ghanaian",    "identifierDob": "1999-06-15T00:00:00Z",    "identifierMobileNumber": "2330000000",    "currencyOfCredit": "GHS",    "creditAmount": 100,    "purposeOfCheck": "Loan Application",    "typeOfCreditFacility": "Personal Loan",    "lenderReferenceId": "LOAN-REF-12345",    "voterId": "VO678232",    "passportNumber": "PAS67894",    "driverLicenseNumber": "234286382",    "ssnitNumber": "E10089883497",    "nhisNumber": "N49834984",    "tin": "T19892323"  }'
{  "message": "Your score check request was successful",  "code": 200,  "data": {    "isCreditScoreActivated": "true",    "creditScoreIfActive": 711,    "name": "John Doe",    "minScore": 300,    "maxScore": 850,    "scoreBand": "Very Good",    "scoreBandInterpretation": "Shows lenders that you are a good investment with a strong credit history and qualify for very favorable interest rates and loan terms. Lenders will consider you a reliable borrower."  },  "subCode": "0",  "errors": null,  "responseCode": null}