# Get a consumer credit profile (/docs/api/v1/lending/get-consumer-profile)

Returns a detailed credit profile: accounts, balances and payment behaviour. Requires customer consent; operated by mycreditscore.com.gh.

`POST https://basic-credit-report-api.mycreditscore.com.gh/api/v1/consumer-profile-detail`

## Request example

```json
{
  "ghanaCard": "GHA-000000000-0",
  "identifierName": "",
  "identifierNationality": "",
  "identifierDob": "1999-06-15T00:00:00Z",
  "identifierMobileNumber": "",
  "currencyOfCredit": "",
  "creditAmount": 1,
  "purposeOfCheck": "",
  "typeOfCreditFacility": "",
  "lenderReferenceId": "",
  "voterId": "",
  "passportNumber": "",
  "driverLicenseNumber": "",
  "ssnitNumber": "",
  "nhisNumber": "",
  "tin": ""
}
```

## Response 200: Success.

```json
{
  "message": "Your request for profile detail was successful",
  "code": 200,
  "data": {
    "records": [
      {
        "demographicData": {
          "ghanaCard": "GHA-000000000-0",
          "fullName": "John Doe",
          "dateOfBirth": "1999-11-17",
          "gender": "Male",
          "address": "North, Eastern",
          "phoneNumbers": [
            "233000000000"
          ],
          "email": "john.doe@gmail.com"
        },
        "employmentHistory": [
          {
            "employmentType": "Self Employed",
            "employerName": null,
            "employerAddress1": null,
            "employerAddress2": null,
            "employerAddress3": null,
            "employerAddress4": null,
            "employerAddressPostalCode": null,
            "dateOfEmployment": null,
            "occupation": "Senior Software Engineer",
            "employeePayrollNumber": null,
            "incomeCurrency": "GHS",
            "income": "1000",
            "workTelephone": null
          }
        ],
        "borrowerAddressHistory": [],
        "nationalId": "GHA-0000000000-0",
        "tin": [],
        "nhis": [],
        "ssnit": [
          "E242489898902"
        ],
        "driverLicense": [],
        "passport": [],
        "voterId": [
          "0000000000"
        ]
      }
    ]
  },
  "subCode": "0",
  "errors": null,
  "responseCode": null
}
```

Full schema: /openapi/v1/lending.json