curl --request PATCH \
--url https://api.joinworth.com/case/api/v1/businesses/customers/{customerID} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"external_id": "Dwight-business-specific-identifier-42dd22",
"name": "Dunder Mifflin",
"tin": "138519094",
"address_line_1": "2232 Harry Brooks Dr NW",
"address_line_2": "Suite 200",
"address_city": "Scranton",
"address_state": "PA",
"address_country": "USA",
"address_postal_code": "30318",
"mobile": "5043228579",
"official_website": "https://dundermifflin.com",
"naics_code": 424120,
"naics_title": "Stationery and Office Supplies",
"mcc_code": 5111,
"industry": "Office Supplies",
"is_monitoring_enabled": true,
"applicant_id": "1a2b3c4d-5e6f-1a2b-3c4d-5e6f1a2b3c4d",
"send_invitation": true,
"generate_invite_link": false,
"applicant_first_name": "Dwight",
"applicant_last_name": "Schrute",
"applicant_email": "dschrute@dundermifflin.com",
"applicant_subrole_code": "owner",
"dba1_name": "Michael Scott Paper Company",
"address1_line_1": "1725 Slough Avenue",
"address1_apartment": "Closet",
"address1_city": "Scranton",
"address1_state": "PA",
"address1_country": "USA",
"address1_postal_code": "18504",
"address1_mobile": "5551234567",
"year_created": 2021,
"annual_total_income": 20000,
"total_wages": 15000,
"annual_net_income": 5000,
"cost_of_goods_sold": 2000,
"total_liabilities": 1000,
"total_assets": 25000,
"total_equity": 24000,
"total_accounts_payable": 500,
"total_accounts_recievable": 1500,
"total_cash_and_cash_equivalents": 10000,
"total_short_term_investments": 0,
"total_current_assets": 11500,
"total_current_liabilities": 500,
"non_current_liablities": 500,
"annual_cost_of_goods_sold": 2000,
"annual_gross_profit": 18000,
"annual_taxes_paid": 1000,
"annual_interest_expenses": 0,
"number_of_employees": 15,
"business_type": "Corporation",
"sic_code": 5112,
"score_retrieval_date": "2026-04-07",
"business_liens": 0,
"business_liens_file_date": "2023-01-01",
"business_liens_status": "none",
"business_liens_status_date": "2023-01-01",
"business_bankruptcies": 0,
"business_bankruptcies_file_date": "2023-01-01",
"business_bankruptcies_chapter": "none",
"business_bankruptcies_voluntary": "none",
"business_bankruptcies_status": "none",
"business_bankruptcies_status_date": "2023-01-01",
"business_judgements": 0,
"business_judgements_file_date": "2023-01-01",
"business_judgements_status": "none",
"business_judgements_status_date": "2023-01-01",
"business_judgements_amount": 0,
"social_review_count": 45,
"social_review_score": 4.5,
"owner1_title": "Manager",
"owner1_first_name": "Michael",
"owner1_last_name": "Scott",
"owner1_email": "gavin@bionicpanda.net",
"owner1_mobile": "5043228579",
"owner1_ssn": "123456789",
"owner1_dob": "1992-10-08",
"owner1_address_line_1": "2232 Harry Brooks Dr NW",
"owner1_address_line_2": "Suite 100",
"owner1_address_city": "Atlanta",
"owner1_address_state": "GA",
"owner1_address_postal": "30318",
"owner1_address_country": "USA",
"owner1_owner_type": "CONTROL",
"owner1_ownership_percentage": 100,
"bank_account_number": "99909578",
"bank_name": "Scranton Credit Union",
"institution_name": "Scranton Credit Union",
"bank_routing_number": "211370150",
"bank_wire_routing_number": "211370151",
"bank_official_name": "Scranton CU NA",
"bank_account_type": "depository",
"bank_account_subtype": "Checking",
"bank_account_balance_current": 50000,
"bank_account_balance_available": 45000,
"bank_account_balance_limit": 5000,
"deposit_account": true,
"bank_account_holder_type": "business",
"bank_account_holder_name": "Dunder Mifflin",
"npi": "1234567890",
"npi_first_name": "Michael",
"npi_last_name": "Scott",
"skip_credit_check": false,
"bypass_ssn": false,
"canada_business_number": "123456789 RC 0001",
"canada_corporate_id": "123456789",
"aging_config": {
"thresholds": {
"low": 7,
"medium": 14,
"high": 30
},
"custom_messages": {
"low": "Please complete your application soon.",
"medium": "Your application requires immediate attention.",
"high": "Final notice to complete your application."
}
}
}
'import requests
url = "https://api.joinworth.com/case/api/v1/businesses/customers/{customerID}"
payload = {
"external_id": "Dwight-business-specific-identifier-42dd22",
"name": "Dunder Mifflin",
"tin": "138519094",
"address_line_1": "2232 Harry Brooks Dr NW",
"address_line_2": "Suite 200",
"address_city": "Scranton",
"address_state": "PA",
"address_country": "USA",
"address_postal_code": "30318",
"mobile": "5043228579",
"official_website": "https://dundermifflin.com",
"naics_code": 424120,
"naics_title": "Stationery and Office Supplies",
"mcc_code": 5111,
"industry": "Office Supplies",
"is_monitoring_enabled": True,
"applicant_id": "1a2b3c4d-5e6f-1a2b-3c4d-5e6f1a2b3c4d",
"send_invitation": True,
"generate_invite_link": False,
"applicant_first_name": "Dwight",
"applicant_last_name": "Schrute",
"applicant_email": "dschrute@dundermifflin.com",
"applicant_subrole_code": "owner",
"dba1_name": "Michael Scott Paper Company",
"address1_line_1": "1725 Slough Avenue",
"address1_apartment": "Closet",
"address1_city": "Scranton",
"address1_state": "PA",
"address1_country": "USA",
"address1_postal_code": "18504",
"address1_mobile": "5551234567",
"year_created": 2021,
"annual_total_income": 20000,
"total_wages": 15000,
"annual_net_income": 5000,
"cost_of_goods_sold": 2000,
"total_liabilities": 1000,
"total_assets": 25000,
"total_equity": 24000,
"total_accounts_payable": 500,
"total_accounts_recievable": 1500,
"total_cash_and_cash_equivalents": 10000,
"total_short_term_investments": 0,
"total_current_assets": 11500,
"total_current_liabilities": 500,
"non_current_liablities": 500,
"annual_cost_of_goods_sold": 2000,
"annual_gross_profit": 18000,
"annual_taxes_paid": 1000,
"annual_interest_expenses": 0,
"number_of_employees": 15,
"business_type": "Corporation",
"sic_code": 5112,
"score_retrieval_date": "2026-04-07",
"business_liens": 0,
"business_liens_file_date": "2023-01-01",
"business_liens_status": "none",
"business_liens_status_date": "2023-01-01",
"business_bankruptcies": 0,
"business_bankruptcies_file_date": "2023-01-01",
"business_bankruptcies_chapter": "none",
"business_bankruptcies_voluntary": "none",
"business_bankruptcies_status": "none",
"business_bankruptcies_status_date": "2023-01-01",
"business_judgements": 0,
"business_judgements_file_date": "2023-01-01",
"business_judgements_status": "none",
"business_judgements_status_date": "2023-01-01",
"business_judgements_amount": 0,
"social_review_count": 45,
"social_review_score": 4.5,
"owner1_title": "Manager",
"owner1_first_name": "Michael",
"owner1_last_name": "Scott",
"owner1_email": "gavin@bionicpanda.net",
"owner1_mobile": "5043228579",
"owner1_ssn": "123456789",
"owner1_dob": "1992-10-08",
"owner1_address_line_1": "2232 Harry Brooks Dr NW",
"owner1_address_line_2": "Suite 100",
"owner1_address_city": "Atlanta",
"owner1_address_state": "GA",
"owner1_address_postal": "30318",
"owner1_address_country": "USA",
"owner1_owner_type": "CONTROL",
"owner1_ownership_percentage": 100,
"bank_account_number": "99909578",
"bank_name": "Scranton Credit Union",
"institution_name": "Scranton Credit Union",
"bank_routing_number": "211370150",
"bank_wire_routing_number": "211370151",
"bank_official_name": "Scranton CU NA",
"bank_account_type": "depository",
"bank_account_subtype": "Checking",
"bank_account_balance_current": 50000,
"bank_account_balance_available": 45000,
"bank_account_balance_limit": 5000,
"deposit_account": True,
"bank_account_holder_type": "business",
"bank_account_holder_name": "Dunder Mifflin",
"npi": "1234567890",
"npi_first_name": "Michael",
"npi_last_name": "Scott",
"skip_credit_check": False,
"bypass_ssn": False,
"canada_business_number": "123456789 RC 0001",
"canada_corporate_id": "123456789",
"aging_config": {
"thresholds": {
"low": 7,
"medium": 14,
"high": 30
},
"custom_messages": {
"low": "Please complete your application soon.",
"medium": "Your application requires immediate attention.",
"high": "Final notice to complete your application."
}
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
external_id: 'Dwight-business-specific-identifier-42dd22',
name: 'Dunder Mifflin',
tin: '138519094',
address_line_1: '2232 Harry Brooks Dr NW',
address_line_2: 'Suite 200',
address_city: 'Scranton',
address_state: 'PA',
address_country: 'USA',
address_postal_code: '30318',
mobile: '5043228579',
official_website: 'https://dundermifflin.com',
naics_code: 424120,
naics_title: 'Stationery and Office Supplies',
mcc_code: 5111,
industry: 'Office Supplies',
is_monitoring_enabled: true,
applicant_id: '1a2b3c4d-5e6f-1a2b-3c4d-5e6f1a2b3c4d',
send_invitation: true,
generate_invite_link: false,
applicant_first_name: 'Dwight',
applicant_last_name: 'Schrute',
applicant_email: 'dschrute@dundermifflin.com',
applicant_subrole_code: 'owner',
dba1_name: 'Michael Scott Paper Company',
address1_line_1: '1725 Slough Avenue',
address1_apartment: 'Closet',
address1_city: 'Scranton',
address1_state: 'PA',
address1_country: 'USA',
address1_postal_code: '18504',
address1_mobile: '5551234567',
year_created: 2021,
annual_total_income: 20000,
total_wages: 15000,
annual_net_income: 5000,
cost_of_goods_sold: 2000,
total_liabilities: 1000,
total_assets: 25000,
total_equity: 24000,
total_accounts_payable: 500,
total_accounts_recievable: 1500,
total_cash_and_cash_equivalents: 10000,
total_short_term_investments: 0,
total_current_assets: 11500,
total_current_liabilities: 500,
non_current_liablities: 500,
annual_cost_of_goods_sold: 2000,
annual_gross_profit: 18000,
annual_taxes_paid: 1000,
annual_interest_expenses: 0,
number_of_employees: 15,
business_type: 'Corporation',
sic_code: 5112,
score_retrieval_date: '2026-04-07',
business_liens: 0,
business_liens_file_date: '2023-01-01',
business_liens_status: 'none',
business_liens_status_date: '2023-01-01',
business_bankruptcies: 0,
business_bankruptcies_file_date: '2023-01-01',
business_bankruptcies_chapter: 'none',
business_bankruptcies_voluntary: 'none',
business_bankruptcies_status: 'none',
business_bankruptcies_status_date: '2023-01-01',
business_judgements: 0,
business_judgements_file_date: '2023-01-01',
business_judgements_status: 'none',
business_judgements_status_date: '2023-01-01',
business_judgements_amount: 0,
social_review_count: 45,
social_review_score: 4.5,
owner1_title: 'Manager',
owner1_first_name: 'Michael',
owner1_last_name: 'Scott',
owner1_email: 'gavin@bionicpanda.net',
owner1_mobile: '5043228579',
owner1_ssn: '123456789',
owner1_dob: '1992-10-08',
owner1_address_line_1: '2232 Harry Brooks Dr NW',
owner1_address_line_2: 'Suite 100',
owner1_address_city: 'Atlanta',
owner1_address_state: 'GA',
owner1_address_postal: '30318',
owner1_address_country: 'USA',
owner1_owner_type: 'CONTROL',
owner1_ownership_percentage: 100,
bank_account_number: '99909578',
bank_name: 'Scranton Credit Union',
institution_name: 'Scranton Credit Union',
bank_routing_number: '211370150',
bank_wire_routing_number: '211370151',
bank_official_name: 'Scranton CU NA',
bank_account_type: 'depository',
bank_account_subtype: 'Checking',
bank_account_balance_current: 50000,
bank_account_balance_available: 45000,
bank_account_balance_limit: 5000,
deposit_account: true,
bank_account_holder_type: 'business',
bank_account_holder_name: 'Dunder Mifflin',
npi: '1234567890',
npi_first_name: 'Michael',
npi_last_name: 'Scott',
skip_credit_check: false,
bypass_ssn: false,
canada_business_number: '123456789 RC 0001',
canada_corporate_id: '123456789',
aging_config: {
thresholds: {low: 7, medium: 14, high: 30},
custom_messages: {
low: 'Please complete your application soon.',
medium: 'Your application requires immediate attention.',
high: 'Final notice to complete your application.'
}
}
})
};
fetch('https://api.joinworth.com/case/api/v1/businesses/customers/{customerID}', 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://api.joinworth.com/case/api/v1/businesses/customers/{customerID}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'external_id' => 'Dwight-business-specific-identifier-42dd22',
'name' => 'Dunder Mifflin',
'tin' => '138519094',
'address_line_1' => '2232 Harry Brooks Dr NW',
'address_line_2' => 'Suite 200',
'address_city' => 'Scranton',
'address_state' => 'PA',
'address_country' => 'USA',
'address_postal_code' => '30318',
'mobile' => '5043228579',
'official_website' => 'https://dundermifflin.com',
'naics_code' => 424120,
'naics_title' => 'Stationery and Office Supplies',
'mcc_code' => 5111,
'industry' => 'Office Supplies',
'is_monitoring_enabled' => true,
'applicant_id' => '1a2b3c4d-5e6f-1a2b-3c4d-5e6f1a2b3c4d',
'send_invitation' => true,
'generate_invite_link' => false,
'applicant_first_name' => 'Dwight',
'applicant_last_name' => 'Schrute',
'applicant_email' => 'dschrute@dundermifflin.com',
'applicant_subrole_code' => 'owner',
'dba1_name' => 'Michael Scott Paper Company',
'address1_line_1' => '1725 Slough Avenue',
'address1_apartment' => 'Closet',
'address1_city' => 'Scranton',
'address1_state' => 'PA',
'address1_country' => 'USA',
'address1_postal_code' => '18504',
'address1_mobile' => '5551234567',
'year_created' => 2021,
'annual_total_income' => 20000,
'total_wages' => 15000,
'annual_net_income' => 5000,
'cost_of_goods_sold' => 2000,
'total_liabilities' => 1000,
'total_assets' => 25000,
'total_equity' => 24000,
'total_accounts_payable' => 500,
'total_accounts_recievable' => 1500,
'total_cash_and_cash_equivalents' => 10000,
'total_short_term_investments' => 0,
'total_current_assets' => 11500,
'total_current_liabilities' => 500,
'non_current_liablities' => 500,
'annual_cost_of_goods_sold' => 2000,
'annual_gross_profit' => 18000,
'annual_taxes_paid' => 1000,
'annual_interest_expenses' => 0,
'number_of_employees' => 15,
'business_type' => 'Corporation',
'sic_code' => 5112,
'score_retrieval_date' => '2026-04-07',
'business_liens' => 0,
'business_liens_file_date' => '2023-01-01',
'business_liens_status' => 'none',
'business_liens_status_date' => '2023-01-01',
'business_bankruptcies' => 0,
'business_bankruptcies_file_date' => '2023-01-01',
'business_bankruptcies_chapter' => 'none',
'business_bankruptcies_voluntary' => 'none',
'business_bankruptcies_status' => 'none',
'business_bankruptcies_status_date' => '2023-01-01',
'business_judgements' => 0,
'business_judgements_file_date' => '2023-01-01',
'business_judgements_status' => 'none',
'business_judgements_status_date' => '2023-01-01',
'business_judgements_amount' => 0,
'social_review_count' => 45,
'social_review_score' => 4.5,
'owner1_title' => 'Manager',
'owner1_first_name' => 'Michael',
'owner1_last_name' => 'Scott',
'owner1_email' => 'gavin@bionicpanda.net',
'owner1_mobile' => '5043228579',
'owner1_ssn' => '123456789',
'owner1_dob' => '1992-10-08',
'owner1_address_line_1' => '2232 Harry Brooks Dr NW',
'owner1_address_line_2' => 'Suite 100',
'owner1_address_city' => 'Atlanta',
'owner1_address_state' => 'GA',
'owner1_address_postal' => '30318',
'owner1_address_country' => 'USA',
'owner1_owner_type' => 'CONTROL',
'owner1_ownership_percentage' => 100,
'bank_account_number' => '99909578',
'bank_name' => 'Scranton Credit Union',
'institution_name' => 'Scranton Credit Union',
'bank_routing_number' => '211370150',
'bank_wire_routing_number' => '211370151',
'bank_official_name' => 'Scranton CU NA',
'bank_account_type' => 'depository',
'bank_account_subtype' => 'Checking',
'bank_account_balance_current' => 50000,
'bank_account_balance_available' => 45000,
'bank_account_balance_limit' => 5000,
'deposit_account' => true,
'bank_account_holder_type' => 'business',
'bank_account_holder_name' => 'Dunder Mifflin',
'npi' => '1234567890',
'npi_first_name' => 'Michael',
'npi_last_name' => 'Scott',
'skip_credit_check' => false,
'bypass_ssn' => false,
'canada_business_number' => '123456789 RC 0001',
'canada_corporate_id' => '123456789',
'aging_config' => [
'thresholds' => [
'low' => 7,
'medium' => 14,
'high' => 30
],
'custom_messages' => [
'low' => 'Please complete your application soon.',
'medium' => 'Your application requires immediate attention.',
'high' => 'Final notice to complete your application.'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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://api.joinworth.com/case/api/v1/businesses/customers/{customerID}"
payload := strings.NewReader("{\n \"external_id\": \"Dwight-business-specific-identifier-42dd22\",\n \"name\": \"Dunder Mifflin\",\n \"tin\": \"138519094\",\n \"address_line_1\": \"2232 Harry Brooks Dr NW\",\n \"address_line_2\": \"Suite 200\",\n \"address_city\": \"Scranton\",\n \"address_state\": \"PA\",\n \"address_country\": \"USA\",\n \"address_postal_code\": \"30318\",\n \"mobile\": \"5043228579\",\n \"official_website\": \"https://dundermifflin.com\",\n \"naics_code\": 424120,\n \"naics_title\": \"Stationery and Office Supplies\",\n \"mcc_code\": 5111,\n \"industry\": \"Office Supplies\",\n \"is_monitoring_enabled\": true,\n \"applicant_id\": \"1a2b3c4d-5e6f-1a2b-3c4d-5e6f1a2b3c4d\",\n \"send_invitation\": true,\n \"generate_invite_link\": false,\n \"applicant_first_name\": \"Dwight\",\n \"applicant_last_name\": \"Schrute\",\n \"applicant_email\": \"dschrute@dundermifflin.com\",\n \"applicant_subrole_code\": \"owner\",\n \"dba1_name\": \"Michael Scott Paper Company\",\n \"address1_line_1\": \"1725 Slough Avenue\",\n \"address1_apartment\": \"Closet\",\n \"address1_city\": \"Scranton\",\n \"address1_state\": \"PA\",\n \"address1_country\": \"USA\",\n \"address1_postal_code\": \"18504\",\n \"address1_mobile\": \"5551234567\",\n \"year_created\": 2021,\n \"annual_total_income\": 20000,\n \"total_wages\": 15000,\n \"annual_net_income\": 5000,\n \"cost_of_goods_sold\": 2000,\n \"total_liabilities\": 1000,\n \"total_assets\": 25000,\n \"total_equity\": 24000,\n \"total_accounts_payable\": 500,\n \"total_accounts_recievable\": 1500,\n \"total_cash_and_cash_equivalents\": 10000,\n \"total_short_term_investments\": 0,\n \"total_current_assets\": 11500,\n \"total_current_liabilities\": 500,\n \"non_current_liablities\": 500,\n \"annual_cost_of_goods_sold\": 2000,\n \"annual_gross_profit\": 18000,\n \"annual_taxes_paid\": 1000,\n \"annual_interest_expenses\": 0,\n \"number_of_employees\": 15,\n \"business_type\": \"Corporation\",\n \"sic_code\": 5112,\n \"score_retrieval_date\": \"2026-04-07\",\n \"business_liens\": 0,\n \"business_liens_file_date\": \"2023-01-01\",\n \"business_liens_status\": \"none\",\n \"business_liens_status_date\": \"2023-01-01\",\n \"business_bankruptcies\": 0,\n \"business_bankruptcies_file_date\": \"2023-01-01\",\n \"business_bankruptcies_chapter\": \"none\",\n \"business_bankruptcies_voluntary\": \"none\",\n \"business_bankruptcies_status\": \"none\",\n \"business_bankruptcies_status_date\": \"2023-01-01\",\n \"business_judgements\": 0,\n \"business_judgements_file_date\": \"2023-01-01\",\n \"business_judgements_status\": \"none\",\n \"business_judgements_status_date\": \"2023-01-01\",\n \"business_judgements_amount\": 0,\n \"social_review_count\": 45,\n \"social_review_score\": 4.5,\n \"owner1_title\": \"Manager\",\n \"owner1_first_name\": \"Michael\",\n \"owner1_last_name\": \"Scott\",\n \"owner1_email\": \"gavin@bionicpanda.net\",\n \"owner1_mobile\": \"5043228579\",\n \"owner1_ssn\": \"123456789\",\n \"owner1_dob\": \"1992-10-08\",\n \"owner1_address_line_1\": \"2232 Harry Brooks Dr NW\",\n \"owner1_address_line_2\": \"Suite 100\",\n \"owner1_address_city\": \"Atlanta\",\n \"owner1_address_state\": \"GA\",\n \"owner1_address_postal\": \"30318\",\n \"owner1_address_country\": \"USA\",\n \"owner1_owner_type\": \"CONTROL\",\n \"owner1_ownership_percentage\": 100,\n \"bank_account_number\": \"99909578\",\n \"bank_name\": \"Scranton Credit Union\",\n \"institution_name\": \"Scranton Credit Union\",\n \"bank_routing_number\": \"211370150\",\n \"bank_wire_routing_number\": \"211370151\",\n \"bank_official_name\": \"Scranton CU NA\",\n \"bank_account_type\": \"depository\",\n \"bank_account_subtype\": \"Checking\",\n \"bank_account_balance_current\": 50000,\n \"bank_account_balance_available\": 45000,\n \"bank_account_balance_limit\": 5000,\n \"deposit_account\": true,\n \"bank_account_holder_type\": \"business\",\n \"bank_account_holder_name\": \"Dunder Mifflin\",\n \"npi\": \"1234567890\",\n \"npi_first_name\": \"Michael\",\n \"npi_last_name\": \"Scott\",\n \"skip_credit_check\": false,\n \"bypass_ssn\": false,\n \"canada_business_number\": \"123456789 RC 0001\",\n \"canada_corporate_id\": \"123456789\",\n \"aging_config\": {\n \"thresholds\": {\n \"low\": 7,\n \"medium\": 14,\n \"high\": 30\n },\n \"custom_messages\": {\n \"low\": \"Please complete your application soon.\",\n \"medium\": \"Your application requires immediate attention.\",\n \"high\": \"Final notice to complete your application.\"\n }\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.patch("https://api.joinworth.com/case/api/v1/businesses/customers/{customerID}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"external_id\": \"Dwight-business-specific-identifier-42dd22\",\n \"name\": \"Dunder Mifflin\",\n \"tin\": \"138519094\",\n \"address_line_1\": \"2232 Harry Brooks Dr NW\",\n \"address_line_2\": \"Suite 200\",\n \"address_city\": \"Scranton\",\n \"address_state\": \"PA\",\n \"address_country\": \"USA\",\n \"address_postal_code\": \"30318\",\n \"mobile\": \"5043228579\",\n \"official_website\": \"https://dundermifflin.com\",\n \"naics_code\": 424120,\n \"naics_title\": \"Stationery and Office Supplies\",\n \"mcc_code\": 5111,\n \"industry\": \"Office Supplies\",\n \"is_monitoring_enabled\": true,\n \"applicant_id\": \"1a2b3c4d-5e6f-1a2b-3c4d-5e6f1a2b3c4d\",\n \"send_invitation\": true,\n \"generate_invite_link\": false,\n \"applicant_first_name\": \"Dwight\",\n \"applicant_last_name\": \"Schrute\",\n \"applicant_email\": \"dschrute@dundermifflin.com\",\n \"applicant_subrole_code\": \"owner\",\n \"dba1_name\": \"Michael Scott Paper Company\",\n \"address1_line_1\": \"1725 Slough Avenue\",\n \"address1_apartment\": \"Closet\",\n \"address1_city\": \"Scranton\",\n \"address1_state\": \"PA\",\n \"address1_country\": \"USA\",\n \"address1_postal_code\": \"18504\",\n \"address1_mobile\": \"5551234567\",\n \"year_created\": 2021,\n \"annual_total_income\": 20000,\n \"total_wages\": 15000,\n \"annual_net_income\": 5000,\n \"cost_of_goods_sold\": 2000,\n \"total_liabilities\": 1000,\n \"total_assets\": 25000,\n \"total_equity\": 24000,\n \"total_accounts_payable\": 500,\n \"total_accounts_recievable\": 1500,\n \"total_cash_and_cash_equivalents\": 10000,\n \"total_short_term_investments\": 0,\n \"total_current_assets\": 11500,\n \"total_current_liabilities\": 500,\n \"non_current_liablities\": 500,\n \"annual_cost_of_goods_sold\": 2000,\n \"annual_gross_profit\": 18000,\n \"annual_taxes_paid\": 1000,\n \"annual_interest_expenses\": 0,\n \"number_of_employees\": 15,\n \"business_type\": \"Corporation\",\n \"sic_code\": 5112,\n \"score_retrieval_date\": \"2026-04-07\",\n \"business_liens\": 0,\n \"business_liens_file_date\": \"2023-01-01\",\n \"business_liens_status\": \"none\",\n \"business_liens_status_date\": \"2023-01-01\",\n \"business_bankruptcies\": 0,\n \"business_bankruptcies_file_date\": \"2023-01-01\",\n \"business_bankruptcies_chapter\": \"none\",\n \"business_bankruptcies_voluntary\": \"none\",\n \"business_bankruptcies_status\": \"none\",\n \"business_bankruptcies_status_date\": \"2023-01-01\",\n \"business_judgements\": 0,\n \"business_judgements_file_date\": \"2023-01-01\",\n \"business_judgements_status\": \"none\",\n \"business_judgements_status_date\": \"2023-01-01\",\n \"business_judgements_amount\": 0,\n \"social_review_count\": 45,\n \"social_review_score\": 4.5,\n \"owner1_title\": \"Manager\",\n \"owner1_first_name\": \"Michael\",\n \"owner1_last_name\": \"Scott\",\n \"owner1_email\": \"gavin@bionicpanda.net\",\n \"owner1_mobile\": \"5043228579\",\n \"owner1_ssn\": \"123456789\",\n \"owner1_dob\": \"1992-10-08\",\n \"owner1_address_line_1\": \"2232 Harry Brooks Dr NW\",\n \"owner1_address_line_2\": \"Suite 100\",\n \"owner1_address_city\": \"Atlanta\",\n \"owner1_address_state\": \"GA\",\n \"owner1_address_postal\": \"30318\",\n \"owner1_address_country\": \"USA\",\n \"owner1_owner_type\": \"CONTROL\",\n \"owner1_ownership_percentage\": 100,\n \"bank_account_number\": \"99909578\",\n \"bank_name\": \"Scranton Credit Union\",\n \"institution_name\": \"Scranton Credit Union\",\n \"bank_routing_number\": \"211370150\",\n \"bank_wire_routing_number\": \"211370151\",\n \"bank_official_name\": \"Scranton CU NA\",\n \"bank_account_type\": \"depository\",\n \"bank_account_subtype\": \"Checking\",\n \"bank_account_balance_current\": 50000,\n \"bank_account_balance_available\": 45000,\n \"bank_account_balance_limit\": 5000,\n \"deposit_account\": true,\n \"bank_account_holder_type\": \"business\",\n \"bank_account_holder_name\": \"Dunder Mifflin\",\n \"npi\": \"1234567890\",\n \"npi_first_name\": \"Michael\",\n \"npi_last_name\": \"Scott\",\n \"skip_credit_check\": false,\n \"bypass_ssn\": false,\n \"canada_business_number\": \"123456789 RC 0001\",\n \"canada_corporate_id\": \"123456789\",\n \"aging_config\": {\n \"thresholds\": {\n \"low\": 7,\n \"medium\": 14,\n \"high\": 30\n },\n \"custom_messages\": {\n \"low\": \"Please complete your application soon.\",\n \"medium\": \"Your application requires immediate attention.\",\n \"high\": \"Final notice to complete your application.\"\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.joinworth.com/case/api/v1/businesses/customers/{customerID}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"external_id\": \"Dwight-business-specific-identifier-42dd22\",\n \"name\": \"Dunder Mifflin\",\n \"tin\": \"138519094\",\n \"address_line_1\": \"2232 Harry Brooks Dr NW\",\n \"address_line_2\": \"Suite 200\",\n \"address_city\": \"Scranton\",\n \"address_state\": \"PA\",\n \"address_country\": \"USA\",\n \"address_postal_code\": \"30318\",\n \"mobile\": \"5043228579\",\n \"official_website\": \"https://dundermifflin.com\",\n \"naics_code\": 424120,\n \"naics_title\": \"Stationery and Office Supplies\",\n \"mcc_code\": 5111,\n \"industry\": \"Office Supplies\",\n \"is_monitoring_enabled\": true,\n \"applicant_id\": \"1a2b3c4d-5e6f-1a2b-3c4d-5e6f1a2b3c4d\",\n \"send_invitation\": true,\n \"generate_invite_link\": false,\n \"applicant_first_name\": \"Dwight\",\n \"applicant_last_name\": \"Schrute\",\n \"applicant_email\": \"dschrute@dundermifflin.com\",\n \"applicant_subrole_code\": \"owner\",\n \"dba1_name\": \"Michael Scott Paper Company\",\n \"address1_line_1\": \"1725 Slough Avenue\",\n \"address1_apartment\": \"Closet\",\n \"address1_city\": \"Scranton\",\n \"address1_state\": \"PA\",\n \"address1_country\": \"USA\",\n \"address1_postal_code\": \"18504\",\n \"address1_mobile\": \"5551234567\",\n \"year_created\": 2021,\n \"annual_total_income\": 20000,\n \"total_wages\": 15000,\n \"annual_net_income\": 5000,\n \"cost_of_goods_sold\": 2000,\n \"total_liabilities\": 1000,\n \"total_assets\": 25000,\n \"total_equity\": 24000,\n \"total_accounts_payable\": 500,\n \"total_accounts_recievable\": 1500,\n \"total_cash_and_cash_equivalents\": 10000,\n \"total_short_term_investments\": 0,\n \"total_current_assets\": 11500,\n \"total_current_liabilities\": 500,\n \"non_current_liablities\": 500,\n \"annual_cost_of_goods_sold\": 2000,\n \"annual_gross_profit\": 18000,\n \"annual_taxes_paid\": 1000,\n \"annual_interest_expenses\": 0,\n \"number_of_employees\": 15,\n \"business_type\": \"Corporation\",\n \"sic_code\": 5112,\n \"score_retrieval_date\": \"2026-04-07\",\n \"business_liens\": 0,\n \"business_liens_file_date\": \"2023-01-01\",\n \"business_liens_status\": \"none\",\n \"business_liens_status_date\": \"2023-01-01\",\n \"business_bankruptcies\": 0,\n \"business_bankruptcies_file_date\": \"2023-01-01\",\n \"business_bankruptcies_chapter\": \"none\",\n \"business_bankruptcies_voluntary\": \"none\",\n \"business_bankruptcies_status\": \"none\",\n \"business_bankruptcies_status_date\": \"2023-01-01\",\n \"business_judgements\": 0,\n \"business_judgements_file_date\": \"2023-01-01\",\n \"business_judgements_status\": \"none\",\n \"business_judgements_status_date\": \"2023-01-01\",\n \"business_judgements_amount\": 0,\n \"social_review_count\": 45,\n \"social_review_score\": 4.5,\n \"owner1_title\": \"Manager\",\n \"owner1_first_name\": \"Michael\",\n \"owner1_last_name\": \"Scott\",\n \"owner1_email\": \"gavin@bionicpanda.net\",\n \"owner1_mobile\": \"5043228579\",\n \"owner1_ssn\": \"123456789\",\n \"owner1_dob\": \"1992-10-08\",\n \"owner1_address_line_1\": \"2232 Harry Brooks Dr NW\",\n \"owner1_address_line_2\": \"Suite 100\",\n \"owner1_address_city\": \"Atlanta\",\n \"owner1_address_state\": \"GA\",\n \"owner1_address_postal\": \"30318\",\n \"owner1_address_country\": \"USA\",\n \"owner1_owner_type\": \"CONTROL\",\n \"owner1_ownership_percentage\": 100,\n \"bank_account_number\": \"99909578\",\n \"bank_name\": \"Scranton Credit Union\",\n \"institution_name\": \"Scranton Credit Union\",\n \"bank_routing_number\": \"211370150\",\n \"bank_wire_routing_number\": \"211370151\",\n \"bank_official_name\": \"Scranton CU NA\",\n \"bank_account_type\": \"depository\",\n \"bank_account_subtype\": \"Checking\",\n \"bank_account_balance_current\": 50000,\n \"bank_account_balance_available\": 45000,\n \"bank_account_balance_limit\": 5000,\n \"deposit_account\": true,\n \"bank_account_holder_type\": \"business\",\n \"bank_account_holder_name\": \"Dunder Mifflin\",\n \"npi\": \"1234567890\",\n \"npi_first_name\": \"Michael\",\n \"npi_last_name\": \"Scott\",\n \"skip_credit_check\": false,\n \"bypass_ssn\": false,\n \"canada_business_number\": \"123456789 RC 0001\",\n \"canada_corporate_id\": \"123456789\",\n \"aging_config\": {\n \"thresholds\": {\n \"low\": 7,\n \"medium\": 14,\n \"high\": 30\n },\n \"custom_messages\": {\n \"low\": \"Please complete your application soon.\",\n \"medium\": \"Your application requires immediate attention.\",\n \"high\": \"Final notice to complete your application.\"\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "Bulk process succeeded",
"data": {
"runId": "af6fbea4-5e7e-4f69-9652-e60af794fd63",
"result": {
"0": {
"warnings": [],
"userID": "a4a66475-3cca-45f0-ba7c-ffd6d28737a2",
"customerID": "1ced981d-5cf3-4cd9-adb9-97fba3c5677d",
"businessID": "e7c95c9b-54d1-40e0-ab84-da48d286885c",
"riskMonitoring": false,
"async": true,
"applicantID": "020ba463-5283-4afb-bef5-a07b30b5715a",
"controlOwner": 1,
"businessValidationResponse": "Business Validated Successfully",
"data_businesses": {
"id": "e7c95c9b-54d1-40e0-ab84-da48d286885c",
"name": "Duner Mifflin",
"tin": "XXXXX9094",
"mobile": "+15043228579",
"official_website": "DunderMifflin.net",
"public_website": null,
"social_account": null,
"address_line_1": "2232 Harry Brooks Dr NW",
"address_line_2": null,
"address_city": "Scranton",
"address_state": "PA",
"address_postal_code": "30318",
"address_country": "US",
"created_at": "2026-04-07T23:55:01.524Z",
"created_by": "a4a66475-3cca-45f0-ba7c-ffd6d28737a2",
"updated_at": "2026-04-07T23:55:02.997Z",
"updated_by": "a4a66475-3cca-45f0-ba7c-ffd6d28737a2",
"status": "UNVERIFIED",
"industry": null,
"mcc_id": null,
"naics_id": null,
"naics_code": null,
"naics_title": null,
"mcc_code": null,
"mcc_title": null,
"external_id": null,
"customer_id": null,
"is_monitoring_enabled": null,
"deleted_by": null,
"deleted_at": null,
"subscription": {
"status": null,
"created_at": null,
"updated_at": null
},
"business_names": [
{
"name": "Duner Mifflin",
"is_primary": true
}
],
"business_addresses": [
{
"line_1": "2232 Harry Brooks Dr NW",
"apartment": null,
"city": "Scranton",
"state": "PA",
"country": "US",
"postal_code": "30318",
"mobile": "+15043228579",
"is_primary": true
}
]
},
"data_cases": [
{
"id": "6ffacd4d-9301-4d27-b684-1284aba8d3cc",
"applicant_id": "020ba463-5283-4afb-bef5-a07b30b5715a",
"customer_id": "1ced981d-5cf3-4cd9-adb9-97fba3c5677d",
"business_id": "e7c95c9b-54d1-40e0-ab84-da48d286885c",
"status": 3,
"created_at": "2026-04-07T23:55:02.221Z",
"created_by": "a4a66475-3cca-45f0-ba7c-ffd6d28737a2",
"updated_at": "2026-04-07T23:55:02.221Z",
"updated_by": "a4a66475-3cca-45f0-ba7c-ffd6d28737a2",
"case_type": 1,
"assignee": null,
"assigner": null,
"customer_initiated": true
}
],
"owners": [
{
"id": "a7f07a09-5cb9-4486-ae81-0b35c5c3af29",
"title": {
"id": 16,
"title": "Owner"
},
"first_name": "Michael",
"last_name": "Scott",
"ssn": "XXXXX6789",
"email": "gavin@bionicpanda.net",
"mobile": "+15043228579",
"date_of_birth": "1992-XX-XX",
"address_apartment": null,
"address_line_1": "2232 Harry Brooks Dr NW",
"address_line_2": null,
"address_city": "Atlanta",
"address_state": "GA",
"address_postal_code": "30318",
"address_country": "US",
"created_at": "2026-04-07T23:55:03.138Z",
"created_by": "a4a66475-3cca-45f0-ba7c-ffd6d28737a2",
"updated_at": "2026-04-07T23:55:03.138Z",
"updated_by": "a4a66475-3cca-45f0-ba7c-ffd6d28737a2",
"business_id": "e7c95c9b-54d1-40e0-ab84-da48d286885c",
"owner_type": "CONTROL",
"ownership_percentage": "0.00",
"external_id": null,
"last_four_of_ssn": "6789",
"year_of_birth": "1992"
}
],
"integration_data": {
"dba1_name": null,
"dba2_name": null,
"dba3_name": null,
"dba4_name": null,
"dba5_name": null,
"address1_line_1": null,
"address2_line_1": null,
"address3_line_1": null,
"address4_line_1": null,
"address5_line_1": null,
"address1_apartment": null,
"address2_apartment": null,
"address3_apartment": null,
"address4_apartment": null,
"address5_apartment": null,
"address1_city": null,
"address2_city": null,
"address3_city": null,
"address4_city": null,
"address5_city": null,
"address1_state": null,
"address2_state": null,
"address3_state": null,
"address4_state": null,
"address5_state": null,
"address1_country": null,
"address2_country": null,
"address3_country": null,
"address4_country": null,
"address5_country": null,
"address1_postal_code": null,
"address2_postal_code": null,
"address3_postal_code": null,
"address4_postal_code": null,
"address5_postal_code": null,
"address1_mobile": null,
"address2_mobile": null,
"address3_mobile": null,
"address4_mobile": null,
"address5_mobile": null,
"id": null,
"name": "Duner Mifflin",
"tin": "138519094",
"address_line_1": "2232 Harry Brooks Dr NW",
"address_line_2": null,
"address_city": "Scranton",
"state": "PA",
"address_country": null,
"address_postal_code": "30318",
"mobile": "15043228579",
"official_website": "DunderMifflin.net",
"naics_code": null,
"naics_title": null,
"mcc_code": null,
"industry": null,
"quick_add": null,
"skip_credit_check": null,
"bypass_ssn": null,
"is_corporate_entity": null,
"aging_config": null,
"external_id": "Dwight-business-specific-identifier-42dd22",
"metadata": null,
"owner1_id": null,
"owner2_id": null,
"owner3_id": null,
"owner4_id": null,
"owner5_id": null,
"owner1_title": "Owner",
"owner2_title": null,
"owner3_title": null,
"owner4_title": null,
"owner5_title": null,
"owner1_first_name": "Michael",
"owner2_first_name": null,
"owner3_first_name": null,
"owner4_first_name": null,
"owner5_first_name": null,
"owner1_last_name": "Scott",
"owner2_last_name": null,
"owner3_last_name": null,
"owner4_last_name": null,
"owner5_last_name": null,
"owner1_email": "gavin@bionicpanda.net",
"owner2_email": null,
"owner3_email": null,
"owner4_email": null,
"owner5_email": null,
"owner1_mobile": "15043228579",
"owner2_mobile": null,
"owner3_mobile": null,
"owner4_mobile": null,
"owner5_mobile": null,
"owner1_ssn": "123456789",
"owner2_ssn": null,
"owner3_ssn": null,
"owner4_ssn": null,
"owner5_ssn": null,
"owner1_dob": "1992-10-08",
"owner2_dob": null,
"owner3_dob": null,
"owner4_dob": null,
"owner5_dob": null,
"owner1_address_line_1": "2232 Harry Brooks Dr NW",
"owner2_address_line_1": null,
"owner3_address_line_1": null,
"owner4_address_line_1": null,
"owner5_address_line_1": null,
"owner1_address_line_2": null,
"owner2_address_line_2": null,
"owner3_address_line_2": null,
"owner4_address_line_2": null,
"owner5_address_line_2": null,
"owner1_address_city": "Atlanta",
"owner2_address_city": null,
"owner3_address_city": null,
"owner4_address_city": null,
"owner5_address_city": null,
"owner1_address_state": "GA",
"owner2_address_state": null,
"owner3_address_state": null,
"owner4_address_state": null,
"owner5_address_state": null,
"owner1_address_postal": "30318",
"owner2_address_postal": null,
"owner3_address_postal": null,
"owner4_address_postal": null,
"owner5_address_postal": null,
"owner1_address_country": null,
"owner2_address_country": null,
"owner3_address_country": null,
"owner4_address_country": null,
"owner5_address_country": null,
"owner1_owner_type": "CONTROL",
"owner2_owner_type": null,
"owner3_owner_type": null,
"owner4_owner_type": null,
"owner5_owner_type": null,
"owner1_ownership_percentage": null,
"owner2_ownership_percentage": null,
"owner3_ownership_percentage": null,
"owner4_ownership_percentage": null,
"owner5_ownership_percentage": null,
"owner1_external_id": null,
"owner2_external_id": null,
"owner3_external_id": null,
"owner4_external_id": null,
"owner5_external_id": null,
"send_invitation": null,
"applicant_first_name": null,
"applicant_last_name": null,
"applicant_email": null,
"generate_invite_link": null,
"applicant_subrole_code": null,
"year": 2021,
"npi_provider_number": null,
"npi_first_name": null,
"npi_last_name": null,
"canada_business_number": null,
"canada_corporate_id": null,
"is_revenue": 20000,
"is_operatingexpenses": null,
"is_netincome": null,
"is_cost_of_goods_sold": null,
"bs_totalliabilities": null,
"bs_totalassets": null,
"bs_totalequity": null,
"bs_accountspayable": null,
"bs_accountsreceivable": null,
"bs_cashandcashequivalents": null,
"bs_shortterminvestments": null,
"bs_totalcurrentassets": null,
"bs_totalcurrentliabilities": null,
"bs_totalnoncurrentliabilities": null,
"is_costofgoodsold": null,
"is_grossprofit": null,
"is_incometaxexpense": null,
"is_interestexpense": null,
"number_of_employees": null,
"business_type": null,
"sic_code": null,
"date_of_observation": null,
"lien_count": null,
"business_liens_file_date": null,
"business_liens_status": null,
"business_liens_status_date": null,
"bankruptcy_count": null,
"business_bankruptcies_file_date": null,
"business_bankruptcies_chapter": null,
"business_bankruptcies_voluntary": null,
"business_bankruptcies_status": null,
"business_bankruptcies_status_date": null,
"judgement_count": null,
"business_judgements_file_date": null,
"business_judgements_status": null,
"business_judgements_status_date": null,
"business_judgements_amount": null,
"review_cnt": null,
"review_score": null,
"bank_account_number": "99909578",
"bank_name": null,
"institution_name": null,
"bank_routing_number": "211370150",
"bank_wire_routing_number": null,
"bank_official_name": null,
"bank_account_type": null,
"bank_account_subtype": "Checking",
"bank_account_balance_current": null,
"bank_account_balance_available": null,
"bank_account_balance_limit": null,
"deposit_account": null,
"bank_account_holder_type": null,
"bank_account_holder_name": null,
"general_monthly_volume": null,
"general_annual_volume": null,
"general_average_ticket_size": null,
"general_high_ticket_size": null,
"general_desired_limit": null,
"monthly_occurrence_of_high_ticket": null,
"explanation_of_high_ticket": null,
"visa_mastercard_discover_monthly_volume": null,
"visa_mastercard_discover_annual_volume": null,
"visa_mastercard_discover_average_ticket_size": null,
"visa_mastercard_discover_high_ticket_size": null,
"visa_mastercard_discover_desired_limit": null,
"american_express_monthly_volume": null,
"american_express_annual_volume": null,
"american_express_average_ticket_size": null,
"american_express_high_ticket_size": null,
"american_express_desired_limit": null,
"is_seasonal_business": null,
"high_volume_months": null,
"explanation_of_high_volume_months": null,
"swiped_cards": null,
"typed_cards": null,
"e_commerce": null,
"mail_telephone": null,
"/^custom:.*/": null
},
"business_customer": {
"business_id": "e7c95c9b-54d1-40e0-ab84-da48d286885c",
"customer_id": "1ced981d-5cf3-4cd9-adb9-97fba3c5677d",
"created_at": "2026-04-07T23:55:03.124Z",
"created_by": "a4a66475-3cca-45f0-ba7c-ffd6d28737a2",
"is_monitoring_enabled": false,
"external_id": "Dwight-business-specific-identifier-42dd22",
"metadata": null
}
}
}
}
}{
"status": "fail",
"message": "Bulk process had errors",
"errorCode": null,
"data": {
"runId": "1a2b3c4d-5e6f-1a2b-3c4d-5e6f1a2b3c4d",
"failed_rows": {
"0": {
"message": "Error with 1 fields. First error: 'The business external ID already exists for this customer (business ID: 9d75fc32-6770-4586-8dd6-9a9a0b6596b2)' --- Please execute /validate first for more details",
"data": {}
}
},
"result": {}
}
}{
"status": "fail",
"message": "Authorization header not present",
"errorCode": "UNAUTHENTICATED",
"data": {
"errorName": "AuthenticationMiddlewareError"
}
}Update Business
Update an existing business record based on the provided details. One of businessID or external_id MUST be provided to identify a business to update.
curl --request PATCH \
--url https://api.joinworth.com/case/api/v1/businesses/customers/{customerID} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"external_id": "Dwight-business-specific-identifier-42dd22",
"name": "Dunder Mifflin",
"tin": "138519094",
"address_line_1": "2232 Harry Brooks Dr NW",
"address_line_2": "Suite 200",
"address_city": "Scranton",
"address_state": "PA",
"address_country": "USA",
"address_postal_code": "30318",
"mobile": "5043228579",
"official_website": "https://dundermifflin.com",
"naics_code": 424120,
"naics_title": "Stationery and Office Supplies",
"mcc_code": 5111,
"industry": "Office Supplies",
"is_monitoring_enabled": true,
"applicant_id": "1a2b3c4d-5e6f-1a2b-3c4d-5e6f1a2b3c4d",
"send_invitation": true,
"generate_invite_link": false,
"applicant_first_name": "Dwight",
"applicant_last_name": "Schrute",
"applicant_email": "dschrute@dundermifflin.com",
"applicant_subrole_code": "owner",
"dba1_name": "Michael Scott Paper Company",
"address1_line_1": "1725 Slough Avenue",
"address1_apartment": "Closet",
"address1_city": "Scranton",
"address1_state": "PA",
"address1_country": "USA",
"address1_postal_code": "18504",
"address1_mobile": "5551234567",
"year_created": 2021,
"annual_total_income": 20000,
"total_wages": 15000,
"annual_net_income": 5000,
"cost_of_goods_sold": 2000,
"total_liabilities": 1000,
"total_assets": 25000,
"total_equity": 24000,
"total_accounts_payable": 500,
"total_accounts_recievable": 1500,
"total_cash_and_cash_equivalents": 10000,
"total_short_term_investments": 0,
"total_current_assets": 11500,
"total_current_liabilities": 500,
"non_current_liablities": 500,
"annual_cost_of_goods_sold": 2000,
"annual_gross_profit": 18000,
"annual_taxes_paid": 1000,
"annual_interest_expenses": 0,
"number_of_employees": 15,
"business_type": "Corporation",
"sic_code": 5112,
"score_retrieval_date": "2026-04-07",
"business_liens": 0,
"business_liens_file_date": "2023-01-01",
"business_liens_status": "none",
"business_liens_status_date": "2023-01-01",
"business_bankruptcies": 0,
"business_bankruptcies_file_date": "2023-01-01",
"business_bankruptcies_chapter": "none",
"business_bankruptcies_voluntary": "none",
"business_bankruptcies_status": "none",
"business_bankruptcies_status_date": "2023-01-01",
"business_judgements": 0,
"business_judgements_file_date": "2023-01-01",
"business_judgements_status": "none",
"business_judgements_status_date": "2023-01-01",
"business_judgements_amount": 0,
"social_review_count": 45,
"social_review_score": 4.5,
"owner1_title": "Manager",
"owner1_first_name": "Michael",
"owner1_last_name": "Scott",
"owner1_email": "gavin@bionicpanda.net",
"owner1_mobile": "5043228579",
"owner1_ssn": "123456789",
"owner1_dob": "1992-10-08",
"owner1_address_line_1": "2232 Harry Brooks Dr NW",
"owner1_address_line_2": "Suite 100",
"owner1_address_city": "Atlanta",
"owner1_address_state": "GA",
"owner1_address_postal": "30318",
"owner1_address_country": "USA",
"owner1_owner_type": "CONTROL",
"owner1_ownership_percentage": 100,
"bank_account_number": "99909578",
"bank_name": "Scranton Credit Union",
"institution_name": "Scranton Credit Union",
"bank_routing_number": "211370150",
"bank_wire_routing_number": "211370151",
"bank_official_name": "Scranton CU NA",
"bank_account_type": "depository",
"bank_account_subtype": "Checking",
"bank_account_balance_current": 50000,
"bank_account_balance_available": 45000,
"bank_account_balance_limit": 5000,
"deposit_account": true,
"bank_account_holder_type": "business",
"bank_account_holder_name": "Dunder Mifflin",
"npi": "1234567890",
"npi_first_name": "Michael",
"npi_last_name": "Scott",
"skip_credit_check": false,
"bypass_ssn": false,
"canada_business_number": "123456789 RC 0001",
"canada_corporate_id": "123456789",
"aging_config": {
"thresholds": {
"low": 7,
"medium": 14,
"high": 30
},
"custom_messages": {
"low": "Please complete your application soon.",
"medium": "Your application requires immediate attention.",
"high": "Final notice to complete your application."
}
}
}
'import requests
url = "https://api.joinworth.com/case/api/v1/businesses/customers/{customerID}"
payload = {
"external_id": "Dwight-business-specific-identifier-42dd22",
"name": "Dunder Mifflin",
"tin": "138519094",
"address_line_1": "2232 Harry Brooks Dr NW",
"address_line_2": "Suite 200",
"address_city": "Scranton",
"address_state": "PA",
"address_country": "USA",
"address_postal_code": "30318",
"mobile": "5043228579",
"official_website": "https://dundermifflin.com",
"naics_code": 424120,
"naics_title": "Stationery and Office Supplies",
"mcc_code": 5111,
"industry": "Office Supplies",
"is_monitoring_enabled": True,
"applicant_id": "1a2b3c4d-5e6f-1a2b-3c4d-5e6f1a2b3c4d",
"send_invitation": True,
"generate_invite_link": False,
"applicant_first_name": "Dwight",
"applicant_last_name": "Schrute",
"applicant_email": "dschrute@dundermifflin.com",
"applicant_subrole_code": "owner",
"dba1_name": "Michael Scott Paper Company",
"address1_line_1": "1725 Slough Avenue",
"address1_apartment": "Closet",
"address1_city": "Scranton",
"address1_state": "PA",
"address1_country": "USA",
"address1_postal_code": "18504",
"address1_mobile": "5551234567",
"year_created": 2021,
"annual_total_income": 20000,
"total_wages": 15000,
"annual_net_income": 5000,
"cost_of_goods_sold": 2000,
"total_liabilities": 1000,
"total_assets": 25000,
"total_equity": 24000,
"total_accounts_payable": 500,
"total_accounts_recievable": 1500,
"total_cash_and_cash_equivalents": 10000,
"total_short_term_investments": 0,
"total_current_assets": 11500,
"total_current_liabilities": 500,
"non_current_liablities": 500,
"annual_cost_of_goods_sold": 2000,
"annual_gross_profit": 18000,
"annual_taxes_paid": 1000,
"annual_interest_expenses": 0,
"number_of_employees": 15,
"business_type": "Corporation",
"sic_code": 5112,
"score_retrieval_date": "2026-04-07",
"business_liens": 0,
"business_liens_file_date": "2023-01-01",
"business_liens_status": "none",
"business_liens_status_date": "2023-01-01",
"business_bankruptcies": 0,
"business_bankruptcies_file_date": "2023-01-01",
"business_bankruptcies_chapter": "none",
"business_bankruptcies_voluntary": "none",
"business_bankruptcies_status": "none",
"business_bankruptcies_status_date": "2023-01-01",
"business_judgements": 0,
"business_judgements_file_date": "2023-01-01",
"business_judgements_status": "none",
"business_judgements_status_date": "2023-01-01",
"business_judgements_amount": 0,
"social_review_count": 45,
"social_review_score": 4.5,
"owner1_title": "Manager",
"owner1_first_name": "Michael",
"owner1_last_name": "Scott",
"owner1_email": "gavin@bionicpanda.net",
"owner1_mobile": "5043228579",
"owner1_ssn": "123456789",
"owner1_dob": "1992-10-08",
"owner1_address_line_1": "2232 Harry Brooks Dr NW",
"owner1_address_line_2": "Suite 100",
"owner1_address_city": "Atlanta",
"owner1_address_state": "GA",
"owner1_address_postal": "30318",
"owner1_address_country": "USA",
"owner1_owner_type": "CONTROL",
"owner1_ownership_percentage": 100,
"bank_account_number": "99909578",
"bank_name": "Scranton Credit Union",
"institution_name": "Scranton Credit Union",
"bank_routing_number": "211370150",
"bank_wire_routing_number": "211370151",
"bank_official_name": "Scranton CU NA",
"bank_account_type": "depository",
"bank_account_subtype": "Checking",
"bank_account_balance_current": 50000,
"bank_account_balance_available": 45000,
"bank_account_balance_limit": 5000,
"deposit_account": True,
"bank_account_holder_type": "business",
"bank_account_holder_name": "Dunder Mifflin",
"npi": "1234567890",
"npi_first_name": "Michael",
"npi_last_name": "Scott",
"skip_credit_check": False,
"bypass_ssn": False,
"canada_business_number": "123456789 RC 0001",
"canada_corporate_id": "123456789",
"aging_config": {
"thresholds": {
"low": 7,
"medium": 14,
"high": 30
},
"custom_messages": {
"low": "Please complete your application soon.",
"medium": "Your application requires immediate attention.",
"high": "Final notice to complete your application."
}
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
external_id: 'Dwight-business-specific-identifier-42dd22',
name: 'Dunder Mifflin',
tin: '138519094',
address_line_1: '2232 Harry Brooks Dr NW',
address_line_2: 'Suite 200',
address_city: 'Scranton',
address_state: 'PA',
address_country: 'USA',
address_postal_code: '30318',
mobile: '5043228579',
official_website: 'https://dundermifflin.com',
naics_code: 424120,
naics_title: 'Stationery and Office Supplies',
mcc_code: 5111,
industry: 'Office Supplies',
is_monitoring_enabled: true,
applicant_id: '1a2b3c4d-5e6f-1a2b-3c4d-5e6f1a2b3c4d',
send_invitation: true,
generate_invite_link: false,
applicant_first_name: 'Dwight',
applicant_last_name: 'Schrute',
applicant_email: 'dschrute@dundermifflin.com',
applicant_subrole_code: 'owner',
dba1_name: 'Michael Scott Paper Company',
address1_line_1: '1725 Slough Avenue',
address1_apartment: 'Closet',
address1_city: 'Scranton',
address1_state: 'PA',
address1_country: 'USA',
address1_postal_code: '18504',
address1_mobile: '5551234567',
year_created: 2021,
annual_total_income: 20000,
total_wages: 15000,
annual_net_income: 5000,
cost_of_goods_sold: 2000,
total_liabilities: 1000,
total_assets: 25000,
total_equity: 24000,
total_accounts_payable: 500,
total_accounts_recievable: 1500,
total_cash_and_cash_equivalents: 10000,
total_short_term_investments: 0,
total_current_assets: 11500,
total_current_liabilities: 500,
non_current_liablities: 500,
annual_cost_of_goods_sold: 2000,
annual_gross_profit: 18000,
annual_taxes_paid: 1000,
annual_interest_expenses: 0,
number_of_employees: 15,
business_type: 'Corporation',
sic_code: 5112,
score_retrieval_date: '2026-04-07',
business_liens: 0,
business_liens_file_date: '2023-01-01',
business_liens_status: 'none',
business_liens_status_date: '2023-01-01',
business_bankruptcies: 0,
business_bankruptcies_file_date: '2023-01-01',
business_bankruptcies_chapter: 'none',
business_bankruptcies_voluntary: 'none',
business_bankruptcies_status: 'none',
business_bankruptcies_status_date: '2023-01-01',
business_judgements: 0,
business_judgements_file_date: '2023-01-01',
business_judgements_status: 'none',
business_judgements_status_date: '2023-01-01',
business_judgements_amount: 0,
social_review_count: 45,
social_review_score: 4.5,
owner1_title: 'Manager',
owner1_first_name: 'Michael',
owner1_last_name: 'Scott',
owner1_email: 'gavin@bionicpanda.net',
owner1_mobile: '5043228579',
owner1_ssn: '123456789',
owner1_dob: '1992-10-08',
owner1_address_line_1: '2232 Harry Brooks Dr NW',
owner1_address_line_2: 'Suite 100',
owner1_address_city: 'Atlanta',
owner1_address_state: 'GA',
owner1_address_postal: '30318',
owner1_address_country: 'USA',
owner1_owner_type: 'CONTROL',
owner1_ownership_percentage: 100,
bank_account_number: '99909578',
bank_name: 'Scranton Credit Union',
institution_name: 'Scranton Credit Union',
bank_routing_number: '211370150',
bank_wire_routing_number: '211370151',
bank_official_name: 'Scranton CU NA',
bank_account_type: 'depository',
bank_account_subtype: 'Checking',
bank_account_balance_current: 50000,
bank_account_balance_available: 45000,
bank_account_balance_limit: 5000,
deposit_account: true,
bank_account_holder_type: 'business',
bank_account_holder_name: 'Dunder Mifflin',
npi: '1234567890',
npi_first_name: 'Michael',
npi_last_name: 'Scott',
skip_credit_check: false,
bypass_ssn: false,
canada_business_number: '123456789 RC 0001',
canada_corporate_id: '123456789',
aging_config: {
thresholds: {low: 7, medium: 14, high: 30},
custom_messages: {
low: 'Please complete your application soon.',
medium: 'Your application requires immediate attention.',
high: 'Final notice to complete your application.'
}
}
})
};
fetch('https://api.joinworth.com/case/api/v1/businesses/customers/{customerID}', 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://api.joinworth.com/case/api/v1/businesses/customers/{customerID}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'external_id' => 'Dwight-business-specific-identifier-42dd22',
'name' => 'Dunder Mifflin',
'tin' => '138519094',
'address_line_1' => '2232 Harry Brooks Dr NW',
'address_line_2' => 'Suite 200',
'address_city' => 'Scranton',
'address_state' => 'PA',
'address_country' => 'USA',
'address_postal_code' => '30318',
'mobile' => '5043228579',
'official_website' => 'https://dundermifflin.com',
'naics_code' => 424120,
'naics_title' => 'Stationery and Office Supplies',
'mcc_code' => 5111,
'industry' => 'Office Supplies',
'is_monitoring_enabled' => true,
'applicant_id' => '1a2b3c4d-5e6f-1a2b-3c4d-5e6f1a2b3c4d',
'send_invitation' => true,
'generate_invite_link' => false,
'applicant_first_name' => 'Dwight',
'applicant_last_name' => 'Schrute',
'applicant_email' => 'dschrute@dundermifflin.com',
'applicant_subrole_code' => 'owner',
'dba1_name' => 'Michael Scott Paper Company',
'address1_line_1' => '1725 Slough Avenue',
'address1_apartment' => 'Closet',
'address1_city' => 'Scranton',
'address1_state' => 'PA',
'address1_country' => 'USA',
'address1_postal_code' => '18504',
'address1_mobile' => '5551234567',
'year_created' => 2021,
'annual_total_income' => 20000,
'total_wages' => 15000,
'annual_net_income' => 5000,
'cost_of_goods_sold' => 2000,
'total_liabilities' => 1000,
'total_assets' => 25000,
'total_equity' => 24000,
'total_accounts_payable' => 500,
'total_accounts_recievable' => 1500,
'total_cash_and_cash_equivalents' => 10000,
'total_short_term_investments' => 0,
'total_current_assets' => 11500,
'total_current_liabilities' => 500,
'non_current_liablities' => 500,
'annual_cost_of_goods_sold' => 2000,
'annual_gross_profit' => 18000,
'annual_taxes_paid' => 1000,
'annual_interest_expenses' => 0,
'number_of_employees' => 15,
'business_type' => 'Corporation',
'sic_code' => 5112,
'score_retrieval_date' => '2026-04-07',
'business_liens' => 0,
'business_liens_file_date' => '2023-01-01',
'business_liens_status' => 'none',
'business_liens_status_date' => '2023-01-01',
'business_bankruptcies' => 0,
'business_bankruptcies_file_date' => '2023-01-01',
'business_bankruptcies_chapter' => 'none',
'business_bankruptcies_voluntary' => 'none',
'business_bankruptcies_status' => 'none',
'business_bankruptcies_status_date' => '2023-01-01',
'business_judgements' => 0,
'business_judgements_file_date' => '2023-01-01',
'business_judgements_status' => 'none',
'business_judgements_status_date' => '2023-01-01',
'business_judgements_amount' => 0,
'social_review_count' => 45,
'social_review_score' => 4.5,
'owner1_title' => 'Manager',
'owner1_first_name' => 'Michael',
'owner1_last_name' => 'Scott',
'owner1_email' => 'gavin@bionicpanda.net',
'owner1_mobile' => '5043228579',
'owner1_ssn' => '123456789',
'owner1_dob' => '1992-10-08',
'owner1_address_line_1' => '2232 Harry Brooks Dr NW',
'owner1_address_line_2' => 'Suite 100',
'owner1_address_city' => 'Atlanta',
'owner1_address_state' => 'GA',
'owner1_address_postal' => '30318',
'owner1_address_country' => 'USA',
'owner1_owner_type' => 'CONTROL',
'owner1_ownership_percentage' => 100,
'bank_account_number' => '99909578',
'bank_name' => 'Scranton Credit Union',
'institution_name' => 'Scranton Credit Union',
'bank_routing_number' => '211370150',
'bank_wire_routing_number' => '211370151',
'bank_official_name' => 'Scranton CU NA',
'bank_account_type' => 'depository',
'bank_account_subtype' => 'Checking',
'bank_account_balance_current' => 50000,
'bank_account_balance_available' => 45000,
'bank_account_balance_limit' => 5000,
'deposit_account' => true,
'bank_account_holder_type' => 'business',
'bank_account_holder_name' => 'Dunder Mifflin',
'npi' => '1234567890',
'npi_first_name' => 'Michael',
'npi_last_name' => 'Scott',
'skip_credit_check' => false,
'bypass_ssn' => false,
'canada_business_number' => '123456789 RC 0001',
'canada_corporate_id' => '123456789',
'aging_config' => [
'thresholds' => [
'low' => 7,
'medium' => 14,
'high' => 30
],
'custom_messages' => [
'low' => 'Please complete your application soon.',
'medium' => 'Your application requires immediate attention.',
'high' => 'Final notice to complete your application.'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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://api.joinworth.com/case/api/v1/businesses/customers/{customerID}"
payload := strings.NewReader("{\n \"external_id\": \"Dwight-business-specific-identifier-42dd22\",\n \"name\": \"Dunder Mifflin\",\n \"tin\": \"138519094\",\n \"address_line_1\": \"2232 Harry Brooks Dr NW\",\n \"address_line_2\": \"Suite 200\",\n \"address_city\": \"Scranton\",\n \"address_state\": \"PA\",\n \"address_country\": \"USA\",\n \"address_postal_code\": \"30318\",\n \"mobile\": \"5043228579\",\n \"official_website\": \"https://dundermifflin.com\",\n \"naics_code\": 424120,\n \"naics_title\": \"Stationery and Office Supplies\",\n \"mcc_code\": 5111,\n \"industry\": \"Office Supplies\",\n \"is_monitoring_enabled\": true,\n \"applicant_id\": \"1a2b3c4d-5e6f-1a2b-3c4d-5e6f1a2b3c4d\",\n \"send_invitation\": true,\n \"generate_invite_link\": false,\n \"applicant_first_name\": \"Dwight\",\n \"applicant_last_name\": \"Schrute\",\n \"applicant_email\": \"dschrute@dundermifflin.com\",\n \"applicant_subrole_code\": \"owner\",\n \"dba1_name\": \"Michael Scott Paper Company\",\n \"address1_line_1\": \"1725 Slough Avenue\",\n \"address1_apartment\": \"Closet\",\n \"address1_city\": \"Scranton\",\n \"address1_state\": \"PA\",\n \"address1_country\": \"USA\",\n \"address1_postal_code\": \"18504\",\n \"address1_mobile\": \"5551234567\",\n \"year_created\": 2021,\n \"annual_total_income\": 20000,\n \"total_wages\": 15000,\n \"annual_net_income\": 5000,\n \"cost_of_goods_sold\": 2000,\n \"total_liabilities\": 1000,\n \"total_assets\": 25000,\n \"total_equity\": 24000,\n \"total_accounts_payable\": 500,\n \"total_accounts_recievable\": 1500,\n \"total_cash_and_cash_equivalents\": 10000,\n \"total_short_term_investments\": 0,\n \"total_current_assets\": 11500,\n \"total_current_liabilities\": 500,\n \"non_current_liablities\": 500,\n \"annual_cost_of_goods_sold\": 2000,\n \"annual_gross_profit\": 18000,\n \"annual_taxes_paid\": 1000,\n \"annual_interest_expenses\": 0,\n \"number_of_employees\": 15,\n \"business_type\": \"Corporation\",\n \"sic_code\": 5112,\n \"score_retrieval_date\": \"2026-04-07\",\n \"business_liens\": 0,\n \"business_liens_file_date\": \"2023-01-01\",\n \"business_liens_status\": \"none\",\n \"business_liens_status_date\": \"2023-01-01\",\n \"business_bankruptcies\": 0,\n \"business_bankruptcies_file_date\": \"2023-01-01\",\n \"business_bankruptcies_chapter\": \"none\",\n \"business_bankruptcies_voluntary\": \"none\",\n \"business_bankruptcies_status\": \"none\",\n \"business_bankruptcies_status_date\": \"2023-01-01\",\n \"business_judgements\": 0,\n \"business_judgements_file_date\": \"2023-01-01\",\n \"business_judgements_status\": \"none\",\n \"business_judgements_status_date\": \"2023-01-01\",\n \"business_judgements_amount\": 0,\n \"social_review_count\": 45,\n \"social_review_score\": 4.5,\n \"owner1_title\": \"Manager\",\n \"owner1_first_name\": \"Michael\",\n \"owner1_last_name\": \"Scott\",\n \"owner1_email\": \"gavin@bionicpanda.net\",\n \"owner1_mobile\": \"5043228579\",\n \"owner1_ssn\": \"123456789\",\n \"owner1_dob\": \"1992-10-08\",\n \"owner1_address_line_1\": \"2232 Harry Brooks Dr NW\",\n \"owner1_address_line_2\": \"Suite 100\",\n \"owner1_address_city\": \"Atlanta\",\n \"owner1_address_state\": \"GA\",\n \"owner1_address_postal\": \"30318\",\n \"owner1_address_country\": \"USA\",\n \"owner1_owner_type\": \"CONTROL\",\n \"owner1_ownership_percentage\": 100,\n \"bank_account_number\": \"99909578\",\n \"bank_name\": \"Scranton Credit Union\",\n \"institution_name\": \"Scranton Credit Union\",\n \"bank_routing_number\": \"211370150\",\n \"bank_wire_routing_number\": \"211370151\",\n \"bank_official_name\": \"Scranton CU NA\",\n \"bank_account_type\": \"depository\",\n \"bank_account_subtype\": \"Checking\",\n \"bank_account_balance_current\": 50000,\n \"bank_account_balance_available\": 45000,\n \"bank_account_balance_limit\": 5000,\n \"deposit_account\": true,\n \"bank_account_holder_type\": \"business\",\n \"bank_account_holder_name\": \"Dunder Mifflin\",\n \"npi\": \"1234567890\",\n \"npi_first_name\": \"Michael\",\n \"npi_last_name\": \"Scott\",\n \"skip_credit_check\": false,\n \"bypass_ssn\": false,\n \"canada_business_number\": \"123456789 RC 0001\",\n \"canada_corporate_id\": \"123456789\",\n \"aging_config\": {\n \"thresholds\": {\n \"low\": 7,\n \"medium\": 14,\n \"high\": 30\n },\n \"custom_messages\": {\n \"low\": \"Please complete your application soon.\",\n \"medium\": \"Your application requires immediate attention.\",\n \"high\": \"Final notice to complete your application.\"\n }\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.patch("https://api.joinworth.com/case/api/v1/businesses/customers/{customerID}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"external_id\": \"Dwight-business-specific-identifier-42dd22\",\n \"name\": \"Dunder Mifflin\",\n \"tin\": \"138519094\",\n \"address_line_1\": \"2232 Harry Brooks Dr NW\",\n \"address_line_2\": \"Suite 200\",\n \"address_city\": \"Scranton\",\n \"address_state\": \"PA\",\n \"address_country\": \"USA\",\n \"address_postal_code\": \"30318\",\n \"mobile\": \"5043228579\",\n \"official_website\": \"https://dundermifflin.com\",\n \"naics_code\": 424120,\n \"naics_title\": \"Stationery and Office Supplies\",\n \"mcc_code\": 5111,\n \"industry\": \"Office Supplies\",\n \"is_monitoring_enabled\": true,\n \"applicant_id\": \"1a2b3c4d-5e6f-1a2b-3c4d-5e6f1a2b3c4d\",\n \"send_invitation\": true,\n \"generate_invite_link\": false,\n \"applicant_first_name\": \"Dwight\",\n \"applicant_last_name\": \"Schrute\",\n \"applicant_email\": \"dschrute@dundermifflin.com\",\n \"applicant_subrole_code\": \"owner\",\n \"dba1_name\": \"Michael Scott Paper Company\",\n \"address1_line_1\": \"1725 Slough Avenue\",\n \"address1_apartment\": \"Closet\",\n \"address1_city\": \"Scranton\",\n \"address1_state\": \"PA\",\n \"address1_country\": \"USA\",\n \"address1_postal_code\": \"18504\",\n \"address1_mobile\": \"5551234567\",\n \"year_created\": 2021,\n \"annual_total_income\": 20000,\n \"total_wages\": 15000,\n \"annual_net_income\": 5000,\n \"cost_of_goods_sold\": 2000,\n \"total_liabilities\": 1000,\n \"total_assets\": 25000,\n \"total_equity\": 24000,\n \"total_accounts_payable\": 500,\n \"total_accounts_recievable\": 1500,\n \"total_cash_and_cash_equivalents\": 10000,\n \"total_short_term_investments\": 0,\n \"total_current_assets\": 11500,\n \"total_current_liabilities\": 500,\n \"non_current_liablities\": 500,\n \"annual_cost_of_goods_sold\": 2000,\n \"annual_gross_profit\": 18000,\n \"annual_taxes_paid\": 1000,\n \"annual_interest_expenses\": 0,\n \"number_of_employees\": 15,\n \"business_type\": \"Corporation\",\n \"sic_code\": 5112,\n \"score_retrieval_date\": \"2026-04-07\",\n \"business_liens\": 0,\n \"business_liens_file_date\": \"2023-01-01\",\n \"business_liens_status\": \"none\",\n \"business_liens_status_date\": \"2023-01-01\",\n \"business_bankruptcies\": 0,\n \"business_bankruptcies_file_date\": \"2023-01-01\",\n \"business_bankruptcies_chapter\": \"none\",\n \"business_bankruptcies_voluntary\": \"none\",\n \"business_bankruptcies_status\": \"none\",\n \"business_bankruptcies_status_date\": \"2023-01-01\",\n \"business_judgements\": 0,\n \"business_judgements_file_date\": \"2023-01-01\",\n \"business_judgements_status\": \"none\",\n \"business_judgements_status_date\": \"2023-01-01\",\n \"business_judgements_amount\": 0,\n \"social_review_count\": 45,\n \"social_review_score\": 4.5,\n \"owner1_title\": \"Manager\",\n \"owner1_first_name\": \"Michael\",\n \"owner1_last_name\": \"Scott\",\n \"owner1_email\": \"gavin@bionicpanda.net\",\n \"owner1_mobile\": \"5043228579\",\n \"owner1_ssn\": \"123456789\",\n \"owner1_dob\": \"1992-10-08\",\n \"owner1_address_line_1\": \"2232 Harry Brooks Dr NW\",\n \"owner1_address_line_2\": \"Suite 100\",\n \"owner1_address_city\": \"Atlanta\",\n \"owner1_address_state\": \"GA\",\n \"owner1_address_postal\": \"30318\",\n \"owner1_address_country\": \"USA\",\n \"owner1_owner_type\": \"CONTROL\",\n \"owner1_ownership_percentage\": 100,\n \"bank_account_number\": \"99909578\",\n \"bank_name\": \"Scranton Credit Union\",\n \"institution_name\": \"Scranton Credit Union\",\n \"bank_routing_number\": \"211370150\",\n \"bank_wire_routing_number\": \"211370151\",\n \"bank_official_name\": \"Scranton CU NA\",\n \"bank_account_type\": \"depository\",\n \"bank_account_subtype\": \"Checking\",\n \"bank_account_balance_current\": 50000,\n \"bank_account_balance_available\": 45000,\n \"bank_account_balance_limit\": 5000,\n \"deposit_account\": true,\n \"bank_account_holder_type\": \"business\",\n \"bank_account_holder_name\": \"Dunder Mifflin\",\n \"npi\": \"1234567890\",\n \"npi_first_name\": \"Michael\",\n \"npi_last_name\": \"Scott\",\n \"skip_credit_check\": false,\n \"bypass_ssn\": false,\n \"canada_business_number\": \"123456789 RC 0001\",\n \"canada_corporate_id\": \"123456789\",\n \"aging_config\": {\n \"thresholds\": {\n \"low\": 7,\n \"medium\": 14,\n \"high\": 30\n },\n \"custom_messages\": {\n \"low\": \"Please complete your application soon.\",\n \"medium\": \"Your application requires immediate attention.\",\n \"high\": \"Final notice to complete your application.\"\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.joinworth.com/case/api/v1/businesses/customers/{customerID}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"external_id\": \"Dwight-business-specific-identifier-42dd22\",\n \"name\": \"Dunder Mifflin\",\n \"tin\": \"138519094\",\n \"address_line_1\": \"2232 Harry Brooks Dr NW\",\n \"address_line_2\": \"Suite 200\",\n \"address_city\": \"Scranton\",\n \"address_state\": \"PA\",\n \"address_country\": \"USA\",\n \"address_postal_code\": \"30318\",\n \"mobile\": \"5043228579\",\n \"official_website\": \"https://dundermifflin.com\",\n \"naics_code\": 424120,\n \"naics_title\": \"Stationery and Office Supplies\",\n \"mcc_code\": 5111,\n \"industry\": \"Office Supplies\",\n \"is_monitoring_enabled\": true,\n \"applicant_id\": \"1a2b3c4d-5e6f-1a2b-3c4d-5e6f1a2b3c4d\",\n \"send_invitation\": true,\n \"generate_invite_link\": false,\n \"applicant_first_name\": \"Dwight\",\n \"applicant_last_name\": \"Schrute\",\n \"applicant_email\": \"dschrute@dundermifflin.com\",\n \"applicant_subrole_code\": \"owner\",\n \"dba1_name\": \"Michael Scott Paper Company\",\n \"address1_line_1\": \"1725 Slough Avenue\",\n \"address1_apartment\": \"Closet\",\n \"address1_city\": \"Scranton\",\n \"address1_state\": \"PA\",\n \"address1_country\": \"USA\",\n \"address1_postal_code\": \"18504\",\n \"address1_mobile\": \"5551234567\",\n \"year_created\": 2021,\n \"annual_total_income\": 20000,\n \"total_wages\": 15000,\n \"annual_net_income\": 5000,\n \"cost_of_goods_sold\": 2000,\n \"total_liabilities\": 1000,\n \"total_assets\": 25000,\n \"total_equity\": 24000,\n \"total_accounts_payable\": 500,\n \"total_accounts_recievable\": 1500,\n \"total_cash_and_cash_equivalents\": 10000,\n \"total_short_term_investments\": 0,\n \"total_current_assets\": 11500,\n \"total_current_liabilities\": 500,\n \"non_current_liablities\": 500,\n \"annual_cost_of_goods_sold\": 2000,\n \"annual_gross_profit\": 18000,\n \"annual_taxes_paid\": 1000,\n \"annual_interest_expenses\": 0,\n \"number_of_employees\": 15,\n \"business_type\": \"Corporation\",\n \"sic_code\": 5112,\n \"score_retrieval_date\": \"2026-04-07\",\n \"business_liens\": 0,\n \"business_liens_file_date\": \"2023-01-01\",\n \"business_liens_status\": \"none\",\n \"business_liens_status_date\": \"2023-01-01\",\n \"business_bankruptcies\": 0,\n \"business_bankruptcies_file_date\": \"2023-01-01\",\n \"business_bankruptcies_chapter\": \"none\",\n \"business_bankruptcies_voluntary\": \"none\",\n \"business_bankruptcies_status\": \"none\",\n \"business_bankruptcies_status_date\": \"2023-01-01\",\n \"business_judgements\": 0,\n \"business_judgements_file_date\": \"2023-01-01\",\n \"business_judgements_status\": \"none\",\n \"business_judgements_status_date\": \"2023-01-01\",\n \"business_judgements_amount\": 0,\n \"social_review_count\": 45,\n \"social_review_score\": 4.5,\n \"owner1_title\": \"Manager\",\n \"owner1_first_name\": \"Michael\",\n \"owner1_last_name\": \"Scott\",\n \"owner1_email\": \"gavin@bionicpanda.net\",\n \"owner1_mobile\": \"5043228579\",\n \"owner1_ssn\": \"123456789\",\n \"owner1_dob\": \"1992-10-08\",\n \"owner1_address_line_1\": \"2232 Harry Brooks Dr NW\",\n \"owner1_address_line_2\": \"Suite 100\",\n \"owner1_address_city\": \"Atlanta\",\n \"owner1_address_state\": \"GA\",\n \"owner1_address_postal\": \"30318\",\n \"owner1_address_country\": \"USA\",\n \"owner1_owner_type\": \"CONTROL\",\n \"owner1_ownership_percentage\": 100,\n \"bank_account_number\": \"99909578\",\n \"bank_name\": \"Scranton Credit Union\",\n \"institution_name\": \"Scranton Credit Union\",\n \"bank_routing_number\": \"211370150\",\n \"bank_wire_routing_number\": \"211370151\",\n \"bank_official_name\": \"Scranton CU NA\",\n \"bank_account_type\": \"depository\",\n \"bank_account_subtype\": \"Checking\",\n \"bank_account_balance_current\": 50000,\n \"bank_account_balance_available\": 45000,\n \"bank_account_balance_limit\": 5000,\n \"deposit_account\": true,\n \"bank_account_holder_type\": \"business\",\n \"bank_account_holder_name\": \"Dunder Mifflin\",\n \"npi\": \"1234567890\",\n \"npi_first_name\": \"Michael\",\n \"npi_last_name\": \"Scott\",\n \"skip_credit_check\": false,\n \"bypass_ssn\": false,\n \"canada_business_number\": \"123456789 RC 0001\",\n \"canada_corporate_id\": \"123456789\",\n \"aging_config\": {\n \"thresholds\": {\n \"low\": 7,\n \"medium\": 14,\n \"high\": 30\n },\n \"custom_messages\": {\n \"low\": \"Please complete your application soon.\",\n \"medium\": \"Your application requires immediate attention.\",\n \"high\": \"Final notice to complete your application.\"\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "Bulk process succeeded",
"data": {
"runId": "af6fbea4-5e7e-4f69-9652-e60af794fd63",
"result": {
"0": {
"warnings": [],
"userID": "a4a66475-3cca-45f0-ba7c-ffd6d28737a2",
"customerID": "1ced981d-5cf3-4cd9-adb9-97fba3c5677d",
"businessID": "e7c95c9b-54d1-40e0-ab84-da48d286885c",
"riskMonitoring": false,
"async": true,
"applicantID": "020ba463-5283-4afb-bef5-a07b30b5715a",
"controlOwner": 1,
"businessValidationResponse": "Business Validated Successfully",
"data_businesses": {
"id": "e7c95c9b-54d1-40e0-ab84-da48d286885c",
"name": "Duner Mifflin",
"tin": "XXXXX9094",
"mobile": "+15043228579",
"official_website": "DunderMifflin.net",
"public_website": null,
"social_account": null,
"address_line_1": "2232 Harry Brooks Dr NW",
"address_line_2": null,
"address_city": "Scranton",
"address_state": "PA",
"address_postal_code": "30318",
"address_country": "US",
"created_at": "2026-04-07T23:55:01.524Z",
"created_by": "a4a66475-3cca-45f0-ba7c-ffd6d28737a2",
"updated_at": "2026-04-07T23:55:02.997Z",
"updated_by": "a4a66475-3cca-45f0-ba7c-ffd6d28737a2",
"status": "UNVERIFIED",
"industry": null,
"mcc_id": null,
"naics_id": null,
"naics_code": null,
"naics_title": null,
"mcc_code": null,
"mcc_title": null,
"external_id": null,
"customer_id": null,
"is_monitoring_enabled": null,
"deleted_by": null,
"deleted_at": null,
"subscription": {
"status": null,
"created_at": null,
"updated_at": null
},
"business_names": [
{
"name": "Duner Mifflin",
"is_primary": true
}
],
"business_addresses": [
{
"line_1": "2232 Harry Brooks Dr NW",
"apartment": null,
"city": "Scranton",
"state": "PA",
"country": "US",
"postal_code": "30318",
"mobile": "+15043228579",
"is_primary": true
}
]
},
"data_cases": [
{
"id": "6ffacd4d-9301-4d27-b684-1284aba8d3cc",
"applicant_id": "020ba463-5283-4afb-bef5-a07b30b5715a",
"customer_id": "1ced981d-5cf3-4cd9-adb9-97fba3c5677d",
"business_id": "e7c95c9b-54d1-40e0-ab84-da48d286885c",
"status": 3,
"created_at": "2026-04-07T23:55:02.221Z",
"created_by": "a4a66475-3cca-45f0-ba7c-ffd6d28737a2",
"updated_at": "2026-04-07T23:55:02.221Z",
"updated_by": "a4a66475-3cca-45f0-ba7c-ffd6d28737a2",
"case_type": 1,
"assignee": null,
"assigner": null,
"customer_initiated": true
}
],
"owners": [
{
"id": "a7f07a09-5cb9-4486-ae81-0b35c5c3af29",
"title": {
"id": 16,
"title": "Owner"
},
"first_name": "Michael",
"last_name": "Scott",
"ssn": "XXXXX6789",
"email": "gavin@bionicpanda.net",
"mobile": "+15043228579",
"date_of_birth": "1992-XX-XX",
"address_apartment": null,
"address_line_1": "2232 Harry Brooks Dr NW",
"address_line_2": null,
"address_city": "Atlanta",
"address_state": "GA",
"address_postal_code": "30318",
"address_country": "US",
"created_at": "2026-04-07T23:55:03.138Z",
"created_by": "a4a66475-3cca-45f0-ba7c-ffd6d28737a2",
"updated_at": "2026-04-07T23:55:03.138Z",
"updated_by": "a4a66475-3cca-45f0-ba7c-ffd6d28737a2",
"business_id": "e7c95c9b-54d1-40e0-ab84-da48d286885c",
"owner_type": "CONTROL",
"ownership_percentage": "0.00",
"external_id": null,
"last_four_of_ssn": "6789",
"year_of_birth": "1992"
}
],
"integration_data": {
"dba1_name": null,
"dba2_name": null,
"dba3_name": null,
"dba4_name": null,
"dba5_name": null,
"address1_line_1": null,
"address2_line_1": null,
"address3_line_1": null,
"address4_line_1": null,
"address5_line_1": null,
"address1_apartment": null,
"address2_apartment": null,
"address3_apartment": null,
"address4_apartment": null,
"address5_apartment": null,
"address1_city": null,
"address2_city": null,
"address3_city": null,
"address4_city": null,
"address5_city": null,
"address1_state": null,
"address2_state": null,
"address3_state": null,
"address4_state": null,
"address5_state": null,
"address1_country": null,
"address2_country": null,
"address3_country": null,
"address4_country": null,
"address5_country": null,
"address1_postal_code": null,
"address2_postal_code": null,
"address3_postal_code": null,
"address4_postal_code": null,
"address5_postal_code": null,
"address1_mobile": null,
"address2_mobile": null,
"address3_mobile": null,
"address4_mobile": null,
"address5_mobile": null,
"id": null,
"name": "Duner Mifflin",
"tin": "138519094",
"address_line_1": "2232 Harry Brooks Dr NW",
"address_line_2": null,
"address_city": "Scranton",
"state": "PA",
"address_country": null,
"address_postal_code": "30318",
"mobile": "15043228579",
"official_website": "DunderMifflin.net",
"naics_code": null,
"naics_title": null,
"mcc_code": null,
"industry": null,
"quick_add": null,
"skip_credit_check": null,
"bypass_ssn": null,
"is_corporate_entity": null,
"aging_config": null,
"external_id": "Dwight-business-specific-identifier-42dd22",
"metadata": null,
"owner1_id": null,
"owner2_id": null,
"owner3_id": null,
"owner4_id": null,
"owner5_id": null,
"owner1_title": "Owner",
"owner2_title": null,
"owner3_title": null,
"owner4_title": null,
"owner5_title": null,
"owner1_first_name": "Michael",
"owner2_first_name": null,
"owner3_first_name": null,
"owner4_first_name": null,
"owner5_first_name": null,
"owner1_last_name": "Scott",
"owner2_last_name": null,
"owner3_last_name": null,
"owner4_last_name": null,
"owner5_last_name": null,
"owner1_email": "gavin@bionicpanda.net",
"owner2_email": null,
"owner3_email": null,
"owner4_email": null,
"owner5_email": null,
"owner1_mobile": "15043228579",
"owner2_mobile": null,
"owner3_mobile": null,
"owner4_mobile": null,
"owner5_mobile": null,
"owner1_ssn": "123456789",
"owner2_ssn": null,
"owner3_ssn": null,
"owner4_ssn": null,
"owner5_ssn": null,
"owner1_dob": "1992-10-08",
"owner2_dob": null,
"owner3_dob": null,
"owner4_dob": null,
"owner5_dob": null,
"owner1_address_line_1": "2232 Harry Brooks Dr NW",
"owner2_address_line_1": null,
"owner3_address_line_1": null,
"owner4_address_line_1": null,
"owner5_address_line_1": null,
"owner1_address_line_2": null,
"owner2_address_line_2": null,
"owner3_address_line_2": null,
"owner4_address_line_2": null,
"owner5_address_line_2": null,
"owner1_address_city": "Atlanta",
"owner2_address_city": null,
"owner3_address_city": null,
"owner4_address_city": null,
"owner5_address_city": null,
"owner1_address_state": "GA",
"owner2_address_state": null,
"owner3_address_state": null,
"owner4_address_state": null,
"owner5_address_state": null,
"owner1_address_postal": "30318",
"owner2_address_postal": null,
"owner3_address_postal": null,
"owner4_address_postal": null,
"owner5_address_postal": null,
"owner1_address_country": null,
"owner2_address_country": null,
"owner3_address_country": null,
"owner4_address_country": null,
"owner5_address_country": null,
"owner1_owner_type": "CONTROL",
"owner2_owner_type": null,
"owner3_owner_type": null,
"owner4_owner_type": null,
"owner5_owner_type": null,
"owner1_ownership_percentage": null,
"owner2_ownership_percentage": null,
"owner3_ownership_percentage": null,
"owner4_ownership_percentage": null,
"owner5_ownership_percentage": null,
"owner1_external_id": null,
"owner2_external_id": null,
"owner3_external_id": null,
"owner4_external_id": null,
"owner5_external_id": null,
"send_invitation": null,
"applicant_first_name": null,
"applicant_last_name": null,
"applicant_email": null,
"generate_invite_link": null,
"applicant_subrole_code": null,
"year": 2021,
"npi_provider_number": null,
"npi_first_name": null,
"npi_last_name": null,
"canada_business_number": null,
"canada_corporate_id": null,
"is_revenue": 20000,
"is_operatingexpenses": null,
"is_netincome": null,
"is_cost_of_goods_sold": null,
"bs_totalliabilities": null,
"bs_totalassets": null,
"bs_totalequity": null,
"bs_accountspayable": null,
"bs_accountsreceivable": null,
"bs_cashandcashequivalents": null,
"bs_shortterminvestments": null,
"bs_totalcurrentassets": null,
"bs_totalcurrentliabilities": null,
"bs_totalnoncurrentliabilities": null,
"is_costofgoodsold": null,
"is_grossprofit": null,
"is_incometaxexpense": null,
"is_interestexpense": null,
"number_of_employees": null,
"business_type": null,
"sic_code": null,
"date_of_observation": null,
"lien_count": null,
"business_liens_file_date": null,
"business_liens_status": null,
"business_liens_status_date": null,
"bankruptcy_count": null,
"business_bankruptcies_file_date": null,
"business_bankruptcies_chapter": null,
"business_bankruptcies_voluntary": null,
"business_bankruptcies_status": null,
"business_bankruptcies_status_date": null,
"judgement_count": null,
"business_judgements_file_date": null,
"business_judgements_status": null,
"business_judgements_status_date": null,
"business_judgements_amount": null,
"review_cnt": null,
"review_score": null,
"bank_account_number": "99909578",
"bank_name": null,
"institution_name": null,
"bank_routing_number": "211370150",
"bank_wire_routing_number": null,
"bank_official_name": null,
"bank_account_type": null,
"bank_account_subtype": "Checking",
"bank_account_balance_current": null,
"bank_account_balance_available": null,
"bank_account_balance_limit": null,
"deposit_account": null,
"bank_account_holder_type": null,
"bank_account_holder_name": null,
"general_monthly_volume": null,
"general_annual_volume": null,
"general_average_ticket_size": null,
"general_high_ticket_size": null,
"general_desired_limit": null,
"monthly_occurrence_of_high_ticket": null,
"explanation_of_high_ticket": null,
"visa_mastercard_discover_monthly_volume": null,
"visa_mastercard_discover_annual_volume": null,
"visa_mastercard_discover_average_ticket_size": null,
"visa_mastercard_discover_high_ticket_size": null,
"visa_mastercard_discover_desired_limit": null,
"american_express_monthly_volume": null,
"american_express_annual_volume": null,
"american_express_average_ticket_size": null,
"american_express_high_ticket_size": null,
"american_express_desired_limit": null,
"is_seasonal_business": null,
"high_volume_months": null,
"explanation_of_high_volume_months": null,
"swiped_cards": null,
"typed_cards": null,
"e_commerce": null,
"mail_telephone": null,
"/^custom:.*/": null
},
"business_customer": {
"business_id": "e7c95c9b-54d1-40e0-ab84-da48d286885c",
"customer_id": "1ced981d-5cf3-4cd9-adb9-97fba3c5677d",
"created_at": "2026-04-07T23:55:03.124Z",
"created_by": "a4a66475-3cca-45f0-ba7c-ffd6d28737a2",
"is_monitoring_enabled": false,
"external_id": "Dwight-business-specific-identifier-42dd22",
"metadata": null
}
}
}
}
}{
"status": "fail",
"message": "Bulk process had errors",
"errorCode": null,
"data": {
"runId": "1a2b3c4d-5e6f-1a2b-3c4d-5e6f1a2b3c4d",
"failed_rows": {
"0": {
"message": "Error with 1 fields. First error: 'The business external ID already exists for this customer (business ID: 9d75fc32-6770-4586-8dd6-9a9a0b6596b2)' --- Please execute /validate first for more details",
"data": {}
}
},
"result": {}
}
}{
"status": "fail",
"message": "Authorization header not present",
"errorCode": "UNAUTHENTICATED",
"data": {
"errorName": "AuthenticationMiddlewareError"
}
}Authorizations
Path Parameters
Query Parameters
Body
Sets custom fields of the onboarding template, keyed custom:<fieldId> for business fields and owner{n}_custom:<fieldId> for owner fields, matching the request's owner slots. On POST, the template is the one you name with template_version_id or template_definition_id, or your account's default onboarding template when neither is sent. On PATCH, the values go to the business's existing application created from an onboarding template. Keys that cannot be applied are returned in the result's warnings and do not fail the request. See Custom Fields with Onboarding Templates
{
"custom:opened_on": "2019-04-30",
"custom:services": ["loan", "advice"],
"owner1_custom:preferred_contact": "email"
}
North American Industry Classification System code. To find a particular code, please use https://www.naics.com/search/
541330
Standard Industrial Classification code. Codes may be found here: https://www.osha.gov/data/sic-search
5812
Official title of the first owner. The API supports up to 5 owners using the pattern owner{n}_{field} (e.g., owner2_title, owner3_first_name, etc.).
Partner, Limited Partner, Director, Chief Accounting Officer, Chief Executive Officer, Chief Operations Officer, President, Vice President, Treasurer, Assistant Treasurer, 1% Shareholder, Shareholder, Controller, Managing Member, Owner, Sole Proprietor, Executor, Beneficiary, Trustee, Administrator, Assistant Secretary, Authorized Person, Chairman of the Board, Chief Compliance Officer, Chief Financial Officer, Chief Legal Officer, Chief Technology Officer, Co-Founder, Founder, General Partner, Managing Partner, Manager, Member, Principal, Registered Agent, Secretary, Chairperson "Partner"
Identifier for the company’s bank account. Its format depends on the country the account is held in (see bank_routing_number): 5-17 digits for US and CA, 6-10 digits for GB, 5-9 letters or digits for AU, 6-9 digits for HK, and an IBAN that starts with the country code for the countries that use a BIC. Any other country uses the US format. Send it with bank_routing_number and bank_account_subtype. An account missing any of the three is rejected.
"000123456789"
Routing identifier for the account. Its format depends on the country the account is held in, which is bank_account_country when sent and the business's address country otherwise: a 9-digit ABA routing number for US, a 6-digit sort code for GB, a 3-digit institution number for CA (with the 5-digit transit number in bank_branch_number), a 6-digit BSB for AU, a 3-digit bank code for HK (with the 3-digit branch code in bank_branch_number), and a BIC for DE, FR, IT, ES, NL, AT, SE, LT, DK, BE, AE, BG, CH, CY, HU and RO. Any other country uses the US format. Send it with bank_account_number and bank_account_subtype. An account missing any of the three is rejected.
"111000025"
ISO 3166-1 alpha-2 code of the country the bank account is held in, such as US, GB or CA. Decides the format of bank_routing_number and bank_account_number. When not sent, the business's address country is used, so send it when the account is held in a different country than the business.
"US"
Subtype of the bank account. Send Savings or Checking. Any other letter case is also accepted and saved as one of those, and Current (a UK current account) is saved as Checking. Send it with bank_account_number and bank_routing_number. An account missing any of the three is rejected.
Savings, Checking "Checking"
Was this page helpful?