curl --request POST \
--url https://sandbox.finhub.cloud/api/v2.1/customer/individual/registration \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'X-Forwarded-For: <x-forwarded-for>' \
--header 'X-Forwarded-From: <x-forwarded-from>' \
--header 'X-Tenant-ID: <x-tenant-id>' \
--header 'deviceId: <deviceid>' \
--header 'platform: <platform>' \
--data '
{
"firstName": "John",
"lastName": "Customer",
"email": "customer.20260331114946-387074@testcorp.com",
"phone": "+37062767557",
"password": "SecurePass123!",
"matchingPassword": "SecurePass123!",
"dateOfBirth": "1990-05-15",
"gender": "MALE",
"nationality": "Lithuania",
"placeOfBirth": "Vilnius",
"pincode": "12345",
"roleIds": [
"ACCOUNT_OWNER",
"USER"
],
"customerCategory": {
"id": "fs-cat-b2c-low-001",
"name": "Individual Standard"
},
"individualCustomer": {
"customerName": "John Customer",
"tenantId": "97e7ff29-15f3-49ef-9681-3bbfcce4f6cd"
}
}
'