curl --request POST \
--url https://sandbox.finhub.cloud/api/v2.1/customer/organization/registration \
--header 'Content-Type: application/json' \
--data '
{
"organizationId": "<string>",
"email": "<string>",
"password": "<string>",
"matchingPassword": "<string>",
"roleIds": [
"<string>"
],
"customerCategory": {
"id": "<string>",
"name": "<string>"
},
"organizationCustomer": {
"customerName": "<string>",
"organization": {
"legalName": "<string>",
"tradingName": "<string>",
"registrationNumber": "<string>",
"taxId": "<string>",
"incorporationDate": "<string>",
"legalForm": "<string>",
"industry": "<string>",
"businessDescription": "<string>",
"website": "<string>",
"email": "<string>",
"phone": "<string>",
"addresses": [
{
"type": "<string>",
"street": "<string>",
"city": "<string>",
"postalCode": "<string>",
"country": "<string>",
"isPrimary": true
}
],
"representatives": [
{
"firstName": "<string>",
"lastName": "<string>",
"position": "<string>",
"email": "<string>",
"phone": "<string>",
"dateOfBirth": "<string>",
"nationality": "<string>",
"isPrimaryOwner": true,
"ownershipShare": 123
}
]
},
"user": {
"username": "<string>",
"email": "<string>",
"password": "<string>",
"status": "<string>",
"roles": [
"<string>"
]
}
}
}
'Creates a new organization with automatic default admin creation
curl --request POST \
--url https://sandbox.finhub.cloud/api/v2.1/customer/organization/registration \
--header 'Content-Type: application/json' \
--data '
{
"organizationId": "<string>",
"email": "<string>",
"password": "<string>",
"matchingPassword": "<string>",
"roleIds": [
"<string>"
],
"customerCategory": {
"id": "<string>",
"name": "<string>"
},
"organizationCustomer": {
"customerName": "<string>",
"organization": {
"legalName": "<string>",
"tradingName": "<string>",
"registrationNumber": "<string>",
"taxId": "<string>",
"incorporationDate": "<string>",
"legalForm": "<string>",
"industry": "<string>",
"businessDescription": "<string>",
"website": "<string>",
"email": "<string>",
"phone": "<string>",
"addresses": [
{
"type": "<string>",
"street": "<string>",
"city": "<string>",
"postalCode": "<string>",
"country": "<string>",
"isPrimary": true
}
],
"representatives": [
{
"firstName": "<string>",
"lastName": "<string>",
"position": "<string>",
"email": "<string>",
"phone": "<string>",
"dateOfBirth": "<string>",
"nationality": "<string>",
"isPrimaryOwner": true,
"ownershipShare": 123
}
]
},
"user": {
"username": "<string>",
"email": "<string>",
"password": "<string>",
"status": "<string>",
"roles": [
"<string>"
]
}
}
}
'