Create a list of customers
curl --request POST \
--url https://gateway.varchev.com/customer/createBulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'tenantId: <tenantid>' \
--data '
[
{
"id": "<string>",
"customerName": "<string>",
"notifications": [
{
"isEnabled": true
}
],
"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>"
},
"fullName": "<string>",
"groupId": "<string>",
"dateOfBirth": "<string>",
"placeOfBirth": "<string>",
"nationality": "<string>",
"pinCode": "<string>",
"password": "<string>",
"email": "<string>",
"telephoneNumbers": [
{
"operator": "<string>",
"country": "<string>",
"number": "<string>",
"purpose": "<string>"
}
],
"addresses": [
{
"addressPurpose": "<string>",
"address": {
"country": "<string>",
"area": "<string>",
"zipCode": "<string>",
"city": "<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": [
{
"address": "<string>"
}
],
"additionalData": [
{
"name": "<string>",
"value": "<string>"
}
]
}
}
],
"documents": [
{
"name": "<string>",
"location": "<string>",
"verificationResponse": "<string>",
"metadata": [
{
"name": "<string>",
"value": "<string>"
}
]
}
],
"SecretQuestion": [
{
"question": "<string>",
"answer": "<string>"
}
]
},
"twofa": {
"targetValue": "<string>",
"targetCode": "<string>",
"inputCode": "<string>",
"codematch": true
}
}
]
'{
"tenantId": "<string>",
"customerIds": [
{
"customerId": "<string>"
}
]
}Customer
Create a list of customers
POST
/
createBulk
Create a list of customers
curl --request POST \
--url https://gateway.varchev.com/customer/createBulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'tenantId: <tenantid>' \
--data '
[
{
"id": "<string>",
"customerName": "<string>",
"notifications": [
{
"isEnabled": true
}
],
"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>"
},
"fullName": "<string>",
"groupId": "<string>",
"dateOfBirth": "<string>",
"placeOfBirth": "<string>",
"nationality": "<string>",
"pinCode": "<string>",
"password": "<string>",
"email": "<string>",
"telephoneNumbers": [
{
"operator": "<string>",
"country": "<string>",
"number": "<string>",
"purpose": "<string>"
}
],
"addresses": [
{
"addressPurpose": "<string>",
"address": {
"country": "<string>",
"area": "<string>",
"zipCode": "<string>",
"city": "<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": [
{
"address": "<string>"
}
],
"additionalData": [
{
"name": "<string>",
"value": "<string>"
}
]
}
}
],
"documents": [
{
"name": "<string>",
"location": "<string>",
"verificationResponse": "<string>",
"metadata": [
{
"name": "<string>",
"value": "<string>"
}
]
}
],
"SecretQuestion": [
{
"question": "<string>",
"answer": "<string>"
}
]
},
"twofa": {
"targetValue": "<string>",
"targetCode": "<string>",
"inputCode": "<string>",
"codematch": true
}
}
]
'{
"tenantId": "<string>",
"customerIds": [
{
"customerId": "<string>"
}
]
}Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Headers
Tenant/Owner id
Body
application/json
Available options:
Person, Organization Available options:
new, verified, under_verificaiton, blacklisted, under_investigation, dispute, on_hold, bancrupted Available options:
category1, category2, category3 Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I

