const response = await fetch('https://api.getfractal.xyz/v0/customers/{customerId}/kycs/individual/share', {
method: 'POST',
headers: {
"Authorization": "text",
"Content-Type": "application/json"
},
body: JSON.stringify({
"id_document": {
"type": "government_id",
"file_id": "123e4567-e89b-12d3-a456-426614174000"
},
"proof_of_address": {
"type": "government_id",
"file_id": "123e4567-e89b-12d3-a456-426614174000"
}
}),
});
const data = await response.json();