Payout

Post  https://payout.bos.center/api/V5/Payout/BOSPayout


Body Parameters
{
  "registrationID": "BOS-554",
  "accountName": "Sunny",
  "accountNumber": "1234",
  "ifscCode": "IDIB007"
  "amount": "100",
}
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.bos.center/api/V5/Payout/BOSPayout' \
--header 'Content-Type: application/json' \
--data  '{
    "registrationID": "BOS-554",
    "accountName": "Sunny",
    "accountNumber": "1234",
    "ifscCode": "IDIB007",
    "amount": "100", 
}'
                                
import requests
import json

url = 'https://payout.bos.center/api/V5/Payout/BOSPayout'
payload = json.dumps({
    "registrationID": "BOS-554",
    "accountName": "Sunny",
    "accountNumber": "1234",
    "ifscCode": "IDIB007",
    "amount": "100",
}) 

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.bos.center/api/V5/Payout/BOSPayout',
  "headers" : {
    "Content-Type" : 'application/json'
  },
  body: JSON.stringify({
    "registrationID": "BOS-554",
    "accountName": "Sunny",
    "accountNumber": "1234",
    "ifscCode": "IDIB007",
    "amount": "100",
  }) 
}; 
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.bos.center/api/V5/Payout/BOSPayout')
var content = new StringContent(
  "{
    "registrationID": "BOS-554",
    "accountName": "Sunny",
    "accountNumber": "1234",
    "ifscCode": "IDIB007",
    "amount": "100",
  }",
  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.bos.center/api/V5/Payout/BOSPayout',
  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": "BOS-554",
    "accountName": "Sunny",
    "accountNumber": "1234",
    "ifscCode": "IDIB007",
    "amount": "100",
  }',
  CURLOPT_HTTPHEADER =>  array(
    'Content-Type: application/json'
  ),
));
$response =  curl_exec($curl);
curl_close($curl);
echo $response;
                                

RESPONSE

200

403

409

412

422

-Result

Example

{
    "Message": "Amount has been successfully Processed",
    "Code": 200,
    "registrationID": "BOS-554",
    "txnRefranceID": "123456XXX",
    "UTR": "68789XXX",
    "DebitedAt": "14/10/2023, 5:05:29 pm",
}
                                
{
  "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."
}