POST
/
api
/
v2.1
/
shareholder
/
create
curl --request POST \
  --url https://sandbox.finhub.cloud/api/v2.1/shareholder/create \
  --header 'Content-Type: application/json' \
  --header 'X-Forwarded-For: <x-forwarded-for>' \
  --data '{
  "organizationId": "<string>",
  "customerId": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "email": "<string>",
  "phoneNumber": "<string>",
  "dateOfBirth": "2022-03-10T00:00:00.000Z",
  "nationality": "<string>",
  "address": "<string>",
  "city": "<string>",
  "country": "<string>",
  "postalCode": "<string>",
  "sharePercentage": 50,
  "shareholderType": "<string>",
  "isPep": true,
  "isUbo": true,
  "idDocumentType": "<string>",
  "idDocumentNumber": "<string>",
  "idDocumentExpiryDate": "2022-03-10T00:00:00.000Z"
}'
{
  "success": true,
  "message": "<string>",
  "data": "<any>"
}

Headers

X-Forwarded-For
string
required

Forwarded client IP address

User-Agent
string

Client user agent information

X-Tenant-ID
string

Tenant identifier for multi-tenant operations

Body

application/json

Response

200
application/json

Shareholder created successfully

The response is of type object.