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