Validate CSV file for bulk payments with multi-currency support
curl --request POST \
--url https://sandbox-api.kotanipay.io/api/v3/dashboard/bulk-payments/api/validate-csvimport requests
url = "https://sandbox-api.kotanipay.io/api/v3/dashboard/bulk-payments/api/validate-csv"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://sandbox-api.kotanipay.io/api/v3/dashboard/bulk-payments/api/validate-csv', 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://sandbox-api.kotanipay.io/api/v3/dashboard/bulk-payments/api/validate-csv",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox-api.kotanipay.io/api/v3/dashboard/bulk-payments/api/validate-csv"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://sandbox-api.kotanipay.io/api/v3/dashboard/bulk-payments/api/validate-csv")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.kotanipay.io/api/v3/dashboard/bulk-payments/api/validate-csv")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"isValid": true,
"totalRecords": 123,
"currencies": [
"<string>"
],
"errors": [
"<string>"
],
"warnings": [
"<string>"
],
"currencyBreakdown": {},
"fileHash": "<string>",
"isDuplicate": true
}Bulk Payments
Validate CSV File
POST
/
api
/
v3
/
dashboard
/
bulk-payments
/
api
/
validate-csv
Validate CSV file for bulk payments with multi-currency support
curl --request POST \
--url https://sandbox-api.kotanipay.io/api/v3/dashboard/bulk-payments/api/validate-csvimport requests
url = "https://sandbox-api.kotanipay.io/api/v3/dashboard/bulk-payments/api/validate-csv"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://sandbox-api.kotanipay.io/api/v3/dashboard/bulk-payments/api/validate-csv', 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://sandbox-api.kotanipay.io/api/v3/dashboard/bulk-payments/api/validate-csv",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox-api.kotanipay.io/api/v3/dashboard/bulk-payments/api/validate-csv"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://sandbox-api.kotanipay.io/api/v3/dashboard/bulk-payments/api/validate-csv")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.kotanipay.io/api/v3/dashboard/bulk-payments/api/validate-csv")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"isValid": true,
"totalRecords": 123,
"currencies": [
"<string>"
],
"errors": [
"<string>"
],
"warnings": [
"<string>"
],
"currencyBreakdown": {},
"fileHash": "<string>",
"isDuplicate": true
}Validate a CSV file for bulk payments with multi-currency support before creating batches.
Response
200 - application/json
CSV validation results
Whether CSV is valid
Total records in CSV
Currencies found in CSV
Validation errors if any
Validation warnings if any
Currency breakdown
File hash for duplicate detection
Whether file is duplicate