# Get repayment history (/docs/api/v1/lending/get-repayment-history)

Returns a consumer's history of repaying credit, month by month. Requires customer consent; operated by mycreditscore.com.gh.

`POST https://score-debt-api.mycreditscore.com.gh/api/v1/repayment-history`

## Request example

```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 200: Success.

```json
{
  "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
}
```

Full schema: /openapi/v1/lending.json