API referenceKYBBusinesses
restore_business
POST /v1/businesses/{id}/restore: brings back a deleted business, with what was deleted with it, and screens it again.
POST
Brings back a deleted business, with what was deleted with it, and screens it again.
Responses
The business.
| Status | Type and when |
|---|---|
401 |
|
404 |
|
Every error has the same shape; see Errors.
Examples
curl -X POST 'https://api.finic.ai/v1/businesses/string/restore' \ -H "Authorization: Bearer $FINIC_API_KEY"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"}