Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Headers
Body
application/json
curl --request POST \
--url https://gateway.7exchange.io/customer/1.0.0/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'tenantId: <tenantid>' \
--data '{
"customerType": "<string>",
"customerName": "<string>",
"externalCustomerId": "<string>",
"customerStatus": "<string>",
"categorization": "<string>",
"person": {
"firstName": {
"name": "<string>",
"order": 123,
"abbreviation": "<string>",
"language": "<string>",
"native": "<string>",
"suffix": "<string>",
"prefix": "<string>"
},
"lastName": {
"name": "<string>",
"order": 123,
"abbreviation": "<string>",
"language": "<string>",
"native": "<string>",
"suffix": "<string>",
"prefix": "<string>"
},
"gender": "<string>",
"dateOfBirth": "<string>",
"placeOfBirth": "<string>",
"nationality": "<string>",
"pinCode": "<string>",
"password": "<string>",
"fullName": "<string>",
"email": "<string>",
"groupId": "<string>",
"documents": [
{
"purpose": "<string>",
"name": "<string>",
"verificationResponse": "<any>",
"documentType": "<string>",
"location": "<string>",
"status": "<string>",
"metadata": [
{
"name": "<string>",
"type": "<string>",
"value": "<string>"
}
]
}
],
"telephoneNumbers": [
{
"phoneType": "<string>",
"operator": "<string>",
"encoding": "<string>",
"country": "<string>",
"number": "<string>",
"purpose": "<string>"
}
],
"SecretQuestion": [
{
"question": "<string>",
"answer": "<string>"
}
],
"addresses": [
{
"addresspurpose": "<string>",
"address": {
"country": "<string>",
"area": "<string>",
"city": "<string>",
"zipCode": "<string>",
"street": "<string>",
"streetNumber": [
"<string>"
],
"building": "<string>",
"apartment": "<string>",
"entrance": "<string>",
"floor": "<string>",
"doorNumber": "<string>",
"geoPosition": {
"latitude": 123,
"longitude": 123,
"altitude": 123
},
"alternative": {
"word1": "<string>",
"word2": "<string>",
"word3": "<string>"
},
"relatedToAddress": [
{
"relationType": "<string>"
}
],
"additionalData": [
{
"name": "<string>",
"type": "<string>",
"value": "<string>"
}
]
}
}
]
},
"notifications": [
{
"notificationType": "<string>",
"isEnabled": true
}
],
"isB2B": true,
"sharePercentage": 123,
"ultimatePercentage": 123,
"isDirector": true
}'{
"reason": "<string>",
"path": "<string>",
"method": "<string>",
"message": "<string>",
"timestamp": "<string>",
"status": 123
}curl --request POST \
--url https://gateway.7exchange.io/customer/1.0.0/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'tenantId: <tenantid>' \
--data '{
"customerType": "<string>",
"customerName": "<string>",
"externalCustomerId": "<string>",
"customerStatus": "<string>",
"categorization": "<string>",
"person": {
"firstName": {
"name": "<string>",
"order": 123,
"abbreviation": "<string>",
"language": "<string>",
"native": "<string>",
"suffix": "<string>",
"prefix": "<string>"
},
"lastName": {
"name": "<string>",
"order": 123,
"abbreviation": "<string>",
"language": "<string>",
"native": "<string>",
"suffix": "<string>",
"prefix": "<string>"
},
"gender": "<string>",
"dateOfBirth": "<string>",
"placeOfBirth": "<string>",
"nationality": "<string>",
"pinCode": "<string>",
"password": "<string>",
"fullName": "<string>",
"email": "<string>",
"groupId": "<string>",
"documents": [
{
"purpose": "<string>",
"name": "<string>",
"verificationResponse": "<any>",
"documentType": "<string>",
"location": "<string>",
"status": "<string>",
"metadata": [
{
"name": "<string>",
"type": "<string>",
"value": "<string>"
}
]
}
],
"telephoneNumbers": [
{
"phoneType": "<string>",
"operator": "<string>",
"encoding": "<string>",
"country": "<string>",
"number": "<string>",
"purpose": "<string>"
}
],
"SecretQuestion": [
{
"question": "<string>",
"answer": "<string>"
}
],
"addresses": [
{
"addresspurpose": "<string>",
"address": {
"country": "<string>",
"area": "<string>",
"city": "<string>",
"zipCode": "<string>",
"street": "<string>",
"streetNumber": [
"<string>"
],
"building": "<string>",
"apartment": "<string>",
"entrance": "<string>",
"floor": "<string>",
"doorNumber": "<string>",
"geoPosition": {
"latitude": 123,
"longitude": 123,
"altitude": 123
},
"alternative": {
"word1": "<string>",
"word2": "<string>",
"word3": "<string>"
},
"relatedToAddress": [
{
"relationType": "<string>"
}
],
"additionalData": [
{
"name": "<string>",
"type": "<string>",
"value": "<string>"
}
]
}
}
]
},
"notifications": [
{
"notificationType": "<string>",
"isEnabled": true
}
],
"isB2B": true,
"sharePercentage": 123,
"ultimatePercentage": 123,
"isDirector": true
}'{
"reason": "<string>",
"path": "<string>",
"method": "<string>",
"message": "<string>",
"timestamp": "<string>",
"status": 123
}The access token received from the authorization server in the OAuth 2.0 flow.
Show child attributes
Show child attributes