GetRechargeBrowsePlan

Post  https://api.aopay.co.in/api/AOP/V2/GetRechargeBrowsePlan


The GetRechargeBrowsePlan Api retrieves the list of available recharge plans for a given mobile or DTH operator. It provides details such as plan amount, validity, and benefits/description, grouped into categories (e.g., Popular Plans, True 5G Unlimited Plans). This allows customers to browse and compare different recharge options before proceeding with payment.

Body Parameters
{
  "RegistrationID": "AOP-554",
  "circle": "Delhi NCR",
  "operator": "Jio",
  "number": "98XXXXXX76"
} 
Request Parameters
Name Type Description
RegistrationID String Unique registration identifier, often tied to the user.
circle String The telecom circle (region) where the mobile/DTH number is registered. This is used to determine the correct operator configuration for recharges.
operator String The telecom operator for the given mobile number.
number String Mobile number of the user, often used for verification or notifications.
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/V2/GetRechargeBrowsePlan' \
--header 'Content-Type: application/json' \
--data  '{
"RegistrationID": "AOP-554",
"circle": "Delhi NCR",
"operator": "Jio",
"number": "98XXXXXX76"
}'
                                
import requests
import json

url = 'https://api.aopay.co.in/api/AOP/V2/GetRechargeBrowsePlan'
payload = json.dumps({
"RegistrationID": "AOP-554",
"circle": "Delhi NCR",
"operator": "Jio",
"number": "98XXXXXX76"}) 
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/V2/GetRechargeBrowsePlan',
  "headers" : {
    "Content-Type" : 'application/json'
  },
  body: JSON.stringify({
"RegistrationID": "AOP-554",
"circle": "Delhi NCR",
"operator": "Jio",
"number": "98XXXXXX76"                                  
 }) 
}; 
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/V2/GetRechargeBrowsePlan')
var content = new StringContent(
  "{
"RegistrationID": "AOP-554",
"circle": "Delhi NCR",
"operator": "Jio",
"number": "98XXXXXX76"
  }",
  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/V2/GetRechargeBrowsePlan',
  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 =>  '{  
  "RegistrationID": "AOP-554",
  "circle": "Delhi NCR",
  "operator": "Jio",
  "number": "98XXXXXX76"
  }',
  CURLOPT_HTTPHEADER =>  array(
    'Content-Type: application/json'
  ),
));
$response =  curl_exec($curl);
curl_close($curl);
echo $response;
                                

RESPONSE

200

401

-Result

Example

{
                                       
    "status": true,
    "msg": "Plans information fetched successfully",
         "data": {
                   "status": 0,
                   "Popular Plans": [
                   { 
                        "rs": 48,
                        "validity": "3days",
                        "desc": "Benefits: \n1. Subscription to JioGames Cloud\n2. Validity - 3 days"
                   }, 
                   { 
                         "rs": 3999,
                         "validity": "365Days",
                         "desc": "Benefits: Unlimited Voice, Unlimited data - 912.5GB(2.5GB/Day), 100 SMS/Day & Subscription to Jio Apps & FanCode. Validity - 365 Days"
                    } 
                    ],
                    "True 5G Unlimited Plans": [
                           { 
                                 "rs": 198,
                                 "validity": "14Days",
                                 "desc": "Benefits: Unlimited Voice, Unlimited data - 28GB(2GB/Day), 100 SMS/Day & Subscription to Jio Apps. Validity - 14 Days"
                          }, 
                          { 
                                "rs": 349,
                                "validity": "28Days",
                                 "desc": "Benefits: Unlimited Voice, Unlimited data - 56GB(2GB/Day), 100 SMS/Day & Subscription to Jio Apps. Validity - 28 Days"
                           } 
                           ], 
                           "desc": null
                    },
                   "statusCode": 200,
                   "Status": "True",
                   "message": "Plans information fetched successfully",
                   "Value": ""
}
                                
{
  "status": false,
  "response_code": 5,
  "message": "Invalid signature encoding"
}