Download OpenAPI specification:Download
API documentation for eFica application
Authenticate user and return access token
| email required | string <email> |
| password required | string |
{- "email": "user@example.com",
- "password": "string"
}{- "access_token": "string",
- "user": {
- "id": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "role": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}Create a new user account
| email required | string <email> |
| password required | string |
| first_name required | string |
| last_name required | string |
{- "email": "user@example.com",
- "password": "string",
- "first_name": "string",
- "last_name": "string"
}{- "id": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "role": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Retrieve list of individuals
| page | integer Default: 1 |
| limit | integer Default: 10 |
{- "data": [
- {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "nationality": "string",
- "country_of_residence": "string",
- "employment_status": "string",
- "employment_industry": "string",
- "employment_type": "string",
- "annual_income": 0,
- "source_of_wealth": "string",
- "is_pep": true,
- "pep_details": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "pagination": {
- "page": 0,
- "limit": 0,
- "total": 0,
- "pages": 0
}
}Create a new individual record
| first_name required | string |
| last_name required | string |
| date_of_birth | string <date> |
| nationality | string |
| country_of_residence | string |
| employment_status | string |
| employment_industry | string |
| employment_type | string |
| annual_income | number |
| source_of_wealth | string |
| is_pep | boolean |
| pep_details | string |
{- "first_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "nationality": "string",
- "country_of_residence": "string",
- "employment_status": "string",
- "employment_industry": "string",
- "employment_type": "string",
- "annual_income": 0,
- "source_of_wealth": "string",
- "is_pep": true,
- "pep_details": "string"
}{- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "nationality": "string",
- "country_of_residence": "string",
- "employment_status": "string",
- "employment_industry": "string",
- "employment_type": "string",
- "annual_income": 0,
- "source_of_wealth": "string",
- "is_pep": true,
- "pep_details": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Retrieve a specific individual by ID
| id required | string |
{- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "nationality": "string",
- "country_of_residence": "string",
- "employment_status": "string",
- "employment_industry": "string",
- "employment_type": "string",
- "annual_income": 0,
- "source_of_wealth": "string",
- "is_pep": true,
- "pep_details": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update an existing individual record
| id required | string |
| first_name | string |
| last_name | string |
| date_of_birth | string <date> |
| nationality | string |
| country_of_residence | string |
| employment_status | string |
| employment_industry | string |
| employment_type | string |
| annual_income | number |
| source_of_wealth | string |
| is_pep | boolean |
| pep_details | string |
{- "first_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "nationality": "string",
- "country_of_residence": "string",
- "employment_status": "string",
- "employment_industry": "string",
- "employment_type": "string",
- "annual_income": 0,
- "source_of_wealth": "string",
- "is_pep": true,
- "pep_details": "string"
}{- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "nationality": "string",
- "country_of_residence": "string",
- "employment_status": "string",
- "employment_industry": "string",
- "employment_type": "string",
- "annual_income": 0,
- "source_of_wealth": "string",
- "is_pep": true,
- "pep_details": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Create a new country
| name required | string |
| code required | string |
{- "name": "string",
- "code": "string"
}{- "id": "string",
- "name": "string",
- "code": "string"
}Update an existing country
| id required | string |
| name | string |
| code | string |
{- "name": "string",
- "code": "string"
}{- "id": "string",
- "name": "string",
- "code": "string"
}Create a new employment industry
| name required | string |
{- "name": "string"
}{- "id": "string",
- "name": "string"
}Update an existing employment industry
| id required | string |
| name | string |
{- "name": "string"
}{- "id": "string",
- "name": "string"
}Create a new employment type
| name required | string |
{- "name": "string"
}{- "id": "string",
- "name": "string"
}Update an existing employment type
| id required | string |
| name | string |
{- "name": "string"
}{- "id": "string",
- "name": "string"
}Create a new individual document type
| name required | string |
| required | boolean |
{- "name": "string",
- "required": true
}{- "id": "string",
- "name": "string",
- "required": true
}Update an existing individual document type
| id required | string |
| name | string |
| required | boolean |
{- "name": "string",
- "required": true
}{- "id": "string",
- "name": "string",
- "required": true
}Create a new entity industry
| name required | string |
{- "name": "string"
}{- "id": "string",
- "name": "string"
}Update an existing entity industry
| id required | string |
| name | string |
{- "name": "string"
}{- "id": "string",
- "name": "string"
}Update an existing entity type
| id required | string |
| name | string |
{- "name": "string"
}{- "id": "string",
- "name": "string"
}Create a new trust document type
| name required | string |
| required | boolean |
{- "name": "string",
- "required": true
}{- "id": "string",
- "name": "string",
- "required": true
}Update an existing trust document type
| id required | string |
| name | string |
| required | boolean |
{- "name": "string",
- "required": true
}{- "id": "string",
- "name": "string",
- "required": true
}Create a new transaction type
| name required | string |
{- "name": "string"
}{- "id": "string",
- "name": "string"
}Update an existing transaction type
| id required | string |
| name | string |
{- "name": "string"
}{- "id": "string",
- "name": "string"
}Create a new transaction frequency
| name required | string |
{- "name": "string"
}{- "id": "string",
- "name": "string"
}Update an existing transaction frequency
| id required | string |
| name | string |
{- "name": "string"
}{- "id": "string",
- "name": "string"
}Create a new transaction funding
| name required | string |
{- "name": "string"
}{- "id": "string",
- "name": "string"
}Update an existing transaction funding
| id required | string |
| name | string |
{- "name": "string"
}{- "id": "string",
- "name": "string"
}Update an existing wealth source
| id required | string |
| name | string |
{- "name": "string"
}{- "id": "string",
- "name": "string"
}Create a new public official type
| name required | string |
{- "name": "string"
}{- "id": "string",
- "name": "string"
}Update an existing public official type
| id required | string |
| name | string |
{- "name": "string"
}{- "id": "string",
- "name": "string"
}Create a new entity document type
| name required | string |
| required | boolean |
{- "name": "string",
- "required": true
}{- "id": "string",
- "name": "string",
- "required": true
}Update an existing entity document type
| id required | string |
| name | string |
| required | boolean |
{- "name": "string",
- "required": true
}{- "id": "string",
- "name": "string",
- "required": true
}Retrieve list of users
| page | integer Default: 1 |
| limit | integer Default: 10 |
{- "data": [
- {
- "id": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "role": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "pagination": {
- "page": 0,
- "limit": 0,
- "total": 0,
- "pages": 0
}
}Create a new user
| email required | string <email> |
| password required | string |
| first_name required | string |
| last_name required | string |
| role | string |
{- "email": "user@example.com",
- "password": "string",
- "first_name": "string",
- "last_name": "string",
- "role": "string"
}{- "id": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "role": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Retrieve a specific user by ID
| id required | string |
{- "id": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "role": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update an existing user
| id required | string |
string <email> | |
| first_name | string |
| last_name | string |
| role | string |
{- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "role": "string"
}{- "id": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "role": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Retrieve list of trusts
| page | integer Default: 1 |
| limit | integer Default: 10 |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "type": "string",
- "jurisdiction": "string",
- "settlor": "string",
- "trustee": "string",
- "beneficiary": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "pagination": {
- "page": 0,
- "limit": 0,
- "total": 0,
- "pages": 0
}
}Create a new trust
| name required | string |
| type required | string |
| jurisdiction | string |
| settlor | string |
| trustee | string |
| beneficiary | string |
{- "name": "string",
- "type": "string",
- "jurisdiction": "string",
- "settlor": "string",
- "trustee": "string",
- "beneficiary": "string"
}{- "id": "string",
- "name": "string",
- "type": "string",
- "jurisdiction": "string",
- "settlor": "string",
- "trustee": "string",
- "beneficiary": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Retrieve a specific trust by ID
| id required | string |
{- "id": "string",
- "name": "string",
- "type": "string",
- "jurisdiction": "string",
- "settlor": "string",
- "trustee": "string",
- "beneficiary": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update an existing trust
| id required | string |
| name | string |
| type | string |
| jurisdiction | string |
| settlor | string |
| trustee | string |
| beneficiary | string |
{- "name": "string",
- "type": "string",
- "jurisdiction": "string",
- "settlor": "string",
- "trustee": "string",
- "beneficiary": "string"
}{- "id": "string",
- "name": "string",
- "type": "string",
- "jurisdiction": "string",
- "settlor": "string",
- "trustee": "string",
- "beneficiary": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Retrieve list of files
| page | integer Default: 1 |
| limit | integer Default: 10 |
{- "data": [
- {
- "id": "string",
- "filename": "string",
- "original_name": "string",
- "mime_type": "string",
- "size": 0,
- "url": "string",
- "type": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "pagination": {
- "page": 0,
- "limit": 0,
- "total": 0,
- "pages": 0
}
}Upload a new file
| file required | string <binary> |
| type required | string |
{- "id": "string",
- "filename": "string",
- "original_name": "string",
- "mime_type": "string",
- "size": 0,
- "url": "string",
- "type": "string",
- "created_at": "2019-08-24T14:15:22Z"
}Retrieve a specific file by ID
| id required | string |
{- "id": "string",
- "filename": "string",
- "original_name": "string",
- "mime_type": "string",
- "size": 0,
- "url": "string",
- "type": "string",
- "created_at": "2019-08-24T14:15:22Z"
}Retrieve list of entities
| page | integer Default: 1 |
| limit | integer Default: 10 |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "type": "string",
- "industry": "string",
- "registration_number": "string",
- "country_of_incorporation": "string",
- "business_address": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "pagination": {
- "page": 0,
- "limit": 0,
- "total": 0,
- "pages": 0
}
}Create a new entity
| name required | string |
| type required | string |
| industry | string |
| registration_number | string |
| country_of_incorporation | string |
| business_address | string |
{- "name": "string",
- "type": "string",
- "industry": "string",
- "registration_number": "string",
- "country_of_incorporation": "string",
- "business_address": "string"
}{- "id": "string",
- "name": "string",
- "type": "string",
- "industry": "string",
- "registration_number": "string",
- "country_of_incorporation": "string",
- "business_address": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Retrieve a specific entity by ID
| id required | string |
{- "id": "string",
- "name": "string",
- "type": "string",
- "industry": "string",
- "registration_number": "string",
- "country_of_incorporation": "string",
- "business_address": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update an existing entity
| id required | string |
| name | string |
| type | string |
| industry | string |
| registration_number | string |
| country_of_incorporation | string |
| business_address | string |
{- "name": "string",
- "type": "string",
- "industry": "string",
- "registration_number": "string",
- "country_of_incorporation": "string",
- "business_address": "string"
}{- "id": "string",
- "name": "string",
- "type": "string",
- "industry": "string",
- "registration_number": "string",
- "country_of_incorporation": "string",
- "business_address": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}{- "total_individuals": 0,
- "total_entities": 0,
- "total_trusts": 0,
- "pending_reviews": 0,
- "completed_reviews": 0,
- "risk_levels": {
- "low": 0,
- "medium": 0,
- "high": 0
}
}Retrieve ongoing monitoring data
| page | integer Default: 1 |
| limit | integer Default: 10 |
{- "data": [
- {
- "id": "string",
- "entity_id": "string",
- "entity_type": "string",
- "risk_score": 0,
- "last_review_date": "2019-08-24T14:15:22Z",
- "next_review_date": "2019-08-24T14:15:22Z",
- "status": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "pagination": {
- "page": 0,
- "limit": 0,
- "total": 0,
- "pages": 0
}
}