Payout

Post  https://payout.aopay.co.in/api/V6/Payout/AOPPayout


In this API, you will submit the sender’s account details, the transfer amount, the selected transaction method, and beneficiary credentials including name, IFSC, and contact information. Along with the user's registration reference, these inputs enable the system to securely initiate a fund transfer through the chosen payment mode (e.g., NEFT or IMPS), ensuring proper routing and notification of the transaction.

Body Parameters
{
  "accountNumber": "100XXX011836",
  "amount": "12.00",
  "transactionType": "NEFT/IMPS",
  "beneficiaryIFSC": "SBIN00XXX0002",
  "beneficiaryName": "Dean Jon",
  "emailID": "abc@gmail.com",
  "mobileNo":"995964XXXX",
  "registrationID":"AOP-554"
}
Request Parameters
Name Type Description
accountNumber String The bank account number of the beneficiary where the payout will be sent, for amount to "The amount of money to be transferred."
amount String The amount being paid by the customer in this transaction.
transactionType String Type of Transaction – IMPS/NEFT for real-time and bundled money transfers, supported 24/7 by banks.
Responses

200

200

Response

200

RESPONSE BODY

object

status    string

subCode    string

message    string

403

403

Response

403

RESPONSE BODY

Object

status string

subCode 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://payout.aopay.co.in/api/V6/Payout/AOPPayout' \
--header 'Content-Type: application/json' \
--data  '{
    "accountNumber": "100XXX011836",
    "amount": "12.00",
    "transactionType": "IMPS",
    "beneficiaryIFSC": "SBIN00XXX0002",
    "beneficiaryName": "Dean Jon",
    "emailID": "abc@gmail.com",
    "mobileNo": "995964XXXX",
    "registrationID": "AOP-554"
}'
                                
import requests
import json

url = 'https://payout.aopay.co.in/api/V6/Payout/AOPPayout'
payload = json.dumps({
    "accountNumber": "100XXX011836",
    "amount": "12.00",
    "transactionType": "IMPS",
    "beneficiaryIFSC": "SBIN00XXX0002",
    "beneficiaryName": "Dean Jon",
    "emailID": "abc@gmail.com",
    "mobileNo": "995964XXXX",
   "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://payout.aopay.co.in/api/V6/Payout/AOPPayout',
  "headers" : {
    "Content-Type" : 'application/json'
  },
  body: JSON.stringify({
    "accountNumber": "100XXX011836",
    "amount": "12.00",
    "transactionType": "IMPS",
    "beneficiaryIFSC": "SBIN00XXX0002",
    "beneficiaryName": "Dean Jon",
    "emailID": "abc@gmail.com",
    "mobileNo": "995964XXXX",
    "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://payout.aopay.co.in/api/V6/Payout/AOPPayout')
var content = new StringContent(
  "{
    "accountNumber": "100XXX011836",
    "amount": "12.00",
    "transactionType": "IMPS",
    "beneficiaryIFSC": "SBIN00XXX0002",
    "beneficiaryName": "Dean Jon",
    "emailID": "abc@gmail.com",
    "mobileNo": "995964XXXX",
    "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://payout.aopay.co.in/api/V6/Payout/AOPPayout',
  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 =>  '{
    "accountNumber": "100XXX011836",
    "amount": "12.00",
    "transactionType": "IMPS",
    "beneficiaryIFSC": "SBIN00XXX0002",
    "beneficiaryName": "Dean Jon",
    "emailID": "abc@gmail.com",
    "mobileNo": "995964XXXX",
    "registrationID": "AOP-554"
  }',
  CURLOPT_HTTPHEADER =>  array(
    'Content-Type: application/json'
  ),
));
$response =  curl_exec($curl);
curl_close($curl);
echo $response;
                                

RESPONSE

200

403

409

412

422

-Result

Example


{
  "initiateAuthGenericFundTransferAPIResp": {
    "metaData": {
         "status": "SUCCESS",
         "message": "fundTransfer successfully processed",
         "version": "v1",
         "time": "2025-02-25T06:42:43.469Z",
     },
    "resourceData": {
         "status": "ACPT",
         "transactionReferenceNo": "505914786331",
         "transactionID": "TERF920898",
         "beneficiaryName": "ABC"
     }
   },
"statuss": "SUCCESS",
"message": "fundTransfer successfully processed",
"value": ""  
}
                                
{
  "status": "ERROR",
  "subCode": "403",
  "message": "APIs not enabled. Please reach out to care@AOP.com"
}
                                
  
{
  "status": "ERROR",
  "subCode": "409",
  "message": "Beneficiary Id already exists"
}
                                
{
  "status": "ERROR",
  "subCode": "412",
  "message": "Post data is empty or not a valid JSON"
}
                                
{
  "status": "ERROR",
  "subCode": "422",
  "message": "Please provide a valid Bank IFSC code."
}