curl --request POST \
--url https://sandbox.finhub.cloud/api/v2.1/customer/individual/registration \
--header 'Content-Type: application/json' \
--data '
{
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"phone": "<string>",
"password": "<string>",
"matchingPassword": "<string>",
"dateOfBirth": "<string>",
"gender": "<string>",
"nationality": "<string>",
"placeOfBirth": "<string>",
"pincode": "<string>",
"roleIds": [
"<string>"
],
"customerCategory": {
"id": "<string>",
"name": "<string>"
},
"individualCustomer": {
"tenantId": "<string>",
"customerName": "<string>",
"person": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"dateOfBirth": "<string>",
"gender": "<string>",
"nationality": "<string>",
"placeOfBirth": "<string>",
"pincode": "<string>",
"addresses": [
{
"id": "<string>",
"type": "<string>",
"street": "<string>",
"city": "<string>",
"state": "<string>",
"postalCode": "<string>",
"country": "<string>",
"isPrimary": true
}
],
"contacts": [
{
"id": "<string>",
"type": "<string>",
"value": "<string>",
"isPrimary": true
}
]
},
"user": {
"id": "<string>",
"tenantId": "<string>",
"username": "<string>",
"email": "<string>",
"password": "<string>",
"status": "<string>",
"roles": [
"<string>"
],
"isActive": true
},
"categorization": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"isActive": true,
"categoryFeatureRelations": [
{
"feature": {
"id": "<string>",
"code": "<string>"
},
"enabled": true,
"parametrization": [
{
"name": "<string>",
"value": "<string>"
}
]
}
],
"parametrization": [
{
"name": "<string>",
"value": "<string>"
}
]
}
},
"CATEGORIZATION": {
"categoryId": "<string>",
"riskLevel": "<string>",
"featureIds": [
"<string>"
]
},
"PERSONAL_INFO": {
"firstName": "<string>",
"lastName": "<string>",
"dateOfBirth": "<string>",
"nationality": "<string>",
"gender": "<string>",
"placeOfBirth": "<string>",
"pincode": "<string>"
},
"CONTACT_INFO": {
"contactType": "<string>",
"contactValue": "<string>",
"isPrimary": true
},
"ADDRESS_INFO": {
"addressType": "<string>",
"street": "<string>",
"building": "<string>",
"city": "<string>",
"state": "<string>",
"postalCode": "<string>",
"country": "<string>",
"isPrimary": true
},
"DOCUMENT_UPLOAD": {
"documentType": "<string>",
"documentNumber": "<string>",
"issuingCountry": "<string>",
"expiryDate": "<string>",
"documentFile": "<string>"
},
"CONSENT": {
"termsAccepted": true,
"privacyAccepted": true,
"marketingConsent": true,
"dataProcessingConsent": true
},
"ACTIVATION": {
"activationConfirm": true,
"welcomeEmailSent": true,
"activationNotes": "<string>"
}
}
'Creates a new individual customer (B2C) with categorization validation
curl --request POST \
--url https://sandbox.finhub.cloud/api/v2.1/customer/individual/registration \
--header 'Content-Type: application/json' \
--data '
{
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"phone": "<string>",
"password": "<string>",
"matchingPassword": "<string>",
"dateOfBirth": "<string>",
"gender": "<string>",
"nationality": "<string>",
"placeOfBirth": "<string>",
"pincode": "<string>",
"roleIds": [
"<string>"
],
"customerCategory": {
"id": "<string>",
"name": "<string>"
},
"individualCustomer": {
"tenantId": "<string>",
"customerName": "<string>",
"person": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"dateOfBirth": "<string>",
"gender": "<string>",
"nationality": "<string>",
"placeOfBirth": "<string>",
"pincode": "<string>",
"addresses": [
{
"id": "<string>",
"type": "<string>",
"street": "<string>",
"city": "<string>",
"state": "<string>",
"postalCode": "<string>",
"country": "<string>",
"isPrimary": true
}
],
"contacts": [
{
"id": "<string>",
"type": "<string>",
"value": "<string>",
"isPrimary": true
}
]
},
"user": {
"id": "<string>",
"tenantId": "<string>",
"username": "<string>",
"email": "<string>",
"password": "<string>",
"status": "<string>",
"roles": [
"<string>"
],
"isActive": true
},
"categorization": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"isActive": true,
"categoryFeatureRelations": [
{
"feature": {
"id": "<string>",
"code": "<string>"
},
"enabled": true,
"parametrization": [
{
"name": "<string>",
"value": "<string>"
}
]
}
],
"parametrization": [
{
"name": "<string>",
"value": "<string>"
}
]
}
},
"CATEGORIZATION": {
"categoryId": "<string>",
"riskLevel": "<string>",
"featureIds": [
"<string>"
]
},
"PERSONAL_INFO": {
"firstName": "<string>",
"lastName": "<string>",
"dateOfBirth": "<string>",
"nationality": "<string>",
"gender": "<string>",
"placeOfBirth": "<string>",
"pincode": "<string>"
},
"CONTACT_INFO": {
"contactType": "<string>",
"contactValue": "<string>",
"isPrimary": true
},
"ADDRESS_INFO": {
"addressType": "<string>",
"street": "<string>",
"building": "<string>",
"city": "<string>",
"state": "<string>",
"postalCode": "<string>",
"country": "<string>",
"isPrimary": true
},
"DOCUMENT_UPLOAD": {
"documentType": "<string>",
"documentNumber": "<string>",
"issuingCountry": "<string>",
"expiryDate": "<string>",
"documentFile": "<string>"
},
"CONSENT": {
"termsAccepted": true,
"privacyAccepted": true,
"marketingConsent": true,
"dataProcessingConsent": true
},
"ACTIVATION": {
"activationConfirm": true,
"welcomeEmailSent": true,
"activationNotes": "<string>"
}
}
'Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
OK