create_business_record
POST /v1/businesses/{id}/{collection}: adds a record to a business: a person, a corporate owner, a registration, an address, or one of the records screenings and enrichment keep (liens, court cases, bankruptcies, reviews, websites).
Adds a record to a business: a person, a corporate owner, a registration, an address, or one of the records screenings and enrichment keep (liens, court cases, bankruptcies, reviews, websites). The record's fields are at the top level, beside external_id, metadata, occurred_at and source_url. A record with the same external_id, or the same identifying fields, replaces the one there (200).
collection | Fields (* required) |
|---|---|
people | first_name or last_name, middle_name, name_suffix, title, roles (shareholder, beneficial_owner, control_person, director, officer, signatory), percentage, date_of_birth, country, email, phone |
corporate_owners | legal_name*, percentage, jurisdiction, linked_business_id |
registrations | kind* (formation, foreign_qualification, tax_id, license, other), jurisdiction*, number, name, status, issued_on, expires_on |
addresses | kind* (registered, operating, mailing, other), line1, country, line2, city, state, postal_code |
liens | kind* (ucc, tax, judgment, mechanics, other), jurisdiction*, filing_number, debtors, secured_parties, status, amount, currency, collateral, filed_on, lapses_on |
court_cases | court*, number, caption, kind, status (open, closed, unknown), status_text, role, filed_on, parties |
bankruptcies | court*, number, title, chapter, debtor, status (open, discharged, dismissed, closed), disposition, filed_on, closed_on, discharged_on, dismissed_on, reopened_on |
reviews | site*, url, rating, rating_max, review_count, title, text |
websites | url, reached, final_url, status, error, title, description, text, fetched_at, pages, domain |
jurisdiction is {country, state?}: an ISO 3166-1 alpha-2 country, and the ISO 3166-2 subdivision code without the country. The shareholders' and corporate owners' percentages of a business add up to at most 100.
Request body
application/json
| Field | Type | Description |
|---|---|---|
id | string |
|
business_id | string | |
external_id | string or null | |
metadata | object | |
occurred_at | string or null | |
source_url | string or null | |
source | customer, finic |
|
screenings | object | Each kind's current screening: |
created_at | string | |
updated_at | string |
| Field | Type | Description |
|---|---|---|
id | string | |
state | pending, clear, needs_review, confirmed, false_positive, inconclusive |
|
reason | string or null |
Responses
The record, replacing one that was there.
| Field | Type | Description |
|---|---|---|
id | string |
|
business_id | string | |
external_id | string or null | |
metadata | object | |
occurred_at | string or null | |
source_url | string or null | |
source | customer, finic |
|
screenings | object | Each kind's current screening: |
created_at | string | |
updated_at | string |
| Field | Type | Description |
|---|---|---|
id | string | |
state | pending, clear, needs_review, confirmed, false_positive, inconclusive |
|
reason | string or null |
The record.
| Field | Type | Description |
|---|---|---|
id | string |
|
business_id | string | |
external_id | string or null | |
metadata | object | |
occurred_at | string or null | |
source_url | string or null | |
source | customer, finic |
|
screenings | object | Each kind's current screening: |
created_at | string | |
updated_at | string |
| Field | Type | Description |
|---|---|---|
id | string | |
state | pending, clear, needs_review, confirmed, false_positive, inconclusive |
|
reason | string or null |
| Status | Type and when |
|---|---|
400 |
|
401 |
|
404 |
|
409 |
|
Every error has the same shape; see Errors.
Examples
curl -X POST 'https://api.finic.ai/v1/businesses/string/people' \ -H "Authorization: Bearer $FINIC_API_KEY" \ -H 'Content-Type: application/json' \ -d '{ "first_name": "Ada", "last_name": "Lovelace", "title": "CFO", "roles": [ "officer", "signatory" ], "country": "US", "email": "ada@example.com"}'{ "id": "string", "business_id": "string", "external_id": "string", "metadata": {}, "occurred_at": "2019-08-24T14:15:22Z", "source_url": "string", "source": "customer", "screenings": { "property1": { "id": "string", "state": "pending", "reason": "string" }, "property2": { "id": "string", "state": "pending", "reason": "string" } }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}