Skip to main content
POST
/
uploadImage
cURL
curl --request POST \
  --url https://gateway.varchev.com/kyc/uploadImage \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-token: <x-token>' \
  --data '
{
  "purpose": "<string>",
  "imageData": {
    "id_front_side": "<string>",
    "id_back_side": "<string>",
    "selfie": "<string>",
    "passport": "<string>"
  },
  "metaData": {
    "type": "<string>",
    "value": {
      "customerId": "<string>",
      "aud": "<string>",
      "data": "<string>"
    }
  },
  "organizationId": "<string>"
}
'
{
  "id": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.varchev.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-token
string
required

authentication token from /authorize response

Body

application/json

Sample Payload

purpose
string
imageData
object
metaData
object
organizationId
string

Response

200 - application/json

successful operation

id
string
required