Payout

Post  https://api.bos.center/api/BOS/V4/Payout


Body Parameters
{
  "beneAcctNumber": "4166451441216238",
  "benebankname": "axis",
  "baneName": "John Doe",
  "amount": "1.00",
  "purpose": "Fees",
  "mode": "NEFT/IMPS",
  "Banemobile": "9999999999",
  "Baneifsc": "IDIB007",
  "transferId": "1234",
  "RegistrationID": "BOS-554"
}
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://api.bos.center/api/BOS/V4/Payout' \
--header 'Content-Type: application/json' \
--data  '{
    "beneAcctNumber": "4166451441216238",
    "beneficiary_id": "axis",
    "baneName": "John Doe",
    "amount": "1.00",
    "purpose": "Fees",
    "mode": "NEFT/IMPS",
    "Banemobile": "9999999999",
    "Baneifsc": "IDIB007",
    "transferId": "1234",
    "RegistrationID": "BOS-554",
}'
                                
import requests
import json

url = 'https://api.bos.center/api/BOS/V4/Payout'
payload = json.dumps({
    "beneAcctNumber": "4166451441216238",
    "beneficiary_id": "axis",
    "baneName": "John Doe",
    "amount": "1.00",
    "purpose": "Fees",
    "mode": "NEFT/IMPS",
    "Banemobile": "9999999999",
    "Baneifsc": "IDIB007",
    "transferId": "1234",
    "RegistrationID": "BOS-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.bos.center/api/BOS/V4/Payout',
  "headers" : {
    "Content-Type" : 'application/json'
  },
  body: JSON.stringify({
    "beneAcctNumber": "4166451441216238",
    "beneficiary_id": "axis",
    "baneName": "John Doe",
    "amount": "1.00",
    "purpose": "Fees",
    "mode": "NEFT/IMPS",
    "Banemobile": "9999999999",
    "Baneifsc": "IDIB007",
    "transferId": "1234",
    "RegistrationID": "BOS-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.bos.center/api/BOS/V4/Payout')
var content = new StringContent(
  "{
    "beneAcctNumber": "4166451441216238",
    "beneficiary_id": "axis",
    "baneName": "John Doe",
    "amount": "1.00",
    "purpose": "Fees",
    "mode": "NEFT/IMPS",
    "Banemobile": "9999999999",
    "Baneifsc": "IDIB007",
    "transferId": "1234",
    "RegistrationID": "BOS-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.bos.center/api/BOS/V4/Payout',
  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 =>  '{
    "beneAcctNumber": "4166451441216238",
    "beneficiary_id": "axis",
    "baneName": "John Doe",
    "amount": "1.00",
    "purpose": "Fees",
    "mode": "NEFT/IMPS",
    "Banemobile": "9999999999",
    "Baneifsc": "IDIB007",
    "transferId": "1234",
    "RegistrationID": "BOS-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

{
"status_code": 200,
"responsecode": 1,
"status": true,
"message": "Payout Status fecth successfully",
  "data": {
    "bene_acc_no": "4166451441216238",
    "sender_acc_no": "409002136531",
    "utr": "355059302731"
    "amount": "1.00"
    ,"txn_status": 1
    "txn_status_remark": "Success",
    "transaction_date": "2024-09-10",
    "transaction_time": "16:21:57"
  }
}
                                
{
  "status": "ERROR",
  "subCode": "403",
  "message": "APIs not enabled. Please reach out to care@bos.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."
}