Get repayment history
Returns a consumer's history of repaying credit, month by month. Requires customer consent; operated by mycreditscore.com.gh.
Authorization
basicAuth 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/repayment-history" \ -H "Content-Type: application/json" \ -d '{ "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": "" }'{ "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}