Get Credit Score

Get  https://api.aopay.co.in/api/AOP/CibilScore/GetCreditScore


The Get Credit Score Use Credit Score API to get the Cibil Score of the Customer.

Body Parameters
{
    "client_order_id": "234",
    "mobile_number": 9898989898,
    "RegistrationID": "AOP-554"
    "CompanyCode": "CMP1045"
}
Request Parameters
Name Type Description
client_order_id String A unique identifier assigned by the client system for tracking this specific request. It helps in linking API responses with the original order.
mobile_number Int Mobile number of the user, often used for verification or notifications.
RegistrationID String Unique registration identifier, often tied to the user.
CompanyCode String A unique code identifying the company or partner requesting the CIBIL report. Used to authenticate the organization accessing the credit data.
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.aopay.co.in/api/AOP/CibilScore/GetCreditScore' \
--header 'Content-Type: application/json' \
--data  '{
  "client_order_id": "234",
  "mobile_number": 9898989898,
  "RegistrationID": "AOP-554"
  "CompanyCode": "CMP1045"
}'
                                
import requests
import json

url = 'https://api.aopay.co.in/api/AOP/CibilScore/GetCreditScore'
payload = "{
  "client_order_id": "234",
  "mobile_number": 9898989898,
  "RegistrationID": "AOP-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.aopay.co.in/api/AOP/CibilScore/GetCreditScore',
  "headers" : {
    "Content-Type" : 'application/json'
  },
  body: '{
    "client_order_id": "234",
    "mobile_number": 9898989898,
    "RegistrationID": "AOP-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.aopay.co.in/api/AOP/CibilScore/GetCreditScore')
var content = new StringContent(
  "{
    "client_order_id": "234",
    "mobile_number": 9898989898,
    "RegistrationID": "AOP-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.aopay.co.in/api/AOP/CibilScore/GetCreditScore',
  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": "234",
    "mobile_number": 9898989898,
    "RegistrationID": "AOP-554"
    "CompanyCode": "CMP1045"
  }',
  CURLOPT_HTTPHEADER =>  array(
    'Content-Type: application/json'
  ),
));
$response =  curl_exec($curl);
curl_close($curl);
echo $response;
                                

RESPONSE

200

207

-Result

Example

{
"result": [
{
"id": 560638**,
"cibilScore": 752,
"cibilScoreFetchDate": {
"date": "2023-08-18 00:00:00.000000",
"timezone_type": 3,
"timezone": "Asia/Kolkata"
},
"cibil_id": "936267*"
}
],
"status": "success",
"message": "success",
"error_code": "SPC-200",
"soft_ref_id": "SPCBL23081815070545155JXx6zBJs",
"access_token": "76edda1c70b9fe98232106e762f59ee883ed10e5"
}
                                
{
    "code": "207",
    "description": "Amount is Requaired",
    "merchantTrxnRefId": null,
    "token": null,
    "status": "False"
}