const response = await fetch('https://api.zydon.com.br/api/sales/financials/{financial_id}/attachments?is_payment_billet=false', {
method: 'POST',
headers: {
"Authorization": "Bearer JWT",
"Content-Type": "multipart/form-data"
},
body: JSON.stringify({
"files": [
"binary"
]
}),
});
const data = await response.json();