Get Mandate Status API

POST  https://api.aopay.co.in/api/AOP/Enach/V1/eMandate/getStatus


Using this api the user can get the current status of an eMandate.

Body Parameters
{
  "EMandateID": "sample string 1",
  "RegistrationID": "AOP-554"
}        
Request Parameters
Name Type Description
EMandateID String ID for the eMandate.
RegistrationID String Unique registration identifier, often tied to the user.
Responses

200

200

Response

200

RESPONSE BODY

object

StatusCode    string

data    object

Response

401

RESPONSE BODY

returnMessage     string

401

401

412

412

Response

412

RESPONSE BODY

returnMessage     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/Enach/V1/eMandate/getStatus' \
--header 'Content-Type: application/json' \
--data  '{
   "EMandateID": "sample string 1"   
   "RegistrationID": "AOP-554"
}'
                                
import requests
import json

url = 'https://api.aopay.co.in/api/AOP/Enach/V1/eMandate/getStatus'
payload = json.dumps({
     "EMandateID": "sample string 1"
    "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/Enach/V1/eMandate/getStatus',
  "headers" : {
    "Content-Type" : 'application/json'
  },
  body: JSON.stringify({
   "EMandateID": "sample string 1"  
    "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/DoRecharge')
var content = new StringContent(
  "{
    
 "EMandateID": "sample string 1"  
 "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/Enach/V1/eMandate/getStatus',
  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 =>  '{
   
 "EMandateID": "sample string 1"  
 "RegistrationID": "AOP-554"
  }',
  CURLOPT_HTTPHEADER =>  array(
    'Content-Type: application/json'
  ),
));
$response =  curl_exec($curl);
curl_close($curl);
echo $response;
                                

RESPONSE

200

401

412

-Result

Example

"StatusCode": "NP000",
"data": {
  "customer": {
    "id": "be896Nmn",
    "colltn_amt": 16,
    "submitted_on": "2026-01-14 12:50:01",
    "accptd": "pending",
    "colltn_until_cncl": false,
    "debit_type": "Maximum Amount",
    "name": "Pankaj Katiyar",
    "mobile_no": "+91-9876543210",
    "email": "Pankaj.katiyar@nupay.co.in",
    "seq_tp": "RCUR",
    "frqcy": "MNTH",
    "frst_colltn_dt": "2026-01-15",
    "fnl_colltn_dt": "2033-11-04",
    "expires_at": "2026-02-13",
    "bank_accounts": [
      {
        "account_holder_name": "Pankaj Katiyar",
        "account_type": "Savings",
        "bank_account_no": "181823238232323",
        "ifsc_code": "ICIC0001234",
        "company_ifsc_code": "IDFB0000001"
      }
    ],
   "loan_no": "NupayTest123",
"addnl2": "",
"addnl3": "",
"addnl4": null,
"addnl5": null

  }
}
  
 
{
  "status": false,
  "response_code": 11,
  "message": "Authentication Failed"
}
                                
 
{
  "status": false,
  "response_code": 16,
  "message": "Authentication failed"
}

                                
 
{
  "status": false,
  "response_code": 16,
  "message": "Authentication failed"
}