API referenceKYBBusinesses
set_business_status
POST /v1/businesses/{id}/status: sets a business's status.
POST
Sets a business's status. pending can become in_review, approved, rejected or closed; in_review can become approved, rejected or closed; approved and rejected can become in_review or closed; closed can become in_review. A verification also sets it.
Request body
application/json
| Field | Type | Description |
|---|---|---|
statusrequired | pending, in_review, approved, rejected, closed |
Responses
The business.
| 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/status' \ -H "Authorization: Bearer $FINIC_API_KEY" \ -H 'Content-Type: application/json' \ -d '{ "status": "approved"}'Example Response
{ "legal_name": "string", "external_id": "string", "trade_names": [ "string" ], "entity_type": "llc", "formation": { "jurisdiction": { "country": "string", "state": "string" }, "date": "2019-08-24" }, "contacts": [ { "type": "tel", "value": "string" } ], "website": "string", "description": "string", "industry": "string", "country": "string", "metadata": {}, "monitoring": { "interval_days": 1, "business": [ "string" ], "people": [ "string" ], "corporate_owners": [ "string" ], "addresses": [ "string" ], "next_run_at": "2019-08-24T14:15:22Z" }, "id": "string", "status": "pending", "screenings": { "property1": { "id": "string", "state": "pending", "reason": "string" }, "property2": { "id": "string", "state": "pending", "reason": "string" } }, "verification": { "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" }, "possible_duplicates": [ "string" ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}