Operator list

Post  https://api.aopay.co.in/api/AOP/OperatorsList?RegistrationID=AOP-554


This API is used to fetch the list of available operators for a client, based on their unique RegistrationID. The API uses an inline query parameter, meaning the RegistrationID is passed directly in the URL as a query string (e.g., ?RegistrationID=AOP-554). No request body is required.

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 -request POST 'https://api.aopay.co.in/api/AOP/OperatorsList?RegistrationID=AOP-554' \

  

                                
import requests

url = 'https://api.aopay.co.in/api/AOP/OperatorsList?RegistrationID=AOP-554'

payload = json.dumps({
  
}) 
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.aopay.co.in/api/AOP/OperatorsList?RegistrationID=AOP-554',
  "headers" : {
      "Content-Type" : 'application/json'
    },
    body: JSON.stringify(
     
    ) 
}; 
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.aopay.co.in/api/AOP/OperatorsList?RegistrationID=AOP-554')
var content = new StringContent(
  
   
  
  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/OperatorsList?RegistrationID=AOP-554',
  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 =>  
   
  
  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": "280",
            "name": "Axis Bank",
            "category": "Fastag",
            "viewbill": "0",// You do not need to fetch the bill
            "regex": "",
            "displayname": "Vehicle Registration Number",
            "ad1_regex": "17"
        },
        {
            "id": "276",
            "name": "Bank Of Baroda",
            "category": "Fastag",
            viewbill": "1",// You need to fetch the bill
            "regex": "",
            "displayname": "Vehicle Registration Number",
            "ad1_regex": "13"
        },
        {
            "id": "310",
            "name": "Equitas FASTag Recharge",
            "category": "Fastag",
            "viewbill": "1",
            "regex": "",
            "displayname": "Vehicle Registration Number",
            "ad1_regex": "19"
        },
        {
            "id": "314",
            "name": "Federal Bank",
            "category": "Fastag",
            "viewbill": "1",
            "regex": "",
            "displayname": "Vehicle Registration Number",
            "ad1_regex": "23"
        },
        {
            "id": "278",
            "name": "HDFC Bank",
            "category": "Fastag",
            "viewbill": "1",
            "regex": "",
            "displayname": "Vehicle Registration Number",
            "ad1_regex": "15"
        },
        {
            "id": "277",
            "name": "ICICI Bank",
            "category": "Fastag",
            "viewbill": "1",
            "regex": "",
            displayname": "Vehicle Registration Number",
            "ad1_regex": "14"
        },
        {
            "id": "315",
            "name": "IDBI Bank",
            "category": "Fastag",
            "viewbill": "1",
            "regex": "",
            "displayname": "Vehicle Registration Number",
            "ad1_regex": "24"
        },
        {
            id": "279",
            "name": "IDFC FIRST Bank",
            category": "Fastag",
            "viewbill": "1",
            "regex": "",
            displayname": "Vehicle Registration Number",
            ad1_regex": "16"
        },
        {
            "id": "274",
            "name": "Indian Highways Management Company Ltd",
            "category": "Fastag",
            viewbill": "1",
            "regex": "",
            "displayname": "Vehicle Registration Number",
            ad1_regex": "11"
        },
        {
            "id": "275",
            "name": "Indusind Bank",
            category": "Fastag",
            "viewbill": "1",
            "regex": "",
            "displayname": "Vehicle Registration Number",
            "ad1_regex": "12"
        },
        {
            "id": "318",
            "name": "IOB FASTag",
            "category": "Fastag",
            "viewbill": "1",
            "regex": "",
            "displayname": "Vehicle Registration Number",
            "ad1_regex": "27"
        },
        {
            "id": "313",
            "name": "Jammu and Kashmir Bank",
            "category": "Fastag",
            "viewbill": "1",
            "regex": "",
            "displayname": "Vehicle Registration Number",
            "ad1_regex": "22"
        },
        {
            "id": "528",
            "name": "Karnataka Bank",
            "category": "Fastag",
            "viewbill": "1",
            "regex": "",
            "displayname": "Vehicle Registration Number",
            "ad1_regex": "29"
        },
        {
            "id": "281",
            "name": "Kotak Mahindra Bank",
            "category": "Fastag",
            "viewbill": "1",
            "regex": "",
            displayname": "Vehicle Registration Number",
            "ad1_regex": "18"
        },
        {
            "id": "312",
            "name": "Paul Merchants",
            "category": "Fastag",
            "viewbill": "0",
            "regex": "",
            "displayname": "Vehicle Registration Number",
            "ad1_regex": "21"
        },
        {
            "id": "311",
            "name": "Paytm Payments Bank",
            "category": "Fastag",
           "viewbill": "1",
            "regex": "",
            "displayname": "Vehicle Registration Number",
            "ad1_regex": "20"
        },
        {
            "id": "533",
            "name": "State Bank of India",
            "category": "Fastag",
            "viewbill": "1",
            "regex": "",
            "displayname": "Vehicle Registration Number",
            "ad1_regex": "31"
        },
        {
            "id": "317",
            "name": "Transaction Analyst FASTag",
            "category": "Fastag",
            "viewbill": "0",
            "regex": "",
            "displayname": "Vehicle Registration Number",
            "ad1_regex": "26"
        },
        {
            "id": "527",
            "name": "Transcorp International Limited",
            "category": "Fastag",
            "viewbill": "1",
            "regex": "",
            "displayname": "Vehicle Registration Number",
            "ad1_regex": "28"
        },
        {
            "id": "316",
            "name": "UCO Bank",
            "category": "Fastag",
            "viewbill": "1",
            "regex": "",
            "displayname": "Vehicle Registration Number",
            "ad1_regex": "25"
        }
    ],
    "message": "Operator List Fetched"
}
                                
{
  "status": false,
  "response_code": 5,
  "message": "Invalid signature encoding"
}