Get Credit History

Get  https://api.bos.center/api/BOS/CibilScore/GetCreditHistory


Get Credit History –Use Credit History API for the Credit history of the customer.

Body Parameters
{
    "client_order_id": "1234",
    "cibil_id": "xyz",
    "RegistrationID": "BOS-554",
    "CompanyCode": "CMP1045"
}
Responses

200

200

Response

200

RESPONSE BODY

Json

401

401

Response

401

RESPONSE BODY

Object

responsecode integer

status boolean

message string


Did this page help you?     Yes    No

Language
shell Shell
python Python
node Node
c# C#
php PHP

CURL

curl --location --request GET 'https://api.bos.center/api/BOS/CibilScore/GetCreditHistory' \
--header 'Content-Type: application/json' \
--data  '{
  "client_order_id": "1234", 
  "cibil_id": "xyz",
  "RegistrationID": "BOS-554",
  "CompanyCode": "CMP1045"
}'
                                
import requests
import json

url = 'https://api.bos.center/api/BOS/CibilScore/GetCreditHistory'
payload = "{
  "client_order_id": "1234", 
  "cibil_id": "xyz",
  "RegistrationID": "BOS-554",
  "CompanyCode": "CMP1045"
}" 

headers = {
  "Content-type" : "application/json"
}

response = requests.request("GET", url, headers=headers, data=payload)

print (response.text)
                                
var requests = require("request");
var options = { 
  "method" : "GET",
  "url" : 'https://api.bos.center/api/BOS/CibilScore/GetCreditHistory',
  "headers" : {
    "Content-Type" : 'application/json'
  },
  body: '{
    "client_order_id": "1234", 
    "cibil_id": "xyz",
    "RegistrationID": "BOS-554",
    "CompanyCode": "CMP1045"
  }' 
}; 
request(options, function(error, response){
   if(error) throw new Error(error);
   console.log(response.body); 
}); 
                                
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get,'https://api.bos.center/api/BOS/CibilScore/GetCreditHistory')
var content = new StringContent(
  "{
    "client_order_id": "1234", 
    "cibil_id": "xyz",
    "RegistrationID": "BOS-554",
    "CompanyCode": "CMP1045"
  }",
  null,"application/json"
); 

request.Content = content;
var response =  await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
                                
<?php
$curl =  curl_init();
curl_setopt_array($curl, array(
  CURLOPT_URL =>  'https://api.bos.center/api/BOS/CibilScore/GetCreditHistory',
  CURLOPT_RETURNTRANSFER =>  true,
  CURLOPT_ENCODING =>  '',
  CURLOPT_MAXREDIRS =>  10,
  CURLOPT_TIMEOUT =>  0,
  CURLOPT_FOLLOWLOCATION =>  true,
  CURLOPT_HTTP_VERSION =>  CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST =>  'GET',
  CURLOPT_POSTFIELDS =>  '{
    "client_order_id": "1234", 
    "cibil_id": "xyz",
    "RegistrationID": "BOS-554",
    "CompanyCode": "CMP1045"
  }',
  CURLOPT_HTTPHEADER =>  array(
    'Content-Type: application/json'
  ),
));
$response =  curl_exec($curl);
curl_close($curl);
echo $response;
                                

RESPONSE

200

401

-Result

Example

 
{
"error_code": "SPC-200",
"status": "SUCCESS",
"message": "success",
"soft_ref_id": "23081815284725JQJCESXDTP2",
"data": {
"result": {
"userInfo": {
"cibil_id": "525234*",
"cibil_score": "770",
"first_name": "prashant",
"middle_name": "",
"last_name": "Varsheney",
"mobile_number": "9990013***",
"cibil_score_fetch_date": "2023-08-16 15:36:46"
},
"activityInfo": [
{
"account_detail_id": "7264328**",
"member_name": "ADIBIRHFL",
"account_number": "XXXXXXXXXXXXXXXX3343",
"date_opened": "2023-06-24",
"date_closed": "0000-00-00",
"newly_opened": "1",
"name": "Housing Loan"
},
{
"account_detail_id": "726432***",
"member_name": "ADIBIRHFL",
"account_number": "XXXXXXXXXXXXXXXX3341",
"date_opened": "2023-06-22",
"date_closed": "0000-00-00",
"newly_opened": "1",
"name": "Housing Loan"
},
{
"account_detail_id": "726432***",
"member_name": "AXIS BANK",
"account_number": "XXXXXXXXXXX4061",
"date_opened": "2022-12-01",
"date_closed": "2023-06-20",
"newly_opened": "0",
"name": "Personal Loan"
}
],
"creditAge": {
"credit_age": "8 Years 8 Months"
},
"creditMix": {
"secured_loan": "4",
"unsecured_loan": "2",
"total_percent_completed": "75"
},
"inquiryCount": 14,
"lastMonthInquiryCount": 0,
"last6MonthInquiryCount": 2,
"creditUtilize": {
"credit_utilize": "18",
"credit_limit": "255000",
"total_balance": "48032"
},
"onTimePaymentPercentile": 93
},
"status": "success",
"message": "ok",
"access_token": "d48b818d426b83b028ffdd5db96520986e128052"
                                
{
    "code": "207",
    "description": "Amount is Requaired",
    "merchantTrxnRefId": null,
    "token": null,
    "status": "False"
}