Registeration

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


The Registration is only one time mandatory after you can check your Cibil score or report by your registered mobile number or Cibil I’d .

API REQUEST – with input parameter.

Body Parameters
{
    "order_id": "1234",
    "first_name": "John",
    "middle_name": "Michael",
    "last_name": "Doe",
    "pancard": "FRS23456",
    "date_of_birth": "01/01/2000",
    "email_id": "max@example.com",
    "mobile_number": "9999999999",
    "RegistrationID": "AOP-554"
    "CompanyCode": "CMP1045"
}
Request Parameters
Name Type Description
order_id String Unique reference or tracking ID for the request. Helps link this submission to internal systems or transactions.
first_name String User’s first name.
middle_name String User’s middle name (optional).
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  'https://api.aopay.co.in/api/AOP/CibilScore/registeration' \
--header 'Content-Type: application/json' \
--data  '{
  "order_id": "1234",
  "first_name": "John",
  "middle_name": "Michael",
  "last_name": "Doe",
  "pancard": "FRS23456",
  "date_of_birth": "01/01/2000",
  "email_id": "max@example.com",
  "mobile_number": "9999999999",
  "RegistrationID": "AOP-554"
  "CompanyCode": "CMP1045"
}'
                                
import requests
import json

url = 'https://api.aopay.co.in/api/AOP/CibilScore/registeration'
payload = "{
  "order_id": "1234",
  "first_name": "John",
  "middle_name": "Michael",
  "last_name": "Doe",
  "pancard": "FRS23456",
  "date_of_birth": "01/01/2000",
  "email_id": "max@example.com",
  "mobile_number": "9999999999",
  "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/registeration',
  "headers" : {
    "Content-Type" : 'application/json'
  },
  body: '{
    "order_id": "1234",
    "first_name": "John",
    "middle_name": "Michael",
    "last_name": "Doe",
    "pancard": "FRS23456",
    "date_of_birth": "01/01/2000",
    "email_id": "max@example.com",
    "mobile_number": "9999999999",
    "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/registeration')
var content = new StringContent(
  "{
    "order_id": "1234",
    "first_name": "John",
    "middle_name": "Michael",
    "last_name": "Doe",
    "pancard": "FRS23456",
    "date_of_birth": "01/01/2000",
    "email_id": "max@example.com",
    "mobile_number": "9999999999",
    "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/registeration',
  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 =>  '{
    "order_id": "1234",
    "first_name": "John",
    "middle_name": "Michael",
    "last_name": "Doe",
    "pancard": "FRS23456",
    "date_of_birth": "01/01/2000",
    "email_id": "max@example.com",
    "mobile_number": "9999999999",
    "RegistrationID": "AOP-554"
    "CompanyCode": "CMP1045"
  }',
  CURLOPT_HTTPHEADER =>  array(
    'Content-Type: application/json'
  ),
));
$response =  curl_exec($curl);
curl_close($curl);
echo $response;
                                

RESPONSE

200

401

-Result

Example

{
"status": "SUCCESS",
"message": "success",
"error_code": "SPC-200",
"merchant_trans_id": "SPCBL2308181502178507b3S8ckeFd",
"access_token": "331ce37aa7c8898678fadd25928d14af52ea9fb4",
"result": {
"cibil_id": "9362678",
"cibil_status": "Pending",
"is_returning_customer": 0,
"cibil_score_fetch_date": null
}

                                
{
    "code": "207",
    "description": "Amount is Requaired",
    "merchantTrxnRefId": null,
    "token": null,
    "status": "False"
}