cURL
curl --request GET \ --url https://gateway.varchev.com/customer/documents/getByPurpose/{purpose}/{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
Document Purpose
KYB
KYC
PEP&SANCTION
Customer Id
Get customer document by purpose response
Show child attributes
ID front side
ID back side
Passport
accountAuthority
shareholderStructure
operationAddress
registeredAddress
selfie
livelinessDetection
underverification
verified
declined
incomplete
expired
Number
Boolean
json
string