curl -X POST "https://heimdall.qa.zoniqx.com/kyc" \
-H "Authorization: Bearer <accessToken>" \
-H "x-tenant-id: <your-tenant-id>" \
-H "Content-Type: application/json" \
-d '{
"vendorId": "string",
"vendor": "veriff"
}'const response = await fetch("https://heimdall.qa.zoniqx.com/kyc", {
method: "POST",
headers: {
"Authorization": "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
"Content-Type": "application/json",
},
body: JSON.stringify({
"vendorId": "string",
"vendor": "veriff"
}),
});
const data = await response.json();type KycController_newKycSessionResponse = Record<string, unknown>;
const response = await fetch("https://heimdall.qa.zoniqx.com/kyc", {
method: "POST",
headers: {
Authorization: "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
"Content-Type": "application/json",
},
body: JSON.stringify({
"vendorId": "string",
"vendor": "veriff"
}),
});
const data: KycController_newKycSessionResponse = await response.json();import requests
url = "https://heimdall.qa.zoniqx.com/kyc"
headers = {
"Authorization": "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
}
payload = {
"vendorId": "string",
"vendor": "veriff"
}
response = requests.post(url, headers=headers, json=payload)
data = response.json()