verify_business
POST /v1/businesses/{id}/verify: starts a verification: a package of screenings of the business and its records, with one outcome, `approved`, `in_review` or `rejected`.
Starts a verification: a package of screenings of the business and its records, with one outcome, approved, in_review or rejected. The business's status becomes the outcome. Send the kinds for each part (business, people, corporate_owners, addresses), or an empty body for each part's package. A check that can't be made is skipped, with the reason; a required check that isn't made puts the outcome in_review.
It answers at once, 202 while the verification is pending. Get verification.completed by webhook, or send wait to have the request wait for the outcome.
Query parameters
| Field | Type | Description |
|---|---|---|
wait | integer | Seconds to wait for a verification's outcome before answering. |
Request body
application/json
| Field | Type | Description |
|---|---|---|
business | array of string | |
people | array of string | |
corporate_owners | array of string | |
addresses | array of string |
Responses
The verification, complete.
| Field | Type | Description |
|---|---|---|
id | string |
|
business_id | string | |
status | pending, complete | |
outcome | approved, in_review, rejected, null | |
score | integer or null | 0 to 1000, from the checks' findings and reviewers' decisions. It isn't a calibrated probability. |
reasons | array of object | Why: findings' codes, and |
checks | array of object | Each check, with its screening. |
created_at | string | |
updated_at | string | |
completed_at | string or null |
| Field | Type | Description |
|---|---|---|
part | business, people, corporate_owners, addresses | |
kind | string | A screening kind, such as |
subject_type | string | |
subject_id | string | |
required | boolean |
The verification, pending.
| Field | Type | Description |
|---|---|---|
id | string |
|
business_id | string | |
status | pending, complete | |
outcome | approved, in_review, rejected, null | |
score | integer or null | 0 to 1000, from the checks' findings and reviewers' decisions. It isn't a calibrated probability. |
reasons | array of object | Why: findings' codes, and |
checks | array of object | Each check, with its screening. |
created_at | string | |
updated_at | string | |
completed_at | string or null |
| Field | Type | Description |
|---|---|---|
part | business, people, corporate_owners, addresses | |
kind | string | A screening kind, such as |
subject_type | string | |
subject_id | string | |
required | boolean |
| 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/verify' \ -H "Authorization: Bearer $FINIC_API_KEY" \ -H 'Content-Type: application/json' \ -d '{ "business": [ "sanctions", "website" ], "people": [ "sanctions" ], "addresses": [ "jurisdiction", "address" ]}'{ "id": "string", "business_id": "string", "status": "pending", "outcome": "approved", "score": 0, "reasons": [ {} ], "checks": [ { "part": "business", "kind": "string", "subject_type": "string", "subject_id": "string", "required": true } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "completed_at": "2019-08-24T14:15:22Z"}