API referenceKYBBusiness records

update_business_record

PATCH /v1/businesses/{id}/{collection}/{object_id}: changes the fields sent; `null` removes a field.

PATCH
/v1/businesses/{id}/{collection}/{object_id}

Changes the fields sent; null removes a field. Changing a screened field, such as a person's name, screens the record again. A record Finic kept becomes yours when you change it, and Finic doesn't replace it again.

Request body

application/json

FieldTypeDescription
idstring

obj_…

business_idstring
external_idstring or null
metadataobject
occurred_atstring or null
source_urlstring or null
sourcecustomer, finic

finic for a record a screening or enrichment kept.

screeningsobject

Each kind's current screening: {<kind>: {id, state, reason}}.

created_atstring
updated_atstring

FieldTypeDescription
idstring
statepending, clear, needs_review, confirmed, false_positive, inconclusive

pending: not screened yet. clear: the check was made and found nothing to review. needs_review: a finding is undecided. confirmed: a reviewer confirmed a finding. false_positive: every finding was dismissed. inconclusive: the check couldn't be made (reason says why). A check that isn't made is never clear.

reasonstring or null

Responses

The record.

FieldTypeDescription
idstring

obj_…

business_idstring
external_idstring or null
metadataobject
occurred_atstring or null
source_urlstring or null
sourcecustomer, finic

finic for a record a screening or enrichment kept.

screeningsobject

Each kind's current screening: {<kind>: {id, state, reason}}.

created_atstring
updated_atstring

FieldTypeDescription
idstring
statepending, clear, needs_review, confirmed, false_positive, inconclusive

pending: not screened yet. clear: the check was made and found nothing to review. needs_review: a finding is undecided. confirmed: a reviewer confirmed a finding. false_positive: every finding was dismissed. inconclusive: the check couldn't be made (reason says why). A check that isn't made is never clear.

reasonstring or null

Examples

Example Request
curl -X PATCH 'https://api.finic.ai/v1/businesses/string/people/string' \  -H "Authorization: Bearer $FINIC_API_KEY" \  -H 'Content-Type: application/json' \  -d '{  "title": "CEO"}'
Example Response
{  "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"}