create_screening
POST /v1/screenings: screens a record (`subject_type` and `subject_id`), for `kinds` or for each kind it can have now.
Screens a record (subject_type and subject_id), for kinds or for each kind it can have now. Or screens data sent with the request (kind and input), which isn't kept as a record: its subject_id is null.
kind | Fields of input (* required) | Of | Price |
|---|---|---|---|
sanctions | name*, short_name, date_of_birth, country | Businesses, people, corporate owners | $0.05 |
jurisdiction | country*, line1, line2, city, state, postal_code | Addresses | Free |
address | line1, country, line2, city, state, postal_code | Addresses | $0.005 |
website | website*, name, description, industry, line1, line2, city, state, postal_code | Businesses | $0.10 |
list_screening_kinds lists every kind, with its price and whether it's available to you now. A screening that costs waits while there's no credit.
Request body
application/json
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/screenings' \ -H "Authorization: Bearer $FINIC_API_KEY" \ -H 'Content-Type: application/json' \ -d '{ "subject_type": "object", "subject_id": "obj_01M4Z3R2D8F5G7H9J1K3M5N7PQ", "kinds": [ "sanctions" ]}'{ "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}