curl --request POST \
--url https://gateway.varchev.com/customer/createDocuments/{customerId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'tenantId: <tenantid>' \
--data '[
{
"purpose": "KYB",
"name": "<string>",
"documentType": "ID front side",
"location": "<string>",
"verificationResponse": "<string>",
"status": "underverification",
"metadata": [
{
"name": "<string>",
"type": "Number",
"value": "<string>"
}
]
}
]'
{
"tenantId": "<string>",
"customerId": "<string>",
"documentIds": [
{
"documentId": "<string>"
}
]
}
curl --request POST \
--url https://gateway.varchev.com/customer/createDocuments/{customerId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'tenantId: <tenantid>' \
--data '[
{
"purpose": "KYB",
"name": "<string>",
"documentType": "ID front side",
"location": "<string>",
"verificationResponse": "<string>",
"status": "underverification",
"metadata": [
{
"name": "<string>",
"type": "Number",
"value": "<string>"
}
]
}
]'
{
"tenantId": "<string>",
"customerId": "<string>",
"documentIds": [
{
"documentId": "<string>"
}
]
}
The access token received from the authorization server in the OAuth 2.0 flow.
Tenant/Owner id
Customer id
The body is of type object[]
.
Create customer document response
The response is of type object
.