---
title: "Get Credit History"
method: GET
path: "/v1/reports/credit-history/{customerReferenceNo}"
tags: ["Report"]
---

# Get Credit History

`GET /v1/reports/credit-history/{customerReferenceNo}`

## Request

- Base URL: `https://api.credilinq.ai`
- URL: `https://api.credilinq.ai/v1/reports/credit-history/{customerReferenceNo}`
- Auth: HTTP bearer

## Path parameters

- `customerReferenceNo` string, required

## Headers

- `accept-language` string

## Response `200`

Success

- GetAllCreditHistoryResponse
  - `statusCode` number, required: The HTTP status code of the error
  - `data` CreditHistoryResponse[], required: Response Data from the operation
    - `customerReferenceNo` string, required: Customer Reference number this will be used to execute all APIs further to activate customer, to create loan and so on
    - `availableCredit` number, required: Customer's available credit limit
    - `approvedCredit` number, required: Customer's approved credit limit
    - `shadowCreditLine` number, required: Customer's shadow credit limit
    - `createdAt` string, required: Created Timestamp of the Credit History in UTC Format eg. 2023-03-30T11:46:42.195Z
    - `updatedAt` string, required: Updated Timestamp of the Credit History in UTC Format eg. 2023-03-30T11:46:42.195Z
    - `currency` string, required: Currency Code
  - `message` string, required: Human-readable message containing all available details about the operation
  - `success` boolean, required: A boolean indicating whether this was a success response or an error response

## Other responses

- `400`: Invalid Request
- `401`: Invalid credentials
- `403`: Forbidden resource
- `404`: Customer Not Found
- `500`: Internal Server Error, Some problem is there, please try after sometime

---

[API](https://skmtc.dev/credilinq/apis/credilinq-apis.md) - [All operations](https://skmtc.dev/credilinq/apis/credilinq-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/credilinq/apis/credilinq-apis/revisions/9c7459ed471b?raw)
