const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
metadata: {
external_id: 'user_789_in_my_system',
customer_tier: 'standard',
signup_source: 'web'
},
display_name: 'Acme Corp',
vault: {
'business.legal_name': 'Acme Corporation Inc.',
'business.ein': '12-3456789',
'business.entity_type': 'llc',
'business.registration_jurisdiction': 'US-CA'
}
})
};
fetch('https://api.getpalm.com/v1/business', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "123e4567-e89b-12d3-a456-426614174000",
"object": "business",
"created_at": "2025-10-24T10:30:00Z",
"updated_at": "2025-10-24T15:45:00Z",
"metadata": {
"external_id": "user_123_in_my_system",
"customer_tier": "premium",
"signup_source": "mobile_app"
},
"palm_id": "1234-5678-9012",
"status": "active",
"display_name": "Acme Corp",
"ein_fingerprint": "c9f6ef5h141i49398hkm345621iii90jh3el0007",
"verification": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"risk_level": "low",
"workflow": {
"name": "Business Verification",
"version": 1
},
"executed_at": "2024-01-15T10:30:00.000Z"
},
"vault": {
"business.legal_name": "Acme Corporation Inc.",
"business.entity_type": "llc",
"business.formation_jurisdiction": "US-DE",
"business.formation_date": "2020-03-15",
"business.address_line_1": "123 Main St",
"business.city": "San Francisco",
"business.region": "CA",
"business.postal_code": "94105",
"business.country": "US"
}
}Creates a new business record with optional display name, metadata, and vault data. Vault fields use the business.* key format (e.g., business.legal_name, business.ein).
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
metadata: {
external_id: 'user_789_in_my_system',
customer_tier: 'standard',
signup_source: 'web'
},
display_name: 'Acme Corp',
vault: {
'business.legal_name': 'Acme Corporation Inc.',
'business.ein': '12-3456789',
'business.entity_type': 'llc',
'business.registration_jurisdiction': 'US-CA'
}
})
};
fetch('https://api.getpalm.com/v1/business', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "123e4567-e89b-12d3-a456-426614174000",
"object": "business",
"created_at": "2025-10-24T10:30:00Z",
"updated_at": "2025-10-24T15:45:00Z",
"metadata": {
"external_id": "user_123_in_my_system",
"customer_tier": "premium",
"signup_source": "mobile_app"
},
"palm_id": "1234-5678-9012",
"status": "active",
"display_name": "Acme Corp",
"ein_fingerprint": "c9f6ef5h141i49398hkm345621iii90jh3el0007",
"verification": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"risk_level": "low",
"workflow": {
"name": "Business Verification",
"version": 1
},
"executed_at": "2024-01-15T10:30:00.000Z"
},
"vault": {
"business.legal_name": "Acme Corporation Inc.",
"business.entity_type": "llc",
"business.formation_jurisdiction": "US-DE",
"business.formation_date": "2020-03-15",
"business.address_line_1": "123 Main St",
"business.city": "San Francisco",
"business.region": "CA",
"business.postal_code": "94105",
"business.country": "US"
}
}Enter your API key in the format: sk_test_xxxxx or sk_live_xxxxx
Store up to 50 custom key-value pairs for application-specific data. Useful for storing references to external systems, feature flags, or other custom attributes.
Show child attributes
{
"external_id": "user_789_in_my_system",
"customer_tier": "standard",
"signup_source": "web"
}Display name for the business
"Acme Corp"
Business data to store in the vault. Use vault field IDs as keys (e.g., "business.ein", "business.legal_name"). See BusinessVaultFieldsDto for the complete list of available fields.
Show child attributes
{
"business.legal_name": "Acme Corporation Inc.",
"business.ein": "12-3456789",
"business.entity_type": "llc",
"business.registration_jurisdiction": "US-CA"
}Business created
Unique identifier for the resource
"123e4567-e89b-12d3-a456-426614174000"
Object type identifier, always "business"
business "business"
ISO 8601 timestamp of when the resource was created
"2025-10-24T10:30:00Z"
ISO 8601 timestamp of when the resource was last updated
"2025-10-24T15:45:00Z"
Store up to 50 custom key-value pairs for application-specific data. Useful for storing references to external systems, feature flags, or other custom attributes.
Show child attributes
{
"external_id": "user_123_in_my_system",
"customer_tier": "premium",
"signup_source": "mobile_app"
}Palm identifier for the business, used for monitoring and external integrations
"1234-5678-9012"
Current status of the business
active, suspended, deleted "active"
Display name for the business
"Acme Corp"
SHA-256 fingerprint of the business's EIN (Employer Identification Number). Used for duplicate detection and search without exposing the actual EIN. Automatically generated when EIN is stored in vault.
"c9f6ef5h141i49398hkm345621iii90jh3el0007"
Most recent verification information. Null if business has never been verified.
Show child attributes
Cached vault field values for non-encrypted fields. Keys are full field IDs (e.g., "business.legal_name"). Only includes fields where encrypted=false in vault_field_definition.
{
"business.legal_name": "Acme Corporation Inc.",
"business.entity_type": "llc",
"business.formation_jurisdiction": "US-DE",
"business.formation_date": "2020-03-15",
"business.address_line_1": "123 Main St",
"business.city": "San Francisco",
"business.region": "CA",
"business.postal_code": "94105",
"business.country": "US"
}Was this page helpful?