curl -X POST 'https://verification.didit.me/v3/businesses/create/' \
-H 'x-api-key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"vendor_data": "company-456", "legal_name": "New Corp Ltd", "country_code": "US"}'from didit import Didit
# Reads DIDIT_API_KEY.
client = Didit()
result = client.businesses.create(
vendor_data="company-456",
legal_name="New Corp Ltd",
country_code="US",
)
print(result)import Didit from "@didit-protocol/sdk-node";
// Reads DIDIT_API_KEY.
const didit = new Didit();
const result = await didit.businesses.create({
vendor_data: "company-456",
legal_name: "New Corp Ltd",
country_code: "US",
});
console.log(result);ctx := context.Background()
// Reads DIDIT_API_KEY.
client := didit.NewClient()
result, err := client.Businesses.Create(ctx, didit.BusinessesCreateParams{
VendorData: didit.String("company-456"),
LegalName: didit.String("New Corp Ltd"),
CountryCode: didit.String("US"),
})
if err != nil {
log.Fatal(err)
}
fmt.Printf("%+v\n", result)import me.didit.Didit;
import me.didit.types.BusinessesCreateParams;
// Reads DIDIT_API_KEY.
Didit client = new Didit();
var result = client.businesses().create(BusinessesCreateParams.builder()
.vendorData("company-456")
.legalName("New Corp Ltd")
.countryCode("US")
.build());
System.out.println(result);<?php
require 'vendor/autoload.php';
use Didit\DiditClient;
// Reads DIDIT_API_KEY.
$didit = new DiditClient();
$result = $didit->businesses->create([
'vendor_data' => 'company-456',
'legal_name' => 'New Corp Ltd',
'country_code' => 'US',
]);
print_r($result->toArray());require "didit"
# Reads DIDIT_API_KEY.
didit = Didit::Client.new
result = didit.businesses.create(
vendor_data: "company-456",
legal_name: "New Corp Ltd",
country_code: "US"
)
puts result.to_husing System;
using System.Text.Json;
using Didit;
// Reads DIDIT_API_KEY.
using var client = new DiditClient();
var result = await client.Businesses.CreateAsync(new BusinessesCreateParams
{
VendorData = "company-456",
LegalName = "New Corp Ltd",
CountryCode = "US",
});
Console.WriteLine(JsonSerializer.Serialize(result));Create Business API: Vendor KYB Entity
Pre-seed Didit Business (KYB) entities before KYB sessions run. Bulk-onboard from external databases or register for transaction monitoring.
curl -X POST 'https://verification.didit.me/v3/businesses/create/' \
-H 'x-api-key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"vendor_data": "company-456", "legal_name": "New Corp Ltd", "country_code": "US"}'from didit import Didit
# Reads DIDIT_API_KEY.
client = Didit()
result = client.businesses.create(
vendor_data="company-456",
legal_name="New Corp Ltd",
country_code="US",
)
print(result)import Didit from "@didit-protocol/sdk-node";
// Reads DIDIT_API_KEY.
const didit = new Didit();
const result = await didit.businesses.create({
vendor_data: "company-456",
legal_name: "New Corp Ltd",
country_code: "US",
});
console.log(result);ctx := context.Background()
// Reads DIDIT_API_KEY.
client := didit.NewClient()
result, err := client.Businesses.Create(ctx, didit.BusinessesCreateParams{
VendorData: didit.String("company-456"),
LegalName: didit.String("New Corp Ltd"),
CountryCode: didit.String("US"),
})
if err != nil {
log.Fatal(err)
}
fmt.Printf("%+v\n", result)import me.didit.Didit;
import me.didit.types.BusinessesCreateParams;
// Reads DIDIT_API_KEY.
Didit client = new Didit();
var result = client.businesses().create(BusinessesCreateParams.builder()
.vendorData("company-456")
.legalName("New Corp Ltd")
.countryCode("US")
.build());
System.out.println(result);<?php
require 'vendor/autoload.php';
use Didit\DiditClient;
// Reads DIDIT_API_KEY.
$didit = new DiditClient();
$result = $didit->businesses->create([
'vendor_data' => 'company-456',
'legal_name' => 'New Corp Ltd',
'country_code' => 'US',
]);
print_r($result->toArray());require "didit"
# Reads DIDIT_API_KEY.
didit = Didit::Client.new
result = didit.businesses.create(
vendor_data: "company-456",
legal_name: "New Corp Ltd",
country_code: "US"
)
puts result.to_husing System;
using System.Text.Json;
using Didit;
// Reads DIDIT_API_KEY.
using var client = new DiditClient();
var result = await client.Businesses.CreateAsync(new BusinessesCreateParams
{
VendorData = "company-456",
LegalName = "New Corp Ltd",
CountryCode = "US",
});
Console.WriteLine(JsonSerializer.Serialize(result));Overview
Explicitly creates a Business entity before any Business Verification (KYB) session runs.When to use it
- Pre-seed metadata (partner, tier, internal identifiers) before the first Business Verification (KYB) session.
- Migrate from another KYB vendor with an existing business roster.
- Transaction-only registration — submit transactions for a business that you verified through an offline process.
Notes
vendor_datais required and unique per application. Duplicates return a conflict error — usePATCH /v3/businesses/{vendor_data}/to update.- Registry-derived fields (
legal_name,registration_number,country_code) can be seeded but will be overwritten by the first approved Business Verification (KYB) session’s registry data. - If
country_codematches your application’s dangerous countries list, the business is created inBLOCKEDstatus. - Emits
business.data.updated.
Permissions
Role must grantcreate:businesses.
Related
Authorizations
Your application's API key, from Developers -> API keys in the Business Console. The primary key has full access. A named key can be scoped: none, read or write per resource, limited to some workflows or to approved sessions, to a list of IP addresses, and to an expiry date. 401 means the key is wrong, revoked or expired; 403 means no key was sent, the key has no access to this resource or action, or the request came from an address outside its IP list; 404 on a session route means the session is outside the key's workflows or statuses. A key without media access receives image, video and PDF URLs as null, and a key without sessions write receives session links and tokens as null. See https://docs.didit.me/console/api-keys.
Headers
Optional retry-safety key you choose for one operation, up to 255 characters (a UUID works). A request repeated with the same key, endpoint, query and body is answered with the first response, same status and same body, and runs and bills nothing a second time. The same key with another endpoint, query or body returns 409 idempotency_key_reused, and while the first request is still running, 409 idempotency_key_in_progress with Retry-After. A failed request (any 4xx or 5xx) is not stored, so you can send it again with the same key. Keys belong to your application, whether you call with an API key or an access token. See Retries and idempotency.
1 - 255Body
Response
Business created. Full business record returned (same shape as Get Business).
Full business detail. Extends BusinessListItem with metadata and updated_at.