cURL
curl --request GET \ --url https://gateway.varchev.com/customer/getDocuments/{customerId} \ --header 'Authorization: Bearer <token>' \ --header 'tenantId: <tenantid>'
{ "tenantId": "<string>", "documents": [ { "purpose": "KYB", "name": "<string>", "documentType": "ID front side", "location": "<string>", "verificationResponse": "<string>", "status": "underverification", "metadata": [ { "name": "<string>", "type": "Number", "value": "<string>" } ] } ] }
The access token received from the authorization server in the OAuth 2.0 flow.
Tenant/Owner id
Customer Id
Get customer document by purpose response
Show child attributes
KYB
KYC
PEP&SANCTION
ID front side
ID back side
Passport
accountAuthority
shareholderStructure
operationAddress
registeredAddress
selfie
livelinessDetection
underverification
verified
declined
incomplete
expired
Number
Boolean
json
string