addKybInformation
curl --request POST \
--url https://sandbox.rollfi.xyz/companyOnboarding/addKybInformation \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"method": "addKybInformation",
"kybInformation": {
"companyId": "8131D8A7-78F3-4DFC-A309-9010C95F2816",
"ein": "899991002",
"entityType": "LLP",
"dateOfIncorporation": "2023-02-25",
"incorporationState": "Maryland",
"irsAssisgnedFederalFilingForm": "941"
}
}
'import requests
url = "https://sandbox.rollfi.xyz/companyOnboarding/addKybInformation"
payload = {
"method": "addKybInformation",
"kybInformation": {
"companyId": "8131D8A7-78F3-4DFC-A309-9010C95F2816",
"ein": "899991002",
"entityType": "LLP",
"dateOfIncorporation": "2023-02-25",
"incorporationState": "Maryland",
"irsAssisgnedFederalFilingForm": "941"
}
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
method: 'addKybInformation',
kybInformation: {
companyId: '8131D8A7-78F3-4DFC-A309-9010C95F2816',
ein: '899991002',
entityType: 'LLP',
dateOfIncorporation: '2023-02-25',
incorporationState: 'Maryland',
irsAssisgnedFederalFilingForm: '941'
}
})
};
fetch('https://sandbox.rollfi.xyz/companyOnboarding/addKybInformation', 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.rollfi.xyz/companyOnboarding/addKybInformation",
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([
'method' => 'addKybInformation',
'kybInformation' => [
'companyId' => '8131D8A7-78F3-4DFC-A309-9010C95F2816',
'ein' => '899991002',
'entityType' => 'LLP',
'dateOfIncorporation' => '2023-02-25',
'incorporationState' => 'Maryland',
'irsAssisgnedFederalFilingForm' => '941'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>",
"Content-Type: application/json"
],
]);
$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://sandbox.rollfi.xyz/companyOnboarding/addKybInformation"
payload := strings.NewReader("{\n \"method\": \"addKybInformation\",\n \"kybInformation\": {\n \"companyId\": \"8131D8A7-78F3-4DFC-A309-9010C95F2816\",\n \"ein\": \"899991002\",\n \"entityType\": \"LLP\",\n \"dateOfIncorporation\": \"2023-02-25\",\n \"incorporationState\": \"Maryland\",\n \"irsAssisgnedFederalFilingForm\": \"941\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Basic <encoded-value>")
req.Header.Add("Content-Type", "application/json")
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.rollfi.xyz/companyOnboarding/addKybInformation")
.header("Authorization", "Basic <encoded-value>")
.header("Content-Type", "application/json")
.body("{\n \"method\": \"addKybInformation\",\n \"kybInformation\": {\n \"companyId\": \"8131D8A7-78F3-4DFC-A309-9010C95F2816\",\n \"ein\": \"899991002\",\n \"entityType\": \"LLP\",\n \"dateOfIncorporation\": \"2023-02-25\",\n \"incorporationState\": \"Maryland\",\n \"irsAssisgnedFederalFilingForm\": \"941\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.rollfi.xyz/companyOnboarding/addKybInformation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Basic <encoded-value>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"method\": \"addKybInformation\",\n \"kybInformation\": {\n \"companyId\": \"8131D8A7-78F3-4DFC-A309-9010C95F2816\",\n \"ein\": \"899991002\",\n \"entityType\": \"LLP\",\n \"dateOfIncorporation\": \"2023-02-25\",\n \"incorporationState\": \"Maryland\",\n \"irsAssisgnedFederalFilingForm\": \"941\"\n }\n}"
response = http.request(request)
puts response.read_body{
"kybInformation": {
"kybInformationId": "44BF4454-FFCB-42BA-8918-E7A820E6497E",
"status": "KYB Verification Pending",
"message": "The KYB information for wil food has been saved successfully."
}
}
Company Onboarding
addKybInformation
The addKybInformation API is used to submit KYB (Know Your Business) data for regulatory compliance. Here you add the information required for the KYB process, which verifies business information with official records.
What it does:
- Collects essential business verification information including EIN, entity type, and incorporation date
- Begins KYB verification process for regulatory compliance
- Ensures taxation and payroll compliance depending on business type
Supported Entity Types:
- C Corp
- S Corp
- LLC
- Single Member LLC
- LLP
- Partnership
- Sole Proprietor
- Non-Profit
Supported Federal Filing Forms:
- 941: Quarterly Federal Tax Return (most common)
- 944: Annual Federal Tax Return (for small businesses with an annual employment tax liability of $1,000 or less)
POST
/
companyOnboarding
/
addKybInformation
addKybInformation
curl --request POST \
--url https://sandbox.rollfi.xyz/companyOnboarding/addKybInformation \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"method": "addKybInformation",
"kybInformation": {
"companyId": "8131D8A7-78F3-4DFC-A309-9010C95F2816",
"ein": "899991002",
"entityType": "LLP",
"dateOfIncorporation": "2023-02-25",
"incorporationState": "Maryland",
"irsAssisgnedFederalFilingForm": "941"
}
}
'import requests
url = "https://sandbox.rollfi.xyz/companyOnboarding/addKybInformation"
payload = {
"method": "addKybInformation",
"kybInformation": {
"companyId": "8131D8A7-78F3-4DFC-A309-9010C95F2816",
"ein": "899991002",
"entityType": "LLP",
"dateOfIncorporation": "2023-02-25",
"incorporationState": "Maryland",
"irsAssisgnedFederalFilingForm": "941"
}
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
method: 'addKybInformation',
kybInformation: {
companyId: '8131D8A7-78F3-4DFC-A309-9010C95F2816',
ein: '899991002',
entityType: 'LLP',
dateOfIncorporation: '2023-02-25',
incorporationState: 'Maryland',
irsAssisgnedFederalFilingForm: '941'
}
})
};
fetch('https://sandbox.rollfi.xyz/companyOnboarding/addKybInformation', 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.rollfi.xyz/companyOnboarding/addKybInformation",
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([
'method' => 'addKybInformation',
'kybInformation' => [
'companyId' => '8131D8A7-78F3-4DFC-A309-9010C95F2816',
'ein' => '899991002',
'entityType' => 'LLP',
'dateOfIncorporation' => '2023-02-25',
'incorporationState' => 'Maryland',
'irsAssisgnedFederalFilingForm' => '941'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>",
"Content-Type: application/json"
],
]);
$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://sandbox.rollfi.xyz/companyOnboarding/addKybInformation"
payload := strings.NewReader("{\n \"method\": \"addKybInformation\",\n \"kybInformation\": {\n \"companyId\": \"8131D8A7-78F3-4DFC-A309-9010C95F2816\",\n \"ein\": \"899991002\",\n \"entityType\": \"LLP\",\n \"dateOfIncorporation\": \"2023-02-25\",\n \"incorporationState\": \"Maryland\",\n \"irsAssisgnedFederalFilingForm\": \"941\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Basic <encoded-value>")
req.Header.Add("Content-Type", "application/json")
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.rollfi.xyz/companyOnboarding/addKybInformation")
.header("Authorization", "Basic <encoded-value>")
.header("Content-Type", "application/json")
.body("{\n \"method\": \"addKybInformation\",\n \"kybInformation\": {\n \"companyId\": \"8131D8A7-78F3-4DFC-A309-9010C95F2816\",\n \"ein\": \"899991002\",\n \"entityType\": \"LLP\",\n \"dateOfIncorporation\": \"2023-02-25\",\n \"incorporationState\": \"Maryland\",\n \"irsAssisgnedFederalFilingForm\": \"941\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.rollfi.xyz/companyOnboarding/addKybInformation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Basic <encoded-value>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"method\": \"addKybInformation\",\n \"kybInformation\": {\n \"companyId\": \"8131D8A7-78F3-4DFC-A309-9010C95F2816\",\n \"ein\": \"899991002\",\n \"entityType\": \"LLP\",\n \"dateOfIncorporation\": \"2023-02-25\",\n \"incorporationState\": \"Maryland\",\n \"irsAssisgnedFederalFilingForm\": \"941\"\n }\n}"
response = http.request(request)
puts response.read_body{
"kybInformation": {
"kybInformationId": "44BF4454-FFCB-42BA-8918-E7A820E6497E",
"status": "KYB Verification Pending",
"message": "The KYB information for wil food has been saved successfully."
}
}
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Response
Show child attributes
Show child attributes
⌘I
