const response = await fetch('v1/pix', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"amount": 0,
"description": "text",
"payer": {
"document": "text",
"name": "text"
}
}),
});
const data = await response.json();