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>" }
The access token received from the authorization server in the OAuth 2.0 flow.
authentication token from /authorize response
Sample Payload
The body is of type object.
object
successful operation
The response is of type object.