curl -X PUT "https://heimdall.qa.zoniqx.com/kyb/reject/<kybId>" \
-H "Authorization: Bearer <accessToken>" \
-H "x-tenant-id: <your-tenant-id>" \
-H "Content-Type: application/json" \
-d '{
"reason": "string"
}'const response = await fetch("https://heimdall.qa.zoniqx.com/kyb/reject/<kybId>", {
method: "PUT",
headers: {
"Authorization": "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
"Content-Type": "application/json",
},
body: JSON.stringify({
"reason": "string"
}),
});
const data = await response.json();type KybController_rejectKybResponse = Record<string, unknown>;
const response = await fetch("https://heimdall.qa.zoniqx.com/kyb/reject/<kybId>", {
method: "PUT",
headers: {
Authorization: "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
"Content-Type": "application/json",
},
body: JSON.stringify({
"reason": "string"
}),
});
const data: KybController_rejectKybResponse = await response.json();import requests
url = "https://heimdall.qa.zoniqx.com/kyb/reject/<kybId>"
headers = {
"Authorization": "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
}
payload = {
"reason": "string"
}
response = requests.put(url, headers=headers, json=payload)
data = response.json()