Skip to main content
POST
/
payout
/
v1
/
bulkValidation
/
bankDetails
Bulk Bank Verification
curl --request POST \
  --url https://payout-api.cashfree.com/payout/v1/bulkValidation/bankDetails \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "bulkValidationId": "A45",
  "entries": [
    {
      "name": "John Doe",
      "bankAccount": 11020001770,
      "ifsc": "HDFC0000001",
      "phone": 9999912345
    }
  ]
}
'
import requests

url = "https://payout-api.cashfree.com/payout/v1/bulkValidation/bankDetails"

payload = {
"bulkValidationId": "A45",
"entries": [
{
"name": "John Doe",
"bankAccount": 11020001770,
"ifsc": "HDFC0000001",
"phone": 9999912345
}
]
}
headers = {
"Authorization": "<authorization>",
"Content-Type": "<content-type>"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {Authorization: '<authorization>', 'Content-Type': '<content-type>'},
body: JSON.stringify({
bulkValidationId: 'A45',
entries: [
{
name: 'John Doe',
bankAccount: 11020001770,
ifsc: 'HDFC0000001',
phone: 9999912345
}
]
})
};

fetch('https://payout-api.cashfree.com/payout/v1/bulkValidation/bankDetails', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://payout-api.cashfree.com/payout/v1/bulkValidation/bankDetails",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'bulkValidationId' => 'A45',
'entries' => [
[
'name' => 'John Doe',
'bankAccount' => 11020001770,
'ifsc' => 'HDFC0000001',
'phone' => 9999912345
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>",
"Content-Type: <content-type>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://payout-api.cashfree.com/payout/v1/bulkValidation/bankDetails"

payload := strings.NewReader("{\n \"bulkValidationId\": \"A45\",\n \"entries\": [\n {\n \"name\": \"John Doe\",\n \"bankAccount\": 11020001770,\n \"ifsc\": \"HDFC0000001\",\n \"phone\": 9999912345\n }\n ]\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("Authorization", "<authorization>")
req.Header.Add("Content-Type", "<content-type>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://payout-api.cashfree.com/payout/v1/bulkValidation/bankDetails")
.header("Authorization", "<authorization>")
.header("Content-Type", "<content-type>")
.body("{\n \"bulkValidationId\": \"A45\",\n \"entries\": [\n {\n \"name\": \"John Doe\",\n \"bankAccount\": 11020001770,\n \"ifsc\": \"HDFC0000001\",\n \"phone\": 9999912345\n }\n ]\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://payout-api.cashfree.com/payout/v1/bulkValidation/bankDetails")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = '<authorization>'
request["Content-Type"] = '<content-type>'
request.body = "{\n \"bulkValidationId\": \"A45\",\n \"entries\": [\n {\n \"name\": \"John Doe\",\n \"bankAccount\": 11020001770,\n \"ifsc\": \"HDFC0000001\",\n \"phone\": 9999912345\n }\n ]\n}"

response = http.request(request)
puts response.read_body
{
  "status": "SUCCESSS",
  "subCode": 200,
  "message": "Bulk Validation requested successfully.",
  "data": {
    "bulkValidationId": "testid1"
  }
}
{
"status": "ERROR",
"subCode": 409,
"message": "Bulk Validation Id already exists"
}
This API will be retired soon. Please plan to migrate to the latest version, Bulk Bank Account Verification V2.

Headers

Authorization
string
required

Bearer Auth Token

Content-Type
string
required

application/json

Body

application/json
bulkValidationId
string

It is the unique ID to identify the the corresponding request. Only alphanumeric characters and underscore (_) are allowed.

Example:

"A45"

entries
object[]

Response

Accepted

status
string

It represents the status of the API request.

Example:

"SUCCESSS"

subCode
string

It represents the sub code of the API request.

Example:

200

message
string

It represents the message of the API request.

Example:

"Bulk Validation requested successfully."

data
object

It contains the bulk request information.