Skip to main content
POST
/
v0
/
kyc
/
documents
Upload a KYC document image
curl --request POST \
  --url https://api.sumvin.com/v0/kyc/documents \
  --header 'Content-Type: multipart/form-data' \
  --form document_type=PASSPORT \
  --form 'country=<string>' \
  --form file='@example-file' \
  --form side=FRONT_SIDE
{
  "_links": {},
  "document_type": "<string>",
  "country": "<string>",
  "side": "<string>",
  "image_id": "<string>"
}

Headers

x-juno-orgid
string | null

Tenant org ID for multi-tenant auth

x-sumvin-token
string | null
x-juno-jwt
string | null

Body

multipart/form-data
document_type
enum<string>
required
Available options:
PASSPORT,
ID_CARD,
DRIVERS,
SELFIE,
PROOF_OF_ADDRESS
country
string
required
file
file
required
side
enum<string> | null
Available options:
FRONT_SIDE,
BACK_SIDE

Response

Successful Response

HAL-style hypermedia links for navigation and available actions.

document_type
string
required

Type of document uploaded.

country
string
required

Issuing country (ISO 3166-1 alpha-3).

side
string | null

Document side (FRONT_SIDE or BACK_SIDE).

image_id
string | null

Sumsub image ID for the uploaded document.