Creating a business
How to create a business and add its details to the system.
To create a Business resource, use the POST /businesses
operation and provide parameters, as shown in the table below.
Parameter | Type | Description |
---|---|---|
ein | string | Unique type of tax identification number used to identify the business with the IRS. |
legal_business_name required | string | Freeform, alphanumeric, legal name of the business. |
addresses required | array | Array of one or more physical or mailing addresses (see addresses Object table below). |
beneficial_owners | array | Array of one or more beneficial owners (see beneficial_owners Object table below). |
dba_business_name | string | Freeform, alphanumeric, "doing-business-as" name (trade name). |
business_type | string | Select one of: cooperative , limited_liability_company , sole_proprietorship , partnership , limited_partnership , corporation , nonprofit_organization |
date_established | date | Date of incorporation in YYYY-MM-DD format, for example 2021-06-28 |
phone | string | Freeform number with or without hyphens, for example +1-324-5556684 |
email | string | Business contact email of the form [email protected] |
website | string | The official website of the form www.goldfinger.com |
The addresses
array within the Business object has the following structure.
address Object | Type | Description |
---|---|---|
address_type required | string | Either MAILING or PHYSICAL . |
street required | string | Freeform name between 1 and 40 characters. May contain only alphanumeric and these special characters . , _ - # |
street2 | string | Freeform name maximum 40 characters. |
city required | string | City name, freeform between 2 and 40 characters. |
state required | string | Two-character US state code. Non-US state code maximum 20 characters. |
zip_code required | string | Five-digit US zip code, (for example 12345) or nine-digit US zip code, (for example 12345-1234). Non-US state code between 2 and 20 characters. |
country required | string | ISO 3166-1 alpha-2 country code, maximum two characters. |
is_primary required | boolean | Is this the primary address; either true or false . |
The beneficial_owners
array within the Business object has the following structure.
Parameter | Type (* Required) | Description |
---|---|---|
dob required | string | Date of birth in YYYY-MM-DD format, for example 1978-06-20 . |
first_name required | string | First name, between 1 and 20 characters. Must start with a letter and can only contain letters, spaces, and apostrophes. |
middle_name | string | Middle name, between 1 and 20 characters. Must start with a letter and can only contain letters, spaces, and apostrophes. |
last_name required | string | Last name, between 2 and 20 characters. Must start with a letter and can only contain letters, spaces, and apostrophes. |
addresses partially required | array | One or more official addresses, see table below. |
An example of a request to create a business resource is shown below.
curl --request POST \
--url https://sandbox.bond.tech/api/v0/businesses \
--header 'Identity: YOUR-IDENTITY' \
--header 'Authorization: YOUR-AUTHORIZATION' \
--header 'Content-Type: application/json' \
--data
'{
"addresses": [
{
"address_type": "PHYSICAL",
"street": "222 California Ave.",
"street2": "Suit 770",
"city": "San Francisco",
"state": "CA",
"zip_code": "12345-1234",
"country": "US",
"is_primary": true
}
],
"beneficial_owners": [
{
"dob": "1992-12-12",
"first_name": "John",
"last_name": "Pasakovitch",
"addresses": [
{
"address_type": "PHYSICAL",
"street": "345 California Ave.",
"street2": "Suit 600",
"city": "San Francisco",
"state": "CA",
"zip_code": "12345-1234",
"country": "US",
"is_primary": true
}
]
}
],
"ein": "12-1234588",
"legal_business_name": "Benny\'s Deli",
"dba_business_name": "Benny\'s",
"business_type": "partnership",
"date_established": "2020-01-01",
"phone": "+12345678989",
"website": "www.bennys.com"
}'
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://sandbox.bond.tech/api/v0/businesses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request["Identity"] = YOUR-IDENTITY
request["Authorization"] = YOUR-AUTHORIZATION
request.body = "{\"addresses\":[{\"address_type\":\"PHYSICAL\",\"street\":\"222 California Ave.\",\"street2\":\"Suit 770\",\"city\":\"San Francisco\",\"state\":\"CA\",\"zip_code\":\"12345-1234\",\"country\":\"US\",\"is_primary\":true}],\"beneficial_owners\":[{\"dob\":\"1992-12-12\",\"first_name\":\"John\",\"last_name\":\"Pasakovitch\",\"addresses\":[{\"address_type\":\"PHYSICAL\",\"street\":\"345 California Ave.\",\"street2\":\"Suit 600\",\"city\":\"San Francisco\",\"state\":\"CA\",\"zip_code\":\"12345-1234\",\"country\":\"US\",\"is_primary\":true}]}],\"ein\":\"12-1234588\",\"legal_business_name\":\"Benny's Deli\",\"dba_business_name\":\"Benny's\",\"business_type\":\"partnership\",\"date_established\":\"2020-01-01\",\"phone\":\"+12345678989\",\"website\":\"www.bennys.com\"}"
response = http.request(request)
puts response.read_body
const options = {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Identity: 'YOUR-IDENTITY',
Authorization: 'YOUR-AUTHORIZATION'
},
body: JSON.stringify({
addresses: [
{
address_type: 'PHYSICAL',
street: '222 California Ave.',
street2: 'Suit 770',
city: 'San Francisco',
state: 'CA',
zip_code: '12345-1234',
country: 'US',
is_primary: true
}
],
beneficial_owners: [
{
dob: '1992-12-12',
first_name: 'John',
last_name: 'Pasakovitch',
addresses: [
{
address_type: 'PHYSICAL',
street: '345 California Ave.',
street2: 'Suit 600',
city: 'San Francisco',
state: 'CA',
zip_code: '12345-1234',
country: 'US',
is_primary: true
}
]
}
],
ein: '12-1234588',
legal_business_name: 'Benny\'s Deli',
dba_business_name: 'Benny\'s',
business_type: 'partnership',
date_established: '2020-01-01',
phone: '+12345678989',
website: 'www.bennys.com'
})
};
fetch('https://sandbox.bond.tech/api/v0/businesses', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
import requests
url = "https://sandbox.bond.tech/api/v0/businesses"
payload = {
"addresses": [{
"address_type": "MAILING",
"street": "345 California Ave.",
"street2": "Suit 600",
"city": "San Francisco",
"state": "CA",
"zip_code": "12345-1234",
"country": "US",
"is_primary": True
}, {}],
"beneficial_owners": [
{
"addresses": [
{
"address_type": "PHYSICAL",
"street": "345 California Ave.",
"street2": "Suit 600",
"city": "San Francisco",
"state": "CA",
"zip_code": "12345-1234",
"country": "US",
"is_primary": True
}
],
"dob": "1992-12-12T00:00:00.000Z",
"first_name": "John",
"last_name": "Deere"
}
],
"ein": "12-1234567",
"legal_business_name": "Circle Enterprises",
"dba_business_name": "Circle Enterprises",
"business_type": "limited_liability_company",
"date_established": "2020-01-01T00:00:00.000Z",
"phone": "12345678777",
"email": "[email protected]",
"website": "www.CircleEnterprises.com"
}
headers = {
"Accept": "application/json",
"Content-Type": "application/json",
"Identity": "de8860e3-5af8-455a-9034-bbd4072d23d4"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.text)
var client = new RestClient("https://sandbox.bond.tech/api/v0/businesses");
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Identity", "YOUR-IDENTITY");
request.AddHeader("Authorization", "YOUR-AUTHORIZATION");
request.AddParameter("application/json", "{\"addresses\":[{\"address_type\":\"PHYSICAL\",\"street\":\"222 California Ave.\",\"street2\":\"Suit 770\",\"city\":\"San Francisco\",\"state\":\"CA\",\"zip_code\":\"12345-1234\",\"country\":\"US\",\"is_primary\":true}],\"beneficial_owners\":[{\"dob\":\"1992-12-12\",\"first_name\":\"John\",\"last_name\":\"Pasakovitch\",\"addresses\":[{\"address_type\":\"PHYSICAL\",\"street\":\"345 California Ave.\",\"street2\":\"Suit 600\",\"city\":\"San Francisco\",\"state\":\"CA\",\"zip_code\":\"12345-1234\",\"country\":\"US\",\"is_primary\":true}]}],\"ein\":\"12-1234588\",\"legal_business_name\":\"Benny's Deli\",\"dba_business_name\":\"Benny's\",\"business_type\":\"partnership\",\"date_established\":\"2020-01-01\",\"phone\":\"+12345678989\",\"website\":\"www.bennys.com\"}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
OkHttpClient client = new OkHttpClient();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\"addresses\":[{\"address_type\":\"PHYSICAL\",\"street\":\"222 California Ave.\",\"street2\":\"Suit 770\",\"city\":\"San Francisco\",\"state\":\"CA\",\"zip_code\":\"12345-1234\",\"country\":\"US\",\"is_primary\":true}],\"beneficial_owners\":[{\"dob\":\"1992-12-12\",\"first_name\":\"John\",\"last_name\":\"Pasakovitch\",\"addresses\":[{\"address_type\":\"PHYSICAL\",\"street\":\"345 California Ave.\",\"street2\":\"Suit 600\",\"city\":\"San Francisco\",\"state\":\"CA\",\"zip_code\":\"12345-1234\",\"country\":\"US\",\"is_primary\":true}]}],\"ein\":\"12-1234588\",\"legal_business_name\":\"Benny's Deli\",\"dba_business_name\":\"Benny's\",\"business_type\":\"partnership\",\"date_established\":\"2020-01-01\",\"phone\":\"+12345678989\",\"website\":\"www.bennys.com\"}");
Request request = new Request.Builder()
.url("https://sandbox.bond.tech/api/v0/businesses")
.post(body)
.addHeader("Content-Type", "application/json")
.addHeader("Identity", "YOUR-IDENTITY")
.addHeader("Authorization", "YOUR-AUTHORIZATION")
.build();
Response response = client.newCall(request).execute();
The JSON response contains all the information related to the newly created business. It also returns the new business_id
which is a unique Bond identifier for the business. The business_id
is used in subsequent API calls to retrieve and update the business resource, initiate KYB, and issue cards.
An example of a successful business creation response is shown below.
{
"date_created":"2021-05-18T10:05:13.176818-07:00",
"business_id":"1e847b10-b7e7-4978-a0a2-fed9d44c2e91",
"ein":"12-1234567",
"legal_business_name":"Specter and Sons Inc.",
"dba_business_name":"Specter's",
"business_type":"Sole Proprietorship",
"date_established":"None",
"phone":"+14085557788",
"email":"[email protected]",
"website":"https://www.specter.com",
"addresses":[
{
"date_created":"2021-05-18T10:05:13.220764-07:00",
"address_id":"d3dda856-ada3-44b2-8323-1283f1624777",
"address_type":"PHYSICAL",
"street":"345 California St.",
"street2":"Suit 600",
"city":"San Francisco",
"state":"CA",
"zip_code":"94104-2657",
"country":"US",
"is_primary":true,
"deliverability":"undeliverable"
},
{
"date_created":"2021-05-18T10:05:13.257231-07:00",
"address_id":"cb27d8cd-c25e-42f3-b96f-d0bc0309c31d",
"address_type":"MAILING",
"street":"345 California St.",
"street2":"Suit 100",
"city":"San Francisco",
"state":"CA",
"zip_code":"94104-2657",
"country":"US",
"is_primary":false,
"deliverability":"deliverable"
}
],
"beneficial_owners":[
{
"date_created":"2021-05-18T10:05:13.258302-07:00",
"beneficial_owner_id":"8ac8337c-b483-40cf-839a-010cb2426bbb",
"first_name":"James",
"middle_name":"None",
"last_name":"Bond",
"addresses":[
{
"date_created":"2021-05-18T10:05:13.266644-07:00",
"address_id":"1be55599-69d6-4a19-9353-9c2e9166bc26",
"address_type":"PHYSICAL",
"street":"345 James Bond St.",
"street2":"Suit 600",
"city":"San Francisco",
"state":"CA",
"zip_code":"94104-2657",
"country":"US",
"is_primary":true,
"deliverability":"deliverable"
}
],
},
{
"date_created":"2021-05-18T10:05:13.265486-07:00",
"beneficial_owner_id":"ad24741a-2392-4bc3-bce4-0b817ed2ed9e",
"first_name":"Auric",
"middle_name":"None",
"last_name":"Goldfinger",
"addresses":[
{
"date_created":"2021-05-18T10:05:13.276026-07:00",
"address_id":"468b687f-8530-4255-bd3d-68a960608a63",
"address_type":"PHYSICAL",
"street":"345 Auric St.",
"street2":"Suit 600",
"city":"San Francisco",
"state":"CA",
"zip_code":"94104-2657",
"country":"US",
"is_primary":true,
"deliverability":"deliverable"
}
],
}
],
}
For a complete specification and interactive examples, see Create a business in the Bond API Reference.
Trying to creating a business with a missing field
If you try to create a business with a missing field, you receive a JSON response similar to the example shown below.
{
'Message': {'legal_business_name': ['Missing data for required field.']},
'Status': 400,
'Code': 'create_business_schema',
'Type': 'Request Error'
}
Updated almost 2 years ago