Operator list

Post  https://api.bos.center/api/BOS/BillPaymentOperatorsList


Click to view the steps to generate a public key and the signature.

Body Parameters
{
  "mode": "xyz"
}
                        
Responses

200

200

Response

200

RESPONSE BODY

Json

401

401

Response

401

RESPONSE BODY

Object

status     boolean

response_code     integer

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.bos.center/api/BOS/BillPaymentOperatorsList' \
--header 'Content-Type: application/json' \
--data  '{
  "mode": "xyz"
}'
                                
import requests
import json

url = 'https://api.bos.center/api/BOS/BillPaymentOperatorsList'
payload = json.dumps({
  "mode": "xyz"
}) 

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

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

print (response.text)
                                
var requests = require("request");
var options = { 
  "method" : "POST",
  "url" : 'https://api.bos.center/api/BOS/BillPaymentOperatorsList',
  "headers" : {
    "Content-Type" : 'application/json'
  },
  body: JSON.stringify({
    "mode": "xyz"
  }) 
}; 
request(options, function(error, response){
   if(error) throw new Error(error);
   console.log(response.body); 
}); 
                                
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post,'https://api.bos.center/api/BOS/BillPaymentOperatorsList')
var content = new StringContent(
  "{
    "mode": "xyz"
  }",
  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/BillPaymentOperatorsList',
  CURLOPT_RETURNTRANSFER =>  true,
  CURLOPT_ENCODING =>  '',
  CURLOPT_MAXREDIRS =>  10,
  CURLOPT_TIMEOUT =>  0,
  CURLOPT_FOLLOWLOCATION =>  true,
  CURLOPT_HTTP_VERSION =>  CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST =>  'POST',
  CURLOPT_POSTFIELDS =>  '{
    "mode": "xyz"
  }',
  CURLOPT_HTTPHEADER =>  array(
    'Content-Type: application/json'
  ),
));
$response =  curl_exec($curl);
curl_close($curl);
echo $response;
                                

RESPONSE

200

401

-Result

Example

{
    "response_code": 1,
    "status": true,
    "data": [
{
            "id": "110",
            "name": "Aditya Birla Finance ltd. (ABFL)",
            "category": "EMI",
            "viewbill": "1",// You need to fetch the bill
            "regex": "^[a-zA-Z]{3}-[a-zA-Z][0-9]{5}-[0-9]{9}",
            "displayname": "Loan Account Number",
            "ad1_d_name": "Mobile Number (+91)",// You need to pass the value in fetchbill api and paybill api
            "ad1_name": "mobileNumber",
            "ad1_regex": "^[6789][0-9]{9}$",
            "ad2_d_name": null,
            "ad2_name": null,
            "ad2_regex":  null,
            "ad3_d_name": null,
            "ad3_name": null, 
            "ad3_regex": null
        },
      {
            "id": "534",
            "name": "Airtel",
            "category": "Prepaid",
            "viewbill": "0",// You do not need to fetch the bill
            "regex": "^[0-9a-zA-Z@_:.-]{1,20}$",
            "displayname": "User Id",
            "ad1_d_name": null,
            "ad1_name": null,
            "ad1_regex": null,
            "ad2_d_name": null,
            "ad2_name": null,
            "ad2_regex": null,
            "ad3_d_name": null,
            "ad3_name": null,
            "ad3_regex": null
        },
        {
            "id": "380",
            "name": "Aditya Birla Health Insurance Co Limited",
            "category": "Insurance",
            "viewbill": "1",
            "regex": null,
            "displayname": "POLICY NO",
            "ad1_d_name": "Date Of Birth",
            "ad1_name": "dateofBirth",// You need to pass the value in fetchbill api and paybill api
            "ad1_regex": "dd-mm-yyyy",
            "ad2_d_name": "Mobile Number",
            "ad2_name": "mobileNumber",
            "ad2_regex": "^[0-9]{10,10}$",// You need to pass the value in fetchbill api and paybill api
            "ad3_d_name": null,
            "ad3_name": null,
            "ad3_regex": null
        },
        {
            "id": "188",
            "name": "Aditya Birla Housing Finance Limited",
            "category": "EMI",
            "viewbill": "1",
            "regex": "^[Ll][Nn][a-zA-Z]{3}[a-zA-Z0-9_]{3}[-][0-9]{11}$",
            "displayname": "Loan Account Number",
            "ad1_d_name": "Mobile Number (+91)",
            "ad1_name": "mobileNumber",// You need to pass the value in fetchbill api and paybill api
            "ad1_regex": "^[6789][0-9]{9}$",// You need to pass the value in fetchbill api and paybill api
            "ad2_d_name": null,
            "ad2_name": null,
            "ad2_regex": null,
            "ad3_d_name": null,
            "ad3_name": null,
            "ad3_regex": null
        },
        {
            "id": "160",
            "name": "Aegon Life Insurance",
            "category": "Insurance",
            "viewbill": "1",
            "regex": "^[0-9 A-Z,a-z]{12,15}$",
            "displayname": "POLICY NO",
            "ad1_d_name": "Date Of Birth (yyyy-MM-dd)",
            "ad1_name": "dateofBirth",
            "ad1_regex": null,
            "ad2_d_name": null,
            "ad2_name": null,
            "ad2_regex": null,
            "ad3_d_name": null,
            "ad3_name": null,
            "ad3_regex": null
        },
        {
            "id": "353",
            "name": "Agora Microfinance India Ltd - AMIL",
            "category": "EMI",
            "viewbill": "1",
            "regex": "^[a-zA-Z0-9_]*$",
            "displayname": "Loan Account Number",
            "ad1_d_name": null,
            "ad1_name": null,
            "ad1_regex": null,
            "ad2_d_name": null,
            "ad2_name": null,
            "ad2_regex": null,
            "ad3_d_name": null,
            "ad3_name": null,
            "ad3_regex": null
        }
  ],
    "message": "Operator List Fetched"
}
                                
{
  "status": false,
  "response_code": 5,
  "message": "Invalid signature encoding"
}