Pan Status Check

Post  https://api.aopay.co.in/api/AOP/Status


Body Parameters
{
  "nep_key": "NEPXXX",
  "refid": "TXNXXX",
  "domain": "electricity",
  "partnerId": "PARTXXX",
  "nep_id":"RXNXXXTT",
  "RegistrationID": "AOP-554"
}
Request Parameters
Name Type Description
nep_key String A security or encryption key used to decrypt or validate the payload. It might be temporary or session-based.
refid String A unique reference ID to trace this request. Used for logging, status checks, or reconciliation.
domain String Refers to the API domain or the service category (e.g., bill payment, banking, AEPS, etc.).
Responses

200

200

Response

200

RESPONSE BODY

Json

status boolean

response_code integer

message string

401

401

Response

401

RESPONSE BODY

Object

status string

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/Status' \
--header 'Content-Type: application/json' \
--data  '{
  "nep_key": "1234",
  "refid": "abc",
  "domain": "google",
  "partnerId": "xyz",
  "nep_id": "xyz byj",
  "RegistrationID": "AOP-554",
}'
                                
import requests
import json

url = 'https://api.aopay.co.in/api/AOP/Status'
payload = json.dumps({
  "nep_key": "1234",
  "refid": "abc",
  "domain": "google",
  "partnerId": "xyz",
  "nep_id": "xyz byj",
  "RegistrationID": "AOP-554",
}) 

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/Status',
  "headers" : {
    "Content-Type" : 'application/json'
  },
  body: JSON.stringify({
    "nep_key": "1234",
    "refid": "abc",
    "domain": "google",
    "partnerId": "xyz",
    "nep_id": "xyz byj",
    "RegistrationID": "AOP-554",
  }) 
}; 
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/Status')
var content = new StringContent(
  "{
    "nep_key": "1234",
    "refid": "abc",
    "domain": "google",
    "partnerId": "xyz",
    "nep_id": "xyz byj", 
    "RegistrationID": "AOP-554",
 }",
  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/Status',
  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 =>  '{
    "nep_key": "1234",
    "refid": "abc",
    "domain": "google",
    "partnerId": "xyz",
    "nep_id": "xyz byj",
    "RegistrationID": "AOP-554",
  }',
  CURLOPT_HTTPHEADER =>  array(
    'Content-Type: application/json'
  ),
));
$response =  curl_exec($curl);
curl_close($curl);
echo $response;
                                

RESPONSE

200

401

-Result

Example

 
{
  "status": true,
  "response_code": 1,
  "message": "Application is under process at NSDL eGOV"
}
                                
{
  "status": "Failed",
  "message": "Duplicate RefID"
}