screen_business
POST /v1/businesses/{id}/screen: screens the business again, for `kinds` or for each kind it can have now.
Screens the business again, for kinds or for each kind it can have now. Each screening runs in the background; read it with get_screening, or get screening.completed by webhook.
Request body
application/json
| Field | Type | Description |
|---|---|---|
kinds | array of string |
Responses
A screening for each kind.
| Field | Type | Description |
|---|---|---|
data | array of object | |
has_more | boolean |
| Field | Type | Description |
|---|---|---|
id | string |
|
subject_type | business, object, null | |
subject_id | string or null | |
business_id | string or null | |
kind | string | A screening kind, such as |
state | pending, clear, needs_review, confirmed, false_positive, inconclusive |
|
reason | string or null | Why it's |
input | object | What was screened. |
findings | array of object | |
score | integer or null | |
result | object | What else the kind says, such as the sanctions |
review_note | string or null | |
reviewed_at | string or null | |
superseded_at | string or null | |
created_at | string | |
completed_at | string or null |
| Field | Type | Description |
|---|---|---|
id | string | |
code | string | What was found, such as |
severity | info, low, medium, high |
|
summary | string | |
details | object | |
fingerprint | string | |
decision | confirmed, false_positive, null |
| Status | Type and when |
|---|---|
400 |
|
401 |
|
404 |
|
503 |
|
Every error has the same shape; see Errors.
Examples
curl -X POST 'https://api.finic.ai/v1/businesses/string/screen' \ -H "Authorization: Bearer $FINIC_API_KEY" \ -H 'Content-Type: application/json' \ -d '{ "kinds": [ "sanctions", "website" ]}'{ "data": [ { "id": "string", "subject_type": "business", "subject_id": "string", "business_id": "string", "kind": "string", "state": "pending", "reason": "string", "input": {}, "findings": [ { "id": "string", "code": "string", "severity": "info", "summary": "string", "details": {}, "fingerprint": "string", "decision": "confirmed" } ], "score": 0, "result": {}, "review_note": "string", "reviewed_at": "2019-08-24T14:15:22Z", "superseded_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "completed_at": "2019-08-24T14:15:22Z" } ], "has_more": true}